@contember/graphql-client-system 2.1.0-alpha.9 → 2.1.0-beta.2

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.
Files changed (64) hide show
  1. package/dist/development/src/generated/Async.cjs.map +1 -1
  2. package/dist/development/src/generated/Async.js.map +1 -1
  3. package/dist/development/src/generated/CommonTypes.cjs.map +1 -1
  4. package/dist/development/src/generated/CommonTypes.js.map +1 -1
  5. package/dist/development/src/generated/EnumInputMetadata.cjs.map +1 -1
  6. package/dist/development/src/generated/EnumInputMetadata.js.map +1 -1
  7. package/dist/development/src/generated/fetchers/CreateEventFetcher.cjs.map +1 -1
  8. package/dist/development/src/generated/fetchers/CreateEventFetcher.js.map +1 -1
  9. package/dist/development/src/generated/fetchers/DeleteEventFetcher.cjs.map +1 -1
  10. package/dist/development/src/generated/fetchers/DeleteEventFetcher.js.map +1 -1
  11. package/dist/development/src/generated/fetchers/EventFetcher.cjs.map +1 -1
  12. package/dist/development/src/generated/fetchers/EventFetcher.js.map +1 -1
  13. package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.cjs.map +1 -1
  14. package/dist/development/src/generated/fetchers/ExecutedMigrationFetcher.js.map +1 -1
  15. package/dist/development/src/generated/fetchers/MigrateErrorFetcher.cjs.map +1 -1
  16. package/dist/development/src/generated/fetchers/MigrateErrorFetcher.js.map +1 -1
  17. package/dist/development/src/generated/fetchers/MigrateResponseFetcher.cjs.map +1 -1
  18. package/dist/development/src/generated/fetchers/MigrateResponseFetcher.js.map +1 -1
  19. package/dist/development/src/generated/fetchers/MigrateResultFetcher.cjs.map +1 -1
  20. package/dist/development/src/generated/fetchers/MigrateResultFetcher.js.map +1 -1
  21. package/dist/development/src/generated/fetchers/MutationFetcher.cjs.map +1 -1
  22. package/dist/development/src/generated/fetchers/MutationFetcher.js.map +1 -1
  23. package/dist/development/src/generated/fetchers/QueryFetcher.cjs.map +1 -1
  24. package/dist/development/src/generated/fetchers/QueryFetcher.js.map +1 -1
  25. package/dist/development/src/generated/fetchers/StageFetcher.cjs.map +1 -1
  26. package/dist/development/src/generated/fetchers/StageFetcher.js.map +1 -1
  27. package/dist/development/src/generated/fetchers/UpdateEventFetcher.cjs.map +1 -1
  28. package/dist/development/src/generated/fetchers/UpdateEventFetcher.js.map +1 -1
  29. package/dist/production/src/generated/Async.cjs.map +1 -1
  30. package/dist/production/src/generated/Async.js.map +1 -1
  31. package/dist/production/src/generated/CommonTypes.cjs.map +1 -1
  32. package/dist/production/src/generated/CommonTypes.js.map +1 -1
  33. package/dist/production/src/generated/EnumInputMetadata.cjs.map +1 -1
  34. package/dist/production/src/generated/EnumInputMetadata.js.map +1 -1
  35. package/dist/production/src/generated/fetchers/CreateEventFetcher.cjs.map +1 -1
  36. package/dist/production/src/generated/fetchers/CreateEventFetcher.js.map +1 -1
  37. package/dist/production/src/generated/fetchers/DeleteEventFetcher.cjs.map +1 -1
  38. package/dist/production/src/generated/fetchers/DeleteEventFetcher.js.map +1 -1
  39. package/dist/production/src/generated/fetchers/EventFetcher.cjs.map +1 -1
  40. package/dist/production/src/generated/fetchers/EventFetcher.js.map +1 -1
  41. package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.cjs.map +1 -1
  42. package/dist/production/src/generated/fetchers/ExecutedMigrationFetcher.js.map +1 -1
  43. package/dist/production/src/generated/fetchers/MigrateErrorFetcher.cjs.map +1 -1
  44. package/dist/production/src/generated/fetchers/MigrateErrorFetcher.js.map +1 -1
  45. package/dist/production/src/generated/fetchers/MigrateResponseFetcher.cjs.map +1 -1
  46. package/dist/production/src/generated/fetchers/MigrateResponseFetcher.js.map +1 -1
  47. package/dist/production/src/generated/fetchers/MigrateResultFetcher.cjs.map +1 -1
  48. package/dist/production/src/generated/fetchers/MigrateResultFetcher.js.map +1 -1
  49. package/dist/production/src/generated/fetchers/MutationFetcher.cjs.map +1 -1
  50. package/dist/production/src/generated/fetchers/MutationFetcher.js.map +1 -1
  51. package/dist/production/src/generated/fetchers/QueryFetcher.cjs.map +1 -1
  52. package/dist/production/src/generated/fetchers/QueryFetcher.js.map +1 -1
  53. package/dist/production/src/generated/fetchers/StageFetcher.cjs.map +1 -1
  54. package/dist/production/src/generated/fetchers/StageFetcher.js.map +1 -1
  55. package/dist/production/src/generated/fetchers/UpdateEventFetcher.cjs.map +1 -1
  56. package/dist/production/src/generated/fetchers/UpdateEventFetcher.js.map +1 -1
  57. package/dist/types/index.d.ts +2 -2
  58. package/dist/types/index.d.ts.map +1 -1
  59. package/dist/types/schema.d.ts +1 -1
  60. package/dist/types/schema.d.ts.map +1 -1
  61. package/dist/types/tsconfig.tsbuildinfo +1 -1
  62. package/package.json +11 -6
  63. package/src/index.ts +2 -2
  64. package/src/schema.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateEventFetcher.js","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/UpdateEventFetcher.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 UpdateEventFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'UpdateEvent', T, TVariables> {\n\n on<XName extends ImplementationType<'UpdateEvent'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): UpdateEventFetcher<\n XName extends 'UpdateEvent' ?\n T & X :\n WithTypeName<T, ImplementationType<'UpdateEvent'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'UpdateEvent'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): UpdateEventFetcher<T, TVariables>;\n\n\n readonly __typename: UpdateEventFetcher<T & {__typename: ImplementationType<'UpdateEvent'>}, TVariables>;\n\n\n readonly id: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly transactionId: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'transactionId'>, TVariables>;\n\n\n readonly identityId: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'identityId'>, TVariables>;\n\n\n readonly identityDescription: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'identityDescription'>, TVariables>;\n\n\n readonly description: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'description'>, TVariables>;\n\n\n readonly createdAt: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'createdAt'>, TVariables>;\n\n\n readonly appliedAt: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'appliedAt'>, TVariables>;\n\n\n readonly type: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'type'>, TVariables>;\n\n\n readonly tableName: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'tableName'>, TVariables>;\n\n\n readonly primaryKey: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'primaryKey'>, TVariables>;\n\n\n readonly oldValues: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'oldValues'>, TVariables>;\n\n\n readonly diffValues: UpdateEventFetcher<T & {readonly \"diffValues\": unknown}, TVariables>;\n\n \"diffValues+\"<\n XAlias extends string = \"diffValues\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"diffValues\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): UpdateEventFetcher<\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 \"~diffValues\": UpdateEventFetcher<Omit<T, 'diffValues'>, TVariables>;\n}\n\nexport const updateEvent$: UpdateEventFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"UpdateEvent\", \n \"OBJECT\", \n [event$.fetchableType], \n [\n \"oldValues\", \n \"diffValues\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const updateEvent$$ = \n updateEvent$\n .id\n .transactionId\n .identityId\n .identityDescription\n .description\n .createdAt\n .appliedAt\n .type\n .tableName\n .primaryKey\n .oldValues\n .diffValues\n;\n"],"names":[],"mappings":";;;AA6SO,MAAM,eACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAC,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,MACA;AAAA,IAAA;AAAA,EAER;AAAA,EACA;AAAA,EACA;AACJ;AAGG,MAAM,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA,UACA;"}
1
+ {"version":3,"file":"UpdateEventFetcher.js","sources":["../../../../../../packages/graphql-client-system/src/generated/fetchers/UpdateEventFetcher.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 UpdateEventFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'UpdateEvent', T, TVariables> {\n\n on<XName extends ImplementationType<'UpdateEvent'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): UpdateEventFetcher<\n XName extends 'UpdateEvent' ?\n T & X :\n WithTypeName<T, ImplementationType<'UpdateEvent'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'UpdateEvent'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): UpdateEventFetcher<T, TVariables>;\n\n\n readonly __typename: UpdateEventFetcher<T & {__typename: ImplementationType<'UpdateEvent'>}, TVariables>;\n\n\n readonly id: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly transactionId: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'transactionId'>, TVariables>;\n\n\n readonly identityId: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'identityId'>, TVariables>;\n\n\n readonly identityDescription: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'identityDescription'>, TVariables>;\n\n\n readonly description: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'description'>, TVariables>;\n\n\n readonly createdAt: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'createdAt'>, TVariables>;\n\n\n readonly appliedAt: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'appliedAt'>, TVariables>;\n\n\n readonly type: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'type'>, TVariables>;\n\n\n readonly tableName: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'tableName'>, TVariables>;\n\n\n readonly primaryKey: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'primaryKey'>, TVariables>;\n\n\n readonly oldValues: UpdateEventFetcher<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 ): UpdateEventFetcher<\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\": UpdateEventFetcher<Omit<T, 'oldValues'>, TVariables>;\n\n\n readonly diffValues: UpdateEventFetcher<T & {readonly \"diffValues\": unknown}, TVariables>;\n\n \"diffValues+\"<\n XAlias extends string = \"diffValues\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"diffValues\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): UpdateEventFetcher<\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 \"~diffValues\": UpdateEventFetcher<Omit<T, 'diffValues'>, TVariables>;\n}\n\nexport const updateEvent$: UpdateEventFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"UpdateEvent\", \n \"OBJECT\", \n [event$.fetchableType], \n [\n \"oldValues\", \n \"diffValues\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const updateEvent$$ = \n updateEvent$\n .id\n .transactionId\n .identityId\n .identityDescription\n .description\n .createdAt\n .appliedAt\n .type\n .tableName\n .primaryKey\n .oldValues\n .diffValues\n;\n"],"names":[],"mappings":";;;AA6SO,MAAM,eACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAC,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA,UACA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Async.cjs","sources":["../../../../../packages/graphql-client-system/src/generated/Async.ts"],"sourcesContent":["\nimport type { Fetcher } from \"graphql-ts-client-api\";\nimport { TextWriter, util } from \"graphql-ts-client-api\";\n\nexport type GraphQLExecutor = (request: string, variables: object) => Promise<any>;\n\nexport function setGraphQLExecutor(executor: GraphQLExecutor) {\n graphQLExecutor = executor;\n}\n\nexport async function execute<TData extends object, TVariables extends object>(\n fetcher: Fetcher<\"Query\" | \"Mutation\", TData, TVariables>,\n options?: {\n readonly operationName?: string,\n readonly variables?: TVariables,\n readonly executor?: GraphQLExecutor\n }\n) : Promise<TData> {\n\n const executor = options?.executor ?? graphQLExecutor;\n if (executor === undefined) {\n throw new Error(\"Executor not set. Call 'setGraphQLExecutor' first or pass executor in options.\");\n }\n\n const writer = new TextWriter();\n writer.text(`${fetcher.fetchableType.name.toLowerCase()} ${options?.operationName ?? ''}`);\n if (fetcher.variableTypeMap.size !== 0) {\n writer.scope({type: \"ARGUMENTS\", multiLines: fetcher.variableTypeMap.size > 2, suffix: \" \"}, () => {\n util.iterateMap(fetcher.variableTypeMap, ([name, type]) => {\n writer.seperator();\n writer.text(`$${name}: ${type}`);\n });\n });\n }\n writer.text(fetcher.toString());\n writer.text(fetcher.toFragmentString());\n\n const rawResponse = util.exceptNullValues(await executor(writer.toString(), options?.variables ?? {}));\n if (rawResponse.errors) {\n throw new GraphQLError(rawResponse.errors);\n }\n return rawResponse.data as TData;\n}\n\nexport interface Response<TData> {\n readonly data?: TData;\n readonly error?: Error;\n}\n\nexport class GraphQLError extends Error {\n \n readonly errors: readonly GraphQLSubError[];\n\n constructor(errors: any) {\n super();\n this.errors = errors;\n }\n}\n\nexport interface GraphQLSubError {\n readonly message: string,\n readonly path: string[]\n}\n\nlet graphQLExecutor: GraphQLExecutor | undefined = undefined;"],"names":["TextWriter","util"],"mappings":";;;;;;AAMO,SAAS,mBAAmB,UAA2B;AACxC,oBAAA;AACtB;AAEsB,eAAA,QAClB,SACA,SAKe;AAET,QAAA,WAAW,SAAS,YAAY;AACtC,MAAI,aAAa,QAAW;AAClB,UAAA,IAAI,MAAM,gFAAgF;AAAA,EAAA;AAG9F,QAAA,SAAS,IAAIA,8BAAW;AACvB,SAAA,KAAK,GAAG,QAAQ,cAAc,KAAK,YAAa,CAAA,IAAI,SAAS,iBAAiB,EAAE,EAAE;AACrF,MAAA,QAAQ,gBAAgB,SAAS,GAAG;AACpC,WAAO,MAAM,EAAC,MAAM,aAAa,YAAY,QAAQ,gBAAgB,OAAO,GAAG,QAAQ,IAAG,GAAG,MAAM;AAC/FC,yBAAA,KAAK,WAAW,QAAQ,iBAAiB,CAAC,CAAC,MAAM,IAAI,MAAM;AACvD,eAAO,UAAU;AACjB,eAAO,KAAK,IAAI,IAAI,KAAK,IAAI,EAAE;AAAA,MAAA,CAClC;AAAA,IAAA,CACJ;AAAA,EAAA;AAEE,SAAA,KAAK,QAAQ,UAAU;AACvB,SAAA,KAAK,QAAQ,kBAAkB;AAEtC,QAAM,cAAcA,mBAAAA,KAAK,iBAAiB,MAAM,SAAS,OAAO,YAAY,SAAS,aAAa,CAAE,CAAA,CAAC;AACrG,MAAI,YAAY,QAAQ;AACd,UAAA,IAAI,aAAa,YAAY,MAAM;AAAA,EAAA;AAE7C,SAAO,YAAY;AACvB;AAOO,MAAM,qBAAqB,MAAM;AAAA,EAIpC,YAAY,QAAa;AACf,UAAA;AAHD,kBAAA,MAAA,QAAA;AAIL,SAAK,SAAS;AAAA,EAAA;AAEtB;AAOA,IAAI,kBAA+C;;;;"}
1
+ {"version":3,"file":"Async.cjs","sources":["../../../../../packages/graphql-client-system/src/generated/Async.ts"],"sourcesContent":["\nimport type { Fetcher } from \"graphql-ts-client-api\";\nimport { TextWriter, util } from \"graphql-ts-client-api\";\n\nexport type GraphQLExecutor = (request: string, variables: object) => Promise<any>;\n\nexport function setGraphQLExecutor(executor: GraphQLExecutor) {\n graphQLExecutor = executor;\n}\n\nexport async function execute<TData extends object, TVariables extends object>(\n fetcher: Fetcher<\"Query\" | \"Mutation\", TData, TVariables>,\n options?: {\n readonly operationName?: string,\n readonly variables?: TVariables,\n readonly executor?: GraphQLExecutor\n }\n) : Promise<TData> {\n\n const executor = options?.executor ?? graphQLExecutor;\n if (executor === undefined) {\n throw new Error(\"Executor not set. Call 'setGraphQLExecutor' first or pass executor in options.\");\n }\n\n const writer = new TextWriter();\n writer.text(`${fetcher.fetchableType.name.toLowerCase()} ${options?.operationName ?? ''}`);\n if (fetcher.variableTypeMap.size !== 0) {\n writer.scope({type: \"ARGUMENTS\", multiLines: fetcher.variableTypeMap.size > 2, suffix: \" \"}, () => {\n util.iterateMap(fetcher.variableTypeMap, ([name, type]) => {\n writer.seperator();\n writer.text(`$${name}: ${type}`);\n });\n });\n }\n writer.text(fetcher.toString());\n writer.text(fetcher.toFragmentString());\n\n const rawResponse = util.exceptNullValues(await executor(writer.toString(), options?.variables ?? {}));\n if (rawResponse.errors) {\n throw new GraphQLError(rawResponse.errors);\n }\n return rawResponse.data as TData;\n}\n\nexport interface Response<TData> {\n readonly data?: TData;\n readonly error?: Error;\n}\n\nexport class GraphQLError extends Error {\n \n readonly errors: readonly GraphQLSubError[];\n\n constructor(errors: any) {\n super();\n this.errors = errors;\n }\n}\n\nexport interface GraphQLSubError {\n readonly message: string,\n readonly path: string[]\n}\n\nlet graphQLExecutor: GraphQLExecutor | undefined = undefined;"],"names":["TextWriter","util"],"mappings":";;;;;;AAMO,SAAS,mBAAmB,UAA2B;AAC1D,oBAAkB;AACtB;AAEA,eAAsB,QAClB,SACA,SAKe;AAEf,QAAM,WAAW,SAAS,YAAY;AACtC,MAAI,aAAa,QAAW;AACxB,UAAM,IAAI,MAAM,gFAAgF;AAAA,EACpG;AAEA,QAAM,SAAS,IAAIA,8BAAA;AACnB,SAAO,KAAK,GAAG,QAAQ,cAAc,KAAK,YAAA,CAAa,IAAI,SAAS,iBAAiB,EAAE,EAAE;AACzF,MAAI,QAAQ,gBAAgB,SAAS,GAAG;AACpC,WAAO,MAAM,EAAC,MAAM,aAAa,YAAY,QAAQ,gBAAgB,OAAO,GAAG,QAAQ,IAAA,GAAM,MAAM;AAC/FC,yBAAAA,KAAK,WAAW,QAAQ,iBAAiB,CAAC,CAAC,MAAM,IAAI,MAAM;AACvD,eAAO,UAAA;AACP,eAAO,KAAK,IAAI,IAAI,KAAK,IAAI,EAAE;AAAA,MACnC,CAAC;AAAA,IACL,CAAC;AAAA,EACL;AACA,SAAO,KAAK,QAAQ,UAAU;AAC9B,SAAO,KAAK,QAAQ,kBAAkB;AAEtC,QAAM,cAAcA,mBAAAA,KAAK,iBAAiB,MAAM,SAAS,OAAO,YAAY,SAAS,aAAa,CAAA,CAAE,CAAC;AACrG,MAAI,YAAY,QAAQ;AACpB,UAAM,IAAI,aAAa,YAAY,MAAM;AAAA,EAC7C;AACA,SAAO,YAAY;AACvB;AAOO,MAAM,qBAAqB,MAAM;AAAA,EAIpC,YAAY,QAAa;AACrB,UAAA;AAHJ,kBAAA,MAAS,QAAA;AAIL,SAAK,SAAS;AAAA,EAClB;AACJ;AAOA,IAAI,kBAA+C;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Async.js","sources":["../../../../../packages/graphql-client-system/src/generated/Async.ts"],"sourcesContent":["\nimport type { Fetcher } from \"graphql-ts-client-api\";\nimport { TextWriter, util } from \"graphql-ts-client-api\";\n\nexport type GraphQLExecutor = (request: string, variables: object) => Promise<any>;\n\nexport function setGraphQLExecutor(executor: GraphQLExecutor) {\n graphQLExecutor = executor;\n}\n\nexport async function execute<TData extends object, TVariables extends object>(\n fetcher: Fetcher<\"Query\" | \"Mutation\", TData, TVariables>,\n options?: {\n readonly operationName?: string,\n readonly variables?: TVariables,\n readonly executor?: GraphQLExecutor\n }\n) : Promise<TData> {\n\n const executor = options?.executor ?? graphQLExecutor;\n if (executor === undefined) {\n throw new Error(\"Executor not set. Call 'setGraphQLExecutor' first or pass executor in options.\");\n }\n\n const writer = new TextWriter();\n writer.text(`${fetcher.fetchableType.name.toLowerCase()} ${options?.operationName ?? ''}`);\n if (fetcher.variableTypeMap.size !== 0) {\n writer.scope({type: \"ARGUMENTS\", multiLines: fetcher.variableTypeMap.size > 2, suffix: \" \"}, () => {\n util.iterateMap(fetcher.variableTypeMap, ([name, type]) => {\n writer.seperator();\n writer.text(`$${name}: ${type}`);\n });\n });\n }\n writer.text(fetcher.toString());\n writer.text(fetcher.toFragmentString());\n\n const rawResponse = util.exceptNullValues(await executor(writer.toString(), options?.variables ?? {}));\n if (rawResponse.errors) {\n throw new GraphQLError(rawResponse.errors);\n }\n return rawResponse.data as TData;\n}\n\nexport interface Response<TData> {\n readonly data?: TData;\n readonly error?: Error;\n}\n\nexport class GraphQLError extends Error {\n \n readonly errors: readonly GraphQLSubError[];\n\n constructor(errors: any) {\n super();\n this.errors = errors;\n }\n}\n\nexport interface GraphQLSubError {\n readonly message: string,\n readonly path: string[]\n}\n\nlet graphQLExecutor: GraphQLExecutor | undefined = undefined;"],"names":[],"mappings":";;;;AAMO,SAAS,mBAAmB,UAA2B;AACxC,oBAAA;AACtB;AAEsB,eAAA,QAClB,SACA,SAKe;AAET,QAAA,WAAW,SAAS,YAAY;AACtC,MAAI,aAAa,QAAW;AAClB,UAAA,IAAI,MAAM,gFAAgF;AAAA,EAAA;AAG9F,QAAA,SAAS,IAAI,WAAW;AACvB,SAAA,KAAK,GAAG,QAAQ,cAAc,KAAK,YAAa,CAAA,IAAI,SAAS,iBAAiB,EAAE,EAAE;AACrF,MAAA,QAAQ,gBAAgB,SAAS,GAAG;AACpC,WAAO,MAAM,EAAC,MAAM,aAAa,YAAY,QAAQ,gBAAgB,OAAO,GAAG,QAAQ,IAAG,GAAG,MAAM;AAC/F,WAAK,WAAW,QAAQ,iBAAiB,CAAC,CAAC,MAAM,IAAI,MAAM;AACvD,eAAO,UAAU;AACjB,eAAO,KAAK,IAAI,IAAI,KAAK,IAAI,EAAE;AAAA,MAAA,CAClC;AAAA,IAAA,CACJ;AAAA,EAAA;AAEE,SAAA,KAAK,QAAQ,UAAU;AACvB,SAAA,KAAK,QAAQ,kBAAkB;AAEtC,QAAM,cAAc,KAAK,iBAAiB,MAAM,SAAS,OAAO,YAAY,SAAS,aAAa,CAAE,CAAA,CAAC;AACrG,MAAI,YAAY,QAAQ;AACd,UAAA,IAAI,aAAa,YAAY,MAAM;AAAA,EAAA;AAE7C,SAAO,YAAY;AACvB;AAOO,MAAM,qBAAqB,MAAM;AAAA,EAIpC,YAAY,QAAa;AACf,UAAA;AAHD,kBAAA,MAAA,QAAA;AAIL,SAAK,SAAS;AAAA,EAAA;AAEtB;AAOA,IAAI,kBAA+C;"}
1
+ {"version":3,"file":"Async.js","sources":["../../../../../packages/graphql-client-system/src/generated/Async.ts"],"sourcesContent":["\nimport type { Fetcher } from \"graphql-ts-client-api\";\nimport { TextWriter, util } from \"graphql-ts-client-api\";\n\nexport type GraphQLExecutor = (request: string, variables: object) => Promise<any>;\n\nexport function setGraphQLExecutor(executor: GraphQLExecutor) {\n graphQLExecutor = executor;\n}\n\nexport async function execute<TData extends object, TVariables extends object>(\n fetcher: Fetcher<\"Query\" | \"Mutation\", TData, TVariables>,\n options?: {\n readonly operationName?: string,\n readonly variables?: TVariables,\n readonly executor?: GraphQLExecutor\n }\n) : Promise<TData> {\n\n const executor = options?.executor ?? graphQLExecutor;\n if (executor === undefined) {\n throw new Error(\"Executor not set. Call 'setGraphQLExecutor' first or pass executor in options.\");\n }\n\n const writer = new TextWriter();\n writer.text(`${fetcher.fetchableType.name.toLowerCase()} ${options?.operationName ?? ''}`);\n if (fetcher.variableTypeMap.size !== 0) {\n writer.scope({type: \"ARGUMENTS\", multiLines: fetcher.variableTypeMap.size > 2, suffix: \" \"}, () => {\n util.iterateMap(fetcher.variableTypeMap, ([name, type]) => {\n writer.seperator();\n writer.text(`$${name}: ${type}`);\n });\n });\n }\n writer.text(fetcher.toString());\n writer.text(fetcher.toFragmentString());\n\n const rawResponse = util.exceptNullValues(await executor(writer.toString(), options?.variables ?? {}));\n if (rawResponse.errors) {\n throw new GraphQLError(rawResponse.errors);\n }\n return rawResponse.data as TData;\n}\n\nexport interface Response<TData> {\n readonly data?: TData;\n readonly error?: Error;\n}\n\nexport class GraphQLError extends Error {\n \n readonly errors: readonly GraphQLSubError[];\n\n constructor(errors: any) {\n super();\n this.errors = errors;\n }\n}\n\nexport interface GraphQLSubError {\n readonly message: string,\n readonly path: string[]\n}\n\nlet graphQLExecutor: GraphQLExecutor | undefined = undefined;"],"names":[],"mappings":";;;;AAMO,SAAS,mBAAmB,UAA2B;AAC1D,oBAAkB;AACtB;AAEA,eAAsB,QAClB,SACA,SAKe;AAEf,QAAM,WAAW,SAAS,YAAY;AACtC,MAAI,aAAa,QAAW;AACxB,UAAM,IAAI,MAAM,gFAAgF;AAAA,EACpG;AAEA,QAAM,SAAS,IAAI,WAAA;AACnB,SAAO,KAAK,GAAG,QAAQ,cAAc,KAAK,YAAA,CAAa,IAAI,SAAS,iBAAiB,EAAE,EAAE;AACzF,MAAI,QAAQ,gBAAgB,SAAS,GAAG;AACpC,WAAO,MAAM,EAAC,MAAM,aAAa,YAAY,QAAQ,gBAAgB,OAAO,GAAG,QAAQ,IAAA,GAAM,MAAM;AAC/F,WAAK,WAAW,QAAQ,iBAAiB,CAAC,CAAC,MAAM,IAAI,MAAM;AACvD,eAAO,UAAA;AACP,eAAO,KAAK,IAAI,IAAI,KAAK,IAAI,EAAE;AAAA,MACnC,CAAC;AAAA,IACL,CAAC;AAAA,EACL;AACA,SAAO,KAAK,QAAQ,UAAU;AAC9B,SAAO,KAAK,QAAQ,kBAAkB;AAEtC,QAAM,cAAc,KAAK,iBAAiB,MAAM,SAAS,OAAO,YAAY,SAAS,aAAa,CAAA,CAAE,CAAC;AACrG,MAAI,YAAY,QAAQ;AACpB,UAAM,IAAI,aAAa,YAAY,MAAM;AAAA,EAC7C;AACA,SAAO,YAAY;AACvB;AAOO,MAAM,qBAAqB,MAAM;AAAA,EAIpC,YAAY,QAAa;AACrB,UAAA;AAHJ,kBAAA,MAAS,QAAA;AAIL,SAAK,SAAS;AAAA,EAClB;AACJ;AAOA,IAAI,kBAA+C;"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommonTypes.cjs","sources":["../../../../../packages/graphql-client-system/src/generated/CommonTypes.ts"],"sourcesContent":["\n/**\n * \n * This 'ImplementationType' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'A' ? 'A' | ImplementationType<'B'> :\n * T extends 'B' ? 'B' | ImplementationType<'C'> :\n * T\n * ;\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'AbstractType' ? ImplemenationType<'Impl1'> | ImplementationType<'Impl2'> :\n * T\n * ;\n */\nexport type ImplementationType<T> = \n T extends 'Event' ? 'Event' | ImplementationType<'UpdateEvent'> | ImplementationType<'DeleteEvent'> | ImplementationType<'CreateEvent'> :\n T\n;\n/**\n * \n * This 'upcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'B':\n * output.push('B');\n * upcastTypes0('A', output);\n * break;\n * case 'C':\n * output.push('C');\n * upcastTypes0('B', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'Impl1':\n * output.push('Impl1');\n * upcastTypes0('AbstractType', output);\n * break;\n * case 'Impl2':\n * output.push('Impl2');\n * upcastTypes0('AbstractType', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function upcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n upcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction upcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'UpdateEvent':\n output.push('UpdateEvent');\n upcastTypes0('Event', output);\n break;\n case 'DeleteEvent':\n output.push('DeleteEvent');\n upcastTypes0('Event', output);\n break;\n case 'CreateEvent':\n output.push('CreateEvent');\n upcastTypes0('Event', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\n/**\n * \n * This 'downcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'A':\n * output.push('A');\n * downcastTypes0('B', output);\n * break;\n * case 'B':\n * output.push('B');\n * downcastTypes0('C', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * }\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'AbstractType':\n * downcastTypes0('Impl1', output);\n * downcastTypes0('Impl2', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function downcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n downcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction downcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'Event':\n output.push('Event');\n downcastTypes0('UpdateEvent', output);\n downcastTypes0('DeleteEvent', output);\n downcastTypes0('CreateEvent', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\nexport type WithTypeName<T, TypeName extends string> =\n T extends {readonly __typename: string} ?\n T :\n T & {readonly __typename: TypeName};\n;\n\n"],"names":[],"mappings":";;AAiGO,SAAS,YAAY,UAA4B;AACpD,QAAM,YAAsB,CAAC;AAC7B,eAAa,UAAU,SAAS;AACzB,SAAA;AACX;AAEA,SAAS,aAAa,UAAkB,QAAkB;AACtD,UAAQ,UAAS;AAAA,IACb,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;AA6DO,SAAS,cAAc,UAA4B;AACtD,QAAM,YAAsB,CAAC;AAC7B,iBAAe,UAAU,SAAS;AAC3B,SAAA;AACX;AAEA,SAAS,eAAe,UAAkB,QAAkB;AACxD,UAAQ,UAAS;AAAA,IACb,KAAK;AACD,aAAO,KAAK,OAAO;AACnB,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;;;"}
1
+ {"version":3,"file":"CommonTypes.cjs","sources":["../../../../../packages/graphql-client-system/src/generated/CommonTypes.ts"],"sourcesContent":["\n/**\n * \n * This 'ImplementationType' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'A' ? 'A' | ImplementationType<'B'> :\n * T extends 'B' ? 'B' | ImplementationType<'C'> :\n * T\n * ;\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'AbstractType' ? ImplemenationType<'Impl1'> | ImplementationType<'Impl2'> :\n * T\n * ;\n */\nexport type ImplementationType<T> = \n T extends 'Event' ? 'Event' | ImplementationType<'UpdateEvent'> | ImplementationType<'DeleteEvent'> | ImplementationType<'CreateEvent'> :\n T\n;\n/**\n * \n * This 'upcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'B':\n * output.push('B');\n * upcastTypes0('A', output);\n * break;\n * case 'C':\n * output.push('C');\n * upcastTypes0('B', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'Impl1':\n * output.push('Impl1');\n * upcastTypes0('AbstractType', output);\n * break;\n * case 'Impl2':\n * output.push('Impl2');\n * upcastTypes0('AbstractType', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function upcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n upcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction upcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'UpdateEvent':\n output.push('UpdateEvent');\n upcastTypes0('Event', output);\n break;\n case 'DeleteEvent':\n output.push('DeleteEvent');\n upcastTypes0('Event', output);\n break;\n case 'CreateEvent':\n output.push('CreateEvent');\n upcastTypes0('Event', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\n/**\n * \n * This 'downcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'A':\n * output.push('A');\n * downcastTypes0('B', output);\n * break;\n * case 'B':\n * output.push('B');\n * downcastTypes0('C', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * }\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'AbstractType':\n * downcastTypes0('Impl1', output);\n * downcastTypes0('Impl2', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function downcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n downcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction downcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'Event':\n output.push('Event');\n downcastTypes0('UpdateEvent', output);\n downcastTypes0('DeleteEvent', output);\n downcastTypes0('CreateEvent', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\nexport type WithTypeName<T, TypeName extends string> =\n T extends {readonly __typename: string} ?\n T :\n T & {readonly __typename: TypeName};\n;\n\n"],"names":[],"mappings":";;AAiGO,SAAS,YAAY,UAA4B;AACpD,QAAM,YAAsB,CAAA;AAC5B,eAAa,UAAU,SAAS;AAChC,SAAO;AACX;AAEA,SAAS,aAAa,UAAkB,QAAkB;AACtD,UAAQ,UAAA;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;AA6DO,SAAS,cAAc,UAA4B;AACtD,QAAM,YAAsB,CAAA;AAC5B,iBAAe,UAAU,SAAS;AAClC,SAAO;AACX;AAEA,SAAS,eAAe,UAAkB,QAAkB;AACxD,UAAQ,UAAA;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,OAAO;AACnB,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommonTypes.js","sources":["../../../../../packages/graphql-client-system/src/generated/CommonTypes.ts"],"sourcesContent":["\n/**\n * \n * This 'ImplementationType' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'A' ? 'A' | ImplementationType<'B'> :\n * T extends 'B' ? 'B' | ImplementationType<'C'> :\n * T\n * ;\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'AbstractType' ? ImplemenationType<'Impl1'> | ImplementationType<'Impl2'> :\n * T\n * ;\n */\nexport type ImplementationType<T> = \n T extends 'Event' ? 'Event' | ImplementationType<'UpdateEvent'> | ImplementationType<'DeleteEvent'> | ImplementationType<'CreateEvent'> :\n T\n;\n/**\n * \n * This 'upcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'B':\n * output.push('B');\n * upcastTypes0('A', output);\n * break;\n * case 'C':\n * output.push('C');\n * upcastTypes0('B', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'Impl1':\n * output.push('Impl1');\n * upcastTypes0('AbstractType', output);\n * break;\n * case 'Impl2':\n * output.push('Impl2');\n * upcastTypes0('AbstractType', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function upcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n upcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction upcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'UpdateEvent':\n output.push('UpdateEvent');\n upcastTypes0('Event', output);\n break;\n case 'DeleteEvent':\n output.push('DeleteEvent');\n upcastTypes0('Event', output);\n break;\n case 'CreateEvent':\n output.push('CreateEvent');\n upcastTypes0('Event', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\n/**\n * \n * This 'downcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'A':\n * output.push('A');\n * downcastTypes0('B', output);\n * break;\n * case 'B':\n * output.push('B');\n * downcastTypes0('C', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * }\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'AbstractType':\n * downcastTypes0('Impl1', output);\n * downcastTypes0('Impl2', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function downcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n downcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction downcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'Event':\n output.push('Event');\n downcastTypes0('UpdateEvent', output);\n downcastTypes0('DeleteEvent', output);\n downcastTypes0('CreateEvent', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\nexport type WithTypeName<T, TypeName extends string> =\n T extends {readonly __typename: string} ?\n T :\n T & {readonly __typename: TypeName};\n;\n\n"],"names":[],"mappings":"AAiGO,SAAS,YAAY,UAA4B;AACpD,QAAM,YAAsB,CAAC;AAC7B,eAAa,UAAU,SAAS;AACzB,SAAA;AACX;AAEA,SAAS,aAAa,UAAkB,QAAkB;AACtD,UAAQ,UAAS;AAAA,IACb,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;AA6DO,SAAS,cAAc,UAA4B;AACtD,QAAM,YAAsB,CAAC;AAC7B,iBAAe,UAAU,SAAS;AAC3B,SAAA;AACX;AAEA,SAAS,eAAe,UAAkB,QAAkB;AACxD,UAAQ,UAAS;AAAA,IACb,KAAK;AACD,aAAO,KAAK,OAAO;AACnB,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;"}
1
+ {"version":3,"file":"CommonTypes.js","sources":["../../../../../packages/graphql-client-system/src/generated/CommonTypes.ts"],"sourcesContent":["\n/**\n * \n * This 'ImplementationType' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'A' ? 'A' | ImplementationType<'B'> :\n * T extends 'B' ? 'B' | ImplementationType<'C'> :\n * T\n * ;\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export ImplementationType<T extends string> =\n * T extends 'AbstractType' ? ImplemenationType<'Impl1'> | ImplementationType<'Impl2'> :\n * T\n * ;\n */\nexport type ImplementationType<T> = \n T extends 'Event' ? 'Event' | ImplementationType<'UpdateEvent'> | ImplementationType<'DeleteEvent'> | ImplementationType<'CreateEvent'> :\n T\n;\n/**\n * \n * This 'upcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'B':\n * output.push('B');\n * upcastTypes0('A', output);\n * break;\n * case 'C':\n * output.push('C');\n * upcastTypes0('B', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function upcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * upcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function upcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'Impl1':\n * output.push('Impl1');\n * upcastTypes0('AbstractType', output);\n * break;\n * case 'Impl2':\n * output.push('Impl2');\n * upcastTypes0('AbstractType', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function upcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n upcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction upcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'UpdateEvent':\n output.push('UpdateEvent');\n upcastTypes0('Event', output);\n break;\n case 'DeleteEvent':\n output.push('DeleteEvent');\n upcastTypes0('Event', output);\n break;\n case 'CreateEvent':\n output.push('CreateEvent');\n upcastTypes0('Event', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\n/**\n * \n * This 'downcastTypes' is used for inheritance, let's see an example, if graphql schema is:\n * \n * interface A {}\n * interface B implements A {}\n * type C implements B & A {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'A':\n * output.push('A');\n * downcastTypes0('B', output);\n * break;\n * case 'B':\n * output.push('B');\n * downcastTypes0('C', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * }\n * \n * Let's see another example with abstract type, if the graphql schema is:\n * \n * union AbstractType = Impl1 | Imple2;\n * type Impl1 {}\n * type Impl2 {}\n * \n * Typescript code will be generated by like this:\n * \n * export function downcastTypes(typeName: string): string[] {\n * const typeNames: string[] = [];\n * downcastTypes0(typeName, typeNames);\n * return typeNames;\n * }\n * \n * function downcastTypes0(typeName: string, output: string[]) {\n * switch (typeName){\n * case 'AbstractType':\n * downcastTypes0('Impl1', output);\n * downcastTypes0('Impl2', output);\n * break;\n * default:\n * output.push(typeName);\n * break;\n * }\n * } \n */\n\nexport function downcastTypes(typeName: string): string[] {\n const typeNames: string[] = [];\n downcastTypes0(typeName, typeNames);\n return typeNames;\n}\n\nfunction downcastTypes0(typeName: string, output: string[]) {\n switch (typeName){\n case 'Event':\n output.push('Event');\n downcastTypes0('UpdateEvent', output);\n downcastTypes0('DeleteEvent', output);\n downcastTypes0('CreateEvent', output);\n break;\n default:\n output.push(typeName);\n break;\n }\n}\n\nexport type WithTypeName<T, TypeName extends string> =\n T extends {readonly __typename: string} ?\n T :\n T & {readonly __typename: TypeName};\n;\n\n"],"names":[],"mappings":"AAiGO,SAAS,YAAY,UAA4B;AACpD,QAAM,YAAsB,CAAA;AAC5B,eAAa,UAAU,SAAS;AAChC,SAAO;AACX;AAEA,SAAS,aAAa,UAAkB,QAAkB;AACtD,UAAQ,UAAA;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,aAAa;AACzB,mBAAa,SAAS,MAAM;AAC5B;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;AA6DO,SAAS,cAAc,UAA4B;AACtD,QAAM,YAAsB,CAAA;AAC5B,iBAAe,UAAU,SAAS;AAClC,SAAO;AACX;AAEA,SAAS,eAAe,UAAkB,QAAkB;AACxD,UAAQ,UAAA;AAAA,IACJ,KAAK;AACD,aAAO,KAAK,OAAO;AACnB,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC,qBAAe,eAAe,MAAM;AACpC;AAAA,IACJ;AACI,aAAO,KAAK,QAAQ;AACpB;AAAA,EAAA;AAEZ;"}
@@ -1 +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,yBAAyB;AAE7C,QAAQ,IAAI,WAAW;AAEvB,QAAQ,IAAI,gBAAgB;AAAA,EACxB,EAAC,MAAM,SAAS,UAAU,YAAW;AACzC,CAAC;AAED,QAAQ,IAAI,aAAa;AAEzB,QAAQ,IAAI,cAAc;AAAA,EACtB,EAAC,MAAM,UAAU,UAAU,eAAc;AAAA,EACzC,EAAC,MAAM,SAAS,UAAU,cAAa;AAC3C,CAAC;AAED,QAAQ,IAAI,eAAe;AAE3B,QAAQ,IAAI,aAAa;AAAA,EACrB,EAAC,MAAM,QAAQ,UAAU,gBAAe;AAC5C,CAAC;AAED,QAAQ,IAAI,kBAAkB;AAEjB,MAAA,sBAAsB,QAAQ,MAAM;;"}
1
+ {"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;;"}
@@ -1 +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,yBAAyB;AAE7C,QAAQ,IAAI,WAAW;AAEvB,QAAQ,IAAI,gBAAgB;AAAA,EACxB,EAAC,MAAM,SAAS,UAAU,YAAW;AACzC,CAAC;AAED,QAAQ,IAAI,aAAa;AAEzB,QAAQ,IAAI,cAAc;AAAA,EACtB,EAAC,MAAM,UAAU,UAAU,eAAc;AAAA,EACzC,EAAC,MAAM,SAAS,UAAU,cAAa;AAC3C,CAAC;AAED,QAAQ,IAAI,eAAe;AAE3B,QAAQ,IAAI,aAAa;AAAA,EACrB,EAAC,MAAM,QAAQ,UAAU,gBAAe;AAC5C,CAAC;AAED,QAAQ,IAAI,kBAAkB;AAEjB,MAAA,sBAAsB,QAAQ,MAAM;"}
1
+ {"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;"}
@@ -1 +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,mBAAA;AAAA,EACIC,mBAAA;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAACC,aAAAA,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,IAAA;AAAA,EAER;AAAA,EACAC,kBAAA;AAAA,EACA;AACJ;AAGS,MAAA,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;;;"}
1
+ {"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;;;"}
@@ -1 +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,EAER;AAAA,EACA;AAAA,EACA;AACJ;AAGS,MAAA,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;"}
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;"}
@@ -1 +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,mBAAA;AAAA,EACIC,mBAAA;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAACC,aAAAA,OAAO,aAAa;AAAA,IACrB;AAAA,MACI;AAAA,IAAA;AAAA,EAER;AAAA,EACAC,kBAAA;AAAA,EACA;AACJ;AAGS,MAAA,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;;;"}
1
+ {"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;;;"}
@@ -1 +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,EAER;AAAA,EACA;AAAA,EACA;AACJ;AAGS,MAAA,gBACT,aACK,GACA,cACA,WACA,oBACA,YACA,UACA,UACA,KACA,UACA,WACA;"}
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;"}
@@ -1 +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,mBAAA;AAAA,EACIC,mBAAA;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAC;AAAA,IACD;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EAER;AAAA,EACAC,kBAAA;AAAA,EACA;AACJ;AAGS,MAAA,UACT,OACK,GACA,cACA,oBACA,WACA,YACA,UACA,UACA,KACA,UACA;;;"}
1
+ {"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;;;"}