@gadgetinc/ggt 1.0.2 → 1.0.4

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 (99) hide show
  1. package/README.md +192 -128
  2. package/lib/__generated__/graphql.js.map +1 -1
  3. package/lib/commands/add.js +385 -0
  4. package/lib/commands/add.js.map +1 -0
  5. package/lib/commands/deploy.js +20 -102
  6. package/lib/commands/deploy.js.map +1 -1
  7. package/lib/commands/dev.js +43 -114
  8. package/lib/commands/dev.js.map +1 -1
  9. package/lib/commands/list.js +3 -6
  10. package/lib/commands/list.js.map +1 -1
  11. package/lib/commands/login.js +5 -5
  12. package/lib/commands/login.js.map +1 -1
  13. package/lib/commands/logout.js +2 -5
  14. package/lib/commands/logout.js.map +1 -1
  15. package/lib/commands/open.js +45 -86
  16. package/lib/commands/open.js.map +1 -1
  17. package/lib/commands/pull.js +19 -76
  18. package/lib/commands/pull.js.map +1 -1
  19. package/lib/commands/push.js +19 -76
  20. package/lib/commands/push.js.map +1 -1
  21. package/lib/commands/root.js +4 -3
  22. package/lib/commands/root.js.map +1 -1
  23. package/lib/commands/status.js +3 -8
  24. package/lib/commands/status.js.map +1 -1
  25. package/lib/commands/version.js +6 -5
  26. package/lib/commands/version.js.map +1 -1
  27. package/lib/commands/whoami.js +2 -5
  28. package/lib/commands/whoami.js.map +1 -1
  29. package/lib/ggt.js.map +1 -1
  30. package/lib/main.js.map +1 -1
  31. package/lib/services/app/api/api.js.map +1 -1
  32. package/lib/services/app/api/operation.js +11 -0
  33. package/lib/services/app/api/operation.js.map +1 -1
  34. package/lib/services/app/app.js +21 -2
  35. package/lib/services/app/app.js.map +1 -1
  36. package/lib/services/app/arg.js.map +1 -1
  37. package/lib/services/app/client.js.map +1 -1
  38. package/lib/services/app/edit/edit.js.map +1 -1
  39. package/lib/services/app/edit/operation.js +52 -0
  40. package/lib/services/app/edit/operation.js.map +1 -1
  41. package/lib/services/app/error.js.map +1 -1
  42. package/lib/services/command/arg.js +3 -1
  43. package/lib/services/command/arg.js.map +1 -1
  44. package/lib/services/command/command.js +1 -0
  45. package/lib/services/command/command.js.map +1 -1
  46. package/lib/services/command/context.js.map +1 -1
  47. package/lib/services/config/config.js.map +1 -1
  48. package/lib/services/config/env.js.map +1 -1
  49. package/lib/services/config/package-json.js.map +1 -1
  50. package/lib/services/filesync/changes.js.map +1 -1
  51. package/lib/services/filesync/conflicts.js.map +1 -1
  52. package/lib/services/filesync/directory.js.map +1 -1
  53. package/lib/services/filesync/error.js +1 -0
  54. package/lib/services/filesync/error.js.map +1 -1
  55. package/lib/services/filesync/file.js.map +1 -1
  56. package/lib/services/filesync/filesync.js +179 -174
  57. package/lib/services/filesync/filesync.js.map +1 -1
  58. package/lib/services/filesync/hashes.js.map +1 -1
  59. package/lib/services/filesync/strategy.js.map +1 -1
  60. package/lib/services/filesync/sync-json.js.map +1 -1
  61. package/lib/services/http/auth.js.map +1 -1
  62. package/lib/services/http/http.js.map +1 -1
  63. package/lib/services/output/confirm.js.map +1 -1
  64. package/lib/services/output/footer.js.map +1 -1
  65. package/lib/services/output/log/field.js.map +1 -1
  66. package/lib/services/output/log/format/format.js.map +1 -1
  67. package/lib/services/output/log/format/json.js.map +1 -1
  68. package/lib/services/output/log/format/pretty.js.map +1 -1
  69. package/lib/services/output/log/level.js.map +1 -1
  70. package/lib/services/output/log/logger.js.map +1 -1
  71. package/lib/services/output/log/structured.js.map +1 -1
  72. package/lib/services/output/notify.js.map +1 -1
  73. package/lib/services/output/output.js.map +1 -1
  74. package/lib/services/output/print.js.map +1 -1
  75. package/lib/services/output/problems.js.map +1 -1
  76. package/lib/services/output/prompt.js.map +1 -1
  77. package/lib/services/output/report.js.map +1 -1
  78. package/lib/services/output/select.js.map +1 -1
  79. package/lib/services/output/spinner.js.map +1 -1
  80. package/lib/services/output/sprint.js.map +1 -1
  81. package/lib/services/output/symbols.js.map +1 -1
  82. package/lib/services/output/table.js.map +1 -1
  83. package/lib/services/output/timestamp.js.map +1 -1
  84. package/lib/services/output/update.js.map +1 -1
  85. package/lib/services/user/session.js.map +1 -1
  86. package/lib/services/user/user.js.map +1 -1
  87. package/lib/services/util/assert.js.map +1 -1
  88. package/lib/services/util/boolean.js.map +1 -1
  89. package/lib/services/util/collection.js.map +1 -1
  90. package/lib/services/util/function.js.map +1 -1
  91. package/lib/services/util/is.js.map +1 -1
  92. package/lib/services/util/json.js.map +1 -1
  93. package/lib/services/util/number.js.map +1 -1
  94. package/lib/services/util/object.js.map +1 -1
  95. package/lib/services/util/paths.js.map +1 -1
  96. package/lib/services/util/promise.js.map +1 -1
  97. package/lib/services/util/types.js.map +1 -1
  98. package/npm-shrinkwrap.json +2183 -1763
  99. package/package.json +34 -34
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/__generated__/graphql.ts"],"sourcesContent":["/**\n * ======================================================\n * THIS IS A GENERATED FILE! DO NOT EDIT IT MANUALLY!\n *\n * You can regenerate it by running `npm run generate-graphql`.\n * ======================================================\n */\n\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n /** A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */\n Date: { input: any; output: any; }\n /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */\n DateTime: { input: any; output: any; }\n /** The ID of a record in Gadget */\n GadgetID: { input: any; output: any; }\n /** Instructions for a client to turn raw transport types (like strings) into useful client side types (like Dates). Unstable and not intended for developer use. */\n HydrationPlan: { input: any; output: any; }\n /** Represents one session result record in internal api calls. Returns a JSON blob of all the record's fields. */\n InternalSessionRecord: { input: any; output: any; }\n /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */\n JSON: { input: { [key: string]: any }; output: { [key: string]: any }; }\n /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */\n JSONObject: { input: any; output: any; }\n /** Represents the state of one record in a Gadget database. Represented as either a string or set of strings nested in objects. */\n RecordState: { input: any; output: any; }\n /** The `Upload` scalar type represents a file upload. */\n Upload: { input: any; output: any; }\n};\n\nexport type ApiUpgradeConvergePlanResult = {\n __typename?: 'APIUpgradeConvergePlanResult';\n items: Array<Scalars['JSON']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type AddApplicationTagResult = {\n __typename?: 'AddApplicationTagResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type AddUserTagResult = {\n __typename?: 'AddUserTagResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type BackgroundAction = {\n __typename?: 'BackgroundAction';\n actionApiIdentifier: Scalars['String']['output'];\n attempts: Array<BackgroundActionAttempt>;\n cancelledAt?: Maybe<Scalars['DateTime']['output']>;\n createdDate: Scalars['DateTime']['output'];\n id: Scalars['String']['output'];\n lastAttemptFinishedAt?: Maybe<Scalars['DateTime']['output']>;\n lastAttemptStartedAt?: Maybe<Scalars['DateTime']['output']>;\n lastRestartedAt?: Maybe<Scalars['DateTime']['output']>;\n nextAttemptStartsAfter?: Maybe<Scalars['DateTime']['output']>;\n payload: Scalars['JSON']['output'];\n priority: Scalars['String']['output'];\n queue?: Maybe<Scalars['String']['output']>;\n retryPolicy: Scalars['JSON']['output'];\n state: BackgroundActionState;\n type: Scalars['String']['output'];\n};\n\nexport type BackgroundActionAttempt = {\n __typename?: 'BackgroundActionAttempt';\n attemptNumber: Scalars['Int']['output'];\n details: Scalars['JSON']['output'];\n failureReason?: Maybe<Scalars['JSON']['output']>;\n failureSummary?: Maybe<Scalars['String']['output']>;\n finishedDate?: Maybe<Scalars['DateTime']['output']>;\n id: Scalars['String']['output'];\n startedDate?: Maybe<Scalars['DateTime']['output']>;\n state: BackgroundActionAttemptState;\n};\n\nexport enum BackgroundActionAttemptState {\n Failed = 'FAILED',\n Running = 'RUNNING',\n Succeeded = 'SUCCEEDED'\n}\n\nexport type BackgroundActionConnection = {\n __typename?: 'BackgroundActionConnection';\n nodes: Array<BackgroundAction>;\n pageInfo: OffsetPageInfo;\n};\n\nexport type BackgroundActionFilter = {\n inState?: InputMaybe<Array<BackgroundActionState>>;\n priority?: InputMaybe<Scalars['String']['input']>;\n search?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport enum BackgroundActionState {\n Cancelled = 'CANCELLED',\n Completed = 'COMPLETED',\n Failed = 'FAILED',\n Retrying = 'RETRYING',\n Running = 'RUNNING',\n Scheduled = 'SCHEDULED',\n Waiting = 'WAITING'\n}\n\nexport type ChangeAppDomainResult = {\n __typename?: 'ChangeAppDomainResult';\n onlyValidate?: Maybe<Scalars['Boolean']['output']>;\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type ContributorResult = {\n __typename?: 'ContributorResult';\n email: Scalars['String']['output'];\n isOwner: Scalars['Boolean']['output'];\n isPending: Scalars['Boolean']['output'];\n};\n\nexport type DeleteAppStatusResult = {\n __typename?: 'DeleteAppStatusResult';\n isNotCreator?: Maybe<Scalars['Boolean']['output']>;\n isNotOwner?: Maybe<Scalars['Boolean']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\n/** One upload target to use for the Direct Upload style of sending files to Gadget */\nexport type DirectUploadToken = {\n __typename?: 'DirectUploadToken';\n /** The token to pass to an action to reference the uploaded file. */\n token: Scalars['String']['output'];\n /** The URL to upload a file to. */\n url: Scalars['String']['output'];\n};\n\nexport type EnableFrontendResult = {\n __typename?: 'EnableFrontendResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type Environment = {\n __typename?: 'Environment';\n id: Scalars['String']['output'];\n lastUserEditDate: Scalars['DateTime']['output'];\n name: Scalars['String']['output'];\n slug: Scalars['String']['output'];\n status: EnvironmentStatus;\n type: EnvironmentType;\n};\n\nexport type EnvironmentInput = {\n slug: Scalars['String']['input'];\n sourceSlug?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type EnvironmentPatchResult = {\n __typename?: 'EnvironmentPatchResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type EnvironmentPublishResult = {\n __typename?: 'EnvironmentPublishResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport enum EnvironmentStatus {\n Active = 'ACTIVE',\n FatalError = 'FATAL_ERROR',\n Paused = 'PAUSED',\n Pending = 'PENDING'\n}\n\nexport type EnvironmentSubscriptionResult = {\n __typename?: 'EnvironmentSubscriptionResult';\n patches: Array<Scalars['JSON']['output']>;\n};\n\nexport type EnvironmentTreeClientId = {\n clientType: Scalars['String']['input'];\n id: Scalars['String']['input'];\n};\n\nexport enum EnvironmentType {\n Development = 'DEVELOPMENT',\n Production = 'PRODUCTION',\n Test = 'TEST'\n}\n\nexport type ExecutionError = {\n /** The Gadget platform error code for this error. */\n code: Scalars['String']['output'];\n /** The human facing error message for this error. */\n message: Scalars['String']['output'];\n /** The stack for any exception that caused the error. Only available for super users. */\n stack?: Maybe<Scalars['String']['output']>;\n};\n\nexport type FileSyncChangedEvent = {\n __typename?: 'FileSyncChangedEvent';\n content: Scalars['String']['output'];\n encoding: FileSyncEncoding;\n mode: Scalars['Float']['output'];\n path: Scalars['String']['output'];\n};\n\nexport type FileSyncChangedEventInput = {\n content: Scalars['String']['input'];\n encoding?: InputMaybe<FileSyncEncoding>;\n mode: Scalars['Float']['input'];\n oldPath?: InputMaybe<Scalars['String']['input']>;\n path: Scalars['String']['input'];\n};\n\nexport type FileSyncComparisonHashes = {\n __typename?: 'FileSyncComparisonHashes';\n filesVersionHashes: FileSyncHashes;\n latestFilesVersionHashes: FileSyncHashes;\n};\n\nexport type FileSyncDeletedEvent = {\n __typename?: 'FileSyncDeletedEvent';\n path: Scalars['String']['output'];\n};\n\nexport type FileSyncDeletedEventInput = {\n path: Scalars['String']['input'];\n};\n\nexport enum FileSyncEncoding {\n Base64 = 'base64',\n Utf8 = 'utf8'\n}\n\nexport type FileSyncFile = {\n __typename?: 'FileSyncFile';\n content: Scalars['String']['output'];\n encoding: FileSyncEncoding;\n mode: Scalars['Float']['output'];\n path: Scalars['String']['output'];\n};\n\nexport type FileSyncFiles = {\n __typename?: 'FileSyncFiles';\n files: Array<FileSyncFile>;\n filesVersion: Scalars['String']['output'];\n};\n\nexport type FileSyncHashes = {\n __typename?: 'FileSyncHashes';\n filesVersion: Scalars['String']['output'];\n hashes: Scalars['JSON']['output'];\n};\n\nexport type GadgetAction = {\n __typename?: 'GadgetAction';\n acceptsInput: Scalars['Boolean']['output'];\n apiIdentifier: Scalars['String']['output'];\n availableInBulk: Scalars['Boolean']['output'];\n bulkApiIdentifier?: Maybe<Scalars['String']['output']>;\n bulkInvokedByIDOnly: Scalars['Boolean']['output'];\n examples?: Maybe<GadgetActionGraphQlType>;\n hasAmbiguousIdentifier: Scalars['Boolean']['output'];\n /** @deprecated This field will be removed. Use `isCreateOrUpdateAction` instead. */\n hasCreateOrUpdateEffect: Scalars['Boolean']['output'];\n /** @deprecated This field will be removed. Use `isDeleteAction` instead. */\n hasDeleteRecordEffect: Scalars['Boolean']['output'];\n inputFields: Array<GadgetObjectField>;\n isCreateOrUpdateAction: Scalars['Boolean']['output'];\n isDeleteAction: Scalars['Boolean']['output'];\n name: Scalars['String']['output'];\n operatesWithRecordIdentity: Scalars['Boolean']['output'];\n possibleTransitions: Scalars['JSONObject']['output'];\n requiresInput: Scalars['Boolean']['output'];\n triggers?: Maybe<Array<GadgetTrigger>>;\n};\n\nexport type GadgetActionGraphQlType = {\n __typename?: 'GadgetActionGraphQLType';\n bulkOutputGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n exampleBulkGraphQLMutation?: Maybe<Scalars['String']['output']>;\n exampleBulkGraphQLVariables?: Maybe<Scalars['JSON']['output']>;\n exampleBulkImperativeInvocation?: Maybe<Scalars['String']['output']>;\n /** @deprecated moved to exampleBulkGraphQLMutation */\n exampleBulkMutation?: Maybe<Scalars['String']['output']>;\n exampleBulkReactHook?: Maybe<Scalars['String']['output']>;\n exampleGraphQLMutation: Scalars['String']['output'];\n exampleGraphQLVariables: Scalars['JSON']['output'];\n exampleImperativeInvocation: Scalars['String']['output'];\n exampleJSInputs: Scalars['JSON']['output'];\n /** @deprecated moved to exampleGraphQLMutation */\n exampleMutation: Scalars['String']['output'];\n exampleReactHook: Scalars['String']['output'];\n inputGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n inputTypeScriptInterface?: Maybe<Scalars['String']['output']>;\n outputGraphQLTypeSDL: Scalars['String']['output'];\n outputTypeScriptInterface: Scalars['String']['output'];\n};\n\nexport type GadgetApplicationMeta = {\n __typename?: 'GadgetApplicationMeta';\n allHydrations: Scalars['JSON']['output'];\n /** The roles that the entity making this API call has been assigned */\n assignedRoles: Array<GadgetRole>;\n canonicalRenderURL: Scalars['String']['output'];\n developmentGraphQLEndpoint: Scalars['String']['output'];\n developmentRenderURL: Scalars['String']['output'];\n directUploadToken?: Maybe<DirectUploadToken>;\n editURL: Scalars['String']['output'];\n environmentID: Scalars['GadgetID']['output'];\n environmentName: Scalars['String']['output'];\n environmentSlug: Scalars['String']['output'];\n firstModelForExamples: GadgetModel;\n globalActions: Array<GadgetGlobalAction>;\n graphQLEndpoint: Scalars['String']['output'];\n hasGlobalActions: Scalars['Boolean']['output'];\n hasLegacyEffectCards: Scalars['Boolean']['output'];\n hasShopifyConnection: Scalars['Boolean']['output'];\n hasSplitEnvironments: Scalars['Boolean']['output'];\n hydrations?: Maybe<Scalars['HydrationPlan']['output']>;\n id: Scalars['GadgetID']['output'];\n jsPackageIdentifier: Scalars['String']['output'];\n jsPackageTarballURL: Scalars['String']['output'];\n model?: Maybe<GadgetModel>;\n models: Array<GadgetModel>;\n name: Scalars['String']['output'];\n productionGraphQLEndpoint: Scalars['String']['output'];\n productionRenderURL: Scalars['String']['output'];\n referencedHydrations: Scalars['JSON']['output'];\n roles: Array<GadgetRole>;\n /** @deprecated The current session is available as the root field `currentSession` on the root Query object, which has the ID as well as other attributes of the session. */\n sessionID?: Maybe<Scalars['String']['output']>;\n shopifyConnectionApiVersion?: Maybe<Scalars['String']['output']>;\n slug: Scalars['String']['output'];\n};\n\n\nexport type GadgetApplicationMetaDirectUploadTokenArgs = {\n nonce?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type GadgetApplicationMetaHydrationsArgs = {\n modelName: Scalars['String']['input'];\n};\n\n\nexport type GadgetApplicationMetaModelArgs = {\n apiIdentifier?: InputMaybe<Scalars['String']['input']>;\n key?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type GadgetBelongsToConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetBelongsToConfig';\n fieldType: GadgetFieldType;\n isConfigured: Scalars['Boolean']['output'];\n isInverseConfigured: Scalars['Boolean']['output'];\n relatedModel?: Maybe<GadgetModel>;\n relatedModelKey?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GadgetDateTimeConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetDateTimeConfig';\n fieldType: GadgetFieldType;\n includeTime: Scalars['Boolean']['output'];\n};\n\nexport type GadgetEnumConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetEnumConfig';\n allowMultiple: Scalars['Boolean']['output'];\n allowOther: Scalars['Boolean']['output'];\n fieldType: GadgetFieldType;\n options: Array<GadgetEnumOption>;\n};\n\nexport type GadgetEnumOption = {\n __typename?: 'GadgetEnumOption';\n color: Scalars['String']['output'];\n name: Scalars['String']['output'];\n};\n\nexport type GadgetField = {\n apiIdentifier: Scalars['String']['output'];\n configuration: GadgetFieldConfigInterface;\n fieldType: GadgetFieldType;\n hasDefault: Scalars['Boolean']['output'];\n name: Scalars['String']['output'];\n required: Scalars['Boolean']['output'];\n requiredArgumentForInput: Scalars['Boolean']['output'];\n};\n\n/** The common bits that all field configuration types share */\nexport type GadgetFieldConfigInterface = {\n fieldType: GadgetFieldType;\n};\n\n/** The type of a given field of a model or other in-transit object within Gadget's type system */\nexport enum GadgetFieldType {\n Any = 'Any',\n Array = 'Array',\n BelongsTo = 'BelongsTo',\n Boolean = 'Boolean',\n Code = 'Code',\n Color = 'Color',\n Computed = 'Computed',\n DateTime = 'DateTime',\n Email = 'Email',\n EncryptedString = 'EncryptedString',\n Enum = 'Enum',\n File = 'File',\n HasMany = 'HasMany',\n HasManyThrough = 'HasManyThrough',\n HasOne = 'HasOne',\n Id = 'ID',\n Json = 'JSON',\n Money = 'Money',\n Null = 'Null',\n Number = 'Number',\n Object = 'Object',\n Password = 'Password',\n RecordState = 'RecordState',\n RichText = 'RichText',\n RoleAssignments = 'RoleAssignments',\n String = 'String',\n Url = 'URL',\n Vector = 'Vector'\n}\n\nexport type GadgetFieldUsageExample = {\n __typename?: 'GadgetFieldUsageExample';\n exampleGraphQLMutation: Scalars['String']['output'];\n exampleGraphQLVariables: Scalars['JSON']['output'];\n exampleImperativeInvocation: Scalars['String']['output'];\n exampleReactHook: Scalars['String']['output'];\n};\n\nexport type GadgetGenericFieldConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetGenericFieldConfig';\n fieldType: GadgetFieldType;\n};\n\nexport type GadgetGlobalAction = {\n __typename?: 'GadgetGlobalAction';\n acceptsInput: Scalars['Boolean']['output'];\n apiIdentifier: Scalars['String']['output'];\n examples?: Maybe<GadgetGlobalActionGraphQlType>;\n name: Scalars['String']['output'];\n requiresInput: Scalars['Boolean']['output'];\n triggers?: Maybe<Array<GadgetTrigger>>;\n};\n\nexport type GadgetGlobalActionGraphQlType = {\n __typename?: 'GadgetGlobalActionGraphQLType';\n exampleGraphQLMutation: Scalars['String']['output'];\n exampleGraphQLVariables: Scalars['JSON']['output'];\n exampleImperativeInvocation: Scalars['String']['output'];\n exampleJSInputs: Scalars['JSON']['output'];\n /** @deprecated moved to exampleGraphQLMutation */\n exampleMutation: Scalars['String']['output'];\n exampleReactHook: Scalars['String']['output'];\n inputGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n inputTypeScriptInterface?: Maybe<Scalars['String']['output']>;\n outputGraphQLTypeSDL: Scalars['String']['output'];\n outputTypeScriptInterface: Scalars['String']['output'];\n};\n\nexport type GadgetHasManyConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetHasManyConfig';\n fieldType: GadgetFieldType;\n isConfigured: Scalars['Boolean']['output'];\n isInverseConfigured: Scalars['Boolean']['output'];\n relatedModel?: Maybe<GadgetModel>;\n relatedModelKey?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GadgetModel = {\n __typename?: 'GadgetModel';\n action?: Maybe<GadgetAction>;\n actions: Array<GadgetAction>;\n apiIdentifier: Scalars['String']['output'];\n currentSingletonApiIdentifier?: Maybe<Scalars['String']['output']>;\n exampleFilterQuery: Scalars['String']['output'];\n exampleFindMostRecentlyCreatedQuery: Scalars['String']['output'];\n exampleFullFindFirstQuery: Scalars['String']['output'];\n exampleFullFindManyQuery: Scalars['String']['output'];\n exampleFullFindOneQuery: Scalars['String']['output'];\n exampleInternalBulkCreateMutation: Scalars['String']['output'];\n exampleInternalCreateMutation: Scalars['String']['output'];\n exampleInternalDeleteManyMutation: Scalars['String']['output'];\n exampleInternalDeleteMutation: Scalars['String']['output'];\n exampleInternalFindFirstQuery: Scalars['String']['output'];\n exampleInternalFindManyQuery: Scalars['String']['output'];\n exampleInternalFindOneQuery: Scalars['String']['output'];\n exampleInternalUpdateMutation: Scalars['String']['output'];\n examplePaginationQuery: Scalars['String']['output'];\n exampleSearchQuery: Scalars['String']['output'];\n exampleSimpleFindManyQuery: Scalars['String']['output'];\n exampleSimpleFindOneQuery: Scalars['String']['output'];\n fields: Array<GadgetModelField>;\n filterGraphQLTypeName?: Maybe<Scalars['String']['output']>;\n filterGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n filterable: Scalars['Boolean']['output'];\n graphQLTypeName: Scalars['String']['output'];\n graphQLTypeSDL: Scalars['String']['output'];\n initialCreatedState?: Maybe<Scalars['String']['output']>;\n key: Scalars['String']['output'];\n name: Scalars['String']['output'];\n pluralApiIdentifier: Scalars['String']['output'];\n pluralName: Scalars['String']['output'];\n searchable: Scalars['Boolean']['output'];\n sortGraphQLTypeName?: Maybe<Scalars['String']['output']>;\n sortGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n sortable: Scalars['Boolean']['output'];\n typescriptTypeInterface: Scalars['String']['output'];\n typescriptTypeInterfaceName: Scalars['String']['output'];\n};\n\n\nexport type GadgetModelActionArgs = {\n apiIdentifier: Scalars['String']['input'];\n};\n\n/** One field of a Gadget model */\nexport type GadgetModelField = GadgetField & {\n __typename?: 'GadgetModelField';\n apiIdentifier: Scalars['String']['output'];\n configuration: GadgetFieldConfigInterface;\n examples: GadgetModelFieldExamples;\n fieldType: GadgetFieldType;\n filterable: Scalars['Boolean']['output'];\n hasDefault: Scalars['Boolean']['output'];\n isUniqueField: Scalars['Boolean']['output'];\n name: Scalars['String']['output'];\n required: Scalars['Boolean']['output'];\n requiredArgumentForInput: Scalars['Boolean']['output'];\n sortable: Scalars['Boolean']['output'];\n};\n\nexport type GadgetModelFieldExamples = {\n __typename?: 'GadgetModelFieldExamples';\n createNestedInParent?: Maybe<GadgetFieldUsageExample>;\n linkExistingChild?: Maybe<GadgetFieldUsageExample>;\n linkNewChild?: Maybe<GadgetFieldUsageExample>;\n linkToExistingParent?: Maybe<GadgetFieldUsageExample>;\n};\n\n/** One field of an action input or other transitory object in Gadget */\nexport type GadgetObjectField = GadgetField & {\n __typename?: 'GadgetObjectField';\n apiIdentifier: Scalars['String']['output'];\n configuration: GadgetFieldConfigInterface;\n fieldType: GadgetFieldType;\n hasDefault: Scalars['Boolean']['output'];\n name: Scalars['String']['output'];\n required: Scalars['Boolean']['output'];\n requiredArgumentForInput: Scalars['Boolean']['output'];\n};\n\nexport type GadgetObjectFieldConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetObjectFieldConfig';\n fieldType: GadgetFieldType;\n fields: Array<GadgetModelField>;\n name?: Maybe<Scalars['String']['output']>;\n};\n\n/** Represents one of the roles an identity in the system can be entitled to */\nexport type GadgetRole = {\n __typename?: 'GadgetRole';\n key: Scalars['String']['output'];\n name: Scalars['String']['output'];\n order: Scalars['Int']['output'];\n selectable: Scalars['Boolean']['output'];\n};\n\nexport type GadgetTrigger = {\n __typename?: 'GadgetTrigger';\n specID: Scalars['String']['output'];\n};\n\nexport type IdentifySupportConversationResult = {\n __typename?: 'IdentifySupportConversationResult';\n identificationEmail: Scalars['String']['output'];\n identificationToken: Scalars['String']['output'];\n};\n\nexport type InternalBulkCreateSessionsResult = {\n __typename?: 'InternalBulkCreateSessionsResult';\n errors?: Maybe<Array<ExecutionError>>;\n sessions?: Maybe<Array<Maybe<Scalars['InternalSessionRecord']['output']>>>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type InternalCreateSessionResult = {\n __typename?: 'InternalCreateSessionResult';\n errors?: Maybe<Array<ExecutionError>>;\n session?: Maybe<Scalars['InternalSessionRecord']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type InternalDeleteManySessionResult = {\n __typename?: 'InternalDeleteManySessionResult';\n errors?: Maybe<Array<ExecutionError>>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type InternalDeleteSessionResult = {\n __typename?: 'InternalDeleteSessionResult';\n errors?: Maybe<Array<ExecutionError>>;\n session?: Maybe<Scalars['InternalSessionRecord']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type InternalMutations = {\n __typename?: 'InternalMutations';\n /** Acquire a backend lock, returning only once the lock has been acquired */\n acquireLock: LockOperationResult;\n bulkCreateSessions?: Maybe<InternalBulkCreateSessionsResult>;\n commitTransaction: Scalars['String']['output'];\n createSession?: Maybe<InternalCreateSessionResult>;\n deleteManySession?: Maybe<InternalDeleteManySessionResult>;\n deleteSession?: Maybe<InternalDeleteSessionResult>;\n rollbackTransaction: Scalars['String']['output'];\n startTransaction: Scalars['String']['output'];\n updateSession?: Maybe<InternalUpdateSessionResult>;\n};\n\n\nexport type InternalMutationsAcquireLockArgs = {\n lock: Scalars['String']['input'];\n};\n\n\nexport type InternalMutationsBulkCreateSessionsArgs = {\n sessions: Array<InputMaybe<InternalSessionInput>>;\n};\n\n\nexport type InternalMutationsCreateSessionArgs = {\n session?: InputMaybe<InternalSessionInput>;\n};\n\n\nexport type InternalMutationsDeleteSessionArgs = {\n id: Scalars['GadgetID']['input'];\n};\n\n\nexport type InternalMutationsUpdateSessionArgs = {\n id: Scalars['GadgetID']['input'];\n session?: InputMaybe<InternalSessionInput>;\n};\n\nexport type InternalQueries = {\n __typename?: 'InternalQueries';\n /** Currently open platform transaction details, or null if no transaction is open */\n currentTransactionDetails?: Maybe<Scalars['JSONObject']['output']>;\n listSession: InternalSessionRecordConnection;\n session?: Maybe<Scalars['InternalSessionRecord']['output']>;\n};\n\n\nexport type InternalQueriesListSessionArgs = {\n after?: InputMaybe<Scalars['String']['input']>;\n before?: InputMaybe<Scalars['String']['input']>;\n first?: InputMaybe<Scalars['Int']['input']>;\n last?: InputMaybe<Scalars['Int']['input']>;\n select?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\n\nexport type InternalQueriesSessionArgs = {\n id: Scalars['GadgetID']['input'];\n select?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\nexport type InternalSessionInput = {\n createdAt?: InputMaybe<Scalars['DateTime']['input']>;\n id?: InputMaybe<Scalars['GadgetID']['input']>;\n /** A string list of Gadget platform Role keys to assign to this record */\n roles?: InputMaybe<Array<Scalars['String']['input']>>;\n state?: InputMaybe<Scalars['RecordState']['input']>;\n stateHistory?: InputMaybe<Scalars['RecordState']['input']>;\n updatedAt?: InputMaybe<Scalars['DateTime']['input']>;\n};\n\n/** A connection to a list of InternalSessionRecord items. */\nexport type InternalSessionRecordConnection = {\n __typename?: 'InternalSessionRecordConnection';\n /** A list of edges. */\n edges: Array<InternalSessionRecordEdge>;\n /** Information to aid in pagination. */\n pageInfo: PageInfo;\n};\n\n/** An edge in a InternalSessionRecord connection. */\nexport type InternalSessionRecordEdge = {\n __typename?: 'InternalSessionRecordEdge';\n /** A cursor for use in pagination */\n cursor: Scalars['String']['output'];\n /** The item at the end of the edge */\n node: Scalars['InternalSessionRecord']['output'];\n};\n\nexport type InternalUpdateSessionResult = {\n __typename?: 'InternalUpdateSessionResult';\n errors?: Maybe<Array<ExecutionError>>;\n session?: Maybe<Scalars['InternalSessionRecord']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\n/** This Error object represents one individual failed validation for a record field. It has a message which is appropriate for display to a user, and lists the apiIdentifier of the field in question. The `apiIdentifier` for the field is not guaranteed to exist on the model. */\nexport type InvalidFieldError = {\n __typename?: 'InvalidFieldError';\n /** The apiIdentifier of the field this error occurred on. */\n apiIdentifier: Scalars['String']['output'];\n /** The human facing error message for this error. */\n message: Scalars['String']['output'];\n};\n\n/** This object is returned as an error when a record doesn't pass the defined validations on the model. The validation messages for each of the invalid fields are available via the other fields on this error type. */\nexport type InvalidRecordError = ExecutionError & {\n __typename?: 'InvalidRecordError';\n /** The Gadget platform error code for this InvalidRecordError. */\n code: Scalars['String']['output'];\n /** The human facing error message for this error. */\n message: Scalars['String']['output'];\n /** The model of the record which failed validation */\n model?: Maybe<GadgetModel>;\n /** The record which failed validation, if available. Returns all the owned fields of the record -- no sub-selections are required or possible. Only available for super users. */\n record?: Maybe<Scalars['JSONObject']['output']>;\n /** The stack for any exception that caused the error */\n stack?: Maybe<Scalars['String']['output']>;\n /** A list of InvalidFieldError objects describing each of the errors encountered on the invalid record. */\n validationErrors?: Maybe<Array<InvalidFieldError>>;\n /** An object mapping field apiIdentifiers to arrays of validation error message strings for that field, as a JSON object. The object may have keys that don't correspond exactly to field apiIdentifiers if added by validations, and the object may have missing keys if no errors were encountered for that field. */\n validationErrorsByField?: Maybe<Scalars['JSONObject']['output']>;\n};\n\nexport type LockOperationResult = {\n __typename?: 'LockOperationResult';\n /** Any errors encountered during the locking/unlocking operation */\n errors?: Maybe<Array<ExecutionError>>;\n /** Whether the lock operation succeeded */\n success: Scalars['Boolean']['output'];\n};\n\nexport type LogSearchResult = {\n __typename?: 'LogSearchResult';\n data: Scalars['JSON']['output'];\n status: Scalars['String']['output'];\n};\n\nexport type MigrateAacResult = {\n __typename?: 'MigrateAACResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type MigrateEnvironmentsResult = {\n __typename?: 'MigrateEnvironmentsResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type MigrateFbaResult = {\n __typename?: 'MigrateFBAResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport enum ModelExportFormat {\n Csv = 'CSV',\n Ndjson = 'NDJSON'\n}\n\nexport type Mutation = {\n __typename?: 'Mutation';\n addApplicationTag?: Maybe<AddApplicationTagResult>;\n addUserTag?: Maybe<AddUserTagResult>;\n cancelBackgroundAction: BackgroundAction;\n changeAppDomain?: Maybe<ChangeAppDomainResult>;\n convergePackages: Scalars['Boolean']['output'];\n createEnvironment: Environment;\n deleteApp?: Maybe<DeleteAppStatusResult>;\n deleteBackgroundAction: Scalars['Boolean']['output'];\n deleteEnvironment: Scalars['Boolean']['output'];\n /** @deprecated enabling frontends on legacy apps is no longer supported */\n enableFrontend?: Maybe<EnableFrontendResult>;\n exportModelData: Scalars['Boolean']['output'];\n /** Meta information about the application, like it's name, schema, and other internal details. */\n gadgetMeta: GadgetApplicationMeta;\n internal?: Maybe<InternalMutations>;\n migrateAAC?: Maybe<MigrateAacResult>;\n /** @deprecated legacy environments are no longer supported */\n migrateEnvironments?: Maybe<MigrateEnvironmentsResult>;\n migrateFBA?: Maybe<MigrateFbaResult>;\n patchEnvironmentTree?: Maybe<EnvironmentPatchResult>;\n publish?: Maybe<EnvironmentPublishResult>;\n publishFileSyncEvents: PublishFileSyncEventsResult;\n refreshScopes?: Maybe<RefreshScopesResult>;\n registerWebhooks?: Maybe<RegisterWebhooksResult>;\n /** @deprecated use team */\n removeContributor?: Maybe<RemoveContributorResult>;\n /** @deprecated app invitations are no longer supported */\n sendAppInvitation?: Maybe<SendAppInvitationResult>;\n setFrameworkVersion: SetFrameworkVersionResult;\n startLogsExport: Scalars['Boolean']['output'];\n startNextBackgroundActionAttemptNow: BackgroundAction;\n syncToWebflow: Scalars['Boolean']['output'];\n triggerRunShopifySync?: Maybe<TriggerRunShopifySyncResult>;\n uninstallShop?: Maybe<UninstallShopResult>;\n unregisterWebhooks?: Maybe<UnregisterWebhooksResult>;\n uploadFiles: UploadFilesResult;\n uploadTemplateAsset: UploadTemplateAssetResult;\n};\n\n\nexport type MutationAddApplicationTagArgs = {\n tag: Scalars['String']['input'];\n};\n\n\nexport type MutationAddUserTagArgs = {\n replaceMatches?: InputMaybe<Array<Scalars['String']['input']>>;\n tag: Scalars['String']['input'];\n};\n\n\nexport type MutationCancelBackgroundActionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationChangeAppDomainArgs = {\n newSubdomain: Scalars['String']['input'];\n onlyValidate?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n\nexport type MutationCreateEnvironmentArgs = {\n environment: EnvironmentInput;\n};\n\n\nexport type MutationDeleteAppArgs = {\n onlyProduction?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n\nexport type MutationDeleteBackgroundActionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationDeleteEnvironmentArgs = {\n slug: Scalars['String']['input'];\n};\n\n\nexport type MutationEnableFrontendArgs = {\n hasShopifyConnection: Scalars['Boolean']['input'];\n};\n\n\nexport type MutationExportModelDataArgs = {\n filterSort?: InputMaybe<Scalars['JSON']['input']>;\n format?: InputMaybe<ModelExportFormat>;\n modelApiIdentifier: Scalars['String']['input'];\n selection?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\n\nexport type MutationMigrateEnvironmentsArgs = {\n existingToProduction: Scalars['Boolean']['input'];\n};\n\n\nexport type MutationPatchEnvironmentTreeArgs = {\n clientID: EnvironmentTreeClientId;\n patches: Array<Scalars['JSON']['input']>;\n txID?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type MutationPublishFileSyncEventsArgs = {\n input: PublishFileSyncEventsInput;\n};\n\n\nexport type MutationRefreshScopesArgs = {\n appConfigKey: Scalars['String']['input'];\n connectionKey: Scalars['String']['input'];\n shopId: Scalars['String']['input'];\n};\n\n\nexport type MutationRegisterWebhooksArgs = {\n connectionKey: Scalars['String']['input'];\n keepExtraTopics?: InputMaybe<Scalars['Boolean']['input']>;\n modelKeys?: InputMaybe<Array<Scalars['String']['input']>>;\n shopIds: Array<Scalars['String']['input']>;\n};\n\n\nexport type MutationRemoveContributorArgs = {\n email: Scalars['String']['input'];\n isInvitation: Scalars['Boolean']['input'];\n};\n\n\nexport type MutationSendAppInvitationArgs = {\n email?: InputMaybe<Scalars['String']['input']>;\n emails?: InputMaybe<Array<Scalars['String']['input']>>;\n resend?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n\nexport type MutationSetFrameworkVersionArgs = {\n constraint: Scalars['String']['input'];\n};\n\n\nexport type MutationStartLogsExportArgs = {\n end?: InputMaybe<Scalars['DateTime']['input']>;\n query: Scalars['String']['input'];\n start: Scalars['DateTime']['input'];\n};\n\n\nexport type MutationStartNextBackgroundActionAttemptNowArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationTriggerRunShopifySyncArgs = {\n shopIds: Array<Scalars['String']['input']>;\n};\n\n\nexport type MutationUninstallShopArgs = {\n shopId: Scalars['String']['input'];\n};\n\n\nexport type MutationUnregisterWebhooksArgs = {\n apiKeys?: InputMaybe<Array<Scalars['String']['input']>>;\n connectionKey: Scalars['String']['input'];\n modelKeys?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\n\nexport type MutationUploadFilesArgs = {\n files: Array<UploadFile>;\n};\n\n\nexport type MutationUploadTemplateAssetArgs = {\n file: Scalars['Upload']['input'];\n};\n\nexport type OffsetPageInfo = {\n __typename?: 'OffsetPageInfo';\n hasNextPage: Scalars['Boolean']['output'];\n hasPreviousPage: Scalars['Boolean']['output'];\n page: Scalars['Int']['output'];\n total: Scalars['Int']['output'];\n};\n\n/** Information about pagination in a connection. */\nexport type PageInfo = {\n __typename?: 'PageInfo';\n /** When paginating forwards, the cursor to continue. */\n endCursor?: Maybe<Scalars['String']['output']>;\n /** When paginating forwards, are there more items? */\n hasNextPage: Scalars['Boolean']['output'];\n /** When paginating backwards, are there more items? */\n hasPreviousPage: Scalars['Boolean']['output'];\n /** When paginating backwards, the cursor to continue. */\n startCursor?: Maybe<Scalars['String']['output']>;\n};\n\nexport type Problem = {\n __typename?: 'Problem';\n level: Scalars['String']['output'];\n message: Scalars['String']['output'];\n path: Scalars['String']['output'];\n type: Scalars['String']['output'];\n};\n\nexport type PublishFileSyncEventsInput = {\n changed: Array<FileSyncChangedEventInput>;\n deleted: Array<FileSyncDeletedEventInput>;\n expectedRemoteFilesVersion: Scalars['String']['input'];\n};\n\nexport type PublishFileSyncEventsResult = {\n __typename?: 'PublishFileSyncEventsResult';\n problems: Array<Problem>;\n remoteFilesVersion: Scalars['String']['output'];\n};\n\nexport type PublishIssue = {\n __typename?: 'PublishIssue';\n message: Scalars['String']['output'];\n node?: Maybe<PublishIssueNode>;\n nodeLabels?: Maybe<Array<Maybe<PublishIssueNodeLabel>>>;\n severity: Scalars['String']['output'];\n};\n\nexport type PublishIssueNode = {\n __typename?: 'PublishIssueNode';\n apiIdentifier?: Maybe<Scalars['String']['output']>;\n fieldType?: Maybe<Scalars['String']['output']>;\n key: Scalars['String']['output'];\n name?: Maybe<Scalars['String']['output']>;\n parentApiIdentifier?: Maybe<Scalars['String']['output']>;\n parentKey?: Maybe<Scalars['String']['output']>;\n type: Scalars['String']['output'];\n};\n\nexport type PublishIssueNodeLabel = {\n __typename?: 'PublishIssueNodeLabel';\n identifier?: Maybe<Scalars['String']['output']>;\n type?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PublishStatus = {\n __typename?: 'PublishStatus';\n code?: Maybe<Scalars['String']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n output?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PublishStatusState = {\n __typename?: 'PublishStatusState';\n issues: Array<PublishIssue>;\n progress: Scalars['String']['output'];\n publishStarted: Scalars['Boolean']['output'];\n remoteFilesVersion: Scalars['String']['output'];\n status?: Maybe<PublishStatus>;\n};\n\nexport type Query = {\n __typename?: 'Query';\n apiUpgradeConvergePlan?: Maybe<ApiUpgradeConvergePlanResult>;\n backgroundAction?: Maybe<BackgroundAction>;\n backgroundActions: BackgroundActionConnection;\n currentSession?: Maybe<Session>;\n currentUser: User;\n environmentTreeChildKeys: Array<Scalars['String']['output']>;\n environmentTreePath?: Maybe<Scalars['JSON']['output']>;\n environments: Array<Environment>;\n fileSyncComparisonHashes: FileSyncComparisonHashes;\n fileSyncFiles: FileSyncFiles;\n fileSyncHashes: FileSyncHashes;\n /** Meta information about the application, like it's name, schema, and other internal details. */\n gadgetMeta: GadgetApplicationMeta;\n identifySupportConversation?: Maybe<IdentifySupportConversationResult>;\n initialSnapshot: Scalars['JSON']['output'];\n internal?: Maybe<InternalQueries>;\n /** @deprecated use team */\n listContributors: Array<ContributorResult>;\n logsSearch: LogSearchResult;\n publishIssues: Array<PublishIssue>;\n remoteFilesVersion: Scalars['String']['output'];\n roles: Array<GadgetRole>;\n runTestSupportFunction?: Maybe<Scalars['JSON']['output']>;\n session?: Maybe<Session>;\n sessions: SessionConnection;\n team: TeamResult;\n typesManifest: TypesManifest;\n};\n\n\nexport type QueryApiUpgradeConvergePlanArgs = {\n currentVersion: Scalars['String']['input'];\n targetVersion: Scalars['String']['input'];\n};\n\n\nexport type QueryBackgroundActionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type QueryBackgroundActionsArgs = {\n filter?: InputMaybe<BackgroundActionFilter>;\n page?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryEnvironmentTreeChildKeysArgs = {\n path: Scalars['String']['input'];\n};\n\n\nexport type QueryEnvironmentTreePathArgs = {\n hydrateChildrenGlobs?: InputMaybe<Array<Scalars['String']['input']>>;\n path: Scalars['String']['input'];\n};\n\n\nexport type QueryFileSyncComparisonHashesArgs = {\n filesVersion: Scalars['String']['input'];\n};\n\n\nexport type QueryFileSyncFilesArgs = {\n encoding?: InputMaybe<FileSyncEncoding>;\n filesVersion?: InputMaybe<Scalars['String']['input']>;\n paths: Array<Scalars['String']['input']>;\n};\n\n\nexport type QueryFileSyncHashesArgs = {\n filesVersion?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryLogsSearchArgs = {\n direction?: InputMaybe<Scalars['String']['input']>;\n end?: InputMaybe<Scalars['DateTime']['input']>;\n limit?: InputMaybe<Scalars['Int']['input']>;\n query: Scalars['String']['input'];\n start?: InputMaybe<Scalars['DateTime']['input']>;\n step?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QuerySessionArgs = {\n id: Scalars['GadgetID']['input'];\n};\n\n\nexport type QuerySessionsArgs = {\n after?: InputMaybe<Scalars['String']['input']>;\n before?: InputMaybe<Scalars['String']['input']>;\n first?: InputMaybe<Scalars['Int']['input']>;\n last?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryTypesManifestArgs = {\n dependenciesHash: Scalars['String']['input'];\n environmentStatus?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RefreshScopesResult = {\n __typename?: 'RefreshScopesResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type RegisterWebhooksResult = {\n __typename?: 'RegisterWebhooksResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type RemoteFileSyncEvents = {\n __typename?: 'RemoteFileSyncEvents';\n changed: Array<FileSyncChangedEvent>;\n deleted: Array<FileSyncDeletedEvent>;\n remoteFilesVersion: Scalars['String']['output'];\n};\n\nexport type RemoveContributorResult = {\n __typename?: 'RemoveContributorResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\n/** A named group of permissions granted to a particular actor in the system. Managed in the Gadget editor. */\nexport type Role = {\n __typename?: 'Role';\n /** The stable identifier for this role. Null if the role has since been deleted. */\n key: Scalars['String']['output'];\n /** The human readable name for this role. Can be changed. */\n name: Scalars['String']['output'];\n};\n\nexport type SendAppInvitationResult = {\n __typename?: 'SendAppInvitationResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type Session = {\n __typename?: 'Session';\n /** Get all the fields for this record. Useful for not having to list out all the fields you want to retrieve, but slower. */\n _all: Scalars['JSONObject']['output'];\n /** The time at which this record was first created. Set once upon record creation and never changed. Managed by Gadget. */\n createdAt: Scalars['DateTime']['output'];\n /** The globally unique, unchanging identifier for this record. Assigned and managed by Gadget. */\n id?: Maybe<Scalars['GadgetID']['output']>;\n roles?: Maybe<Array<Role>>;\n /** The time at which this record was last changed. Set each time the record is successfully acted upon by an action. Managed by Gadget. */\n updatedAt: Scalars['DateTime']['output'];\n};\n\n/** A connection to a list of Session items. */\nexport type SessionConnection = {\n __typename?: 'SessionConnection';\n /** A list of edges. */\n edges: Array<SessionEdge>;\n /** Information to aid in pagination. */\n pageInfo: PageInfo;\n};\n\n/** An edge in a Session connection. */\nexport type SessionEdge = {\n __typename?: 'SessionEdge';\n /** A cursor for use in pagination */\n cursor: Scalars['String']['output'];\n /** The item at the end of the edge */\n node: Session;\n};\n\nexport type SetFrameworkVersionResult = {\n __typename?: 'SetFrameworkVersionResult';\n installDependenciesOperationKey?: Maybe<Scalars['String']['output']>;\n};\n\n/** This Error object is returned for errors which don't have other specific handling. It has a message which is safe to display to users, but is often technical in nature. It also has a `code` field which is documented in the Gadget API Error Codes docs. */\nexport type SimpleError = ExecutionError & {\n __typename?: 'SimpleError';\n /** The Gadget platform error code for this error. */\n code: Scalars['String']['output'];\n /** The human facing error message for this error. */\n message: Scalars['String']['output'];\n /** The stack for any exception that caused the error */\n stack?: Maybe<Scalars['String']['output']>;\n};\n\nexport type Subscription = {\n __typename?: 'Subscription';\n environmentTreePathPatches?: Maybe<EnvironmentSubscriptionResult>;\n logsSearch: LogSearchResult;\n publishStatus?: Maybe<PublishStatusState>;\n remoteFileSyncEvents: RemoteFileSyncEvents;\n reportClientPresence?: Maybe<Scalars['Boolean']['output']>;\n typesManifestStream: TypesManifest;\n};\n\n\nexport type SubscriptionEnvironmentTreePathPatchesArgs = {\n clientID: EnvironmentTreeClientId;\n path: Scalars['String']['input'];\n};\n\n\nexport type SubscriptionLogsSearchArgs = {\n limit?: InputMaybe<Scalars['Int']['input']>;\n query: Scalars['String']['input'];\n start?: InputMaybe<Scalars['DateTime']['input']>;\n};\n\n\nexport type SubscriptionPublishStatusArgs = {\n allowCharges?: InputMaybe<Scalars['Boolean']['input']>;\n force?: InputMaybe<Scalars['Boolean']['input']>;\n localFilesVersion: Scalars['String']['input'];\n};\n\n\nexport type SubscriptionRemoteFileSyncEventsArgs = {\n encoding?: InputMaybe<FileSyncEncoding>;\n localFilesVersion: Scalars['String']['input'];\n};\n\n\nexport type SubscriptionReportClientPresenceArgs = {\n clientID: EnvironmentTreeClientId;\n};\n\nexport type TeamEntitlements = {\n __typename?: 'TeamEntitlements';\n openAICredits?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type TeamMember = {\n __typename?: 'TeamMember';\n contributesToApp: Scalars['Boolean']['output'];\n email: Scalars['String']['output'];\n};\n\nexport type TeamResult = {\n __typename?: 'TeamResult';\n availableSeats?: Maybe<Scalars['Int']['output']>;\n canPublish: Scalars['Boolean']['output'];\n costPerApplication?: Maybe<Scalars['String']['output']>;\n costPerSeat?: Maybe<Scalars['String']['output']>;\n includedApplications?: Maybe<Scalars['Int']['output']>;\n includedApplicationsRemaining?: Maybe<Scalars['Int']['output']>;\n maxApplications?: Maybe<Scalars['Int']['output']>;\n teamEntitlements: TeamEntitlements;\n teamMembers: Array<TeamMember>;\n};\n\nexport type TriggerRunShopifySyncResult = {\n __typename?: 'TriggerRunShopifySyncResult';\n failedShopIds: Array<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n successfulShopIds: Array<Scalars['String']['output']>;\n};\n\nexport type TypeManifestEntry = {\n __typename?: 'TypeManifestEntry';\n declaration: Scalars['String']['output'];\n path: Scalars['String']['output'];\n};\n\nexport type TypesManifest = {\n __typename?: 'TypesManifest';\n cdn: Array<Scalars['String']['output']>;\n dependenciesHash: Scalars['String']['output'];\n entries: Array<TypeManifestEntry>;\n environmentVersion: Scalars['Int']['output'];\n};\n\nexport type UninstallShopResult = {\n __typename?: 'UninstallShopResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type UnregisterWebhooksResult = {\n __typename?: 'UnregisterWebhooksResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type UploadFile = {\n file: Scalars['Upload']['input'];\n path: Scalars['String']['input'];\n};\n\nexport type UploadFilesResult = {\n __typename?: 'UploadFilesResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type UploadTemplateAssetResult = {\n __typename?: 'UploadTemplateAssetResult';\n success: Scalars['Boolean']['output'];\n url?: Maybe<Scalars['String']['output']>;\n};\n\nexport type User = {\n __typename?: 'User';\n email: Scalars['String']['output'];\n name?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GadgetMetaModelsQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GadgetMetaModelsQuery = { __typename?: 'Query', gadgetMeta: { __typename?: 'GadgetApplicationMeta', models: Array<{ __typename?: 'GadgetModel', apiIdentifier: string }> } };\n\nexport type RemoteFileSyncEventsSubscriptionVariables = Exact<{\n localFilesVersion: Scalars['String']['input'];\n}>;\n\n\nexport type RemoteFileSyncEventsSubscription = { __typename?: 'Subscription', remoteFileSyncEvents: { __typename?: 'RemoteFileSyncEvents', remoteFilesVersion: string, changed: Array<{ __typename?: 'FileSyncChangedEvent', path: string, mode: number, content: string, encoding: FileSyncEncoding }>, deleted: Array<{ __typename?: 'FileSyncDeletedEvent', path: string }> } };\n\nexport type RemoteFilesVersionQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type RemoteFilesVersionQuery = { __typename?: 'Query', remoteFilesVersion: string };\n\nexport type PublishFileSyncEventsMutationVariables = Exact<{\n input: PublishFileSyncEventsInput;\n}>;\n\n\nexport type PublishFileSyncEventsMutation = { __typename?: 'Mutation', publishFileSyncEvents: { __typename?: 'PublishFileSyncEventsResult', remoteFilesVersion: string, problems: Array<{ __typename?: 'Problem', level: string, message: string, path: string, type: string }> } };\n\nexport type FileSyncFilesQueryVariables = Exact<{\n paths: Array<Scalars['String']['input']> | Scalars['String']['input'];\n filesVersion?: InputMaybe<Scalars['String']['input']>;\n encoding?: InputMaybe<FileSyncEncoding>;\n}>;\n\n\nexport type FileSyncFilesQuery = { __typename?: 'Query', fileSyncFiles: { __typename?: 'FileSyncFiles', filesVersion: string, files: Array<{ __typename?: 'FileSyncFile', path: string, mode: number, content: string, encoding: FileSyncEncoding }> } };\n\nexport type FileSyncHashesQueryVariables = Exact<{\n filesVersion?: InputMaybe<Scalars['String']['input']>;\n}>;\n\n\nexport type FileSyncHashesQuery = { __typename?: 'Query', fileSyncHashes: { __typename?: 'FileSyncHashes', filesVersion: string, hashes: { [key: string]: any } } };\n\nexport type FileSyncComparisonHashesQueryVariables = Exact<{\n filesVersion: Scalars['String']['input'];\n}>;\n\n\nexport type FileSyncComparisonHashesQuery = { __typename?: 'Query', fileSyncComparisonHashes: { __typename?: 'FileSyncComparisonHashes', filesVersionHashes: { __typename?: 'FileSyncHashes', filesVersion: string, hashes: { [key: string]: any } }, latestFilesVersionHashes: { __typename?: 'FileSyncHashes', filesVersion: string, hashes: { [key: string]: any } } } };\n\nexport type PublishStatusSubscriptionVariables = Exact<{\n localFilesVersion: Scalars['String']['input'];\n force?: InputMaybe<Scalars['Boolean']['input']>;\n allowCharges?: InputMaybe<Scalars['Boolean']['input']>;\n}>;\n\n\nexport type PublishStatusSubscription = { __typename?: 'Subscription', publishStatus?: { __typename?: 'PublishStatusState', publishStarted: boolean, remoteFilesVersion: string, progress: string, issues: Array<{ __typename?: 'PublishIssue', severity: string, message: string, node?: { __typename?: 'PublishIssueNode', type: string, key: string, apiIdentifier?: string | null, name?: string | null, fieldType?: string | null, parentKey?: string | null, parentApiIdentifier?: string | null } | null, nodeLabels?: Array<{ __typename?: 'PublishIssueNodeLabel', type?: string | null, identifier?: string | null } | null> | null }>, status?: { __typename?: 'PublishStatus', code?: string | null, message?: string | null, output?: string | null } | null } | null };\n"],"names":["BackgroundActionAttemptState","BackgroundActionState","EnvironmentStatus","EnvironmentType","FileSyncEncoding","GadgetFieldType","ModelExportFormat"],"mappings":"AAAA;;;;;;CAMC;UAqFWA;;;;GAAAA,iCAAAA;;UAkBAC;;;;;;;;GAAAA,0BAAAA;;UAuEAC;;;;;GAAAA,sBAAAA;;UAiBAC;;;;GAAAA,oBAAAA;;UA8CAC;;;GAAAA,qBAAAA;;UAwKAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAAA,oBAAAA;;UAoXAC;;;GAAAA,sBAAAA"}
1
+ {"version":3,"sources":["../../src/__generated__/graphql.ts"],"sourcesContent":["/**\n * ======================================================\n * THIS IS A GENERATED FILE! DO NOT EDIT IT MANUALLY!\n *\n * You can regenerate it by running `npm run generate-graphql`.\n * ======================================================\n */\n\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n /** A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */\n Date: { input: any; output: any; }\n /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */\n DateTime: { input: any; output: any; }\n /** The ID of a record in Gadget */\n GadgetID: { input: any; output: any; }\n /** Instructions for a client to turn raw transport types (like strings) into useful client side types (like Dates). Unstable and not intended for developer use. */\n HydrationPlan: { input: any; output: any; }\n /** Represents one session result record in internal api calls. Returns a JSON blob of all the record's fields. */\n InternalSessionRecord: { input: any; output: any; }\n /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */\n JSON: { input: { [key: string]: any }; output: { [key: string]: any }; }\n /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */\n JSONObject: { input: any; output: any; }\n /** Represents the state of one record in a Gadget database. Represented as either a string or set of strings nested in objects. */\n RecordState: { input: any; output: any; }\n /** The `Upload` scalar type represents a file upload. */\n Upload: { input: any; output: any; }\n};\n\nexport type ApiUpgradeConvergePlanResult = {\n __typename?: 'APIUpgradeConvergePlanResult';\n items: Array<Scalars['JSON']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type AccessToken = {\n __typename?: 'AccessToken';\n createdAt: Scalars['DateTime']['output'];\n creator: PlatformAccessTokenUser;\n id: Scalars['String']['output'];\n name: Scalars['String']['output'];\n tokenPrefix: Scalars['String']['output'];\n};\n\nexport type AddApplicationTagResult = {\n __typename?: 'AddApplicationTagResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type AddUserTagResult = {\n __typename?: 'AddUserTagResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type AppDomain = {\n __typename?: 'AppDomain';\n environmentType: Scalars['String']['output'];\n host: Scalars['String']['output'];\n isPrimary: Scalars['Boolean']['output'];\n};\n\nexport type BackgroundAction = {\n __typename?: 'BackgroundAction';\n actionApiIdentifier: Scalars['String']['output'];\n attempts: Array<BackgroundActionAttempt>;\n cancelledAt?: Maybe<Scalars['DateTime']['output']>;\n createdDate: Scalars['DateTime']['output'];\n id: Scalars['String']['output'];\n lastAttemptFinishedAt?: Maybe<Scalars['DateTime']['output']>;\n lastAttemptStartedAt?: Maybe<Scalars['DateTime']['output']>;\n lastRestartedAt?: Maybe<Scalars['DateTime']['output']>;\n nextAttemptStartsAfter?: Maybe<Scalars['DateTime']['output']>;\n payload: Scalars['JSON']['output'];\n priority: Scalars['String']['output'];\n queue?: Maybe<Scalars['String']['output']>;\n result?: Maybe<Scalars['JSON']['output']>;\n retryPolicy: Scalars['JSON']['output'];\n state: BackgroundActionState;\n type: Scalars['String']['output'];\n};\n\nexport type BackgroundActionAttempt = {\n __typename?: 'BackgroundActionAttempt';\n attemptNumber: Scalars['Int']['output'];\n createdDate?: Maybe<Scalars['DateTime']['output']>;\n details: Scalars['JSON']['output'];\n failureReason?: Maybe<Scalars['JSON']['output']>;\n failureSummary?: Maybe<Scalars['String']['output']>;\n finishedDate?: Maybe<Scalars['DateTime']['output']>;\n id: Scalars['String']['output'];\n startedDate?: Maybe<Scalars['DateTime']['output']>;\n state: BackgroundActionAttemptState;\n};\n\nexport enum BackgroundActionAttemptState {\n Failed = 'FAILED',\n Running = 'RUNNING',\n Succeeded = 'SUCCEEDED'\n}\n\nexport type BackgroundActionBulkResult = {\n __typename?: 'BackgroundActionBulkResult';\n failedCount: Scalars['Int']['output'];\n successCount: Scalars['Int']['output'];\n};\n\nexport type BackgroundActionConnection = {\n __typename?: 'BackgroundActionConnection';\n nodes: Array<BackgroundAction>;\n pageInfo: OffsetPageInfo;\n};\n\nexport type BackgroundActionFilter = {\n inState?: InputMaybe<Array<BackgroundActionState>>;\n priority?: InputMaybe<Scalars['String']['input']>;\n search?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport enum BackgroundActionState {\n Cancelled = 'CANCELLED',\n Completed = 'COMPLETED',\n Failed = 'FAILED',\n Retrying = 'RETRYING',\n Running = 'RUNNING',\n Scheduled = 'SCHEDULED',\n Waiting = 'WAITING'\n}\n\nexport type ChangeAppDomainResult = {\n __typename?: 'ChangeAppDomainResult';\n onlyValidate?: Maybe<Scalars['Boolean']['output']>;\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type ChangeEnvironmentSlugResult = {\n __typename?: 'ChangeEnvironmentSlugResult';\n onlyValidate?: Maybe<Scalars['Boolean']['output']>;\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type ContributorResult = {\n __typename?: 'ContributorResult';\n email: Scalars['String']['output'];\n isOwner: Scalars['Boolean']['output'];\n isPending: Scalars['Boolean']['output'];\n};\n\nexport type CreateModelFieldsInput = {\n fieldType: Scalars['String']['input'];\n name: Scalars['String']['input'];\n};\n\nexport type CreateModelInput = {\n fields: Array<CreateModelFieldsInput>;\n path: Scalars['String']['input'];\n};\n\nexport type DeleteAppStatusResult = {\n __typename?: 'DeleteAppStatusResult';\n isNotCreator?: Maybe<Scalars['Boolean']['output']>;\n isNotOwner?: Maybe<Scalars['Boolean']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\n/** One upload target to use for the Direct Upload style of sending files to Gadget */\nexport type DirectUploadToken = {\n __typename?: 'DirectUploadToken';\n /** The token to pass to an action to reference the uploaded file. */\n token: Scalars['String']['output'];\n /** The URL to upload a file to. */\n url: Scalars['String']['output'];\n};\n\nexport type EnableFrontendResult = {\n __typename?: 'EnableFrontendResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type Environment = {\n __typename?: 'Environment';\n id: Scalars['String']['output'];\n lastUserEditDate: Scalars['DateTime']['output'];\n name: Scalars['String']['output'];\n slug: Scalars['String']['output'];\n status: EnvironmentStatus;\n type: EnvironmentType;\n};\n\nexport type EnvironmentInput = {\n slug: Scalars['String']['input'];\n sourceSlug?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type EnvironmentPatchResult = {\n __typename?: 'EnvironmentPatchResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type EnvironmentPublishResult = {\n __typename?: 'EnvironmentPublishResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport enum EnvironmentStatus {\n Active = 'ACTIVE',\n FatalError = 'FATAL_ERROR',\n Paused = 'PAUSED',\n Pending = 'PENDING'\n}\n\nexport type EnvironmentSubscriptionResult = {\n __typename?: 'EnvironmentSubscriptionResult';\n patches: Array<Scalars['JSON']['output']>;\n};\n\nexport type EnvironmentTreeClientId = {\n clientType: Scalars['String']['input'];\n id: Scalars['String']['input'];\n};\n\nexport enum EnvironmentType {\n Development = 'DEVELOPMENT',\n Production = 'PRODUCTION',\n Test = 'TEST'\n}\n\nexport type ExecutionError = {\n /** The Gadget platform error code for this error. */\n code: Scalars['String']['output'];\n /** The human facing error message for this error. */\n message: Scalars['String']['output'];\n /** The stack for any exception that caused the error. Only available for super users. */\n stack?: Maybe<Scalars['String']['output']>;\n};\n\nexport type FileSyncChangedEvent = {\n __typename?: 'FileSyncChangedEvent';\n content: Scalars['String']['output'];\n encoding: FileSyncEncoding;\n mode: Scalars['Float']['output'];\n path: Scalars['String']['output'];\n};\n\nexport type FileSyncChangedEventInput = {\n content: Scalars['String']['input'];\n encoding?: InputMaybe<FileSyncEncoding>;\n mode: Scalars['Float']['input'];\n oldPath?: InputMaybe<Scalars['String']['input']>;\n path: Scalars['String']['input'];\n};\n\nexport type FileSyncComparisonHashes = {\n __typename?: 'FileSyncComparisonHashes';\n filesVersionHashes: FileSyncHashes;\n latestFilesVersionHashes: FileSyncHashes;\n};\n\nexport type FileSyncDeletedEvent = {\n __typename?: 'FileSyncDeletedEvent';\n path: Scalars['String']['output'];\n};\n\nexport type FileSyncDeletedEventInput = {\n path: Scalars['String']['input'];\n};\n\nexport enum FileSyncEncoding {\n Base64 = 'base64',\n Utf8 = 'utf8'\n}\n\nexport type FileSyncFile = {\n __typename?: 'FileSyncFile';\n content: Scalars['String']['output'];\n encoding: FileSyncEncoding;\n mode: Scalars['Float']['output'];\n path: Scalars['String']['output'];\n};\n\nexport type FileSyncFiles = {\n __typename?: 'FileSyncFiles';\n files: Array<FileSyncFile>;\n filesVersion: Scalars['String']['output'];\n};\n\nexport type FileSyncHashes = {\n __typename?: 'FileSyncHashes';\n filesVersion: Scalars['String']['output'];\n hashes: Scalars['JSON']['output'];\n};\n\nexport type GadgetAction = {\n __typename?: 'GadgetAction';\n acceptsInput: Scalars['Boolean']['output'];\n apiIdentifier: Scalars['String']['output'];\n availableInBulk: Scalars['Boolean']['output'];\n bulkApiIdentifier?: Maybe<Scalars['String']['output']>;\n bulkInvokedByIDOnly: Scalars['Boolean']['output'];\n examples?: Maybe<GadgetActionGraphQlType>;\n hasAmbiguousIdentifier: Scalars['Boolean']['output'];\n /** @deprecated This field will be removed. Use `isCreateOrUpdateAction` instead. */\n hasCreateOrUpdateEffect: Scalars['Boolean']['output'];\n /** @deprecated This field will be removed. Use `isDeleteAction` instead. */\n hasDeleteRecordEffect: Scalars['Boolean']['output'];\n inputFields: Array<GadgetObjectField>;\n isCreateOrUpdateAction: Scalars['Boolean']['output'];\n isDeleteAction: Scalars['Boolean']['output'];\n name: Scalars['String']['output'];\n operatesWithRecordIdentity: Scalars['Boolean']['output'];\n possibleTransitions: Scalars['JSONObject']['output'];\n requiresInput: Scalars['Boolean']['output'];\n triggers?: Maybe<Array<GadgetTrigger>>;\n};\n\nexport type GadgetActionGraphQlType = {\n __typename?: 'GadgetActionGraphQLType';\n bulkOutputGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n exampleBulkGraphQLMutation?: Maybe<Scalars['String']['output']>;\n exampleBulkGraphQLVariables?: Maybe<Scalars['JSON']['output']>;\n exampleBulkImperativeInvocation?: Maybe<Scalars['String']['output']>;\n /** @deprecated moved to exampleBulkGraphQLMutation */\n exampleBulkMutation?: Maybe<Scalars['String']['output']>;\n exampleBulkReactHook?: Maybe<Scalars['String']['output']>;\n exampleGraphQLMutation: Scalars['String']['output'];\n exampleGraphQLVariables: Scalars['JSON']['output'];\n exampleImperativeInvocation: Scalars['String']['output'];\n exampleJSInputs: Scalars['JSON']['output'];\n /** @deprecated moved to exampleGraphQLMutation */\n exampleMutation: Scalars['String']['output'];\n exampleReactHook: Scalars['String']['output'];\n inputGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n inputTypeScriptInterface?: Maybe<Scalars['String']['output']>;\n outputGraphQLTypeSDL: Scalars['String']['output'];\n outputTypeScriptInterface: Scalars['String']['output'];\n};\n\nexport type GadgetApplicationMeta = {\n __typename?: 'GadgetApplicationMeta';\n allHydrations: Scalars['JSON']['output'];\n /** The roles that the entity making this API call has been assigned */\n assignedRoles: Array<GadgetRole>;\n canonicalRenderURL: Scalars['String']['output'];\n developmentGraphQLEndpoint: Scalars['String']['output'];\n developmentRenderURL: Scalars['String']['output'];\n directUploadToken?: Maybe<DirectUploadToken>;\n editURL: Scalars['String']['output'];\n environmentID: Scalars['GadgetID']['output'];\n environmentName: Scalars['String']['output'];\n environmentSlug: Scalars['String']['output'];\n firstModelForExamples: GadgetModel;\n globalActions: Array<GadgetGlobalAction>;\n graphQLEndpoint: Scalars['String']['output'];\n hasGlobalActions: Scalars['Boolean']['output'];\n hasLegacyEffectCards: Scalars['Boolean']['output'];\n hasShopifyConnection: Scalars['Boolean']['output'];\n hasSplitEnvironments: Scalars['Boolean']['output'];\n hydrations?: Maybe<Scalars['HydrationPlan']['output']>;\n id: Scalars['GadgetID']['output'];\n jsPackageIdentifier: Scalars['String']['output'];\n jsPackageTarballURL: Scalars['String']['output'];\n model?: Maybe<GadgetModel>;\n models: Array<GadgetModel>;\n name: Scalars['String']['output'];\n productionGraphQLEndpoint: Scalars['String']['output'];\n productionRenderURL: Scalars['String']['output'];\n referencedHydrations: Scalars['JSON']['output'];\n roles: Array<GadgetRole>;\n /** @deprecated The current session is available as the root field `currentSession` on the root Query object, which has the ID as well as other attributes of the session. */\n sessionID?: Maybe<Scalars['String']['output']>;\n shopifyConnectionApiVersion?: Maybe<Scalars['String']['output']>;\n slug: Scalars['String']['output'];\n};\n\n\nexport type GadgetApplicationMetaDirectUploadTokenArgs = {\n nonce?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type GadgetApplicationMetaHydrationsArgs = {\n modelName: Scalars['String']['input'];\n};\n\n\nexport type GadgetApplicationMetaModelArgs = {\n apiIdentifier?: InputMaybe<Scalars['String']['input']>;\n key?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type GadgetBelongsToConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetBelongsToConfig';\n fieldType: GadgetFieldType;\n isConfigured: Scalars['Boolean']['output'];\n isInverseConfigured: Scalars['Boolean']['output'];\n relatedModel?: Maybe<GadgetModel>;\n relatedModelKey?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GadgetDateTimeConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetDateTimeConfig';\n fieldType: GadgetFieldType;\n includeTime: Scalars['Boolean']['output'];\n};\n\nexport type GadgetEnumConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetEnumConfig';\n allowMultiple: Scalars['Boolean']['output'];\n allowOther: Scalars['Boolean']['output'];\n fieldType: GadgetFieldType;\n options: Array<GadgetEnumOption>;\n};\n\nexport type GadgetEnumOption = {\n __typename?: 'GadgetEnumOption';\n color: Scalars['String']['output'];\n name: Scalars['String']['output'];\n};\n\nexport type GadgetField = {\n apiIdentifier: Scalars['String']['output'];\n configuration: GadgetFieldConfigInterface;\n fieldType: GadgetFieldType;\n hasDefault: Scalars['Boolean']['output'];\n name: Scalars['String']['output'];\n required: Scalars['Boolean']['output'];\n requiredArgumentForInput: Scalars['Boolean']['output'];\n};\n\n/** The common bits that all field configuration types share */\nexport type GadgetFieldConfigInterface = {\n fieldType: GadgetFieldType;\n};\n\n/** The type of a given field of a model or other in-transit object within Gadget's type system */\nexport enum GadgetFieldType {\n Any = 'Any',\n Array = 'Array',\n BelongsTo = 'BelongsTo',\n Boolean = 'Boolean',\n Code = 'Code',\n Color = 'Color',\n Computed = 'Computed',\n DateTime = 'DateTime',\n Email = 'Email',\n EncryptedString = 'EncryptedString',\n Enum = 'Enum',\n File = 'File',\n HasMany = 'HasMany',\n HasManyThrough = 'HasManyThrough',\n HasOne = 'HasOne',\n Id = 'ID',\n Json = 'JSON',\n Money = 'Money',\n Null = 'Null',\n Number = 'Number',\n Object = 'Object',\n Password = 'Password',\n RecordState = 'RecordState',\n RichText = 'RichText',\n RoleAssignments = 'RoleAssignments',\n String = 'String',\n Url = 'URL',\n Vector = 'Vector'\n}\n\nexport type GadgetFieldUsageExample = {\n __typename?: 'GadgetFieldUsageExample';\n exampleGraphQLMutation: Scalars['String']['output'];\n exampleGraphQLVariables: Scalars['JSON']['output'];\n exampleImperativeInvocation: Scalars['String']['output'];\n exampleReactHook: Scalars['String']['output'];\n};\n\nexport type GadgetGenericFieldConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetGenericFieldConfig';\n fieldType: GadgetFieldType;\n};\n\nexport type GadgetGlobalAction = {\n __typename?: 'GadgetGlobalAction';\n acceptsInput: Scalars['Boolean']['output'];\n apiIdentifier: Scalars['String']['output'];\n examples?: Maybe<GadgetGlobalActionGraphQlType>;\n name: Scalars['String']['output'];\n namespace: Array<Scalars['String']['output']>;\n requiresInput: Scalars['Boolean']['output'];\n triggers?: Maybe<Array<GadgetTrigger>>;\n};\n\nexport type GadgetGlobalActionGraphQlType = {\n __typename?: 'GadgetGlobalActionGraphQLType';\n exampleGraphQLMutation: Scalars['String']['output'];\n exampleGraphQLVariables: Scalars['JSON']['output'];\n exampleImperativeInvocation: Scalars['String']['output'];\n exampleJSInputs: Scalars['JSON']['output'];\n /** @deprecated moved to exampleGraphQLMutation */\n exampleMutation: Scalars['String']['output'];\n exampleReactHook: Scalars['String']['output'];\n inputGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n inputTypeScriptInterface?: Maybe<Scalars['String']['output']>;\n outputGraphQLTypeSDL: Scalars['String']['output'];\n outputTypeScriptInterface: Scalars['String']['output'];\n};\n\nexport type GadgetHasManyConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetHasManyConfig';\n fieldType: GadgetFieldType;\n isConfigured: Scalars['Boolean']['output'];\n isInverseConfigured: Scalars['Boolean']['output'];\n relatedModel?: Maybe<GadgetModel>;\n relatedModelKey?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GadgetModel = {\n __typename?: 'GadgetModel';\n action?: Maybe<GadgetAction>;\n actions: Array<GadgetAction>;\n apiIdentifier: Scalars['String']['output'];\n currentSingletonApiIdentifier?: Maybe<Scalars['String']['output']>;\n exampleFilterQuery: Scalars['String']['output'];\n exampleFindMostRecentlyCreatedQuery: Scalars['String']['output'];\n exampleFullFindFirstQuery: Scalars['String']['output'];\n exampleFullFindManyQuery: Scalars['String']['output'];\n exampleFullFindOneQuery: Scalars['String']['output'];\n exampleInternalBulkCreateMutation: Scalars['String']['output'];\n exampleInternalCreateMutation: Scalars['String']['output'];\n exampleInternalDeleteManyMutation: Scalars['String']['output'];\n exampleInternalDeleteMutation: Scalars['String']['output'];\n exampleInternalFindFirstQuery: Scalars['String']['output'];\n exampleInternalFindManyQuery: Scalars['String']['output'];\n exampleInternalFindOneQuery: Scalars['String']['output'];\n exampleInternalUpdateMutation: Scalars['String']['output'];\n examplePaginationQuery: Scalars['String']['output'];\n exampleSearchQuery: Scalars['String']['output'];\n exampleSimpleFindManyQuery: Scalars['String']['output'];\n exampleSimpleFindOneQuery: Scalars['String']['output'];\n fields: Array<GadgetModelField>;\n filterGraphQLTypeName?: Maybe<Scalars['String']['output']>;\n filterGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n filterable: Scalars['Boolean']['output'];\n graphQLTypeName: Scalars['String']['output'];\n graphQLTypeSDL: Scalars['String']['output'];\n initialCreatedState?: Maybe<Scalars['String']['output']>;\n key: Scalars['String']['output'];\n name: Scalars['String']['output'];\n namespace?: Maybe<Array<Scalars['String']['output']>>;\n pluralApiIdentifier: Scalars['String']['output'];\n pluralName: Scalars['String']['output'];\n searchable: Scalars['Boolean']['output'];\n sortGraphQLTypeName?: Maybe<Scalars['String']['output']>;\n sortGraphQLTypeSDL?: Maybe<Scalars['String']['output']>;\n sortable: Scalars['Boolean']['output'];\n typescriptTypeInterface: Scalars['String']['output'];\n typescriptTypeInterfaceName: Scalars['String']['output'];\n};\n\n\nexport type GadgetModelActionArgs = {\n apiIdentifier: Scalars['String']['input'];\n};\n\n/** One field of a Gadget model */\nexport type GadgetModelField = GadgetField & {\n __typename?: 'GadgetModelField';\n apiIdentifier: Scalars['String']['output'];\n configuration: GadgetFieldConfigInterface;\n examples: GadgetModelFieldExamples;\n fieldType: GadgetFieldType;\n filterable: Scalars['Boolean']['output'];\n hasDefault: Scalars['Boolean']['output'];\n isUniqueField: Scalars['Boolean']['output'];\n name: Scalars['String']['output'];\n required: Scalars['Boolean']['output'];\n requiredArgumentForInput: Scalars['Boolean']['output'];\n sortable: Scalars['Boolean']['output'];\n};\n\nexport type GadgetModelFieldExamples = {\n __typename?: 'GadgetModelFieldExamples';\n createNestedInParent?: Maybe<GadgetFieldUsageExample>;\n linkExistingChild?: Maybe<GadgetFieldUsageExample>;\n linkNewChild?: Maybe<GadgetFieldUsageExample>;\n linkToExistingParent?: Maybe<GadgetFieldUsageExample>;\n};\n\n/** One field of an action input or other transitory object in Gadget */\nexport type GadgetObjectField = GadgetField & {\n __typename?: 'GadgetObjectField';\n apiIdentifier: Scalars['String']['output'];\n configuration: GadgetFieldConfigInterface;\n fieldType: GadgetFieldType;\n hasDefault: Scalars['Boolean']['output'];\n name: Scalars['String']['output'];\n required: Scalars['Boolean']['output'];\n requiredArgumentForInput: Scalars['Boolean']['output'];\n};\n\nexport type GadgetObjectFieldConfig = GadgetFieldConfigInterface & {\n __typename?: 'GadgetObjectFieldConfig';\n fieldType: GadgetFieldType;\n fields: Array<GadgetModelField>;\n name?: Maybe<Scalars['String']['output']>;\n};\n\n/** Represents one of the roles an identity in the system can be entitled to */\nexport type GadgetRole = {\n __typename?: 'GadgetRole';\n key: Scalars['String']['output'];\n name: Scalars['String']['output'];\n order: Scalars['Int']['output'];\n selectable: Scalars['Boolean']['output'];\n};\n\nexport type GadgetTrigger = {\n __typename?: 'GadgetTrigger';\n specID: Scalars['String']['output'];\n};\n\nexport type GadgetV1MigrationEligibilityResult = {\n __typename?: 'GadgetV1MigrationEligibilityResult';\n eligible: Scalars['Boolean']['output'];\n reason?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GeneratePlatformAccessTokenResult = {\n __typename?: 'GeneratePlatformAccessTokenResult';\n createdAt: Scalars['DateTime']['output'];\n creator: PlatformAccessTokenUser;\n id: Scalars['String']['output'];\n name: Scalars['String']['output'];\n token: Scalars['String']['output'];\n};\n\nexport type IdentifySupportConversationResult = {\n __typename?: 'IdentifySupportConversationResult';\n identificationEmail: Scalars['String']['output'];\n identificationToken: Scalars['String']['output'];\n};\n\nexport type InternalBulkCreateSessionsResult = {\n __typename?: 'InternalBulkCreateSessionsResult';\n errors?: Maybe<Array<ExecutionError>>;\n sessions?: Maybe<Array<Maybe<Scalars['InternalSessionRecord']['output']>>>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type InternalCreateSessionResult = {\n __typename?: 'InternalCreateSessionResult';\n errors?: Maybe<Array<ExecutionError>>;\n session?: Maybe<Scalars['InternalSessionRecord']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type InternalDeleteManySessionResult = {\n __typename?: 'InternalDeleteManySessionResult';\n errors?: Maybe<Array<ExecutionError>>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type InternalDeleteSessionResult = {\n __typename?: 'InternalDeleteSessionResult';\n errors?: Maybe<Array<ExecutionError>>;\n session?: Maybe<Scalars['InternalSessionRecord']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type InternalMutations = {\n __typename?: 'InternalMutations';\n /** Acquire a backend lock, returning only once the lock has been acquired */\n acquireLock: LockOperationResult;\n bulkCreateSessions?: Maybe<InternalBulkCreateSessionsResult>;\n commitTransaction: Scalars['String']['output'];\n createSession?: Maybe<InternalCreateSessionResult>;\n deleteManySession?: Maybe<InternalDeleteManySessionResult>;\n deleteSession?: Maybe<InternalDeleteSessionResult>;\n rollbackTransaction: Scalars['String']['output'];\n startTransaction: Scalars['String']['output'];\n updateSession?: Maybe<InternalUpdateSessionResult>;\n};\n\n\nexport type InternalMutationsAcquireLockArgs = {\n lock: Scalars['String']['input'];\n};\n\n\nexport type InternalMutationsBulkCreateSessionsArgs = {\n sessions: Array<InputMaybe<InternalSessionInput>>;\n};\n\n\nexport type InternalMutationsCreateSessionArgs = {\n session?: InputMaybe<InternalSessionInput>;\n};\n\n\nexport type InternalMutationsDeleteSessionArgs = {\n id: Scalars['GadgetID']['input'];\n};\n\n\nexport type InternalMutationsUpdateSessionArgs = {\n id: Scalars['GadgetID']['input'];\n session?: InputMaybe<InternalSessionInput>;\n};\n\nexport type InternalQueries = {\n __typename?: 'InternalQueries';\n /** Currently open platform transaction details, or null if no transaction is open */\n currentTransactionDetails?: Maybe<Scalars['JSONObject']['output']>;\n listSession: InternalSessionRecordConnection;\n session?: Maybe<Scalars['InternalSessionRecord']['output']>;\n};\n\n\nexport type InternalQueriesListSessionArgs = {\n after?: InputMaybe<Scalars['String']['input']>;\n before?: InputMaybe<Scalars['String']['input']>;\n first?: InputMaybe<Scalars['Int']['input']>;\n last?: InputMaybe<Scalars['Int']['input']>;\n select?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\n\nexport type InternalQueriesSessionArgs = {\n id: Scalars['GadgetID']['input'];\n select?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\nexport type InternalSessionInput = {\n createdAt?: InputMaybe<Scalars['DateTime']['input']>;\n id?: InputMaybe<Scalars['GadgetID']['input']>;\n /** A string list of Gadget platform Role keys to assign to this record */\n roles?: InputMaybe<Array<Scalars['String']['input']>>;\n state?: InputMaybe<Scalars['RecordState']['input']>;\n stateHistory?: InputMaybe<Scalars['RecordState']['input']>;\n updatedAt?: InputMaybe<Scalars['DateTime']['input']>;\n};\n\n/** A connection to a list of InternalSessionRecord items. */\nexport type InternalSessionRecordConnection = {\n __typename?: 'InternalSessionRecordConnection';\n /** A list of edges. */\n edges: Array<InternalSessionRecordEdge>;\n /** Information to aid in pagination. */\n pageInfo: PageInfo;\n};\n\n/** An edge in a InternalSessionRecord connection. */\nexport type InternalSessionRecordEdge = {\n __typename?: 'InternalSessionRecordEdge';\n /** A cursor for use in pagination */\n cursor: Scalars['String']['output'];\n /** The item at the end of the edge */\n node: Scalars['InternalSessionRecord']['output'];\n};\n\nexport type InternalUpdateSessionResult = {\n __typename?: 'InternalUpdateSessionResult';\n errors?: Maybe<Array<ExecutionError>>;\n session?: Maybe<Scalars['InternalSessionRecord']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\n/** This Error object represents one individual failed validation for a record field. It has a message which is appropriate for display to a user, and lists the apiIdentifier of the field in question. The `apiIdentifier` for the field is not guaranteed to exist on the model. */\nexport type InvalidFieldError = {\n __typename?: 'InvalidFieldError';\n /** The apiIdentifier of the field this error occurred on. */\n apiIdentifier: Scalars['String']['output'];\n /** The human facing error message for this error. */\n message: Scalars['String']['output'];\n};\n\n/** This object is returned as an error when a record doesn't pass the defined validations on the model. The validation messages for each of the invalid fields are available via the other fields on this error type. */\nexport type InvalidRecordError = ExecutionError & {\n __typename?: 'InvalidRecordError';\n /** The Gadget platform error code for this InvalidRecordError. */\n code: Scalars['String']['output'];\n /** The human facing error message for this error. */\n message: Scalars['String']['output'];\n /** The model of the record which failed validation */\n model?: Maybe<GadgetModel>;\n /** The record which failed validation, if available. Returns all the owned fields of the record -- no sub-selections are required or possible. Only available for super users. */\n record?: Maybe<Scalars['JSONObject']['output']>;\n /** The stack for any exception that caused the error */\n stack?: Maybe<Scalars['String']['output']>;\n /** A list of InvalidFieldError objects describing each of the errors encountered on the invalid record. */\n validationErrors?: Maybe<Array<InvalidFieldError>>;\n /** An object mapping field apiIdentifiers to arrays of validation error message strings for that field, as a JSON object. The object may have keys that don't correspond exactly to field apiIdentifiers if added by validations, and the object may have missing keys if no errors were encountered for that field. */\n validationErrorsByField?: Maybe<Scalars['JSONObject']['output']>;\n};\n\nexport type LockOperationResult = {\n __typename?: 'LockOperationResult';\n /** Any errors encountered during the locking/unlocking operation */\n errors?: Maybe<Array<ExecutionError>>;\n /** Whether the lock operation succeeded */\n success: Scalars['Boolean']['output'];\n};\n\nexport type LogSearchResult = {\n __typename?: 'LogSearchResult';\n data: Scalars['JSON']['output'];\n status: Scalars['String']['output'];\n};\n\nexport type MigrateAacResult = {\n __typename?: 'MigrateAACResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type MigrateEnvironmentsResult = {\n __typename?: 'MigrateEnvironmentsResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type MigrateGadgetV1Result = {\n __typename?: 'MigrateGadgetV1Result';\n installDependenciesOperationKey?: Maybe<Scalars['String']['output']>;\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type MigrateGadgetV1Status = {\n __typename?: 'MigrateGadgetV1Status';\n inProgress: Scalars['Boolean']['output'];\n progress?: Maybe<Scalars['String']['output']>;\n progressDetails?: Maybe<MigrateGadgetV1StatusProgressDetails>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type MigrateGadgetV1StatusProgressDetails = {\n __typename?: 'MigrateGadgetV1StatusProgressDetails';\n current: Scalars['Int']['output'];\n total: Scalars['Int']['output'];\n};\n\nexport enum ModelExportFormat {\n Csv = 'CSV',\n Ndjson = 'NDJSON'\n}\n\nexport type Mutation = {\n __typename?: 'Mutation';\n addApplicationTag?: Maybe<AddApplicationTagResult>;\n addUserTag?: Maybe<AddUserTagResult>;\n bulkCancelBackgroundActions: BackgroundActionBulkResult;\n bulkDeleteBackgroundActions: BackgroundActionBulkResult;\n bulkStartNextBackgroundActionAttemptsNow: BackgroundActionBulkResult;\n cancelBackgroundAction: BackgroundAction;\n changeAppDomain?: Maybe<ChangeAppDomainResult>;\n changeEnvironmentSlug?: Maybe<ChangeEnvironmentSlugResult>;\n convergePackages: Scalars['Boolean']['output'];\n createAction: RemoteFileSyncEvents;\n createEnvironment: Environment;\n createModel: RemoteFileSyncEvents;\n createModelFields: RemoteFileSyncEvents;\n createRoute: RemoteFileSyncEvents;\n deleteApp?: Maybe<DeleteAppStatusResult>;\n deleteBackgroundAction: Scalars['Boolean']['output'];\n deleteEnvironment: Scalars['Boolean']['output'];\n deletePlatformAccessTokens: Scalars['Boolean']['output'];\n /** @deprecated enabling frontends on legacy apps is no longer supported */\n enableFrontend?: Maybe<EnableFrontendResult>;\n exportModelData: Scalars['Boolean']['output'];\n /** Meta information about the application, like it's name, schema, and other internal details. */\n gadgetMeta: GadgetApplicationMeta;\n gadgetV1MigrationEligibility?: Maybe<GadgetV1MigrationEligibilityResult>;\n generatePlatformAccessToken: GeneratePlatformAccessTokenResult;\n internal?: Maybe<InternalMutations>;\n migrateAAC?: Maybe<MigrateAacResult>;\n /** @deprecated legacy environments are no longer supported */\n migrateEnvironments?: Maybe<MigrateEnvironmentsResult>;\n migrateGadgetV1?: Maybe<MigrateGadgetV1Result>;\n patchEnvironmentTree?: Maybe<EnvironmentPatchResult>;\n publish?: Maybe<EnvironmentPublishResult>;\n publishFileSyncEvents: PublishFileSyncEventsResult;\n refreshScopes?: Maybe<RefreshScopesResult>;\n registerWebhooks?: Maybe<RegisterWebhooksResult>;\n /** @deprecated use team */\n removeContributor?: Maybe<RemoveContributorResult>;\n /** @deprecated app invitations are no longer supported */\n sendAppInvitation?: Maybe<SendAppInvitationResult>;\n setFrameworkVersion: SetFrameworkVersionResult;\n startLogsExport: Scalars['Boolean']['output'];\n startNextBackgroundActionAttemptNow: BackgroundAction;\n syncToWebflow: Scalars['Boolean']['output'];\n triggerRunShopifySync?: Maybe<TriggerRunShopifySyncResult>;\n uninstallShop?: Maybe<UninstallShopResult>;\n unregisterWebhooks?: Maybe<UnregisterWebhooksResult>;\n updatePlatformAccessTokens: Array<AccessToken>;\n uploadFiles: UploadFilesResult;\n uploadTemplateAsset: UploadTemplateAssetResult;\n};\n\n\nexport type MutationAddApplicationTagArgs = {\n tag: Scalars['String']['input'];\n};\n\n\nexport type MutationAddUserTagArgs = {\n replaceMatches?: InputMaybe<Array<Scalars['String']['input']>>;\n tag: Scalars['String']['input'];\n};\n\n\nexport type MutationBulkCancelBackgroundActionsArgs = {\n filter: BackgroundActionFilter;\n};\n\n\nexport type MutationBulkDeleteBackgroundActionsArgs = {\n filter: BackgroundActionFilter;\n};\n\n\nexport type MutationBulkStartNextBackgroundActionAttemptsNowArgs = {\n filter: BackgroundActionFilter;\n};\n\n\nexport type MutationCancelBackgroundActionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationChangeAppDomainArgs = {\n newSubdomain: Scalars['String']['input'];\n onlyValidate?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n\nexport type MutationChangeEnvironmentSlugArgs = {\n newSlug: Scalars['String']['input'];\n onlyValidate?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n\nexport type MutationCreateActionArgs = {\n path: Scalars['String']['input'];\n};\n\n\nexport type MutationCreateEnvironmentArgs = {\n environment: EnvironmentInput;\n};\n\n\nexport type MutationCreateModelArgs = {\n fields?: InputMaybe<Array<CreateModelFieldsInput>>;\n path: Scalars['String']['input'];\n};\n\n\nexport type MutationCreateModelFieldsArgs = {\n fields: Array<CreateModelFieldsInput>;\n path: Scalars['String']['input'];\n};\n\n\nexport type MutationCreateRouteArgs = {\n method: Scalars['String']['input'];\n path: Scalars['String']['input'];\n};\n\n\nexport type MutationDeleteAppArgs = {\n onlyProduction?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n\nexport type MutationDeleteBackgroundActionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationDeleteEnvironmentArgs = {\n slug: Scalars['String']['input'];\n};\n\n\nexport type MutationDeletePlatformAccessTokensArgs = {\n tokens: Array<Scalars['String']['input']>;\n};\n\n\nexport type MutationEnableFrontendArgs = {\n hasShopifyConnection: Scalars['Boolean']['input'];\n};\n\n\nexport type MutationExportModelDataArgs = {\n filterSort?: InputMaybe<Scalars['JSON']['input']>;\n format?: InputMaybe<ModelExportFormat>;\n modelApiIdentifier: Scalars['String']['input'];\n selection?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\n\nexport type MutationGeneratePlatformAccessTokenArgs = {\n name: Scalars['String']['input'];\n};\n\n\nexport type MutationMigrateEnvironmentsArgs = {\n existingToProduction: Scalars['Boolean']['input'];\n};\n\n\nexport type MutationPatchEnvironmentTreeArgs = {\n clientID: EnvironmentTreeClientId;\n patches: Array<Scalars['JSON']['input']>;\n txID?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type MutationPublishFileSyncEventsArgs = {\n input: PublishFileSyncEventsInput;\n};\n\n\nexport type MutationRefreshScopesArgs = {\n appConfigKey: Scalars['String']['input'];\n connectionKey: Scalars['String']['input'];\n shopId: Scalars['String']['input'];\n};\n\n\nexport type MutationRegisterWebhooksArgs = {\n connectionKey: Scalars['String']['input'];\n keepExtraTopics?: InputMaybe<Scalars['Boolean']['input']>;\n modelKeys?: InputMaybe<Array<Scalars['String']['input']>>;\n shopIds: Array<Scalars['String']['input']>;\n};\n\n\nexport type MutationRemoveContributorArgs = {\n email: Scalars['String']['input'];\n isInvitation: Scalars['Boolean']['input'];\n};\n\n\nexport type MutationSendAppInvitationArgs = {\n email?: InputMaybe<Scalars['String']['input']>;\n emails?: InputMaybe<Array<Scalars['String']['input']>>;\n resend?: InputMaybe<Scalars['Boolean']['input']>;\n};\n\n\nexport type MutationSetFrameworkVersionArgs = {\n constraint: Scalars['String']['input'];\n};\n\n\nexport type MutationStartLogsExportArgs = {\n end?: InputMaybe<Scalars['DateTime']['input']>;\n query: Scalars['String']['input'];\n start: Scalars['DateTime']['input'];\n};\n\n\nexport type MutationStartNextBackgroundActionAttemptNowArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type MutationTriggerRunShopifySyncArgs = {\n shopIds: Array<Scalars['String']['input']>;\n};\n\n\nexport type MutationUninstallShopArgs = {\n shopId: Scalars['String']['input'];\n};\n\n\nexport type MutationUnregisterWebhooksArgs = {\n apiKeys?: InputMaybe<Array<Scalars['String']['input']>>;\n connectionKey: Scalars['String']['input'];\n modelKeys?: InputMaybe<Array<Scalars['String']['input']>>;\n};\n\n\nexport type MutationUpdatePlatformAccessTokensArgs = {\n tokens: Array<PlatformAccessTokenInput>;\n};\n\n\nexport type MutationUploadFilesArgs = {\n files: Array<UploadFile>;\n};\n\n\nexport type MutationUploadTemplateAssetArgs = {\n file: Scalars['Upload']['input'];\n};\n\nexport type OffsetPageInfo = {\n __typename?: 'OffsetPageInfo';\n hasNextPage: Scalars['Boolean']['output'];\n hasPreviousPage: Scalars['Boolean']['output'];\n page: Scalars['Int']['output'];\n total: Scalars['Int']['output'];\n /**\n * If the total is less than the real total, this will be true.\n *\n * Can be used, for example, to show a \"100+\" in the UI.\n */\n totalIncomplete: Scalars['Boolean']['output'];\n};\n\n/** Information about pagination in a connection. */\nexport type PageInfo = {\n __typename?: 'PageInfo';\n /** When paginating forwards, the cursor to continue. */\n endCursor?: Maybe<Scalars['String']['output']>;\n /** When paginating forwards, are there more items? */\n hasNextPage: Scalars['Boolean']['output'];\n /** When paginating backwards, are there more items? */\n hasPreviousPage: Scalars['Boolean']['output'];\n /** When paginating backwards, the cursor to continue. */\n startCursor?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PlatformAccessTokenInput = {\n id: Scalars['String']['input'];\n name: Scalars['String']['input'];\n};\n\nexport type PlatformAccessTokenUser = {\n __typename?: 'PlatformAccessTokenUser';\n email: Scalars['String']['output'];\n id: Scalars['String']['output'];\n name?: Maybe<Scalars['String']['output']>;\n};\n\nexport type Problem = {\n __typename?: 'Problem';\n level: Scalars['String']['output'];\n message: Scalars['String']['output'];\n path: Scalars['String']['output'];\n type: Scalars['String']['output'];\n};\n\nexport type PublishFileSyncEventsInput = {\n changed: Array<FileSyncChangedEventInput>;\n deleted: Array<FileSyncDeletedEventInput>;\n expectedRemoteFilesVersion: Scalars['String']['input'];\n};\n\nexport type PublishFileSyncEventsResult = {\n __typename?: 'PublishFileSyncEventsResult';\n problems: Array<Problem>;\n remoteFilesVersion: Scalars['String']['output'];\n};\n\nexport type PublishIssue = {\n __typename?: 'PublishIssue';\n message: Scalars['String']['output'];\n node?: Maybe<PublishIssueNode>;\n nodeLabels?: Maybe<Array<Maybe<PublishIssueNodeLabel>>>;\n severity: Scalars['String']['output'];\n};\n\nexport type PublishIssueNode = {\n __typename?: 'PublishIssueNode';\n apiIdentifier?: Maybe<Scalars['String']['output']>;\n fieldType?: Maybe<Scalars['String']['output']>;\n key: Scalars['String']['output'];\n name?: Maybe<Scalars['String']['output']>;\n parentApiIdentifier?: Maybe<Scalars['String']['output']>;\n parentKey?: Maybe<Scalars['String']['output']>;\n type: Scalars['String']['output'];\n};\n\nexport type PublishIssueNodeLabel = {\n __typename?: 'PublishIssueNodeLabel';\n identifier?: Maybe<Scalars['String']['output']>;\n type?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PublishStatus = {\n __typename?: 'PublishStatus';\n code?: Maybe<Scalars['String']['output']>;\n message?: Maybe<Scalars['String']['output']>;\n output?: Maybe<Scalars['String']['output']>;\n};\n\nexport type PublishStatusState = {\n __typename?: 'PublishStatusState';\n issues: Array<PublishIssue>;\n progress: Scalars['String']['output'];\n publishStarted: Scalars['Boolean']['output'];\n remoteFilesVersion: Scalars['String']['output'];\n status?: Maybe<PublishStatus>;\n};\n\nexport type Query = {\n __typename?: 'Query';\n apiUpgradeConvergePlan?: Maybe<ApiUpgradeConvergePlanResult>;\n appDomains: Array<AppDomain>;\n backgroundAction?: Maybe<BackgroundAction>;\n backgroundActions: BackgroundActionConnection;\n currentSession?: Maybe<Session>;\n currentUser: User;\n environmentTreeChildKeys: Array<Scalars['String']['output']>;\n environmentTreePath?: Maybe<Scalars['JSON']['output']>;\n environments: Array<Environment>;\n fileSyncComparisonHashes: FileSyncComparisonHashes;\n fileSyncFiles: FileSyncFiles;\n fileSyncHashes: FileSyncHashes;\n /** Meta information about the application, like it's name, schema, and other internal details. */\n gadgetMeta: GadgetApplicationMeta;\n identifySupportConversation?: Maybe<IdentifySupportConversationResult>;\n initialSnapshot: Scalars['JSON']['output'];\n internal?: Maybe<InternalQueries>;\n /** @deprecated use team */\n listContributors: Array<ContributorResult>;\n logsSearch: LogSearchResult;\n platformAccessTokens: Array<AccessToken>;\n publishIssues: Array<PublishIssue>;\n remoteFilesVersion: Scalars['String']['output'];\n roles: Array<GadgetRole>;\n runTestSupportFunction?: Maybe<Scalars['JSON']['output']>;\n session?: Maybe<Session>;\n sessions: SessionConnection;\n team: TeamResult;\n typesManifest: TypesManifest;\n};\n\n\nexport type QueryApiUpgradeConvergePlanArgs = {\n currentVersion: Scalars['String']['input'];\n targetVersion: Scalars['String']['input'];\n};\n\n\nexport type QueryBackgroundActionArgs = {\n id: Scalars['String']['input'];\n};\n\n\nexport type QueryBackgroundActionsArgs = {\n filter?: InputMaybe<BackgroundActionFilter>;\n page?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryEnvironmentTreeChildKeysArgs = {\n path: Scalars['String']['input'];\n};\n\n\nexport type QueryEnvironmentTreePathArgs = {\n hydrateChildrenGlobs?: InputMaybe<Array<Scalars['String']['input']>>;\n path: Scalars['String']['input'];\n};\n\n\nexport type QueryFileSyncComparisonHashesArgs = {\n filesVersion: Scalars['String']['input'];\n};\n\n\nexport type QueryFileSyncFilesArgs = {\n encoding?: InputMaybe<FileSyncEncoding>;\n filesVersion?: InputMaybe<Scalars['String']['input']>;\n paths: Array<Scalars['String']['input']>;\n};\n\n\nexport type QueryFileSyncHashesArgs = {\n filesVersion?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryLogsSearchArgs = {\n direction?: InputMaybe<Scalars['String']['input']>;\n end?: InputMaybe<Scalars['DateTime']['input']>;\n limit?: InputMaybe<Scalars['Int']['input']>;\n query: Scalars['String']['input'];\n start?: InputMaybe<Scalars['DateTime']['input']>;\n step?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QuerySessionArgs = {\n id: Scalars['GadgetID']['input'];\n};\n\n\nexport type QuerySessionsArgs = {\n after?: InputMaybe<Scalars['String']['input']>;\n before?: InputMaybe<Scalars['String']['input']>;\n first?: InputMaybe<Scalars['Int']['input']>;\n last?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryTypesManifestArgs = {\n dependenciesHash: Scalars['String']['input'];\n environmentStatus?: InputMaybe<Scalars['String']['input']>;\n};\n\nexport type RefreshScopesResult = {\n __typename?: 'RefreshScopesResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type RegisterWebhooksResult = {\n __typename?: 'RegisterWebhooksResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type RemoteFileSyncEvents = {\n __typename?: 'RemoteFileSyncEvents';\n changed: Array<FileSyncChangedEvent>;\n deleted: Array<FileSyncDeletedEvent>;\n remoteFilesVersion: Scalars['String']['output'];\n};\n\nexport type RemoveContributorResult = {\n __typename?: 'RemoveContributorResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\n/** A named group of permissions granted to a particular actor in the system. Managed in the Gadget editor. */\nexport type Role = {\n __typename?: 'Role';\n /** The stable identifier for this role. Null if the role has since been deleted. */\n key: Scalars['String']['output'];\n /** The human readable name for this role. Can be changed. */\n name: Scalars['String']['output'];\n};\n\nexport type SendAppInvitationResult = {\n __typename?: 'SendAppInvitationResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type Session = {\n __typename?: 'Session';\n /** Get all the fields for this record. Useful for not having to list out all the fields you want to retrieve, but slower. */\n _all: Scalars['JSONObject']['output'];\n /** The time at which this record was first created. Set once upon record creation and never changed. Managed by Gadget. */\n createdAt: Scalars['DateTime']['output'];\n /** The globally unique, unchanging identifier for this record. Assigned and managed by Gadget. */\n id?: Maybe<Scalars['GadgetID']['output']>;\n roles?: Maybe<Array<Role>>;\n /** The time at which this record was last changed. Set each time the record is successfully acted upon by an action. Managed by Gadget. */\n updatedAt: Scalars['DateTime']['output'];\n};\n\n/** A connection to a list of Session items. */\nexport type SessionConnection = {\n __typename?: 'SessionConnection';\n /** A list of edges. */\n edges: Array<SessionEdge>;\n /** Information to aid in pagination. */\n pageInfo: PageInfo;\n};\n\n/** An edge in a Session connection. */\nexport type SessionEdge = {\n __typename?: 'SessionEdge';\n /** A cursor for use in pagination */\n cursor: Scalars['String']['output'];\n /** The item at the end of the edge */\n node: Session;\n};\n\nexport type SetFrameworkVersionResult = {\n __typename?: 'SetFrameworkVersionResult';\n installDependenciesOperationKey?: Maybe<Scalars['String']['output']>;\n};\n\n/** This Error object is returned for errors which don't have other specific handling. It has a message which is safe to display to users, but is often technical in nature. It also has a `code` field which is documented in the Gadget API Error Codes docs. */\nexport type SimpleError = ExecutionError & {\n __typename?: 'SimpleError';\n /** The Gadget platform error code for this error. */\n code: Scalars['String']['output'];\n /** The human facing error message for this error. */\n message: Scalars['String']['output'];\n /** The stack for any exception that caused the error */\n stack?: Maybe<Scalars['String']['output']>;\n};\n\nexport type Subscription = {\n __typename?: 'Subscription';\n environmentTreePathPatches?: Maybe<EnvironmentSubscriptionResult>;\n logsSearch: LogSearchResult;\n migrateGadgetV1Status?: Maybe<MigrateGadgetV1Status>;\n openBackgroundActions: Scalars['Int']['output'];\n publishStatus?: Maybe<PublishStatusState>;\n remoteFileSyncEvents: RemoteFileSyncEvents;\n reportClientPresence?: Maybe<Scalars['Boolean']['output']>;\n typesManifestStream: TypesManifest;\n};\n\n\nexport type SubscriptionEnvironmentTreePathPatchesArgs = {\n clientID: EnvironmentTreeClientId;\n path: Scalars['String']['input'];\n};\n\n\nexport type SubscriptionLogsSearchArgs = {\n limit?: InputMaybe<Scalars['Int']['input']>;\n query: Scalars['String']['input'];\n start?: InputMaybe<Scalars['DateTime']['input']>;\n};\n\n\nexport type SubscriptionPublishStatusArgs = {\n allowCharges?: InputMaybe<Scalars['Boolean']['input']>;\n force?: InputMaybe<Scalars['Boolean']['input']>;\n localFilesVersion: Scalars['String']['input'];\n};\n\n\nexport type SubscriptionRemoteFileSyncEventsArgs = {\n encoding?: InputMaybe<FileSyncEncoding>;\n localFilesVersion: Scalars['String']['input'];\n};\n\n\nexport type SubscriptionReportClientPresenceArgs = {\n clientID: EnvironmentTreeClientId;\n};\n\nexport type TeamEntitlements = {\n __typename?: 'TeamEntitlements';\n openAICredits?: Maybe<Scalars['Boolean']['output']>;\n};\n\nexport type TeamMember = {\n __typename?: 'TeamMember';\n contributesToApp: Scalars['Boolean']['output'];\n email: Scalars['String']['output'];\n};\n\nexport type TeamResult = {\n __typename?: 'TeamResult';\n availableSeats?: Maybe<Scalars['Int']['output']>;\n canPublish: Scalars['Boolean']['output'];\n costPerApplication?: Maybe<Scalars['String']['output']>;\n costPerSeat?: Maybe<Scalars['String']['output']>;\n includedApplications?: Maybe<Scalars['Int']['output']>;\n includedApplicationsRemaining?: Maybe<Scalars['Int']['output']>;\n maxApplications?: Maybe<Scalars['Int']['output']>;\n teamEntitlements: TeamEntitlements;\n teamMembers: Array<TeamMember>;\n};\n\nexport type TriggerRunShopifySyncResult = {\n __typename?: 'TriggerRunShopifySyncResult';\n failedShopIds: Array<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n successfulShopIds: Array<Scalars['String']['output']>;\n};\n\nexport type TypeManifestEntry = {\n __typename?: 'TypeManifestEntry';\n declaration: Scalars['String']['output'];\n path: Scalars['String']['output'];\n};\n\nexport type TypesManifest = {\n __typename?: 'TypesManifest';\n cdn: Array<Scalars['String']['output']>;\n dependenciesHash: Scalars['String']['output'];\n entries: Array<TypeManifestEntry>;\n environmentVersion: Scalars['Int']['output'];\n};\n\nexport type UninstallShopResult = {\n __typename?: 'UninstallShopResult';\n reason?: Maybe<Scalars['String']['output']>;\n success: Scalars['Boolean']['output'];\n};\n\nexport type UnregisterWebhooksResult = {\n __typename?: 'UnregisterWebhooksResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type UploadFile = {\n file: Scalars['Upload']['input'];\n path: Scalars['String']['input'];\n};\n\nexport type UploadFilesResult = {\n __typename?: 'UploadFilesResult';\n success: Scalars['Boolean']['output'];\n};\n\nexport type UploadTemplateAssetResult = {\n __typename?: 'UploadTemplateAssetResult';\n success: Scalars['Boolean']['output'];\n url?: Maybe<Scalars['String']['output']>;\n};\n\nexport type User = {\n __typename?: 'User';\n email: Scalars['String']['output'];\n name?: Maybe<Scalars['String']['output']>;\n};\n\nexport type GadgetMetaModelsQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GadgetMetaModelsQuery = { __typename?: 'Query', gadgetMeta: { __typename?: 'GadgetApplicationMeta', models: Array<{ __typename?: 'GadgetModel', apiIdentifier: string, namespace?: Array<string> | null }> } };\n\nexport type GadgetMetaGlobalActionsQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GadgetMetaGlobalActionsQuery = { __typename?: 'Query', gadgetMeta: { __typename?: 'GadgetApplicationMeta', globalActions: Array<{ __typename?: 'GadgetGlobalAction', apiIdentifier: string, namespace: Array<string> }> } };\n\nexport type RemoteFileSyncEventsSubscriptionVariables = Exact<{\n localFilesVersion: Scalars['String']['input'];\n}>;\n\n\nexport type RemoteFileSyncEventsSubscription = { __typename?: 'Subscription', remoteFileSyncEvents: { __typename?: 'RemoteFileSyncEvents', remoteFilesVersion: string, changed: Array<{ __typename?: 'FileSyncChangedEvent', path: string, mode: number, content: string, encoding: FileSyncEncoding }>, deleted: Array<{ __typename?: 'FileSyncDeletedEvent', path: string }> } };\n\nexport type RemoteFilesVersionQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type RemoteFilesVersionQuery = { __typename?: 'Query', remoteFilesVersion: string };\n\nexport type PublishFileSyncEventsMutationVariables = Exact<{\n input: PublishFileSyncEventsInput;\n}>;\n\n\nexport type PublishFileSyncEventsMutation = { __typename?: 'Mutation', publishFileSyncEvents: { __typename?: 'PublishFileSyncEventsResult', remoteFilesVersion: string, problems: Array<{ __typename?: 'Problem', level: string, message: string, path: string, type: string }> } };\n\nexport type FileSyncFilesQueryVariables = Exact<{\n paths: Array<Scalars['String']['input']> | Scalars['String']['input'];\n filesVersion?: InputMaybe<Scalars['String']['input']>;\n encoding?: InputMaybe<FileSyncEncoding>;\n}>;\n\n\nexport type FileSyncFilesQuery = { __typename?: 'Query', fileSyncFiles: { __typename?: 'FileSyncFiles', filesVersion: string, files: Array<{ __typename?: 'FileSyncFile', path: string, mode: number, content: string, encoding: FileSyncEncoding }> } };\n\nexport type FileSyncHashesQueryVariables = Exact<{\n filesVersion?: InputMaybe<Scalars['String']['input']>;\n}>;\n\n\nexport type FileSyncHashesQuery = { __typename?: 'Query', fileSyncHashes: { __typename?: 'FileSyncHashes', filesVersion: string, hashes: { [key: string]: any } } };\n\nexport type FileSyncComparisonHashesQueryVariables = Exact<{\n filesVersion: Scalars['String']['input'];\n}>;\n\n\nexport type FileSyncComparisonHashesQuery = { __typename?: 'Query', fileSyncComparisonHashes: { __typename?: 'FileSyncComparisonHashes', filesVersionHashes: { __typename?: 'FileSyncHashes', filesVersion: string, hashes: { [key: string]: any } }, latestFilesVersionHashes: { __typename?: 'FileSyncHashes', filesVersion: string, hashes: { [key: string]: any } } } };\n\nexport type PublishStatusSubscriptionVariables = Exact<{\n localFilesVersion: Scalars['String']['input'];\n force?: InputMaybe<Scalars['Boolean']['input']>;\n allowCharges?: InputMaybe<Scalars['Boolean']['input']>;\n}>;\n\n\nexport type PublishStatusSubscription = { __typename?: 'Subscription', publishStatus?: { __typename?: 'PublishStatusState', publishStarted: boolean, remoteFilesVersion: string, progress: string, issues: Array<{ __typename?: 'PublishIssue', severity: string, message: string, node?: { __typename?: 'PublishIssueNode', type: string, key: string, apiIdentifier?: string | null, name?: string | null, fieldType?: string | null, parentKey?: string | null, parentApiIdentifier?: string | null } | null, nodeLabels?: Array<{ __typename?: 'PublishIssueNodeLabel', type?: string | null, identifier?: string | null } | null> | null }>, status?: { __typename?: 'PublishStatus', code?: string | null, message?: string | null, output?: string | null } | null } | null };\n\nexport type CreateModelMutationVariables = Exact<{\n path: Scalars['String']['input'];\n fields?: InputMaybe<Array<CreateModelFieldsInput> | CreateModelFieldsInput>;\n}>;\n\n\nexport type CreateModelMutation = { __typename?: 'Mutation', createModel: { __typename?: 'RemoteFileSyncEvents', remoteFilesVersion: string, changed: Array<{ __typename?: 'FileSyncChangedEvent', path: string, mode: number, content: string, encoding: FileSyncEncoding }> } };\n\nexport type CreateActionMutationVariables = Exact<{\n path: Scalars['String']['input'];\n}>;\n\n\nexport type CreateActionMutation = { __typename?: 'Mutation', createAction: { __typename?: 'RemoteFileSyncEvents', remoteFilesVersion: string, changed: Array<{ __typename?: 'FileSyncChangedEvent', path: string, mode: number, content: string, encoding: FileSyncEncoding }> } };\n\nexport type CreateRouteMutationVariables = Exact<{\n method: Scalars['String']['input'];\n path: Scalars['String']['input'];\n}>;\n\n\nexport type CreateRouteMutation = { __typename?: 'Mutation', createRoute: { __typename?: 'RemoteFileSyncEvents', remoteFilesVersion: string, changed: Array<{ __typename?: 'FileSyncChangedEvent', path: string, mode: number, content: string, encoding: FileSyncEncoding }> } };\n\nexport type CreateModelFieldsMutationVariables = Exact<{\n path: Scalars['String']['input'];\n fields: Array<CreateModelFieldsInput> | CreateModelFieldsInput;\n}>;\n\n\nexport type CreateModelFieldsMutation = { __typename?: 'Mutation', createModelFields: { __typename?: 'RemoteFileSyncEvents', remoteFilesVersion: string, changed: Array<{ __typename?: 'FileSyncChangedEvent', path: string, mode: number, content: string, encoding: FileSyncEncoding }> } };\n"],"names":["BackgroundActionAttemptState","BackgroundActionState","EnvironmentStatus","EnvironmentType","FileSyncEncoding","GadgetFieldType","ModelExportFormat"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;;;;;;CAMC;UAuGWA;;;;GAAAA,iCAAAA;;UAwBAC;;;;;;;;GAAAA,0BAAAA;;UAwFAC;;;;;GAAAA,sBAAAA;;UAiBAC;;;;GAAAA,oBAAAA;;UA8CAC;;;GAAAA,qBAAAA;;UAwKAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAAA,oBAAAA;;UAoZAC;;;GAAAA,sBAAAA"}