@contember/graphql-client-system 2.1.0-alpha.36 → 2.1.0-alpha.39
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/dist/development/index.cjs +40 -0
- package/dist/development/index.cjs.map +1 -0
- package/dist/development/index.js +40 -0
- package/dist/development/index.js.map +1 -0
- package/dist/development/src/generated/Async.cjs +44 -0
- package/dist/development/src/generated/Async.cjs.map +1 -0
- package/dist/development/src/generated/Async.js +44 -0
- package/dist/development/src/generated/Async.js.map +1 -0
- package/dist/development/src/generated/CommonTypes.cjs +47 -0
- package/dist/development/src/generated/CommonTypes.cjs.map +1 -0
- package/dist/development/src/generated/CommonTypes.js +47 -0
- package/dist/development/src/generated/CommonTypes.js.map +1 -0
- package/dist/development/src/generated/EnumInputMetadata.cjs +21 -0
- package/dist/development/src/generated/EnumInputMetadata.cjs.map +1 -0
- package/dist/development/src/generated/EnumInputMetadata.js +21 -0
- package/dist/development/src/generated/EnumInputMetadata.js.map +1 -0
- package/dist/development/src/generated/fetchers/CreateEventFetcher.cjs +21 -0
- package/dist/development/src/generated/fetchers/CreateEventFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/CreateEventFetcher.js +21 -0
- package/dist/development/src/generated/fetchers/CreateEventFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/DeleteEventFetcher.cjs +21 -0
- package/dist/development/src/generated/fetchers/DeleteEventFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/DeleteEventFetcher.js +21 -0
- package/dist/development/src/generated/fetchers/DeleteEventFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/EventFetcher.cjs +32 -0
- package/dist/development/src/generated/fetchers/EventFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/EventFetcher.js +32 -0
- package/dist/development/src/generated/fetchers/EventFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.cjs +37 -0
- package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.js +37 -0
- package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/MigrateErrorFetcher.cjs +22 -0
- package/dist/development/src/generated/fetchers/MigrateErrorFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/MigrateErrorFetcher.js +22 -0
- package/dist/development/src/generated/fetchers/MigrateErrorFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/MigrateResponseFetcher.cjs +37 -0
- package/dist/development/src/generated/fetchers/MigrateResponseFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/MigrateResponseFetcher.js +37 -0
- package/dist/development/src/generated/fetchers/MigrateResponseFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/MigrateResultFetcher.cjs +20 -0
- package/dist/development/src/generated/fetchers/MigrateResultFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/MigrateResultFetcher.js +20 -0
- package/dist/development/src/generated/fetchers/MigrateResultFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/MutationFetcher.cjs +23 -0
- package/dist/development/src/generated/fetchers/MutationFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/MutationFetcher.js +23 -0
- package/dist/development/src/generated/fetchers/MutationFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/QueryFetcher.cjs +35 -0
- package/dist/development/src/generated/fetchers/QueryFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/QueryFetcher.js +35 -0
- package/dist/development/src/generated/fetchers/QueryFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/StageFetcher.cjs +25 -0
- package/dist/development/src/generated/fetchers/StageFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/StageFetcher.js +25 -0
- package/dist/development/src/generated/fetchers/StageFetcher.js.map +1 -0
- package/dist/development/src/generated/fetchers/UpdateEventFetcher.cjs +22 -0
- package/dist/development/src/generated/fetchers/UpdateEventFetcher.cjs.map +1 -0
- package/dist/development/src/generated/fetchers/UpdateEventFetcher.js +22 -0
- package/dist/development/src/generated/fetchers/UpdateEventFetcher.js.map +1 -0
- package/dist/production/index.cjs +40 -0
- package/dist/production/index.cjs.map +1 -0
- package/dist/production/index.js +40 -0
- package/dist/production/index.js.map +1 -0
- package/dist/production/src/generated/Async.cjs +44 -0
- package/dist/production/src/generated/Async.cjs.map +1 -0
- package/dist/production/src/generated/Async.js +44 -0
- package/dist/production/src/generated/Async.js.map +1 -0
- package/dist/production/src/generated/CommonTypes.cjs +47 -0
- package/dist/production/src/generated/CommonTypes.cjs.map +1 -0
- package/dist/production/src/generated/CommonTypes.js +47 -0
- package/dist/production/src/generated/CommonTypes.js.map +1 -0
- package/dist/production/src/generated/EnumInputMetadata.cjs +21 -0
- package/dist/production/src/generated/EnumInputMetadata.cjs.map +1 -0
- package/dist/production/src/generated/EnumInputMetadata.js +21 -0
- package/dist/production/src/generated/EnumInputMetadata.js.map +1 -0
- package/dist/production/src/generated/fetchers/CreateEventFetcher.cjs +21 -0
- package/dist/production/src/generated/fetchers/CreateEventFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/CreateEventFetcher.js +21 -0
- package/dist/production/src/generated/fetchers/CreateEventFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/DeleteEventFetcher.cjs +21 -0
- package/dist/production/src/generated/fetchers/DeleteEventFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/DeleteEventFetcher.js +21 -0
- package/dist/production/src/generated/fetchers/DeleteEventFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/EventFetcher.cjs +32 -0
- package/dist/production/src/generated/fetchers/EventFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/EventFetcher.js +32 -0
- package/dist/production/src/generated/fetchers/EventFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.cjs +37 -0
- package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.js +37 -0
- package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/MigrateErrorFetcher.cjs +22 -0
- package/dist/production/src/generated/fetchers/MigrateErrorFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/MigrateErrorFetcher.js +22 -0
- package/dist/production/src/generated/fetchers/MigrateErrorFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/MigrateResponseFetcher.cjs +37 -0
- package/dist/production/src/generated/fetchers/MigrateResponseFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/MigrateResponseFetcher.js +37 -0
- package/dist/production/src/generated/fetchers/MigrateResponseFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/MigrateResultFetcher.cjs +20 -0
- package/dist/production/src/generated/fetchers/MigrateResultFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/MigrateResultFetcher.js +20 -0
- package/dist/production/src/generated/fetchers/MigrateResultFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/MutationFetcher.cjs +23 -0
- package/dist/production/src/generated/fetchers/MutationFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/MutationFetcher.js +23 -0
- package/dist/production/src/generated/fetchers/MutationFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/QueryFetcher.cjs +35 -0
- package/dist/production/src/generated/fetchers/QueryFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/QueryFetcher.js +35 -0
- package/dist/production/src/generated/fetchers/QueryFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/StageFetcher.cjs +25 -0
- package/dist/production/src/generated/fetchers/StageFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/StageFetcher.js +25 -0
- package/dist/production/src/generated/fetchers/StageFetcher.js.map +1 -0
- package/dist/production/src/generated/fetchers/UpdateEventFetcher.cjs +22 -0
- package/dist/production/src/generated/fetchers/UpdateEventFetcher.cjs.map +1 -0
- package/dist/production/src/generated/fetchers/UpdateEventFetcher.js +22 -0
- package/dist/production/src/generated/fetchers/UpdateEventFetcher.js.map +1 -0
- package/dist/types/generated/Async.d.ts +21 -0
- package/dist/types/generated/Async.d.ts.map +1 -0
- package/dist/types/generated/CommonTypes.d.ts +158 -0
- package/dist/types/generated/CommonTypes.d.ts.map +1 -0
- package/dist/types/generated/EnumInputMetadata.d.ts +2 -0
- package/dist/types/generated/EnumInputMetadata.d.ts.map +1 -0
- package/dist/types/generated/enums/EventType.d.ts +2 -0
- package/dist/types/generated/enums/EventType.d.ts.map +1 -0
- package/dist/types/generated/enums/EventsOrder.d.ts +2 -0
- package/dist/types/generated/enums/EventsOrder.d.ts.map +1 -0
- package/dist/types/generated/enums/MigrateErrorCode.d.ts +2 -0
- package/dist/types/generated/enums/MigrateErrorCode.d.ts.map +1 -0
- package/dist/types/generated/enums/MigrationType.d.ts +2 -0
- package/dist/types/generated/enums/MigrationType.d.ts.map +1 -0
- package/dist/types/generated/enums/index.d.ts +5 -0
- package/dist/types/generated/enums/index.d.ts.map +1 -0
- package/dist/types/generated/fetchers/CreateEventFetcher.d.ts +203 -0
- package/dist/types/generated/fetchers/CreateEventFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/DeleteEventFetcher.d.ts +203 -0
- package/dist/types/generated/fetchers/DeleteEventFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/EventFetcher.d.ts +186 -0
- package/dist/types/generated/fetchers/EventFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/ExecutedMigrationFetcher.d.ts +99 -0
- package/dist/types/generated/fetchers/ExecutedMigrationFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/MigrateErrorFetcher.d.ts +67 -0
- package/dist/types/generated/fetchers/MigrateErrorFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/MigrateResponseFetcher.d.ts +68 -0
- package/dist/types/generated/fetchers/MigrateResponseFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/MigrateResultFetcher.d.ts +32 -0
- package/dist/types/generated/fetchers/MigrateResultFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/MutationFetcher.d.ts +41 -0
- package/dist/types/generated/fetchers/MutationFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/QueryFetcher.d.ts +102 -0
- package/dist/types/generated/fetchers/QueryFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/StageFetcher.d.ts +66 -0
- package/dist/types/generated/fetchers/StageFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/UpdateEventFetcher.d.ts +220 -0
- package/dist/types/generated/fetchers/UpdateEventFetcher.d.ts.map +1 -0
- package/dist/types/generated/fetchers/index.d.ts +23 -0
- package/dist/types/generated/fetchers/index.d.ts.map +1 -0
- package/dist/types/generated/index.d.ts +5 -0
- package/dist/types/generated/index.d.ts.map +1 -0
- package/dist/types/generated/inputs/ContentMigration.d.ts +7 -0
- package/dist/types/generated/inputs/ContentMigration.d.ts.map +1 -0
- package/dist/types/generated/inputs/EventFilterRow.d.ts +5 -0
- package/dist/types/generated/inputs/EventFilterRow.d.ts.map +1 -0
- package/dist/types/generated/inputs/EventsArgs.d.ts +10 -0
- package/dist/types/generated/inputs/EventsArgs.d.ts.map +1 -0
- package/dist/types/generated/inputs/EventsFilter.d.ts +13 -0
- package/dist/types/generated/inputs/EventsFilter.d.ts.map +1 -0
- package/dist/types/generated/inputs/EventsFilterDate.d.ts +5 -0
- package/dist/types/generated/inputs/EventsFilterDate.d.ts.map +1 -0
- package/dist/types/generated/inputs/Migration.d.ts +15 -0
- package/dist/types/generated/inputs/Migration.d.ts.map +1 -0
- package/dist/types/generated/inputs/MigrationSkippedError.d.ts +5 -0
- package/dist/types/generated/inputs/MigrationSkippedError.d.ts.map +1 -0
- package/dist/types/generated/inputs/SchemaMigration.d.ts +7 -0
- package/dist/types/generated/inputs/SchemaMigration.d.ts.map +1 -0
- package/dist/types/generated/inputs/index.d.ts +9 -0
- package/dist/types/generated/inputs/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/schema.d.ts +2 -0
- package/dist/types/schema.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,yBAAA;AAEpB,QAAQ,IAAI,WAAW;AAEvB,QAAQ,IAAI,gBAAgB;AAAA,EACxB,EAAC,MAAM,SAAS,UAAU,YAAA;AAC9B,CAAC;AAED,QAAQ,IAAI,aAAa;AAEzB,QAAQ,IAAI,cAAc;AAAA,EACtB,EAAC,MAAM,UAAU,UAAU,eAAA;AAAA,EAC3B,EAAC,MAAM,SAAS,UAAU,cAAA;AAC9B,CAAC;AAED,QAAQ,IAAI,eAAe;AAE3B,QAAQ,IAAI,aAAa;AAAA,EACrB,EAAC,MAAM,QAAQ,UAAU,gBAAA;AAC7B,CAAC;AAED,QAAQ,IAAI,kBAAkB;AAEvB,MAAM,sBAAsB,QAAQ,MAAA;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,yBAAA;AAEpB,QAAQ,IAAI,WAAW;AAEvB,QAAQ,IAAI,gBAAgB;AAAA,EACxB,EAAC,MAAM,SAAS,UAAU,YAAA;AAC9B,CAAC;AAED,QAAQ,IAAI,aAAa;AAEzB,QAAQ,IAAI,cAAc;AAAA,EACtB,EAAC,MAAM,UAAU,UAAU,eAAA;AAAA,EAC3B,EAAC,MAAM,SAAS,UAAU,cAAA;AAC9B,CAAC;AAED,QAAQ,IAAI,eAAe;AAE3B,QAAQ,IAAI,aAAa;AAAA,EACrB,EAAC,MAAM,QAAQ,UAAU,gBAAA;AAC7B,CAAC;AAED,QAAQ,IAAI,kBAAkB;AAEvB,MAAM,sBAAsB,QAAQ,MAAA;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAACC,aAAAA,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAACC,aAAAA,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,UACT,OACK,GACA,cACA,oBACA,WACA,YACA,UACA,UACA,KACA,UACA;;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,UACT,OACK,GACA,cACA,oBACA,WACA,YACA,UACA,UACA,KACA,UACA;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,IACjB;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,sBACT,mBACK,QACA,KACA,WACA,SACA,cACA;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutedMigrationFetcher.js","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":[],"mappings":";;AAwJO,MAAM,qBACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,IACjB;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,sBACT,mBACK,QACA,KACA,WACA,SACA,cACA;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 migrateError$ = graphqlTsClientApi.createFetcher(
|
|
6
|
+
graphqlTsClientApi.createFetchableType(
|
|
7
|
+
"MigrateError",
|
|
8
|
+
"EMBEDDED",
|
|
9
|
+
[],
|
|
10
|
+
[
|
|
11
|
+
"code",
|
|
12
|
+
"migration",
|
|
13
|
+
"developerMessage"
|
|
14
|
+
]
|
|
15
|
+
),
|
|
16
|
+
EnumInputMetadata.ENUM_INPUT_METADATA,
|
|
17
|
+
void 0
|
|
18
|
+
);
|
|
19
|
+
const migrateError$$ = migrateError$.code.migration.developerMessage;
|
|
20
|
+
exports.migrateError$ = migrateError$;
|
|
21
|
+
exports.migrateError$$ = migrateError$$;
|
|
22
|
+
//# sourceMappingURL=MigrateErrorFetcher.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MigrateErrorFetcher.cjs","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/MigrateErrorFetcher.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 {MigrateErrorCode} 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 MigrateErrorFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'MigrateError', T, TVariables> {\n\n on<XName extends ImplementationType<'MigrateError'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): MigrateErrorFetcher<\n XName extends 'MigrateError' ?\n T & X :\n WithTypeName<T, ImplementationType<'MigrateError'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'MigrateError'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): MigrateErrorFetcher<T, TVariables>;\n\n\n readonly __typename: MigrateErrorFetcher<T & {__typename: ImplementationType<'MigrateError'>}, TVariables>;\n\n\n readonly code: MigrateErrorFetcher<T & {readonly \"code\": MigrateErrorCode}, TVariables>;\n\n \"code+\"<\n XAlias extends string = \"code\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"code\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): MigrateErrorFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: MigrateErrorCode} : \n {readonly [key in XAlias]: MigrateErrorCode}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~code\": MigrateErrorFetcher<Omit<T, 'code'>, TVariables>;\n\n\n readonly migration: MigrateErrorFetcher<T & {readonly \"migration\": string}, TVariables>;\n\n \"migration+\"<\n XAlias extends string = \"migration\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"migration\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): MigrateErrorFetcher<\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 \"~migration\": MigrateErrorFetcher<Omit<T, 'migration'>, TVariables>;\n\n\n readonly developerMessage: MigrateErrorFetcher<T & {readonly \"developerMessage\": string}, TVariables>;\n\n \"developerMessage+\"<\n XAlias extends string = \"developerMessage\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"developerMessage\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): MigrateErrorFetcher<\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 \"~developerMessage\": MigrateErrorFetcher<Omit<T, 'developerMessage'>, TVariables>;\n}\n\nexport const migrateError$: MigrateErrorFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"MigrateError\", \n \"EMBEDDED\", \n [], \n [\n \"code\", \n \"migration\", \n \"developerMessage\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const migrateError$$ = \n migrateError$\n .code\n .migration\n .developerMessage\n;\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AAsGO,MAAM,gBACTA,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,iBACT,cACK,KACA,UACA;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ENUM_INPUT_METADATA } from "../EnumInputMetadata.js";
|
|
2
|
+
import { createFetcher, createFetchableType } from "graphql-ts-client-api";
|
|
3
|
+
const migrateError$ = createFetcher(
|
|
4
|
+
createFetchableType(
|
|
5
|
+
"MigrateError",
|
|
6
|
+
"EMBEDDED",
|
|
7
|
+
[],
|
|
8
|
+
[
|
|
9
|
+
"code",
|
|
10
|
+
"migration",
|
|
11
|
+
"developerMessage"
|
|
12
|
+
]
|
|
13
|
+
),
|
|
14
|
+
ENUM_INPUT_METADATA,
|
|
15
|
+
void 0
|
|
16
|
+
);
|
|
17
|
+
const migrateError$$ = migrateError$.code.migration.developerMessage;
|
|
18
|
+
export {
|
|
19
|
+
migrateError$,
|
|
20
|
+
migrateError$$
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=MigrateErrorFetcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MigrateErrorFetcher.js","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/MigrateErrorFetcher.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 {MigrateErrorCode} 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 MigrateErrorFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'MigrateError', T, TVariables> {\n\n on<XName extends ImplementationType<'MigrateError'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): MigrateErrorFetcher<\n XName extends 'MigrateError' ?\n T & X :\n WithTypeName<T, ImplementationType<'MigrateError'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'MigrateError'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): MigrateErrorFetcher<T, TVariables>;\n\n\n readonly __typename: MigrateErrorFetcher<T & {__typename: ImplementationType<'MigrateError'>}, TVariables>;\n\n\n readonly code: MigrateErrorFetcher<T & {readonly \"code\": MigrateErrorCode}, TVariables>;\n\n \"code+\"<\n XAlias extends string = \"code\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"code\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): MigrateErrorFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: MigrateErrorCode} : \n {readonly [key in XAlias]: MigrateErrorCode}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~code\": MigrateErrorFetcher<Omit<T, 'code'>, TVariables>;\n\n\n readonly migration: MigrateErrorFetcher<T & {readonly \"migration\": string}, TVariables>;\n\n \"migration+\"<\n XAlias extends string = \"migration\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"migration\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): MigrateErrorFetcher<\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 \"~migration\": MigrateErrorFetcher<Omit<T, 'migration'>, TVariables>;\n\n\n readonly developerMessage: MigrateErrorFetcher<T & {readonly \"developerMessage\": string}, TVariables>;\n\n \"developerMessage+\"<\n XAlias extends string = \"developerMessage\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"developerMessage\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): MigrateErrorFetcher<\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 \"~developerMessage\": MigrateErrorFetcher<Omit<T, 'developerMessage'>, TVariables>;\n}\n\nexport const migrateError$: MigrateErrorFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"MigrateError\", \n \"EMBEDDED\", \n [], \n [\n \"code\", \n \"migration\", \n \"developerMessage\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const migrateError$$ = \n migrateError$\n .code\n .migration\n .developerMessage\n;\n"],"names":[],"mappings":";;AAsGO,MAAM,gBACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,iBACT,cACK,KACA,UACA;"}
|