Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,58 +1,3 @@
import {gql} from 'graphql-request'

export const AllAppExtensionRegistrationsQuery = gql`
query allAppExtensionRegistrations($apiKey: String!) {
app(apiKey: $apiKey) {
extensionRegistrations {
id
uuid
title
type
draftVersion {
config
context
}
activeVersion {
config
context
}
}
configurationRegistrations {
id
uuid
title
type
draftVersion {
config
context
}
activeVersion {
config
context
}
}
dashboardManagedExtensionRegistrations {
id
uuid
title
type
activeVersion {
config
context
}
draftVersion {
config
context
}
}
}
}
`

export interface AllAppExtensionRegistrationsQueryVariables {
apiKey: string
}

export interface ExtensionRegistration {
id: string
uid?: string
Expand Down
55 changes: 0 additions & 55 deletions packages/app/src/cli/api/graphql/app_active_version.ts

This file was deleted.

48 changes: 0 additions & 48 deletions packages/app/src/cli/api/graphql/app_deploy.ts
Original file line number Diff line number Diff line change
@@ -1,52 +1,4 @@
import {UserError} from '../../utilities/developer-platform-client.js'
import {gql} from 'graphql-request'

// eslint-disable-next-line @shopify/cli/no-inline-graphql
export const AppDeploy = gql`
mutation AppDeploy(
$apiKey: String!
$bundleUrl: String
$appModules: [AppModuleSettings!]
$skipPublish: Boolean
$message: String
$versionTag: String
$commitReference: String
) {
appDeploy(
input: {
apiKey: $apiKey
bundleUrl: $bundleUrl
appModules: $appModules
skipPublish: $skipPublish
message: $message
versionTag: $versionTag
commitReference: $commitReference
}
) {
appVersion {
uuid
id
message
versionTag
location
appModuleVersions {
uuid
registrationUuid
validationErrors {
message
field
}
}
}
userErrors {
message
field
category
details
}
}
}
`

export interface AppModuleSettings {
uid?: string
Expand Down
25 changes: 0 additions & 25 deletions packages/app/src/cli/api/graphql/app_release.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,4 @@
import {UserError} from '../../utilities/developer-platform-client.js'
import {gql} from 'graphql-request'
// eslint-disable-next-line @shopify/cli/no-inline-graphql
export const AppRelease = gql`
mutation AppRelease($apiKey: String!, $appVersionId: ID, $versionTag: String) {
appRelease(input: {apiKey: $apiKey, appVersionId: $appVersionId, versionTag: $versionTag}) {
appVersion {
versionTag
message
location
}
userErrors {
message
field
category
details
}
}
}
`

export interface AppReleaseVariables {
apiKey: string
versionTag?: string
appVersionId?: number
}

export interface AppReleaseSchema {
appRelease: {
Expand Down
45 changes: 0 additions & 45 deletions packages/app/src/cli/api/graphql/app_version_by_tag.ts

This file was deleted.

44 changes: 0 additions & 44 deletions packages/app/src/cli/api/graphql/app_versions_diff.ts
Original file line number Diff line number Diff line change
@@ -1,47 +1,3 @@
import {gql} from 'graphql-request'

export const AppVersionsDiffQuery = gql`
query AppVersionsDiff($apiKey: String!, $versionId: ID!) {
app(apiKey: $apiKey) {
versionsDiff(appVersionId: $versionId) {
added {
uuid
registrationTitle
specification {
identifier
experience
options {
managementExperience
}
}
}
updated {
uuid
registrationTitle
specification {
identifier
experience
options {
managementExperience
}
}
}
removed {
uuid
registrationTitle
specification {
identifier
experience
options {
managementExperience
}
}
}
}
}
}
`

export interface AppVersionsDiffExtensionSchema {
uuid: string
registrationTitle: string
Expand Down
104 changes: 0 additions & 104 deletions packages/app/src/cli/api/graphql/create_app.ts

This file was deleted.

Loading
Loading