Skip to content

Commit

Permalink
chore: remove unused typings
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Nov 8, 2024
1 parent 69832a9 commit f83da7e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/types/src/fuel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,6 @@ export type CommunicationEventArg<T> = T extends MessageTypes.request
? string
: unknown;

export type DatabaseEvents = ['delete', 'create', 'update'];
export type DatabaseObservableEvent<T extends Array<string>> =
`${T[number]}:${DatabaseEvents[number]}`;

export type DatabaseEventArg<T extends string> = T extends `${string}:create`
? ICreateChange
: T extends `${string}:update`
? IUpdateChange
: T extends `${string}:delete`
? IDeleteChange
: unknown;

export type FuelProviderConfig = {
id?: string;
url: string;
Expand Down

0 comments on commit f83da7e

Please sign in to comment.