@crowdedkingdoms/crowdyjs 18.0.2-dev.1 → 18.0.4-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MIGRATION.md +40 -0
- package/README.md +17 -1
- package/dist/domains/apps.d.ts +4 -0
- package/dist/domains/apps.d.ts.map +1 -1
- package/dist/domains/apps.js +4 -0
- package/dist/domains/exec.d.ts +13 -0
- package/dist/domains/exec.d.ts.map +1 -1
- package/dist/domains/exec.js +20 -1
- package/dist/generated/graphql.d.ts +53 -11
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +8 -6
- package/dist/grid-mods/exec-client-halves.d.ts +38 -4
- package/dist/grid-mods/exec-client-halves.d.ts.map +1 -1
- package/dist/grid-mods/exec-client-halves.js +123 -8
- package/dist/grid-scope.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/kit/social.d.ts.map +1 -1
- package/dist/stores/chunks.d.ts +46 -2
- package/dist/stores/chunks.d.ts.map +1 -1
- package/dist/stores/chunks.js +111 -12
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -643,22 +643,22 @@ export const RevokeTierFeatureDocument = { "kind": "Document", "definitions": [{
|
|
|
643
643
|
export const RuntimePermissionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "RuntimePermissions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "runtimePermissions" } }] } }] };
|
|
644
644
|
export const TierFeaturesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "TierFeatures" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "tierId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelTierFeatures" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "tierId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "tierId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tierId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "featureKey" } }] } }] } }] };
|
|
645
645
|
export const UpdateAccessTierDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateAccessTier" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "tierId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateAccessTierInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateAccessTier" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "tierId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "tierId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tierId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tierOrder" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isFree" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isDefault" } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "kind": "Field", "name": { "kind": "Name", "value": "billingPeriod" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissionKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
646
|
-
export const AppDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "App" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "app" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "deploymentTarget" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reservedUdpBytesPerSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reservedGraphqlOpsPerSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "runtimeStatus" } }, { "kind": "Field", "name": { "kind": "Name", "value": "runtimeDenialReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "redirectUris" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isTrusted" } }, { "kind": "Field", "name": { "kind": "Name", "value": "clientType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] } }] };
|
|
647
|
-
export const AppBySlugDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppBySlug" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgSlug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appSlug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appBySlug" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgSlug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgSlug" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "appSlug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appSlug" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] } }] };
|
|
646
|
+
export const AppDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "App" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "app" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wildernessWritesOpen" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "deploymentTarget" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reservedUdpBytesPerSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reservedGraphqlOpsPerSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "runtimeStatus" } }, { "kind": "Field", "name": { "kind": "Name", "value": "runtimeDenialReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "redirectUris" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isTrusted" } }, { "kind": "Field", "name": { "kind": "Name", "value": "clientType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] } }] };
|
|
647
|
+
export const AppBySlugDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppBySlug" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgSlug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appSlug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appBySlug" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgSlug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgSlug" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "appSlug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appSlug" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wildernessWritesOpen" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] } }] };
|
|
648
648
|
export const AppDiscoveryDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppDiscovery" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appIds" } }, "type": { "kind": "NonNullType", "type": { "kind": "ListType", "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appDiscovery" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appIds" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appIds" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "datacenterCode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiWsUrl" } }] } }] } }] };
|
|
649
|
-
export const AppsForOrgDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppsForOrg" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgSlug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appsForOrg" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgSlug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgSlug" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
649
|
+
export const AppsForOrgDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppsForOrg" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgSlug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appsForOrg" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgSlug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgSlug" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wildernessWritesOpen" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
650
650
|
export const ArchiveAppDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ArchiveApp" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "archiveApp" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
651
651
|
export const AppCodeAdmissionModeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppCodeAdmissionMode" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appCodeAdmissionMode" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }] }] } }] };
|
|
652
652
|
export const AppCodeAdmissionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppCodeAdmissions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "includeRevoked" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appCodeAdmissions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "includeRevoked" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "includeRevoked" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "AppCodeAdmissionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "AppCodeAdmissionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppCodeAdmission" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "admissionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subjectKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subjectRef" } }, { "kind": "Field", "name": { "kind": "Name", "value": "versionRange" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admittedBy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admittedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }] } }] };
|
|
653
653
|
export const SetAppCodeAdmissionModeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SetAppCodeAdmissionMode" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "mode" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CodeAdmissionMode" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "setAppCodeAdmissionMode" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "mode" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "mode" } } }] }] } }] };
|
|
654
654
|
export const AdmitAppCodeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "AdmitAppCode" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AdmitAppCodeInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "admitAppCode" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "AppCodeAdmissionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "AppCodeAdmissionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppCodeAdmission" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "admissionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subjectKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subjectRef" } }, { "kind": "Field", "name": { "kind": "Name", "value": "versionRange" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admittedBy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admittedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }] } }] };
|
|
655
655
|
export const RevokeAppCodeAdmissionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RevokeAppCodeAdmission" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "admissionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "revokeAppCodeAdmission" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "admissionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "admissionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "AppCodeAdmissionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "AppCodeAdmissionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppCodeAdmission" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "admissionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subjectKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subjectRef" } }, { "kind": "Field", "name": { "kind": "Name", "value": "versionRange" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admittedBy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admittedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revokedAt" } }] } }] };
|
|
656
|
-
export const CreateAppDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateApp" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateAppInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createApp" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
|
|
656
|
+
export const CreateAppDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateApp" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateAppInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createApp" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wildernessWritesOpen" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
|
|
657
657
|
export const MarketplaceAppsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MarketplaceApps" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppMarketplaceFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "apps" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "limit" } }, { "kind": "Field", "name": { "kind": "Name", "value": "offset" } }] } }] } }] } }] };
|
|
658
658
|
export const AppsConnectionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppsConnection" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppMarketplaceFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appsConnection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }] } }] } }] };
|
|
659
|
-
export const MyAppsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MyApps" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myApps" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] } }] };
|
|
659
|
+
export const MyAppsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MyApps" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myApps" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wildernessWritesOpen" } }, { "kind": "Field", "name": { "kind": "Name", "value": "splitMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] } }] };
|
|
660
660
|
export const PlaceableDatacentersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PlaceableDatacenters" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "placeableDatacenters" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "placementEnforced" } }, { "kind": "Field", "name": { "kind": "Name", "value": "servedBy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "datacenters" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "placeable" } }, { "kind": "Field", "name": { "kind": "Name", "value": "serving" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appShardCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameApiWsUrl" } }] } }] } }] } }] };
|
|
661
|
-
export const UpdateAppDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateApp" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateAppInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateApp" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
661
|
+
export const UpdateAppDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateApp" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateAppInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateApp" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wildernessWritesOpen" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
662
662
|
export const LogoutDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "Logout" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "logout" } }] } }] };
|
|
663
663
|
export const LogoutAllDevicesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "LogoutAllDevices" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "logoutAllDevices" } }] } }] };
|
|
664
664
|
export const UserAvatarsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "UserAvatars" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userAvatars" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "userId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "avatarId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publicState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "privateState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
|
|
@@ -746,6 +746,8 @@ export const ExecModClientDeleteDocument = { "kind": "Document", "definitions":
|
|
|
746
746
|
export const ExecGridClientModsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExecGridClientMods" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "execGridClientMods" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "gridId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ExecGridClientModFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ExecGridClientModFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ExecGridClientMod" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "modId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gridId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "authorId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listingId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "clientVersion" } }, { "kind": "Field", "name": { "kind": "Name", "value": "digest" } }, { "kind": "Field", "name": { "kind": "Name", "value": "capabilitySummaryJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "capabilityHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tickIntervalMs" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callerConsented" } }, { "kind": "Field", "name": { "kind": "Name", "value": "authorCapabilitySummaryJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "authorCapabilityHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callerTrustsAuthor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
|
|
747
747
|
export const ExecConsentClientModDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ExecConsentClientMod" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "modId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "capabilityHash" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "execConsentClientMod" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "modId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "modId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "capabilityHash" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "capabilityHash" } } }] }] } }] };
|
|
748
748
|
export const ExecTrustAuthorDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ExecTrustAuthor" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "authorId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "capabilityHash" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "execTrustAuthor" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "gridId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "authorId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "authorId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "capabilityHash" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "capabilityHash" } } }] }] } }] };
|
|
749
|
+
export const ExecRevokeClientModConsentDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ExecRevokeClientModConsent" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "modId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "execRevokeClientModConsent" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "modId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "modId" } } }] }] } }] };
|
|
750
|
+
export const ExecRevokeAuthorTrustDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ExecRevokeAuthorTrust" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "authorId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "execRevokeAuthorTrust" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "gridId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "authorId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "authorId" } } }] }] } }] };
|
|
749
751
|
export const ExecModClientArtifactDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ExecModClientArtifact" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "modId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "execModClientArtifact" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "modId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "modId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "modId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gridId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "clientVersion" } }, { "kind": "Field", "name": { "kind": "Name", "value": "digest" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wasmBase64" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sizeBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "capabilitySummaryJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "capabilityHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tickIntervalMs" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fuelPerDispatch" } }, { "kind": "Field", "name": { "kind": "Name", "value": "abiVersion" } }] } }] } }] };
|
|
750
752
|
export const GridOwnershipDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GridOwnership" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gridOwnership" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "gridId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "gridId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GridOwnershipFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GridOwnershipFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GridOwnership" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gridOwnershipId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gridId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerRef" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tenure" } }, { "kind": "Field", "name": { "kind": "Name", "value": "acquiredVia" } }, { "kind": "Field", "name": { "kind": "Name", "value": "acquiredAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }] } }] };
|
|
751
753
|
export const AssignGridOwnershipDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "AssignGridOwnership" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AssignGridOwnershipInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "assignGridOwnership" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GridOwnershipFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GridOwnershipFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GridOwnership" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gridOwnershipId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gridId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerRef" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tenure" } }, { "kind": "Field", "name": { "kind": "Name", "value": "acquiredVia" } }, { "kind": "Field", "name": { "kind": "Name", "value": "acquiredAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }] } }] };
|
|
@@ -24,10 +24,11 @@ export interface ExecClientHalfPrompt {
|
|
|
24
24
|
/**
|
|
25
25
|
* Why a CLIENT half stopped: no longer listed (`removed`), a new digest, capability hash or tick
|
|
26
26
|
* interval (`changed`), listed without the player's consent or trust (`unconsented`), refused by
|
|
27
|
-
* `filter` (`filtered`), the
|
|
28
|
-
* the
|
|
27
|
+
* `filter` (`filtered`), the player took their agreement to it back (`revoked`: `revoke`,
|
|
28
|
+
* `forgetAuthor`), the runner left the grid (`left-grid`) or was stopped (`stopped`), or the
|
|
29
|
+
* broker's circuit breaker tripped (`circuit-open`).
|
|
29
30
|
*/
|
|
30
|
-
export type ExecClientHalfStopReason = 'removed' | 'changed' | 'unconsented' | 'filtered' | 'left-grid' | 'stopped' | 'circuit-open';
|
|
31
|
+
export type ExecClientHalfStopReason = 'removed' | 'changed' | 'unconsented' | 'filtered' | 'revoked' | 'left-grid' | 'stopped' | 'circuit-open';
|
|
31
32
|
/** A consent, fetch or start that failed, and when that CLIENT half is tried again. */
|
|
32
33
|
export interface ExecClientHalfError {
|
|
33
34
|
mod: ExecGridClientMod;
|
|
@@ -54,7 +55,8 @@ export interface ExecClientHalfBroker {
|
|
|
54
55
|
}): Promise<Uint8Array>;
|
|
55
56
|
}
|
|
56
57
|
export interface ExecClientHalvesOptions {
|
|
57
|
-
exec
|
|
58
|
+
/** `client.exec`; `revoke` and `forgetAuthor` need its two revoke calls as well. */
|
|
59
|
+
exec: Pick<ExecAPI, 'gridClientMods' | 'consentClientMod' | 'trustAuthor' | 'modClientArtifactBytes'> & Partial<Pick<ExecAPI, 'revokeClientModConsent' | 'revokeAuthorTrust'>>;
|
|
58
60
|
appId: string;
|
|
59
61
|
/** The platform glue worker (`@crowdedkingdoms/crowdyjs/player-glue-worker`), same origin. */
|
|
60
62
|
workerUrl: string | URL;
|
|
@@ -120,6 +122,11 @@ export declare class ExecClientHalves {
|
|
|
120
122
|
private readonly retryAt;
|
|
121
123
|
private readonly declined;
|
|
122
124
|
private readonly approved;
|
|
125
|
+
/** CLIENT halves the player took back on this grid, by identity: not run or asked about again. */
|
|
126
|
+
private readonly revoked;
|
|
127
|
+
private listed;
|
|
128
|
+
private pendingAgreement;
|
|
129
|
+
private revoking;
|
|
123
130
|
private inFlight;
|
|
124
131
|
constructor(options: ExecClientHalvesOptions);
|
|
125
132
|
/** The grid the player stands in, or null. Any change stops every CLIENT half of the old one. */
|
|
@@ -139,8 +146,35 @@ export declare class ExecClientHalves {
|
|
|
139
146
|
invoke(modId: string, payload: Uint8Array, options?: {
|
|
140
147
|
timeoutMs?: number;
|
|
141
148
|
}): Promise<Uint8Array>;
|
|
149
|
+
/**
|
|
150
|
+
* Stops the CLIENT half of mod `modId` and takes back the player's agreement to it, so it is not
|
|
151
|
+
* served to them again until they agree again: their consent to it
|
|
152
|
+
* (`exec.revokeClientModConsent`) and, when it is served because they trust its author, that
|
|
153
|
+
* trust (`exec.revokeAuthorTrust`), consenting instead to each of the author's other running
|
|
154
|
+
* halves so those keep running. It is not asked about again on this grid until it changes.
|
|
155
|
+
* Resolves false when the grid lists no such CLIENT half. It stops at once; when the API then
|
|
156
|
+
* refuses or fails, the promise rejects, the half stays stopped on this visit and the server
|
|
157
|
+
* still holds the agreement, so tell the player.
|
|
158
|
+
*/
|
|
159
|
+
revoke(modId: string): Promise<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* Stops every CLIENT half of author `authorId` on this grid and takes back the player's trust in
|
|
162
|
+
* them here with their consent to each (`exec.revokeAuthorTrust`). The halves listed now are
|
|
163
|
+
* not asked about again on this grid until they change. Resolves the API's answer: true when
|
|
164
|
+
* anything was taken back. As with {@link revoke}, they stop at once and a refusal rejects.
|
|
165
|
+
*/
|
|
166
|
+
forgetAuthor(authorId: string): Promise<boolean>;
|
|
167
|
+
/**
|
|
168
|
+
* Runs `work` after every revoke before it, and after a consent or trust already on its way to
|
|
169
|
+
* the API, so the player's last word is the one the server keeps.
|
|
170
|
+
*/
|
|
171
|
+
private inTurn;
|
|
142
172
|
/** Stops every CLIENT half and leaves the grid; the module cache stays. */
|
|
143
173
|
stop(): void;
|
|
174
|
+
private forgetGrid;
|
|
175
|
+
private revokeCalls;
|
|
176
|
+
/** A question the player said yes to for `mod`, not yet gone through, is not sent after all. */
|
|
177
|
+
private dropApprovals;
|
|
144
178
|
private reconcile;
|
|
145
179
|
private stopStale;
|
|
146
180
|
/** Asks about what the player has not agreed to; true when a consent or trust went through. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exec-client-halves.d.ts","sourceRoot":"","sources":["../../src/grid-mods/exec-client-halves.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,2BAA2B,EAChC,KAAK,iBAAiB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC5B,MAAM,yCAAyC,CAA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AC,MAAM;IAKd,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,GAAG;CAGZ"}
|
|
@@ -43,6 +43,11 @@ export class ExecClientHalves {
|
|
|
43
43
|
this.retryAt = new Map();
|
|
44
44
|
this.declined = new Set();
|
|
45
45
|
this.approved = new Set();
|
|
46
|
+
/** CLIENT halves the player took back on this grid, by identity: not run or asked about again. */
|
|
47
|
+
this.revoked = new Set();
|
|
48
|
+
this.listed = [];
|
|
49
|
+
this.pendingAgreement = null;
|
|
50
|
+
this.revoking = Promise.resolve();
|
|
46
51
|
this.inFlight = null;
|
|
47
52
|
}
|
|
48
53
|
/** The grid the player stands in, or null. Any change stops every CLIENT half of the old one. */
|
|
@@ -52,8 +57,7 @@ export class ExecClientHalves {
|
|
|
52
57
|
this.stopAll('left-grid');
|
|
53
58
|
this.grid = grid ? { ...grid } : null;
|
|
54
59
|
this.generation++;
|
|
55
|
-
this.
|
|
56
|
-
this.approved.clear();
|
|
60
|
+
this.forgetGrid();
|
|
57
61
|
}
|
|
58
62
|
/** The CLIENT halves running now. */
|
|
59
63
|
get running() {
|
|
@@ -89,13 +93,109 @@ export class ExecClientHalves {
|
|
|
89
93
|
}
|
|
90
94
|
return worker.broker.invoke(payload, options);
|
|
91
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Stops the CLIENT half of mod `modId` and takes back the player's agreement to it, so it is not
|
|
98
|
+
* served to them again until they agree again: their consent to it
|
|
99
|
+
* (`exec.revokeClientModConsent`) and, when it is served because they trust its author, that
|
|
100
|
+
* trust (`exec.revokeAuthorTrust`), consenting instead to each of the author's other running
|
|
101
|
+
* halves so those keep running. It is not asked about again on this grid until it changes.
|
|
102
|
+
* Resolves false when the grid lists no such CLIENT half. It stops at once; when the API then
|
|
103
|
+
* refuses or fails, the promise rejects, the half stays stopped on this visit and the server
|
|
104
|
+
* still holds the agreement, so tell the player.
|
|
105
|
+
*/
|
|
106
|
+
async revoke(modId) {
|
|
107
|
+
const grid = this.grid;
|
|
108
|
+
const mod = this.listed.find((m) => String(m.modId) === String(modId)) ?? this.workers.get(String(modId))?.mod;
|
|
109
|
+
if (!grid || !mod)
|
|
110
|
+
return false;
|
|
111
|
+
const exec = this.revokeCalls();
|
|
112
|
+
const { appId } = this.options;
|
|
113
|
+
const others = [...this.workers.values()]
|
|
114
|
+
.map((w) => w.mod)
|
|
115
|
+
.filter((m) => m.modId !== mod.modId && String(m.authorId) === String(mod.authorId));
|
|
116
|
+
this.revoked.add(identity(mod));
|
|
117
|
+
this.dropApprovals(mod);
|
|
118
|
+
this.stopWorker(mod.modId, 'revoked');
|
|
119
|
+
return this.inTurn(async () => {
|
|
120
|
+
await exec.revokeClientModConsent(appId, mod.modId);
|
|
121
|
+
if (mod.callerTrustsAuthor) {
|
|
122
|
+
await exec.revokeAuthorTrust(appId, grid.gridId, String(mod.authorId));
|
|
123
|
+
for (const other of others) {
|
|
124
|
+
// Taken back itself since: it keeps nothing.
|
|
125
|
+
if (this.revoked.has(identity(other)))
|
|
126
|
+
continue;
|
|
127
|
+
try {
|
|
128
|
+
await this.options.exec.consentClientMod(appId, other.modId, other.capabilityHash);
|
|
129
|
+
}
|
|
130
|
+
catch (error) {
|
|
131
|
+
this.options.onError?.({ mod: other, stage: 'consent', reason: refusal(error), error });
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return true;
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Stops every CLIENT half of author `authorId` on this grid and takes back the player's trust in
|
|
140
|
+
* them here with their consent to each (`exec.revokeAuthorTrust`). The halves listed now are
|
|
141
|
+
* not asked about again on this grid until they change. Resolves the API's answer: true when
|
|
142
|
+
* anything was taken back. As with {@link revoke}, they stop at once and a refusal rejects.
|
|
143
|
+
*/
|
|
144
|
+
async forgetAuthor(authorId) {
|
|
145
|
+
const grid = this.grid;
|
|
146
|
+
if (!grid)
|
|
147
|
+
return false;
|
|
148
|
+
const exec = this.revokeCalls();
|
|
149
|
+
const theirs = (m) => String(m.authorId) === String(authorId);
|
|
150
|
+
for (const mod of [...this.listed.filter(theirs), ...[...this.workers.values()].map((w) => w.mod).filter(theirs)]) {
|
|
151
|
+
this.revoked.add(identity(mod));
|
|
152
|
+
this.dropApprovals(mod);
|
|
153
|
+
this.stopWorker(mod.modId, 'revoked');
|
|
154
|
+
}
|
|
155
|
+
return this.inTurn(() => exec.revokeAuthorTrust(this.options.appId, grid.gridId, String(authorId)));
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Runs `work` after every revoke before it, and after a consent or trust already on its way to
|
|
159
|
+
* the API, so the player's last word is the one the server keeps.
|
|
160
|
+
*/
|
|
161
|
+
inTurn(work) {
|
|
162
|
+
const turn = this.revoking
|
|
163
|
+
.catch(() => { })
|
|
164
|
+
.then(() => this.pendingAgreement?.catch(() => { }))
|
|
165
|
+
.then(work);
|
|
166
|
+
this.revoking = turn;
|
|
167
|
+
return turn;
|
|
168
|
+
}
|
|
92
169
|
/** Stops every CLIENT half and leaves the grid; the module cache stays. */
|
|
93
170
|
stop() {
|
|
94
171
|
this.stopAll('stopped');
|
|
95
172
|
this.grid = null;
|
|
96
173
|
this.generation++;
|
|
174
|
+
this.forgetGrid();
|
|
175
|
+
}
|
|
176
|
+
forgetGrid() {
|
|
97
177
|
this.declined.clear();
|
|
98
178
|
this.approved.clear();
|
|
179
|
+
this.revoked.clear();
|
|
180
|
+
this.listed = [];
|
|
181
|
+
}
|
|
182
|
+
revokeCalls() {
|
|
183
|
+
const { revokeClientModConsent, revokeAuthorTrust } = this.options.exec;
|
|
184
|
+
if (!revokeClientModConsent || !revokeAuthorTrust) {
|
|
185
|
+
throw new Error('this runner cannot take consent back: its exec has no revokeClientModConsent / revokeAuthorTrust');
|
|
186
|
+
}
|
|
187
|
+
return {
|
|
188
|
+
revokeClientModConsent: revokeClientModConsent.bind(this.options.exec),
|
|
189
|
+
revokeAuthorTrust: revokeAuthorTrust.bind(this.options.exec),
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
/** A question the player said yes to for `mod`, not yet gone through, is not sent after all. */
|
|
193
|
+
dropApprovals(mod) {
|
|
194
|
+
const prefixes = [`author\u0000${mod.authorId}\u0000`, `mod\u0000${mod.modId}\u0000`];
|
|
195
|
+
for (const key of [...this.approved]) {
|
|
196
|
+
if (prefixes.some((prefix) => key.startsWith(prefix)))
|
|
197
|
+
this.approved.delete(key);
|
|
198
|
+
}
|
|
99
199
|
}
|
|
100
200
|
async reconcile(generation) {
|
|
101
201
|
const grid = this.grid;
|
|
@@ -106,6 +206,7 @@ export class ExecClientHalves {
|
|
|
106
206
|
let listed = await exec.gridClientMods(appId, grid.gridId);
|
|
107
207
|
if (!current())
|
|
108
208
|
return;
|
|
209
|
+
this.listed = listed;
|
|
109
210
|
this.stopStale(listed);
|
|
110
211
|
if (await this.askAbout(listed, grid, current)) {
|
|
111
212
|
if (!current())
|
|
@@ -113,6 +214,7 @@ export class ExecClientHalves {
|
|
|
113
214
|
listed = await exec.gridClientMods(appId, grid.gridId);
|
|
114
215
|
if (!current())
|
|
115
216
|
return;
|
|
217
|
+
this.listed = listed;
|
|
116
218
|
this.stopStale(listed);
|
|
117
219
|
}
|
|
118
220
|
for (const mod of listed) {
|
|
@@ -204,14 +306,18 @@ export class ExecClientHalves {
|
|
|
204
306
|
// registered is retried on the next refresh without asking again.
|
|
205
307
|
this.approved.add(key);
|
|
206
308
|
}
|
|
309
|
+
// Taken back while the question was open: a trust would cover the half again.
|
|
310
|
+
if (prompt.mods.some((m) => this.revoked.has(identity(m))))
|
|
311
|
+
continue;
|
|
312
|
+
let agreement = null;
|
|
207
313
|
try {
|
|
208
314
|
const { exec, appId } = this.options;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
315
|
+
agreement =
|
|
316
|
+
prompt.kind === 'author'
|
|
317
|
+
? exec.trustAuthor(appId, grid.gridId, prompt.authorId, prompt.capabilityHash)
|
|
318
|
+
: exec.consentClientMod(appId, prompt.mods[0].modId, prompt.capabilityHash);
|
|
319
|
+
this.pendingAgreement = agreement;
|
|
320
|
+
await agreement;
|
|
215
321
|
this.approved.delete(key);
|
|
216
322
|
agreed = true;
|
|
217
323
|
}
|
|
@@ -222,6 +328,10 @@ export class ExecClientHalves {
|
|
|
222
328
|
this.approved.delete(key);
|
|
223
329
|
this.options.onError?.({ mod: prompt.mods[0], stage: 'consent', reason, error });
|
|
224
330
|
}
|
|
331
|
+
finally {
|
|
332
|
+
if (this.pendingAgreement === agreement)
|
|
333
|
+
this.pendingAgreement = null;
|
|
334
|
+
}
|
|
225
335
|
}
|
|
226
336
|
return agreed;
|
|
227
337
|
}
|
|
@@ -265,6 +375,9 @@ export class ExecClientHalves {
|
|
|
265
375
|
return;
|
|
266
376
|
}
|
|
267
377
|
}
|
|
378
|
+
// Taken back while it was fetched.
|
|
379
|
+
if (!this.wanted(mod))
|
|
380
|
+
return;
|
|
268
381
|
const served = module.hostFunctions;
|
|
269
382
|
const broker = (this.options.brokerFactory ?? ((o) => new PlayerCodeBroker(o)))({
|
|
270
383
|
engine: 'ck-exec',
|
|
@@ -325,6 +438,8 @@ export class ExecClientHalves {
|
|
|
325
438
|
}
|
|
326
439
|
}
|
|
327
440
|
wanted(mod) {
|
|
441
|
+
if (this.revoked.has(identity(mod)))
|
|
442
|
+
return false;
|
|
328
443
|
return this.options.filter ? this.options.filter(mod) : true;
|
|
329
444
|
}
|
|
330
445
|
stopWorker(modId, reason) {
|
package/dist/grid-scope.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-scope.d.ts","sourceRoot":"","sources":["../src/grid-scope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,C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,CAAC,CAAC,EAAE,OAAO,CAAC;sBAI9D,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC;6BAI/C,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC;MAI5E;CACH"}
|
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
* never an untrusted browser.
|
|
47
47
|
*/
|
|
48
48
|
/** The published package version. Mirrors `package.json`. */
|
|
49
|
-
export declare const VERSION = "18.0.
|
|
49
|
+
export declare const VERSION = "18.0.4-dev.1";
|
|
50
50
|
export { LbCookieStore } from './lb-cookie-store.js';
|
|
51
51
|
export { CrowdyClient, createCrowdyClient, type CrowdyClientConfig, } from './crowdy-client.js';
|
|
52
52
|
export { CROWDY_DEFAULT_TIER, CROWDY_DEFAULT_HOST, CROWDY_DEFAULT_HTTP_ORIGIN, CROWDY_DEFAULT_WS_ORIGIN, } from './default-origin.js';
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
* never an untrusted browser.
|
|
47
47
|
*/
|
|
48
48
|
/** The published package version. Mirrors `package.json`. */
|
|
49
|
-
export const VERSION = '18.0.
|
|
49
|
+
export const VERSION = '18.0.4-dev.1';
|
|
50
50
|
export { LbCookieStore } from './lb-cookie-store.js';
|
|
51
51
|
export { CrowdyClient, createCrowdyClient, } from './crowdy-client.js';
|
|
52
52
|
// The tier this build defaults to, exported so a consumer can PRINT what it is
|