@contember/graphql-client-system 2.1.0-alpha.30 → 2.1.0-alpha.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -8
- package/src/index.ts +2 -2
- package/src/schema.ts +1 -1
- package/dist/development/index.cjs +0 -40
- package/dist/development/index.cjs.map +0 -1
- package/dist/development/index.js +0 -40
- package/dist/development/index.js.map +0 -1
- package/dist/development/src/generated/Async.cjs +0 -44
- package/dist/development/src/generated/Async.cjs.map +0 -1
- package/dist/development/src/generated/Async.js +0 -44
- package/dist/development/src/generated/Async.js.map +0 -1
- package/dist/development/src/generated/CommonTypes.cjs +0 -47
- package/dist/development/src/generated/CommonTypes.cjs.map +0 -1
- package/dist/development/src/generated/CommonTypes.js +0 -47
- package/dist/development/src/generated/CommonTypes.js.map +0 -1
- package/dist/development/src/generated/EnumInputMetadata.cjs +0 -21
- package/dist/development/src/generated/EnumInputMetadata.cjs.map +0 -1
- package/dist/development/src/generated/EnumInputMetadata.js +0 -21
- package/dist/development/src/generated/EnumInputMetadata.js.map +0 -1
- package/dist/development/src/generated/fetchers/CreateEventFetcher.cjs +0 -21
- package/dist/development/src/generated/fetchers/CreateEventFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/CreateEventFetcher.js +0 -21
- package/dist/development/src/generated/fetchers/CreateEventFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/DeleteEventFetcher.cjs +0 -21
- package/dist/development/src/generated/fetchers/DeleteEventFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/DeleteEventFetcher.js +0 -21
- package/dist/development/src/generated/fetchers/DeleteEventFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/EventFetcher.cjs +0 -32
- package/dist/development/src/generated/fetchers/EventFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/EventFetcher.js +0 -32
- package/dist/development/src/generated/fetchers/EventFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.cjs +0 -37
- package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.js +0 -37
- package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/MigrateErrorFetcher.cjs +0 -22
- package/dist/development/src/generated/fetchers/MigrateErrorFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/MigrateErrorFetcher.js +0 -22
- package/dist/development/src/generated/fetchers/MigrateErrorFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/MigrateResponseFetcher.cjs +0 -37
- package/dist/development/src/generated/fetchers/MigrateResponseFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/MigrateResponseFetcher.js +0 -37
- package/dist/development/src/generated/fetchers/MigrateResponseFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/MigrateResultFetcher.cjs +0 -20
- package/dist/development/src/generated/fetchers/MigrateResultFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/MigrateResultFetcher.js +0 -20
- package/dist/development/src/generated/fetchers/MigrateResultFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/MutationFetcher.cjs +0 -23
- package/dist/development/src/generated/fetchers/MutationFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/MutationFetcher.js +0 -23
- package/dist/development/src/generated/fetchers/MutationFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/QueryFetcher.cjs +0 -35
- package/dist/development/src/generated/fetchers/QueryFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/QueryFetcher.js +0 -35
- package/dist/development/src/generated/fetchers/QueryFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/StageFetcher.cjs +0 -25
- package/dist/development/src/generated/fetchers/StageFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/StageFetcher.js +0 -25
- package/dist/development/src/generated/fetchers/StageFetcher.js.map +0 -1
- package/dist/development/src/generated/fetchers/UpdateEventFetcher.cjs +0 -22
- package/dist/development/src/generated/fetchers/UpdateEventFetcher.cjs.map +0 -1
- package/dist/development/src/generated/fetchers/UpdateEventFetcher.js +0 -22
- package/dist/development/src/generated/fetchers/UpdateEventFetcher.js.map +0 -1
- package/dist/production/index.cjs +0 -40
- package/dist/production/index.cjs.map +0 -1
- package/dist/production/index.js +0 -40
- package/dist/production/index.js.map +0 -1
- package/dist/production/src/generated/Async.cjs +0 -44
- package/dist/production/src/generated/Async.cjs.map +0 -1
- package/dist/production/src/generated/Async.js +0 -44
- package/dist/production/src/generated/Async.js.map +0 -1
- package/dist/production/src/generated/CommonTypes.cjs +0 -47
- package/dist/production/src/generated/CommonTypes.cjs.map +0 -1
- package/dist/production/src/generated/CommonTypes.js +0 -47
- package/dist/production/src/generated/CommonTypes.js.map +0 -1
- package/dist/production/src/generated/EnumInputMetadata.cjs +0 -21
- package/dist/production/src/generated/EnumInputMetadata.cjs.map +0 -1
- package/dist/production/src/generated/EnumInputMetadata.js +0 -21
- package/dist/production/src/generated/EnumInputMetadata.js.map +0 -1
- package/dist/production/src/generated/fetchers/CreateEventFetcher.cjs +0 -21
- package/dist/production/src/generated/fetchers/CreateEventFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/CreateEventFetcher.js +0 -21
- package/dist/production/src/generated/fetchers/CreateEventFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/DeleteEventFetcher.cjs +0 -21
- package/dist/production/src/generated/fetchers/DeleteEventFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/DeleteEventFetcher.js +0 -21
- package/dist/production/src/generated/fetchers/DeleteEventFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/EventFetcher.cjs +0 -32
- package/dist/production/src/generated/fetchers/EventFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/EventFetcher.js +0 -32
- package/dist/production/src/generated/fetchers/EventFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.cjs +0 -37
- package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.js +0 -37
- package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/MigrateErrorFetcher.cjs +0 -22
- package/dist/production/src/generated/fetchers/MigrateErrorFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/MigrateErrorFetcher.js +0 -22
- package/dist/production/src/generated/fetchers/MigrateErrorFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/MigrateResponseFetcher.cjs +0 -37
- package/dist/production/src/generated/fetchers/MigrateResponseFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/MigrateResponseFetcher.js +0 -37
- package/dist/production/src/generated/fetchers/MigrateResponseFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/MigrateResultFetcher.cjs +0 -20
- package/dist/production/src/generated/fetchers/MigrateResultFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/MigrateResultFetcher.js +0 -20
- package/dist/production/src/generated/fetchers/MigrateResultFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/MutationFetcher.cjs +0 -23
- package/dist/production/src/generated/fetchers/MutationFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/MutationFetcher.js +0 -23
- package/dist/production/src/generated/fetchers/MutationFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/QueryFetcher.cjs +0 -35
- package/dist/production/src/generated/fetchers/QueryFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/QueryFetcher.js +0 -35
- package/dist/production/src/generated/fetchers/QueryFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/StageFetcher.cjs +0 -25
- package/dist/production/src/generated/fetchers/StageFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/StageFetcher.js +0 -25
- package/dist/production/src/generated/fetchers/StageFetcher.js.map +0 -1
- package/dist/production/src/generated/fetchers/UpdateEventFetcher.cjs +0 -22
- package/dist/production/src/generated/fetchers/UpdateEventFetcher.cjs.map +0 -1
- package/dist/production/src/generated/fetchers/UpdateEventFetcher.js +0 -22
- package/dist/production/src/generated/fetchers/UpdateEventFetcher.js.map +0 -1
- package/dist/types/generated/Async.d.ts +0 -21
- package/dist/types/generated/Async.d.ts.map +0 -1
- package/dist/types/generated/CommonTypes.d.ts +0 -158
- package/dist/types/generated/CommonTypes.d.ts.map +0 -1
- package/dist/types/generated/EnumInputMetadata.d.ts +0 -2
- package/dist/types/generated/EnumInputMetadata.d.ts.map +0 -1
- package/dist/types/generated/enums/EventType.d.ts +0 -2
- package/dist/types/generated/enums/EventType.d.ts.map +0 -1
- package/dist/types/generated/enums/EventsOrder.d.ts +0 -2
- package/dist/types/generated/enums/EventsOrder.d.ts.map +0 -1
- package/dist/types/generated/enums/MigrateErrorCode.d.ts +0 -2
- package/dist/types/generated/enums/MigrateErrorCode.d.ts.map +0 -1
- package/dist/types/generated/enums/MigrationType.d.ts +0 -2
- package/dist/types/generated/enums/MigrationType.d.ts.map +0 -1
- package/dist/types/generated/enums/index.d.ts +0 -5
- package/dist/types/generated/enums/index.d.ts.map +0 -1
- package/dist/types/generated/fetchers/CreateEventFetcher.d.ts +0 -203
- package/dist/types/generated/fetchers/CreateEventFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/DeleteEventFetcher.d.ts +0 -203
- package/dist/types/generated/fetchers/DeleteEventFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/EventFetcher.d.ts +0 -186
- package/dist/types/generated/fetchers/EventFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/ExecutedMigrationFetcher.d.ts +0 -99
- package/dist/types/generated/fetchers/ExecutedMigrationFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/MigrateErrorFetcher.d.ts +0 -67
- package/dist/types/generated/fetchers/MigrateErrorFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/MigrateResponseFetcher.d.ts +0 -68
- package/dist/types/generated/fetchers/MigrateResponseFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/MigrateResultFetcher.d.ts +0 -32
- package/dist/types/generated/fetchers/MigrateResultFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/MutationFetcher.d.ts +0 -41
- package/dist/types/generated/fetchers/MutationFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/QueryFetcher.d.ts +0 -102
- package/dist/types/generated/fetchers/QueryFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/StageFetcher.d.ts +0 -66
- package/dist/types/generated/fetchers/StageFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/UpdateEventFetcher.d.ts +0 -220
- package/dist/types/generated/fetchers/UpdateEventFetcher.d.ts.map +0 -1
- package/dist/types/generated/fetchers/index.d.ts +0 -23
- package/dist/types/generated/fetchers/index.d.ts.map +0 -1
- package/dist/types/generated/index.d.ts +0 -5
- package/dist/types/generated/index.d.ts.map +0 -1
- package/dist/types/generated/inputs/ContentMigration.d.ts +0 -7
- package/dist/types/generated/inputs/ContentMigration.d.ts.map +0 -1
- package/dist/types/generated/inputs/EventFilterRow.d.ts +0 -5
- package/dist/types/generated/inputs/EventFilterRow.d.ts.map +0 -1
- package/dist/types/generated/inputs/EventsArgs.d.ts +0 -10
- package/dist/types/generated/inputs/EventsArgs.d.ts.map +0 -1
- package/dist/types/generated/inputs/EventsFilter.d.ts +0 -13
- package/dist/types/generated/inputs/EventsFilter.d.ts.map +0 -1
- package/dist/types/generated/inputs/EventsFilterDate.d.ts +0 -5
- package/dist/types/generated/inputs/EventsFilterDate.d.ts.map +0 -1
- package/dist/types/generated/inputs/Migration.d.ts +0 -15
- package/dist/types/generated/inputs/Migration.d.ts.map +0 -1
- package/dist/types/generated/inputs/MigrationSkippedError.d.ts +0 -5
- package/dist/types/generated/inputs/MigrationSkippedError.d.ts.map +0 -1
- package/dist/types/generated/inputs/SchemaMigration.d.ts +0 -7
- package/dist/types/generated/inputs/SchemaMigration.d.ts.map +0 -1
- package/dist/types/generated/inputs/index.d.ts +0 -9
- package/dist/types/generated/inputs/index.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -8
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/schema.d.ts +0 -2
- package/dist/types/schema.d.ts.map +0 -1
- package/dist/types/tsconfig.tsbuildinfo +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommonTypes.cjs","sources":["../../../../../packages/graphql-client-system/src/generated/CommonTypes.ts"],"sourcesContent":["\n/**\n * \n * This 'ImplementationType' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'A' ? 'A' | ImplementationType<'B'> :\n * T extends 'B' ? 'B' | ImplementationType<'C'> :\n * T\n * ;\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'AbstractType' ? ImplemenationType<'Impl1'> | ImplementationType<'Impl2'> :\n * T\n * ;\n */\nexport type ImplementationType<T> = \n T extends 'Event' ? 'Event' | ImplementationType<'UpdateEvent'> | ImplementationType<'DeleteEvent'> | ImplementationType<'CreateEvent'> :\n T\n;\n/**\n * \n * This 'upcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'B':\n * output.push('B');\n * upcastTypes0('A', output);\n * break;\n * case 'C':\n * output.push('C');\n * upcastTypes0('B', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'Impl1':\n * output.push('Impl1');\n * upcastTypes0('AbstractType', output);\n * break;\n * case 'Impl2':\n * output.push('Impl2');\n * upcastTypes0('AbstractType', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function upcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n upcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction upcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'UpdateEvent':\n output.push('UpdateEvent');\n upcastTypes0('Event', output);\n break;\n case 'DeleteEvent':\n output.push('DeleteEvent');\n upcastTypes0('Event', output);\n break;\n case 'CreateEvent':\n output.push('CreateEvent');\n upcastTypes0('Event', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\n/**\n * \n * This 'downcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'A':\n * output.push('A');\n * downcastTypes0('B', output);\n * break;\n * case 'B':\n * output.push('B');\n * downcastTypes0('C', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * }\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'AbstractType':\n * downcastTypes0('Impl1', output);\n * downcastTypes0('Impl2', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function downcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n downcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction downcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'Event':\n output.push('Event');\n downcastTypes0('UpdateEvent', output);\n downcastTypes0('DeleteEvent', output);\n downcastTypes0('CreateEvent', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\nexport type WithTypeName<T, TypeName extends string> =\n T extends {readonly __typename: string} ?\n T :\n T & {readonly __typename: TypeName};\n;\n\n"],"names":[],"mappings":";;AAiGO,SAAS,YAAY,UAA4B;AACpD,QAAM,YAAsB,CAAC;AAC7B,eAAa,UAAU,SAAS;AACzB,SAAA;AACX;AAEA,SAAS,aAAa,UAAkB,QAAkB;AACtD,UAAQ,UAAS;AAAA,IACb,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;AA6DO,SAAS,cAAc,UAA4B;AACtD,QAAM,YAAsB,CAAC;AAC7B,iBAAe,UAAU,SAAS;AAC3B,SAAA;AACX;AAEA,SAAS,eAAe,UAAkB,QAAkB;AACxD,UAAQ,UAAS;AAAA,IACb,KAAK;AACD,aAAO,KAAK,OAAO;AACnB,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;;;"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
function upcastTypes(typeName) {
|
|
2
|
-
const typeNames = [];
|
|
3
|
-
upcastTypes0(typeName, typeNames);
|
|
4
|
-
return typeNames;
|
|
5
|
-
}
|
|
6
|
-
function upcastTypes0(typeName, output) {
|
|
7
|
-
switch (typeName) {
|
|
8
|
-
case "UpdateEvent":
|
|
9
|
-
output.push("UpdateEvent");
|
|
10
|
-
upcastTypes0("Event", output);
|
|
11
|
-
break;
|
|
12
|
-
case "DeleteEvent":
|
|
13
|
-
output.push("DeleteEvent");
|
|
14
|
-
upcastTypes0("Event", output);
|
|
15
|
-
break;
|
|
16
|
-
case "CreateEvent":
|
|
17
|
-
output.push("CreateEvent");
|
|
18
|
-
upcastTypes0("Event", output);
|
|
19
|
-
break;
|
|
20
|
-
default:
|
|
21
|
-
output.push(typeName);
|
|
22
|
-
break;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
function downcastTypes(typeName) {
|
|
26
|
-
const typeNames = [];
|
|
27
|
-
downcastTypes0(typeName, typeNames);
|
|
28
|
-
return typeNames;
|
|
29
|
-
}
|
|
30
|
-
function downcastTypes0(typeName, output) {
|
|
31
|
-
switch (typeName) {
|
|
32
|
-
case "Event":
|
|
33
|
-
output.push("Event");
|
|
34
|
-
downcastTypes0("UpdateEvent", output);
|
|
35
|
-
downcastTypes0("DeleteEvent", output);
|
|
36
|
-
downcastTypes0("CreateEvent", output);
|
|
37
|
-
break;
|
|
38
|
-
default:
|
|
39
|
-
output.push(typeName);
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
export {
|
|
44
|
-
downcastTypes,
|
|
45
|
-
upcastTypes
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=CommonTypes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommonTypes.js","sources":["../../../../../packages/graphql-client-system/src/generated/CommonTypes.ts"],"sourcesContent":["\n/**\n * \n * This 'ImplementationType' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'A' ? 'A' | ImplementationType<'B'> :\n * T extends 'B' ? 'B' | ImplementationType<'C'> :\n * T\n * ;\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'AbstractType' ? ImplemenationType<'Impl1'> | ImplementationType<'Impl2'> :\n * T\n * ;\n */\nexport type ImplementationType<T> = \n T extends 'Event' ? 'Event' | ImplementationType<'UpdateEvent'> | ImplementationType<'DeleteEvent'> | ImplementationType<'CreateEvent'> :\n T\n;\n/**\n * \n * This 'upcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'B':\n * output.push('B');\n * upcastTypes0('A', output);\n * break;\n * case 'C':\n * output.push('C');\n * upcastTypes0('B', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'Impl1':\n * output.push('Impl1');\n * upcastTypes0('AbstractType', output);\n * break;\n * case 'Impl2':\n * output.push('Impl2');\n * upcastTypes0('AbstractType', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function upcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n upcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction upcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'UpdateEvent':\n output.push('UpdateEvent');\n upcastTypes0('Event', output);\n break;\n case 'DeleteEvent':\n output.push('DeleteEvent');\n upcastTypes0('Event', output);\n break;\n case 'CreateEvent':\n output.push('CreateEvent');\n upcastTypes0('Event', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\n/**\n * \n * This 'downcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'A':\n * output.push('A');\n * downcastTypes0('B', output);\n * break;\n * case 'B':\n * output.push('B');\n * downcastTypes0('C', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * }\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'AbstractType':\n * downcastTypes0('Impl1', output);\n * downcastTypes0('Impl2', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function downcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n downcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction downcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'Event':\n output.push('Event');\n downcastTypes0('UpdateEvent', output);\n downcastTypes0('DeleteEvent', output);\n downcastTypes0('CreateEvent', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\nexport type WithTypeName<T, TypeName extends string> =\n T extends {readonly __typename: string} ?\n T :\n T & {readonly __typename: TypeName};\n;\n\n"],"names":[],"mappings":"AAiGO,SAAS,YAAY,UAA4B;AACpD,QAAM,YAAsB,CAAC;AAC7B,eAAa,UAAU,SAAS;AACzB,SAAA;AACX;AAEA,SAAS,aAAa,UAAkB,QAAkB;AACtD,UAAQ,UAAS;AAAA,IACb,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;AA6DO,SAAS,cAAc,UAA4B;AACtD,QAAM,YAAsB,CAAC;AAC7B,iBAAe,UAAU,SAAS;AAC3B,SAAA;AACX;AAEA,SAAS,eAAe,UAAkB,QAAkB;AACxD,UAAQ,UAAS;AAAA,IACb,KAAK;AACD,aAAO,KAAK,OAAO;AACnB,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const graphqlTsClientApi = require("graphql-ts-client-api");
|
|
4
|
-
const builder = new graphqlTsClientApi.EnumInputMetadataBuilder();
|
|
5
|
-
builder.add("EventType");
|
|
6
|
-
builder.add("EventsFilter", [
|
|
7
|
-
{ name: "types", typeName: "EventType" }
|
|
8
|
-
]);
|
|
9
|
-
builder.add("EventsOrder");
|
|
10
|
-
builder.add("EventsArgs", [
|
|
11
|
-
{ name: "filter", typeName: "EventsFilter" },
|
|
12
|
-
{ name: "order", typeName: "EventsOrder" }
|
|
13
|
-
]);
|
|
14
|
-
builder.add("MigrationType");
|
|
15
|
-
builder.add("Migration", [
|
|
16
|
-
{ name: "type", typeName: "MigrationType" }
|
|
17
|
-
]);
|
|
18
|
-
builder.add("MigrateErrorCode");
|
|
19
|
-
const ENUM_INPUT_METADATA = builder.build();
|
|
20
|
-
exports.ENUM_INPUT_METADATA = ENUM_INPUT_METADATA;
|
|
21
|
-
//# sourceMappingURL=EnumInputMetadata.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnumInputMetadata.cjs","sources":["../../../../../packages/graphql-client-system/src/generated/EnumInputMetadata.ts"],"sourcesContent":["import { EnumInputMetadataBuilder } from 'graphql-ts-client-api';\n\nconst builder = new EnumInputMetadataBuilder();\n\nbuilder.add(\"EventType\");\n\nbuilder.add(\"EventsFilter\", [\n {name: \"types\", typeName: \"EventType\"}\n]);\n\nbuilder.add(\"EventsOrder\");\n\nbuilder.add(\"EventsArgs\", [\n {name: \"filter\", typeName: \"EventsFilter\"}, \n {name: \"order\", typeName: \"EventsOrder\"}\n]);\n\nbuilder.add(\"MigrationType\");\n\nbuilder.add(\"Migration\", [\n {name: \"type\", typeName: \"MigrationType\"}\n]);\n\nbuilder.add(\"MigrateErrorCode\");\n\nexport const ENUM_INPUT_METADATA = builder.build();\n"],"names":["EnumInputMetadataBuilder"],"mappings":";;;AAEA,MAAM,UAAU,IAAIA,mBAAAA,yBAAyB;AAE7C,QAAQ,IAAI,WAAW;AAEvB,QAAQ,IAAI,gBAAgB;AAAA,EACxB,EAAC,MAAM,SAAS,UAAU,YAAW;AACzC,CAAC;AAED,QAAQ,IAAI,aAAa;AAEzB,QAAQ,IAAI,cAAc;AAAA,EACtB,EAAC,MAAM,UAAU,UAAU,eAAc;AAAA,EACzC,EAAC,MAAM,SAAS,UAAU,cAAa;AAC3C,CAAC;AAED,QAAQ,IAAI,eAAe;AAE3B,QAAQ,IAAI,aAAa;AAAA,EACrB,EAAC,MAAM,QAAQ,UAAU,gBAAe;AAC5C,CAAC;AAED,QAAQ,IAAI,kBAAkB;AAEjB,MAAA,sBAAsB,QAAQ,MAAM;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EnumInputMetadataBuilder } from "graphql-ts-client-api";
|
|
2
|
-
const builder = new EnumInputMetadataBuilder();
|
|
3
|
-
builder.add("EventType");
|
|
4
|
-
builder.add("EventsFilter", [
|
|
5
|
-
{ name: "types", typeName: "EventType" }
|
|
6
|
-
]);
|
|
7
|
-
builder.add("EventsOrder");
|
|
8
|
-
builder.add("EventsArgs", [
|
|
9
|
-
{ name: "filter", typeName: "EventsFilter" },
|
|
10
|
-
{ name: "order", typeName: "EventsOrder" }
|
|
11
|
-
]);
|
|
12
|
-
builder.add("MigrationType");
|
|
13
|
-
builder.add("Migration", [
|
|
14
|
-
{ name: "type", typeName: "MigrationType" }
|
|
15
|
-
]);
|
|
16
|
-
builder.add("MigrateErrorCode");
|
|
17
|
-
const ENUM_INPUT_METADATA = builder.build();
|
|
18
|
-
export {
|
|
19
|
-
ENUM_INPUT_METADATA
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=EnumInputMetadata.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnumInputMetadata.js","sources":["../../../../../packages/graphql-client-system/src/generated/EnumInputMetadata.ts"],"sourcesContent":["import { EnumInputMetadataBuilder } from 'graphql-ts-client-api';\n\nconst builder = new EnumInputMetadataBuilder();\n\nbuilder.add(\"EventType\");\n\nbuilder.add(\"EventsFilter\", [\n {name: \"types\", typeName: \"EventType\"}\n]);\n\nbuilder.add(\"EventsOrder\");\n\nbuilder.add(\"EventsArgs\", [\n {name: \"filter\", typeName: \"EventsFilter\"}, \n {name: \"order\", typeName: \"EventsOrder\"}\n]);\n\nbuilder.add(\"MigrationType\");\n\nbuilder.add(\"Migration\", [\n {name: \"type\", typeName: \"MigrationType\"}\n]);\n\nbuilder.add(\"MigrateErrorCode\");\n\nexport const ENUM_INPUT_METADATA = builder.build();\n"],"names":[],"mappings":";AAEA,MAAM,UAAU,IAAI,yBAAyB;AAE7C,QAAQ,IAAI,WAAW;AAEvB,QAAQ,IAAI,gBAAgB;AAAA,EACxB,EAAC,MAAM,SAAS,UAAU,YAAW;AACzC,CAAC;AAED,QAAQ,IAAI,aAAa;AAEzB,QAAQ,IAAI,cAAc;AAAA,EACtB,EAAC,MAAM,UAAU,UAAU,eAAc;AAAA,EACzC,EAAC,MAAM,SAAS,UAAU,cAAa;AAC3C,CAAC;AAED,QAAQ,IAAI,eAAe;AAE3B,QAAQ,IAAI,aAAa;AAAA,EACrB,EAAC,MAAM,QAAQ,UAAU,gBAAe;AAC5C,CAAC;AAED,QAAQ,IAAI,kBAAkB;AAEjB,MAAA,sBAAsB,QAAQ,MAAM;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const EnumInputMetadata = require("../EnumInputMetadata.cjs");
|
|
4
|
-
const graphqlTsClientApi = require("graphql-ts-client-api");
|
|
5
|
-
const EventFetcher = require("./EventFetcher.cjs");
|
|
6
|
-
const createEvent$ = graphqlTsClientApi.createFetcher(
|
|
7
|
-
graphqlTsClientApi.createFetchableType(
|
|
8
|
-
"CreateEvent",
|
|
9
|
-
"OBJECT",
|
|
10
|
-
[EventFetcher.event$.fetchableType],
|
|
11
|
-
[
|
|
12
|
-
"newValues"
|
|
13
|
-
]
|
|
14
|
-
),
|
|
15
|
-
EnumInputMetadata.ENUM_INPUT_METADATA,
|
|
16
|
-
void 0
|
|
17
|
-
);
|
|
18
|
-
const createEvent$$ = createEvent$.id.transactionId.identityId.identityDescription.description.createdAt.appliedAt.type.tableName.primaryKey.newValues;
|
|
19
|
-
exports.createEvent$ = createEvent$;
|
|
20
|
-
exports.createEvent$$ = createEvent$$;
|
|
21
|
-
//# sourceMappingURL=CreateEventFetcher.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateEventFetcher.cjs","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/CreateEventFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport { event$ } from './EventFetcher';\nimport type {EventType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface CreateEventFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'CreateEvent', T, TVariables> {\n\n on<XName extends ImplementationType<'CreateEvent'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): CreateEventFetcher<\n XName extends 'CreateEvent' ?\n T & X :\n WithTypeName<T, ImplementationType<'CreateEvent'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'CreateEvent'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): CreateEventFetcher<T, TVariables>;\n\n\n readonly __typename: CreateEventFetcher<T & {__typename: ImplementationType<'CreateEvent'>}, TVariables>;\n\n\n readonly id: CreateEventFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": CreateEventFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly transactionId: CreateEventFetcher<T & {readonly \"transactionId\": string}, TVariables>;\n\n \"transactionId+\"<\n XAlias extends string = \"transactionId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"transactionId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~transactionId\": CreateEventFetcher<Omit<T, 'transactionId'>, TVariables>;\n\n\n readonly identityId: CreateEventFetcher<T & {readonly \"identityId\": string}, TVariables>;\n\n \"identityId+\"<\n XAlias extends string = \"identityId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityId\": CreateEventFetcher<Omit<T, 'identityId'>, TVariables>;\n\n\n readonly identityDescription: CreateEventFetcher<T & {readonly \"identityDescription\": string}, TVariables>;\n\n \"identityDescription+\"<\n XAlias extends string = \"identityDescription\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityDescription\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityDescription\": CreateEventFetcher<Omit<T, 'identityDescription'>, TVariables>;\n\n\n readonly description: CreateEventFetcher<T & {readonly \"description\": string}, TVariables>;\n\n \"description+\"<\n XAlias extends string = \"description\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"description\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~description\": CreateEventFetcher<Omit<T, 'description'>, TVariables>;\n\n\n readonly createdAt: CreateEventFetcher<T & {readonly \"createdAt\": string}, TVariables>;\n\n \"createdAt+\"<\n XAlias extends string = \"createdAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"createdAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~createdAt\": CreateEventFetcher<Omit<T, 'createdAt'>, TVariables>;\n\n\n readonly appliedAt: CreateEventFetcher<T & {readonly \"appliedAt\": string}, TVariables>;\n\n \"appliedAt+\"<\n XAlias extends string = \"appliedAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"appliedAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~appliedAt\": CreateEventFetcher<Omit<T, 'appliedAt'>, TVariables>;\n\n\n readonly type: CreateEventFetcher<T & {readonly \"type\": EventType}, TVariables>;\n\n \"type+\"<\n XAlias extends string = \"type\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"type\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: EventType} : \n {readonly [key in XAlias]: EventType}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~type\": CreateEventFetcher<Omit<T, 'type'>, TVariables>;\n\n\n readonly tableName: CreateEventFetcher<T & {readonly \"tableName\": string}, TVariables>;\n\n \"tableName+\"<\n XAlias extends string = \"tableName\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"tableName\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~tableName\": CreateEventFetcher<Omit<T, 'tableName'>, TVariables>;\n\n\n readonly primaryKey: CreateEventFetcher<T & {readonly \"primaryKey\": ReadonlyArray<number | string>}, TVariables>;\n\n \"primaryKey+\"<\n XAlias extends string = \"primaryKey\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"primaryKey\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<number | string>} : \n {readonly [key in XAlias]: ReadonlyArray<number | string>}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~primaryKey\": CreateEventFetcher<Omit<T, 'primaryKey'>, TVariables>;\n\n\n readonly newValues: CreateEventFetcher<T & {readonly \"newValues\": unknown}, TVariables>;\n\n \"newValues+\"<\n XAlias extends string = \"newValues\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"newValues\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: unknown} : \n {readonly [key in XAlias]: unknown}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~newValues\": CreateEventFetcher<Omit<T, 'newValues'>, TVariables>;\n}\n\nexport const createEvent$: CreateEventFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"CreateEvent\", \n \"OBJECT\", \n [event$.fetchableType], \n [\n \"newValues\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const createEvent$$ = \n createEvent$\n .id\n .transactionId\n .identityId\n .identityDescription\n .description\n .createdAt\n .appliedAt\n .type\n .tableName\n .primaryKey\n .newValues\n;\n"],"names":["createFetcher","createFetchableType","event$","ENUM_INPUT_METADATA"],"mappings":";;;;;AAuRO,MAAM,eACTA,mBAAA;AAAA,EACIC,mBAAA;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAACC,aAAAA,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,IAAA;AAAA,EAER;AAAA,EACAC,kBAAA;AAAA,EACA;AACJ;AAGS,MAAA,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ENUM_INPUT_METADATA } from "../EnumInputMetadata.js";
|
|
2
|
-
import { createFetcher, createFetchableType } from "graphql-ts-client-api";
|
|
3
|
-
import { event$ } from "./EventFetcher.js";
|
|
4
|
-
const createEvent$ = createFetcher(
|
|
5
|
-
createFetchableType(
|
|
6
|
-
"CreateEvent",
|
|
7
|
-
"OBJECT",
|
|
8
|
-
[event$.fetchableType],
|
|
9
|
-
[
|
|
10
|
-
"newValues"
|
|
11
|
-
]
|
|
12
|
-
),
|
|
13
|
-
ENUM_INPUT_METADATA,
|
|
14
|
-
void 0
|
|
15
|
-
);
|
|
16
|
-
const createEvent$$ = createEvent$.id.transactionId.identityId.identityDescription.description.createdAt.appliedAt.type.tableName.primaryKey.newValues;
|
|
17
|
-
export {
|
|
18
|
-
createEvent$,
|
|
19
|
-
createEvent$$
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=CreateEventFetcher.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateEventFetcher.js","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/CreateEventFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport { event$ } from './EventFetcher';\nimport type {EventType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface CreateEventFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'CreateEvent', T, TVariables> {\n\n on<XName extends ImplementationType<'CreateEvent'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): CreateEventFetcher<\n XName extends 'CreateEvent' ?\n T & X :\n WithTypeName<T, ImplementationType<'CreateEvent'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'CreateEvent'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): CreateEventFetcher<T, TVariables>;\n\n\n readonly __typename: CreateEventFetcher<T & {__typename: ImplementationType<'CreateEvent'>}, TVariables>;\n\n\n readonly id: CreateEventFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": CreateEventFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly transactionId: CreateEventFetcher<T & {readonly \"transactionId\": string}, TVariables>;\n\n \"transactionId+\"<\n XAlias extends string = \"transactionId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"transactionId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~transactionId\": CreateEventFetcher<Omit<T, 'transactionId'>, TVariables>;\n\n\n readonly identityId: CreateEventFetcher<T & {readonly \"identityId\": string}, TVariables>;\n\n \"identityId+\"<\n XAlias extends string = \"identityId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityId\": CreateEventFetcher<Omit<T, 'identityId'>, TVariables>;\n\n\n readonly identityDescription: CreateEventFetcher<T & {readonly \"identityDescription\": string}, TVariables>;\n\n \"identityDescription+\"<\n XAlias extends string = \"identityDescription\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityDescription\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityDescription\": CreateEventFetcher<Omit<T, 'identityDescription'>, TVariables>;\n\n\n readonly description: CreateEventFetcher<T & {readonly \"description\": string}, TVariables>;\n\n \"description+\"<\n XAlias extends string = \"description\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"description\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~description\": CreateEventFetcher<Omit<T, 'description'>, TVariables>;\n\n\n readonly createdAt: CreateEventFetcher<T & {readonly \"createdAt\": string}, TVariables>;\n\n \"createdAt+\"<\n XAlias extends string = \"createdAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"createdAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~createdAt\": CreateEventFetcher<Omit<T, 'createdAt'>, TVariables>;\n\n\n readonly appliedAt: CreateEventFetcher<T & {readonly \"appliedAt\": string}, TVariables>;\n\n \"appliedAt+\"<\n XAlias extends string = \"appliedAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"appliedAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~appliedAt\": CreateEventFetcher<Omit<T, 'appliedAt'>, TVariables>;\n\n\n readonly type: CreateEventFetcher<T & {readonly \"type\": EventType}, TVariables>;\n\n \"type+\"<\n XAlias extends string = \"type\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"type\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: EventType} : \n {readonly [key in XAlias]: EventType}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~type\": CreateEventFetcher<Omit<T, 'type'>, TVariables>;\n\n\n readonly tableName: CreateEventFetcher<T & {readonly \"tableName\": string}, TVariables>;\n\n \"tableName+\"<\n XAlias extends string = \"tableName\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"tableName\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~tableName\": CreateEventFetcher<Omit<T, 'tableName'>, TVariables>;\n\n\n readonly primaryKey: CreateEventFetcher<T & {readonly \"primaryKey\": ReadonlyArray<number | string>}, TVariables>;\n\n \"primaryKey+\"<\n XAlias extends string = \"primaryKey\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"primaryKey\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<number | string>} : \n {readonly [key in XAlias]: ReadonlyArray<number | string>}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~primaryKey\": CreateEventFetcher<Omit<T, 'primaryKey'>, TVariables>;\n\n\n readonly newValues: CreateEventFetcher<T & {readonly \"newValues\": unknown}, TVariables>;\n\n \"newValues+\"<\n XAlias extends string = \"newValues\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"newValues\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): CreateEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: unknown} : \n {readonly [key in XAlias]: unknown}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~newValues\": CreateEventFetcher<Omit<T, 'newValues'>, TVariables>;\n}\n\nexport const createEvent$: CreateEventFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"CreateEvent\", \n \"OBJECT\", \n [event$.fetchableType], \n [\n \"newValues\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const createEvent$$ = \n createEvent$\n .id\n .transactionId\n .identityId\n .identityDescription\n .description\n .createdAt\n .appliedAt\n .type\n .tableName\n .primaryKey\n .newValues\n;\n"],"names":[],"mappings":";;;AAuRO,MAAM,eACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAC,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,IAAA;AAAA,EAER;AAAA,EACA;AAAA,EACA;AACJ;AAGS,MAAA,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const EnumInputMetadata = require("../EnumInputMetadata.cjs");
|
|
4
|
-
const graphqlTsClientApi = require("graphql-ts-client-api");
|
|
5
|
-
const EventFetcher = require("./EventFetcher.cjs");
|
|
6
|
-
const deleteEvent$ = graphqlTsClientApi.createFetcher(
|
|
7
|
-
graphqlTsClientApi.createFetchableType(
|
|
8
|
-
"DeleteEvent",
|
|
9
|
-
"OBJECT",
|
|
10
|
-
[EventFetcher.event$.fetchableType],
|
|
11
|
-
[
|
|
12
|
-
"oldValues"
|
|
13
|
-
]
|
|
14
|
-
),
|
|
15
|
-
EnumInputMetadata.ENUM_INPUT_METADATA,
|
|
16
|
-
void 0
|
|
17
|
-
);
|
|
18
|
-
const deleteEvent$$ = deleteEvent$.id.transactionId.identityId.identityDescription.description.createdAt.appliedAt.type.tableName.primaryKey.oldValues;
|
|
19
|
-
exports.deleteEvent$ = deleteEvent$;
|
|
20
|
-
exports.deleteEvent$$ = deleteEvent$$;
|
|
21
|
-
//# sourceMappingURL=DeleteEventFetcher.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteEventFetcher.cjs","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/DeleteEventFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport { event$ } from './EventFetcher';\nimport type {EventType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface DeleteEventFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'DeleteEvent', T, TVariables> {\n\n on<XName extends ImplementationType<'DeleteEvent'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): DeleteEventFetcher<\n XName extends 'DeleteEvent' ?\n T & X :\n WithTypeName<T, ImplementationType<'DeleteEvent'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'DeleteEvent'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): DeleteEventFetcher<T, TVariables>;\n\n\n readonly __typename: DeleteEventFetcher<T & {__typename: ImplementationType<'DeleteEvent'>}, TVariables>;\n\n\n readonly id: DeleteEventFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": DeleteEventFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly transactionId: DeleteEventFetcher<T & {readonly \"transactionId\": string}, TVariables>;\n\n \"transactionId+\"<\n XAlias extends string = \"transactionId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"transactionId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~transactionId\": DeleteEventFetcher<Omit<T, 'transactionId'>, TVariables>;\n\n\n readonly identityId: DeleteEventFetcher<T & {readonly \"identityId\": string}, TVariables>;\n\n \"identityId+\"<\n XAlias extends string = \"identityId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityId\": DeleteEventFetcher<Omit<T, 'identityId'>, TVariables>;\n\n\n readonly identityDescription: DeleteEventFetcher<T & {readonly \"identityDescription\": string}, TVariables>;\n\n \"identityDescription+\"<\n XAlias extends string = \"identityDescription\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityDescription\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityDescription\": DeleteEventFetcher<Omit<T, 'identityDescription'>, TVariables>;\n\n\n readonly description: DeleteEventFetcher<T & {readonly \"description\": string}, TVariables>;\n\n \"description+\"<\n XAlias extends string = \"description\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"description\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~description\": DeleteEventFetcher<Omit<T, 'description'>, TVariables>;\n\n\n readonly createdAt: DeleteEventFetcher<T & {readonly \"createdAt\": string}, TVariables>;\n\n \"createdAt+\"<\n XAlias extends string = \"createdAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"createdAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~createdAt\": DeleteEventFetcher<Omit<T, 'createdAt'>, TVariables>;\n\n\n readonly appliedAt: DeleteEventFetcher<T & {readonly \"appliedAt\": string}, TVariables>;\n\n \"appliedAt+\"<\n XAlias extends string = \"appliedAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"appliedAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~appliedAt\": DeleteEventFetcher<Omit<T, 'appliedAt'>, TVariables>;\n\n\n readonly type: DeleteEventFetcher<T & {readonly \"type\": EventType}, TVariables>;\n\n \"type+\"<\n XAlias extends string = \"type\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"type\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: EventType} : \n {readonly [key in XAlias]: EventType}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~type\": DeleteEventFetcher<Omit<T, 'type'>, TVariables>;\n\n\n readonly tableName: DeleteEventFetcher<T & {readonly \"tableName\": string}, TVariables>;\n\n \"tableName+\"<\n XAlias extends string = \"tableName\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"tableName\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~tableName\": DeleteEventFetcher<Omit<T, 'tableName'>, TVariables>;\n\n\n readonly primaryKey: DeleteEventFetcher<T & {readonly \"primaryKey\": ReadonlyArray<number | string>}, TVariables>;\n\n \"primaryKey+\"<\n XAlias extends string = \"primaryKey\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"primaryKey\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<number | string>} : \n {readonly [key in XAlias]: ReadonlyArray<number | string>}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~primaryKey\": DeleteEventFetcher<Omit<T, 'primaryKey'>, TVariables>;\n\n\n readonly oldValues: DeleteEventFetcher<T & {readonly \"oldValues\": unknown}, TVariables>;\n\n \"oldValues+\"<\n XAlias extends string = \"oldValues\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"oldValues\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: unknown} : \n {readonly [key in XAlias]: unknown}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~oldValues\": DeleteEventFetcher<Omit<T, 'oldValues'>, TVariables>;\n}\n\nexport const deleteEvent$: DeleteEventFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"DeleteEvent\", \n \"OBJECT\", \n [event$.fetchableType], \n [\n \"oldValues\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const deleteEvent$$ = \n deleteEvent$\n .id\n .transactionId\n .identityId\n .identityDescription\n .description\n .createdAt\n .appliedAt\n .type\n .tableName\n .primaryKey\n .oldValues\n;\n"],"names":["createFetcher","createFetchableType","event$","ENUM_INPUT_METADATA"],"mappings":";;;;;AAuRO,MAAM,eACTA,mBAAA;AAAA,EACIC,mBAAA;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAACC,aAAAA,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,IAAA;AAAA,EAER;AAAA,EACAC,kBAAA;AAAA,EACA;AACJ;AAGS,MAAA,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ENUM_INPUT_METADATA } from "../EnumInputMetadata.js";
|
|
2
|
-
import { createFetcher, createFetchableType } from "graphql-ts-client-api";
|
|
3
|
-
import { event$ } from "./EventFetcher.js";
|
|
4
|
-
const deleteEvent$ = createFetcher(
|
|
5
|
-
createFetchableType(
|
|
6
|
-
"DeleteEvent",
|
|
7
|
-
"OBJECT",
|
|
8
|
-
[event$.fetchableType],
|
|
9
|
-
[
|
|
10
|
-
"oldValues"
|
|
11
|
-
]
|
|
12
|
-
),
|
|
13
|
-
ENUM_INPUT_METADATA,
|
|
14
|
-
void 0
|
|
15
|
-
);
|
|
16
|
-
const deleteEvent$$ = deleteEvent$.id.transactionId.identityId.identityDescription.description.createdAt.appliedAt.type.tableName.primaryKey.oldValues;
|
|
17
|
-
export {
|
|
18
|
-
deleteEvent$,
|
|
19
|
-
deleteEvent$$
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=DeleteEventFetcher.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteEventFetcher.js","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/DeleteEventFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport { event$ } from './EventFetcher';\nimport type {EventType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface DeleteEventFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'DeleteEvent', T, TVariables> {\n\n on<XName extends ImplementationType<'DeleteEvent'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): DeleteEventFetcher<\n XName extends 'DeleteEvent' ?\n T & X :\n WithTypeName<T, ImplementationType<'DeleteEvent'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'DeleteEvent'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): DeleteEventFetcher<T, TVariables>;\n\n\n readonly __typename: DeleteEventFetcher<T & {__typename: ImplementationType<'DeleteEvent'>}, TVariables>;\n\n\n readonly id: DeleteEventFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": DeleteEventFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly transactionId: DeleteEventFetcher<T & {readonly \"transactionId\": string}, TVariables>;\n\n \"transactionId+\"<\n XAlias extends string = \"transactionId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"transactionId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~transactionId\": DeleteEventFetcher<Omit<T, 'transactionId'>, TVariables>;\n\n\n readonly identityId: DeleteEventFetcher<T & {readonly \"identityId\": string}, TVariables>;\n\n \"identityId+\"<\n XAlias extends string = \"identityId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityId\": DeleteEventFetcher<Omit<T, 'identityId'>, TVariables>;\n\n\n readonly identityDescription: DeleteEventFetcher<T & {readonly \"identityDescription\": string}, TVariables>;\n\n \"identityDescription+\"<\n XAlias extends string = \"identityDescription\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityDescription\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityDescription\": DeleteEventFetcher<Omit<T, 'identityDescription'>, TVariables>;\n\n\n readonly description: DeleteEventFetcher<T & {readonly \"description\": string}, TVariables>;\n\n \"description+\"<\n XAlias extends string = \"description\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"description\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~description\": DeleteEventFetcher<Omit<T, 'description'>, TVariables>;\n\n\n readonly createdAt: DeleteEventFetcher<T & {readonly \"createdAt\": string}, TVariables>;\n\n \"createdAt+\"<\n XAlias extends string = \"createdAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"createdAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~createdAt\": DeleteEventFetcher<Omit<T, 'createdAt'>, TVariables>;\n\n\n readonly appliedAt: DeleteEventFetcher<T & {readonly \"appliedAt\": string}, TVariables>;\n\n \"appliedAt+\"<\n XAlias extends string = \"appliedAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"appliedAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~appliedAt\": DeleteEventFetcher<Omit<T, 'appliedAt'>, TVariables>;\n\n\n readonly type: DeleteEventFetcher<T & {readonly \"type\": EventType}, TVariables>;\n\n \"type+\"<\n XAlias extends string = \"type\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"type\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: EventType} : \n {readonly [key in XAlias]: EventType}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~type\": DeleteEventFetcher<Omit<T, 'type'>, TVariables>;\n\n\n readonly tableName: DeleteEventFetcher<T & {readonly \"tableName\": string}, TVariables>;\n\n \"tableName+\"<\n XAlias extends string = \"tableName\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"tableName\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~tableName\": DeleteEventFetcher<Omit<T, 'tableName'>, TVariables>;\n\n\n readonly primaryKey: DeleteEventFetcher<T & {readonly \"primaryKey\": ReadonlyArray<number | string>}, TVariables>;\n\n \"primaryKey+\"<\n XAlias extends string = \"primaryKey\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"primaryKey\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<number | string>} : \n {readonly [key in XAlias]: ReadonlyArray<number | string>}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~primaryKey\": DeleteEventFetcher<Omit<T, 'primaryKey'>, TVariables>;\n\n\n readonly oldValues: DeleteEventFetcher<T & {readonly \"oldValues\": unknown}, TVariables>;\n\n \"oldValues+\"<\n XAlias extends string = \"oldValues\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"oldValues\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): DeleteEventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: unknown} : \n {readonly [key in XAlias]: unknown}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~oldValues\": DeleteEventFetcher<Omit<T, 'oldValues'>, TVariables>;\n}\n\nexport const deleteEvent$: DeleteEventFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"DeleteEvent\", \n \"OBJECT\", \n [event$.fetchableType], \n [\n \"oldValues\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const deleteEvent$$ = \n deleteEvent$\n .id\n .transactionId\n .identityId\n .identityDescription\n .description\n .createdAt\n .appliedAt\n .type\n .tableName\n .primaryKey\n .oldValues\n;\n"],"names":[],"mappings":";;;AAuRO,MAAM,eACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAC,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,IAAA;AAAA,EAER;AAAA,EACA;AAAA,EACA;AACJ;AAGS,MAAA,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const EnumInputMetadata = require("../EnumInputMetadata.cjs");
|
|
4
|
-
const graphqlTsClientApi = require("graphql-ts-client-api");
|
|
5
|
-
const event$ = graphqlTsClientApi.createFetcher(
|
|
6
|
-
graphqlTsClientApi.createFetchableType(
|
|
7
|
-
"Event",
|
|
8
|
-
"OBJECT",
|
|
9
|
-
[],
|
|
10
|
-
[
|
|
11
|
-
{
|
|
12
|
-
category: "ID",
|
|
13
|
-
name: "id"
|
|
14
|
-
},
|
|
15
|
-
"transactionId",
|
|
16
|
-
"identityDescription",
|
|
17
|
-
"identityId",
|
|
18
|
-
"description",
|
|
19
|
-
"createdAt",
|
|
20
|
-
"appliedAt",
|
|
21
|
-
"type",
|
|
22
|
-
"tableName",
|
|
23
|
-
"primaryKey"
|
|
24
|
-
]
|
|
25
|
-
),
|
|
26
|
-
EnumInputMetadata.ENUM_INPUT_METADATA,
|
|
27
|
-
void 0
|
|
28
|
-
);
|
|
29
|
-
const event$$ = event$.id.transactionId.identityDescription.identityId.description.createdAt.appliedAt.type.tableName.primaryKey;
|
|
30
|
-
exports.event$ = event$;
|
|
31
|
-
exports.event$$ = event$$;
|
|
32
|
-
//# sourceMappingURL=EventFetcher.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventFetcher.cjs","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/EventFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {EventType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface EventFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Event', T, TVariables> {\n\n on<XName extends ImplementationType<'Event'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): EventFetcher<\n XName extends 'Event' ?\n T & X :\n WithTypeName<T, ImplementationType<'Event'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Event'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): EventFetcher<T, TVariables>;\n\n\n readonly __typename: EventFetcher<T & {__typename: ImplementationType<'Event'>}, TVariables>;\n\n\n readonly id: EventFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": EventFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly transactionId: EventFetcher<T & {readonly \"transactionId\": string}, TVariables>;\n\n \"transactionId+\"<\n XAlias extends string = \"transactionId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"transactionId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~transactionId\": EventFetcher<Omit<T, 'transactionId'>, TVariables>;\n\n\n readonly identityDescription: EventFetcher<T & {readonly \"identityDescription\": string}, TVariables>;\n\n \"identityDescription+\"<\n XAlias extends string = \"identityDescription\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityDescription\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityDescription\": EventFetcher<Omit<T, 'identityDescription'>, TVariables>;\n\n\n readonly identityId: EventFetcher<T & {readonly \"identityId\": string}, TVariables>;\n\n \"identityId+\"<\n XAlias extends string = \"identityId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityId\": EventFetcher<Omit<T, 'identityId'>, TVariables>;\n\n\n readonly description: EventFetcher<T & {readonly \"description\": string}, TVariables>;\n\n \"description+\"<\n XAlias extends string = \"description\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"description\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~description\": EventFetcher<Omit<T, 'description'>, TVariables>;\n\n\n readonly createdAt: EventFetcher<T & {readonly \"createdAt\": string}, TVariables>;\n\n \"createdAt+\"<\n XAlias extends string = \"createdAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"createdAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~createdAt\": EventFetcher<Omit<T, 'createdAt'>, TVariables>;\n\n\n readonly appliedAt: EventFetcher<T & {readonly \"appliedAt\": string}, TVariables>;\n\n \"appliedAt+\"<\n XAlias extends string = \"appliedAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"appliedAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~appliedAt\": EventFetcher<Omit<T, 'appliedAt'>, TVariables>;\n\n\n readonly type: EventFetcher<T & {readonly \"type\": EventType}, TVariables>;\n\n \"type+\"<\n XAlias extends string = \"type\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"type\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: EventType} : \n {readonly [key in XAlias]: EventType}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~type\": EventFetcher<Omit<T, 'type'>, TVariables>;\n\n\n readonly tableName: EventFetcher<T & {readonly \"tableName\": string}, TVariables>;\n\n \"tableName+\"<\n XAlias extends string = \"tableName\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"tableName\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~tableName\": EventFetcher<Omit<T, 'tableName'>, TVariables>;\n\n\n readonly primaryKey: EventFetcher<T & {readonly \"primaryKey\": ReadonlyArray<number | string>}, TVariables>;\n\n \"primaryKey+\"<\n XAlias extends string = \"primaryKey\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"primaryKey\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<number | string>} : \n {readonly [key in XAlias]: ReadonlyArray<number | string>}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~primaryKey\": EventFetcher<Omit<T, 'primaryKey'>, TVariables>;\n}\n\nexport const event$: EventFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Event\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n \"transactionId\", \n \"identityDescription\", \n \"identityId\", \n \"description\", \n \"createdAt\", \n \"appliedAt\", \n \"type\", \n \"tableName\", \n \"primaryKey\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const event$$ = \n event$\n .id\n .transactionId\n .identityDescription\n .identityId\n .description\n .createdAt\n .appliedAt\n .type\n .tableName\n .primaryKey\n;\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AAgQO,MAAM,SACTA,mBAAA;AAAA,EACIC,mBAAA;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAC;AAAA,IACD;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EAER;AAAA,EACAC,kBAAA;AAAA,EACA;AACJ;AAGS,MAAA,UACT,OACK,GACA,cACA,oBACA,WACA,YACA,UACA,UACA,KACA,UACA;;;"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ENUM_INPUT_METADATA } from "../EnumInputMetadata.js";
|
|
2
|
-
import { createFetcher, createFetchableType } from "graphql-ts-client-api";
|
|
3
|
-
const event$ = createFetcher(
|
|
4
|
-
createFetchableType(
|
|
5
|
-
"Event",
|
|
6
|
-
"OBJECT",
|
|
7
|
-
[],
|
|
8
|
-
[
|
|
9
|
-
{
|
|
10
|
-
category: "ID",
|
|
11
|
-
name: "id"
|
|
12
|
-
},
|
|
13
|
-
"transactionId",
|
|
14
|
-
"identityDescription",
|
|
15
|
-
"identityId",
|
|
16
|
-
"description",
|
|
17
|
-
"createdAt",
|
|
18
|
-
"appliedAt",
|
|
19
|
-
"type",
|
|
20
|
-
"tableName",
|
|
21
|
-
"primaryKey"
|
|
22
|
-
]
|
|
23
|
-
),
|
|
24
|
-
ENUM_INPUT_METADATA,
|
|
25
|
-
void 0
|
|
26
|
-
);
|
|
27
|
-
const event$$ = event$.id.transactionId.identityDescription.identityId.description.createdAt.appliedAt.type.tableName.primaryKey;
|
|
28
|
-
export {
|
|
29
|
-
event$,
|
|
30
|
-
event$$
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=EventFetcher.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventFetcher.js","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/EventFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {EventType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface EventFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Event', T, TVariables> {\n\n on<XName extends ImplementationType<'Event'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): EventFetcher<\n XName extends 'Event' ?\n T & X :\n WithTypeName<T, ImplementationType<'Event'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Event'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): EventFetcher<T, TVariables>;\n\n\n readonly __typename: EventFetcher<T & {__typename: ImplementationType<'Event'>}, TVariables>;\n\n\n readonly id: EventFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": EventFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly transactionId: EventFetcher<T & {readonly \"transactionId\": string}, TVariables>;\n\n \"transactionId+\"<\n XAlias extends string = \"transactionId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"transactionId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~transactionId\": EventFetcher<Omit<T, 'transactionId'>, TVariables>;\n\n\n readonly identityDescription: EventFetcher<T & {readonly \"identityDescription\": string}, TVariables>;\n\n \"identityDescription+\"<\n XAlias extends string = \"identityDescription\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityDescription\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityDescription\": EventFetcher<Omit<T, 'identityDescription'>, TVariables>;\n\n\n readonly identityId: EventFetcher<T & {readonly \"identityId\": string}, TVariables>;\n\n \"identityId+\"<\n XAlias extends string = \"identityId\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"identityId\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~identityId\": EventFetcher<Omit<T, 'identityId'>, TVariables>;\n\n\n readonly description: EventFetcher<T & {readonly \"description\": string}, TVariables>;\n\n \"description+\"<\n XAlias extends string = \"description\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"description\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~description\": EventFetcher<Omit<T, 'description'>, TVariables>;\n\n\n readonly createdAt: EventFetcher<T & {readonly \"createdAt\": string}, TVariables>;\n\n \"createdAt+\"<\n XAlias extends string = \"createdAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"createdAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~createdAt\": EventFetcher<Omit<T, 'createdAt'>, TVariables>;\n\n\n readonly appliedAt: EventFetcher<T & {readonly \"appliedAt\": string}, TVariables>;\n\n \"appliedAt+\"<\n XAlias extends string = \"appliedAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"appliedAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~appliedAt\": EventFetcher<Omit<T, 'appliedAt'>, TVariables>;\n\n\n readonly type: EventFetcher<T & {readonly \"type\": EventType}, TVariables>;\n\n \"type+\"<\n XAlias extends string = \"type\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"type\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: EventType} : \n {readonly [key in XAlias]: EventType}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~type\": EventFetcher<Omit<T, 'type'>, TVariables>;\n\n\n readonly tableName: EventFetcher<T & {readonly \"tableName\": string}, TVariables>;\n\n \"tableName+\"<\n XAlias extends string = \"tableName\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"tableName\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~tableName\": EventFetcher<Omit<T, 'tableName'>, TVariables>;\n\n\n readonly primaryKey: EventFetcher<T & {readonly \"primaryKey\": ReadonlyArray<number | string>}, TVariables>;\n\n \"primaryKey+\"<\n XAlias extends string = \"primaryKey\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"primaryKey\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): EventFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<number | string>} : \n {readonly [key in XAlias]: ReadonlyArray<number | string>}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~primaryKey\": EventFetcher<Omit<T, 'primaryKey'>, TVariables>;\n}\n\nexport const event$: EventFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Event\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n \"transactionId\", \n \"identityDescription\", \n \"identityId\", \n \"description\", \n \"createdAt\", \n \"appliedAt\", \n \"type\", \n \"tableName\", \n \"primaryKey\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const event$$ = \n event$\n .id\n .transactionId\n .identityDescription\n .identityId\n .description\n .createdAt\n .appliedAt\n .type\n .tableName\n .primaryKey\n;\n"],"names":[],"mappings":";;AAgQO,MAAM,SACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAC;AAAA,IACD;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EAER;AAAA,EACA;AAAA,EACA;AACJ;AAGS,MAAA,UACT,OACK,GACA,cACA,oBACA,WACA,YACA,UACA,UACA,KACA,UACA;"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const EnumInputMetadata = require("../EnumInputMetadata.cjs");
|
|
4
|
-
const graphqlTsClientApi = require("graphql-ts-client-api");
|
|
5
|
-
const executedMigration$ = graphqlTsClientApi.createFetcher(
|
|
6
|
-
graphqlTsClientApi.createFetchableType(
|
|
7
|
-
"ExecutedMigration",
|
|
8
|
-
"EMBEDDED",
|
|
9
|
-
[],
|
|
10
|
-
[
|
|
11
|
-
"version",
|
|
12
|
-
"name",
|
|
13
|
-
"executedAt",
|
|
14
|
-
{
|
|
15
|
-
category: "SCALAR",
|
|
16
|
-
name: "checksum",
|
|
17
|
-
undefinable: true
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
category: "SCALAR",
|
|
21
|
-
name: "formatVersion",
|
|
22
|
-
undefinable: true
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
category: "SCALAR",
|
|
26
|
-
name: "modifications",
|
|
27
|
-
undefinable: true
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
),
|
|
31
|
-
EnumInputMetadata.ENUM_INPUT_METADATA,
|
|
32
|
-
void 0
|
|
33
|
-
);
|
|
34
|
-
const executedMigration$$ = executedMigration$.version.name.executedAt.checksum.formatVersion.modifications;
|
|
35
|
-
exports.executedMigration$ = executedMigration$;
|
|
36
|
-
exports.executedMigration$$ = executedMigration$$;
|
|
37
|
-
//# sourceMappingURL=ExecutedMigrationFetcher.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutedMigrationFetcher.cjs","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/ExecutedMigrationFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ExecutedMigrationFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ExecutedMigration', T, TVariables> {\n\n on<XName extends ImplementationType<'ExecutedMigration'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ExecutedMigrationFetcher<\n XName extends 'ExecutedMigration' ?\n T & X :\n WithTypeName<T, ImplementationType<'ExecutedMigration'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ExecutedMigration'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ExecutedMigrationFetcher<T, TVariables>;\n\n\n readonly __typename: ExecutedMigrationFetcher<T & {__typename: ImplementationType<'ExecutedMigration'>}, TVariables>;\n\n\n readonly version: ExecutedMigrationFetcher<T & {readonly \"version\": string}, TVariables>;\n\n \"version+\"<\n XAlias extends string = \"version\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"version\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ExecutedMigrationFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~version\": ExecutedMigrationFetcher<Omit<T, 'version'>, TVariables>;\n\n\n readonly name: ExecutedMigrationFetcher<T & {readonly \"name\": string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ExecutedMigrationFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": ExecutedMigrationFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly executedAt: ExecutedMigrationFetcher<T & {readonly \"executedAt\": string}, TVariables>;\n\n \"executedAt+\"<\n XAlias extends string = \"executedAt\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"executedAt\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ExecutedMigrationFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~executedAt\": ExecutedMigrationFetcher<Omit<T, 'executedAt'>, TVariables>;\n\n\n readonly checksum: ExecutedMigrationFetcher<T & {readonly \"checksum\"?: string}, TVariables>;\n\n \"checksum+\"<\n XAlias extends string = \"checksum\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"checksum\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ExecutedMigrationFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~checksum\": ExecutedMigrationFetcher<Omit<T, 'checksum'>, TVariables>;\n\n\n readonly formatVersion: ExecutedMigrationFetcher<T & {readonly \"formatVersion\"?: number}, TVariables>;\n\n \"formatVersion+\"<\n XAlias extends string = \"formatVersion\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"formatVersion\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ExecutedMigrationFetcher<\n T & {readonly [key in XAlias]?: number}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~formatVersion\": ExecutedMigrationFetcher<Omit<T, 'formatVersion'>, TVariables>;\n\n\n readonly modifications: ExecutedMigrationFetcher<T & {readonly \"modifications\"?: ReadonlyArray<unknown>}, TVariables>;\n\n \"modifications+\"<\n XAlias extends string = \"modifications\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"modifications\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ExecutedMigrationFetcher<\n T & {readonly [key in XAlias]?: ReadonlyArray<unknown>}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~modifications\": ExecutedMigrationFetcher<Omit<T, 'modifications'>, TVariables>;\n}\n\nexport const executedMigration$: ExecutedMigrationFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ExecutedMigration\", \n \"EMBEDDED\", \n [], \n [\n \"version\", \n \"name\", \n \"executedAt\", \n {\n category: \"SCALAR\", \n name: \"checksum\", \n undefinable: true\n }, \n {\n category: \"SCALAR\", \n name: \"formatVersion\", \n undefinable: true\n }, \n {\n category: \"SCALAR\", \n name: \"modifications\", \n undefinable: true\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const executedMigration$$ = \n executedMigration$\n .version\n .name\n .executedAt\n .checksum\n .formatVersion\n .modifications\n;\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AAwJO,MAAM,qBACTA,mBAAA;AAAA,EACIC,mBAAA;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAC;AAAA,IACD;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MACjB;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MACjB;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,IACjB;AAAA,EAER;AAAA,EACAC,kBAAA;AAAA,EACA;AACJ;AAGG,MAAM,sBACT,mBACK,QACA,KACA,WACA,SACA,cACA;;;"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ENUM_INPUT_METADATA } from "../EnumInputMetadata.js";
|
|
2
|
-
import { createFetcher, createFetchableType } from "graphql-ts-client-api";
|
|
3
|
-
const executedMigration$ = createFetcher(
|
|
4
|
-
createFetchableType(
|
|
5
|
-
"ExecutedMigration",
|
|
6
|
-
"EMBEDDED",
|
|
7
|
-
[],
|
|
8
|
-
[
|
|
9
|
-
"version",
|
|
10
|
-
"name",
|
|
11
|
-
"executedAt",
|
|
12
|
-
{
|
|
13
|
-
category: "SCALAR",
|
|
14
|
-
name: "checksum",
|
|
15
|
-
undefinable: true
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
category: "SCALAR",
|
|
19
|
-
name: "formatVersion",
|
|
20
|
-
undefinable: true
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
category: "SCALAR",
|
|
24
|
-
name: "modifications",
|
|
25
|
-
undefinable: true
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
),
|
|
29
|
-
ENUM_INPUT_METADATA,
|
|
30
|
-
void 0
|
|
31
|
-
);
|
|
32
|
-
const executedMigration$$ = executedMigration$.version.name.executedAt.checksum.formatVersion.modifications;
|
|
33
|
-
export {
|
|
34
|
-
executedMigration$,
|
|
35
|
-
executedMigration$$
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=ExecutedMigrationFetcher.js.map
|