@crowdedkingdoms/crowdyjs 8.13.0 → 8.14.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/dist/domains/controlPlane.d.ts +21 -1
- package/dist/domains/controlPlane.d.ts.map +1 -1
- package/dist/domains/controlPlane.js +27 -1
- package/dist/generated/graphql.d.ts +102 -0
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/kit/npcs.d.ts.map +1 -1
- package/dist/kit/social.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GraphQLClient } from '../client.js';
|
|
2
|
-
import { type CpEnvironmentsQuery, type CpEnvironmentQuery, type CpChangeOrdersQuery, type CpChangeOrderQuery, type CpAuditQuery, type CpSecretsQuery, type CpEnvSecretsQuery, type CpOvhCatalogSummaryQuery, type CpUsageSummaryQuery, type CpUnreleasedGameApiTagsQuery, type CpEnvironmentVersionsQuery, type OperatorUsersQuery, type SetEnvironmentDeletionProtectionMutation, type PutCpSecretMutation, type DeleteCpSecretMutation, type PutCpEnvSecretMutation, type IngestEnvironmentVersionMutation, type PublishEnvironmentReleaseFromGameApiTagMutation, type YankEnvironmentVersionMutation, type IngestEnvironmentVersionInput, type PublishEnvironmentReleaseFromGameApiTagInput } from '../generated/graphql.js';
|
|
2
|
+
import { type CpEnvironmentsQuery, type CpEnvironmentQuery, type CpChangeOrdersQuery, type CpChangeOrderQuery, type CpAuditQuery, type CpSecretsQuery, type CpEnvSecretsQuery, type CpOvhCatalogSummaryQuery, type CpComputePlatformCeilingsQuery, type CpSetComputePlatformCeilingsMutation, type CpSetComputePlatformCeilingsInput, type CpUsageSummaryQuery, type CpUnreleasedGameApiTagsQuery, type CpEnvironmentVersionsQuery, type OperatorUsersQuery, type SetEnvironmentDeletionProtectionMutation, type PutCpSecretMutation, type DeleteCpSecretMutation, type PutCpEnvSecretMutation, type IngestEnvironmentVersionMutation, type PublishEnvironmentReleaseFromGameApiTagMutation, type YankEnvironmentVersionMutation, type IngestEnvironmentVersionInput, type PublishEnvironmentReleaseFromGameApiTagInput } from '../generated/graphql.js';
|
|
3
3
|
/**
|
|
4
4
|
* Operator (control-plane) surface — exposed as `client.operator`.
|
|
5
5
|
*
|
|
@@ -81,6 +81,26 @@ export declare class ControlPlaneAPI {
|
|
|
81
81
|
* @returns The catalog rows.
|
|
82
82
|
*/
|
|
83
83
|
ovhCatalogSummary(region?: string): Promise<CpOvhCatalogSummaryQuery['cpOvhCatalogSummary']>;
|
|
84
|
+
/**
|
|
85
|
+
* Platform-wide compute ceilings (the maxima `computeSetPolicy` clamps to).
|
|
86
|
+
* Every knob is nullable: `null` means no operator override, so the
|
|
87
|
+
* env-var/bootstrap default applies on the game-api side.
|
|
88
|
+
*
|
|
89
|
+
* @returns The stored ceiling overrides plus updatedAt/updatedByUserId.
|
|
90
|
+
*/
|
|
91
|
+
computePlatformCeilings(): Promise<CpComputePlatformCeilingsQuery['cpComputePlatformCeilings']>;
|
|
92
|
+
/**
|
|
93
|
+
* Patch the platform compute ceilings. Patch semantics per knob: omit =
|
|
94
|
+
* unchanged, explicit `null` = clear the override (fall back to the
|
|
95
|
+
* game-api bootstrap default), positive value = set. Changes replica-sync
|
|
96
|
+
* to game-api and take effect on the next `computeSetPolicy` call (no
|
|
97
|
+
* restart), within a 30s cache bound. Writes a
|
|
98
|
+
* `compute.platform_ceilings_set` audit entry.
|
|
99
|
+
*
|
|
100
|
+
* @param input - The per-knob patch.
|
|
101
|
+
* @returns The stored ceilings after the patch.
|
|
102
|
+
*/
|
|
103
|
+
setComputePlatformCeilings(input: CpSetComputePlatformCeilingsInput): Promise<CpSetComputePlatformCeilingsMutation['cpSetComputePlatformCeilings']>;
|
|
84
104
|
/**
|
|
85
105
|
* Operator per-minute usage summary for any environment (not org-scoped).
|
|
86
106
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controlPlane.d.ts","sourceRoot":"","sources":["../../src/domains/controlPlane.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"controlPlane.d.ts","sourceRoot":"","sources":["../../src/domains/controlPlane.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAsBL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,wCAAwC,EAC7C,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,+CAA+C,EACpD,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,4CAA4C,EAClD,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;;;GAWG;AACH,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,aAAa;IAEtD;;;;;OAKG;IACG,YAAY,CAChB,IAAI,GAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAO,GAC9C,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IAQjD;;;;;OAKG;IACG,WAAW,CACf,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC;IAK/C;;;;;OAKG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ecretsDocument, CpEnvSecretsDocument, CpOvhCatalogSummaryDocument, CpUsageSummaryDocument, CpUnreleasedGameApiTagsDocument, CpEnvironmentVersionsDocument, OperatorUsersDocument, SetEnvironmentDeletionProtectionDocument, PutCpSecretDocument, DeleteCpSecretDocument, PutCpEnvSecretDocument, IngestEnvironmentVersionDocument, PublishEnvironmentReleaseFromGameApiTagDocument, YankEnvironmentVersionDocument, } from '../generated/graphql.js';
|
|
1
|
+
import { CpEnvironmentsDocument, CpEnvironmentDocument, CpChangeOrdersDocument, CpChangeOrderDocument, CpAuditDocument, CpSecretsDocument, CpEnvSecretsDocument, CpOvhCatalogSummaryDocument, CpComputePlatformCeilingsDocument, CpSetComputePlatformCeilingsDocument, CpUsageSummaryDocument, CpUnreleasedGameApiTagsDocument, CpEnvironmentVersionsDocument, OperatorUsersDocument, SetEnvironmentDeletionProtectionDocument, PutCpSecretDocument, DeleteCpSecretDocument, PutCpEnvSecretDocument, IngestEnvironmentVersionDocument, PublishEnvironmentReleaseFromGameApiTagDocument, YankEnvironmentVersionDocument, } from '../generated/graphql.js';
|
|
2
2
|
/**
|
|
3
3
|
* Operator (control-plane) surface — exposed as `client.operator`.
|
|
4
4
|
*
|
|
@@ -111,6 +111,32 @@ export class ControlPlaneAPI {
|
|
|
111
111
|
});
|
|
112
112
|
return data.cpOvhCatalogSummary;
|
|
113
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* Platform-wide compute ceilings (the maxima `computeSetPolicy` clamps to).
|
|
116
|
+
* Every knob is nullable: `null` means no operator override, so the
|
|
117
|
+
* env-var/bootstrap default applies on the game-api side.
|
|
118
|
+
*
|
|
119
|
+
* @returns The stored ceiling overrides plus updatedAt/updatedByUserId.
|
|
120
|
+
*/
|
|
121
|
+
async computePlatformCeilings() {
|
|
122
|
+
const data = await this.management.request(CpComputePlatformCeilingsDocument);
|
|
123
|
+
return data.cpComputePlatformCeilings;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Patch the platform compute ceilings. Patch semantics per knob: omit =
|
|
127
|
+
* unchanged, explicit `null` = clear the override (fall back to the
|
|
128
|
+
* game-api bootstrap default), positive value = set. Changes replica-sync
|
|
129
|
+
* to game-api and take effect on the next `computeSetPolicy` call (no
|
|
130
|
+
* restart), within a 30s cache bound. Writes a
|
|
131
|
+
* `compute.platform_ceilings_set` audit entry.
|
|
132
|
+
*
|
|
133
|
+
* @param input - The per-knob patch.
|
|
134
|
+
* @returns The stored ceilings after the patch.
|
|
135
|
+
*/
|
|
136
|
+
async setComputePlatformCeilings(input) {
|
|
137
|
+
const data = await this.management.request(CpSetComputePlatformCeilingsDocument, { input });
|
|
138
|
+
return data.cpSetComputePlatformCeilings;
|
|
139
|
+
}
|
|
114
140
|
/**
|
|
115
141
|
* Operator per-minute usage summary for any environment (not org-scoped).
|
|
116
142
|
*
|
|
@@ -1466,6 +1466,32 @@ export type CpChangeOrdersPage = {
|
|
|
1466
1466
|
/** Total rows across all pages (not just this page). */
|
|
1467
1467
|
total: Scalars['Int']['output'];
|
|
1468
1468
|
};
|
|
1469
|
+
/** Operator-set platform ceilings for the per-app WASM compute policy. Each field caps the matching wasm_module_policy knob platform-wide: game-api rejects computeSetPolicy values above the ceiling. A null field means no operator override is stored — game-api falls back to its COMPUTE_PLATFORM_MAX_* env var (bootstrap default), then to the built-in code default. Edits propagate to game-api replicas via replica sync and apply within ~30 seconds, without a game-api restart. */
|
|
1470
|
+
export type CpComputePlatformCeilings = {
|
|
1471
|
+
__typename?: 'CpComputePlatformCeilings';
|
|
1472
|
+
/** Max deterministic fuel budget per invoke (fuel_per_invoke ceiling; decimal string). Null = no override (game-api bootstrap default 50000000000). */
|
|
1473
|
+
fuelPerInvoke: Maybe<Scalars['BigInt']['output']>;
|
|
1474
|
+
/** Max deterministic fuel budget per tick (fuel_per_tick ceiling; decimal string). Null = no override (game-api bootstrap default 10000000000). */
|
|
1475
|
+
fuelPerTick: Maybe<Scalars['BigInt']['output']>;
|
|
1476
|
+
/** Max host data-API operations per tick (max_db_ops_per_tick ceiling). Null = no override (game-api bootstrap default 500). */
|
|
1477
|
+
maxDbOpsPerTick: Maybe<Scalars['Int']['output']>;
|
|
1478
|
+
/** Max module-emitted replication bytes per minute (max_egress_bytes_per_min ceiling; decimal string). Null = no override (game-api bootstrap default 100000000). */
|
|
1479
|
+
maxEgressBytesPerMin: Maybe<Scalars['BigInt']['output']>;
|
|
1480
|
+
/** Max module-emitted replication messages per minute (max_egress_msgs_per_min ceiling). Null = no override (game-api bootstrap default 60000). */
|
|
1481
|
+
maxEgressMsgsPerMin: Maybe<Scalars['Int']['output']>;
|
|
1482
|
+
/** Max WASM linear memory per module instance in MiB (max_memory_mb ceiling). Null = no override (game-api bootstrap default 512). */
|
|
1483
|
+
maxMemoryMb: Maybe<Scalars['Int']['output']>;
|
|
1484
|
+
/** Max compute modules per app (wasm_module_policy.max_modules ceiling). Null = no override (game-api bootstrap default 100). */
|
|
1485
|
+
maxModules: Maybe<Scalars['Int']['output']>;
|
|
1486
|
+
/** Max wall-clock watchdog deadline per entry call in milliseconds (max_run_ms ceiling). Null = no override (game-api bootstrap default 5000). */
|
|
1487
|
+
maxRunMs: Maybe<Scalars['Int']['output']>;
|
|
1488
|
+
/** Max tick trigger rate in Hz per module (max_tick_hz ceiling). Null = no override (game-api bootstrap default 60). */
|
|
1489
|
+
maxTickHz: Maybe<Scalars['Int']['output']>;
|
|
1490
|
+
/** When the ceilings row was last updated (UTC). */
|
|
1491
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1492
|
+
/** users.user_id of the operator who last updated the ceilings. Null when never edited. */
|
|
1493
|
+
updatedByUserId: Maybe<Scalars['String']['output']>;
|
|
1494
|
+
};
|
|
1469
1495
|
export type CpEnvSecretRow = {
|
|
1470
1496
|
__typename?: 'CpEnvSecretRow';
|
|
1471
1497
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -1551,6 +1577,27 @@ export type CpSecretRow = {
|
|
|
1551
1577
|
name: Scalars['String']['output'];
|
|
1552
1578
|
rotatedAt: Maybe<Scalars['DateTime']['output']>;
|
|
1553
1579
|
};
|
|
1580
|
+
/** Patch for cpSetComputePlatformCeilings. Omitted fields stay unchanged; a field set to an explicit null clears that override (game-api falls back to its COMPUTE_PLATFORM_MAX_* env var, then the code default); a value sets the ceiling. All values must be > 0. At least one field is required. */
|
|
1581
|
+
export type CpSetComputePlatformCeilingsInput = {
|
|
1582
|
+
/** Max fuel per invoke (decimal string). > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1583
|
+
fuelPerInvoke?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1584
|
+
/** Max fuel per tick (decimal string). > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1585
|
+
fuelPerTick?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1586
|
+
/** Max host data-API operations per tick. > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1587
|
+
maxDbOpsPerTick?: InputMaybe<Scalars['Int']['input']>;
|
|
1588
|
+
/** Max module-emitted replication bytes per minute (decimal string). > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1589
|
+
maxEgressBytesPerMin?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1590
|
+
/** Max module-emitted replication messages per minute. > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1591
|
+
maxEgressMsgsPerMin?: InputMaybe<Scalars['Int']['input']>;
|
|
1592
|
+
/** Max WASM memory per module instance in MiB. > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1593
|
+
maxMemoryMb?: InputMaybe<Scalars['Int']['input']>;
|
|
1594
|
+
/** Max compute modules per app. > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1595
|
+
maxModules?: InputMaybe<Scalars['Int']['input']>;
|
|
1596
|
+
/** Max watchdog deadline per entry call in milliseconds. > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1597
|
+
maxRunMs?: InputMaybe<Scalars['Int']['input']>;
|
|
1598
|
+
/** Max tick rate in Hz per module. > 0; explicit null clears the override; omit to leave unchanged. */
|
|
1599
|
+
maxTickHz?: InputMaybe<Scalars['Int']['input']>;
|
|
1600
|
+
};
|
|
1554
1601
|
export type CpStepRow = {
|
|
1555
1602
|
__typename?: 'CpStepRow';
|
|
1556
1603
|
attempt: Scalars['Int']['output'];
|
|
@@ -3170,6 +3217,8 @@ export type Mutation = {
|
|
|
3170
3217
|
confirmEmail: Scalars['Boolean']['output'];
|
|
3171
3218
|
/** Open the UDP proxy session for this game token (idempotent: returns the existing status if one is already open). Binds a socket and selects the game server with the fewest clients on first open. Optional: send mutations and udpNotifications also create a session lazily when none exists. To force a fresh socket, call disconnectUdpProxy first. */
|
|
3172
3219
|
connectUdpProxy: UdpProxyConnectionStatus;
|
|
3220
|
+
/** Operator only (is_operator). Patches the platform compute ceilings: omitted fields stay unchanged, an explicit null clears that override (game-api falls back to env/default), a value (> 0) sets it. SIDE EFFECTS: fans a replica notify out to every game-api so the new ceilings clamp computeSetPolicy within ~30 seconds without a restart, and writes an audit entry. Lowering a ceiling does not shrink already-stored per-app policies; it rejects future computeSetPolicy values above the new ceiling. Returns the updated ceilings row. */
|
|
3221
|
+
cpSetComputePlatformCeilings: CpComputePlatformCeilings;
|
|
3173
3222
|
/** Create a new access tier (a free/paid bundle of runtime permissions) for an app. Requires the 'manage_access_tiers' permission on the app (input.appId); super admins bypass. SIDE EFFECTS: validates the tier's permission keys against runtimePermissions and notifies the game API so Buddy sees the new tier. Does NOT grant the tier to any user. */
|
|
3174
3223
|
createAccessTier: AppAccessTier;
|
|
3175
3224
|
/** Creates an actor (a player’s presence/instance in an app world) owned by the authenticated user and returns the persisted row (including the server-set `createdAt`). Requires a valid game token. If `input.avatarId` is set it must reference an avatar the caller owns (throws Unauthorized otherwise). `input.uuid` must be the 32-character ASCII actor id used on the UDP wire (NOT a hyphenated RFC-4122 UUID). */
|
|
@@ -3561,6 +3610,9 @@ export type MutationComputeUpsertTriggerArgs = {
|
|
|
3561
3610
|
export type MutationConfirmEmailArgs = {
|
|
3562
3611
|
token: Scalars['String']['input'];
|
|
3563
3612
|
};
|
|
3613
|
+
export type MutationCpSetComputePlatformCeilingsArgs = {
|
|
3614
|
+
input: CpSetComputePlatformCeilingsInput;
|
|
3615
|
+
};
|
|
3564
3616
|
export type MutationCreateAccessTierArgs = {
|
|
3565
3617
|
input: CreateAccessTierInput;
|
|
3566
3618
|
};
|
|
@@ -4566,6 +4618,8 @@ export type Query = {
|
|
|
4566
4618
|
cpChangeOrder: Maybe<CpChangeOrderDetail>;
|
|
4567
4619
|
/** Operator only (is_operator). Paginated change orders, optionally filtered by environment. Returns a *Page (rows/total/page/pageSize); page is 1-based. */
|
|
4568
4620
|
cpChangeOrders: CpChangeOrdersPage;
|
|
4621
|
+
/** Operator only (is_operator). The stored platform ceilings for the per-app WASM compute policy (the nine knobs computeSetPolicy clamps against). Null fields mean no operator override: game-api uses its COMPUTE_PLATFORM_MAX_* env var, then the code default. Read-only. */
|
|
4622
|
+
cpComputePlatformCeilings: CpComputePlatformCeilings;
|
|
4569
4623
|
/** Operator only (is_operator). Lists environment-delivered secret metadata (names/kinds only, never plaintext) injected into the tenant runtime, optionally filtered by environment. */
|
|
4570
4624
|
cpEnvSecrets: Array<CpEnvSecretRow>;
|
|
4571
4625
|
/** Operator only (is_operator). Operator view of one environment by slug, across any org. Null when not found. */
|
|
@@ -6799,6 +6853,10 @@ export type WasmAppDiagnostics = {
|
|
|
6799
6853
|
moduleCount: Scalars['Int']['output'];
|
|
6800
6854
|
/** Runs in the last 24h. */
|
|
6801
6855
|
runs24h: Scalars['Int']['output'];
|
|
6856
|
+
/** Rust compiler version of the toolchain on the replica that served this query (the boot-logged fingerprint; replicas with skewed toolchains produce disjoint compile-cache keys). Null when the toolchain is not provisioned on this host. */
|
|
6857
|
+
toolchainRustVersion: Maybe<Scalars['String']['output']>;
|
|
6858
|
+
/** wasm-opt version of the toolchain on the replica that served this query. Null when the toolchain is not provisioned on this host. */
|
|
6859
|
+
toolchainWasmOptVersion: Maybe<Scalars['String']['output']>;
|
|
6802
6860
|
/** Most-active modules in the last 24h. */
|
|
6803
6861
|
topModules: Array<WasmTopModule>;
|
|
6804
6862
|
/** Trigger bindings defined. */
|
|
@@ -8999,6 +9057,8 @@ export type ComputeAppDiagnosticsQuery = {
|
|
|
8999
9057
|
runs24h: number;
|
|
9000
9058
|
failedRuns24h: number;
|
|
9001
9059
|
fuelUsed24h: string;
|
|
9060
|
+
toolchainRustVersion: string | null;
|
|
9061
|
+
toolchainWasmOptVersion: string | null;
|
|
9002
9062
|
topModules: Array<{
|
|
9003
9063
|
__typename?: 'WasmTopModule';
|
|
9004
9064
|
moduleName: string;
|
|
@@ -9424,6 +9484,46 @@ export type YankEnvironmentVersionMutation = {
|
|
|
9424
9484
|
__typename?: 'Mutation';
|
|
9425
9485
|
yankEnvironmentVersion: boolean;
|
|
9426
9486
|
};
|
|
9487
|
+
export type CpComputePlatformCeilingsQueryVariables = Exact<{
|
|
9488
|
+
[key: string]: never;
|
|
9489
|
+
}>;
|
|
9490
|
+
export type CpComputePlatformCeilingsQuery = {
|
|
9491
|
+
__typename?: 'Query';
|
|
9492
|
+
cpComputePlatformCeilings: {
|
|
9493
|
+
__typename?: 'CpComputePlatformCeilings';
|
|
9494
|
+
maxModules: number | null;
|
|
9495
|
+
maxTickHz: number | null;
|
|
9496
|
+
fuelPerTick: string | null;
|
|
9497
|
+
fuelPerInvoke: string | null;
|
|
9498
|
+
maxMemoryMb: number | null;
|
|
9499
|
+
maxRunMs: number | null;
|
|
9500
|
+
maxDbOpsPerTick: number | null;
|
|
9501
|
+
maxEgressMsgsPerMin: number | null;
|
|
9502
|
+
maxEgressBytesPerMin: string | null;
|
|
9503
|
+
updatedAt: string;
|
|
9504
|
+
updatedByUserId: string | null;
|
|
9505
|
+
};
|
|
9506
|
+
};
|
|
9507
|
+
export type CpSetComputePlatformCeilingsMutationVariables = Exact<{
|
|
9508
|
+
input: CpSetComputePlatformCeilingsInput;
|
|
9509
|
+
}>;
|
|
9510
|
+
export type CpSetComputePlatformCeilingsMutation = {
|
|
9511
|
+
__typename?: 'Mutation';
|
|
9512
|
+
cpSetComputePlatformCeilings: {
|
|
9513
|
+
__typename?: 'CpComputePlatformCeilings';
|
|
9514
|
+
maxModules: number | null;
|
|
9515
|
+
maxTickHz: number | null;
|
|
9516
|
+
fuelPerTick: string | null;
|
|
9517
|
+
fuelPerInvoke: string | null;
|
|
9518
|
+
maxMemoryMb: number | null;
|
|
9519
|
+
maxRunMs: number | null;
|
|
9520
|
+
maxDbOpsPerTick: number | null;
|
|
9521
|
+
maxEgressMsgsPerMin: number | null;
|
|
9522
|
+
maxEgressBytesPerMin: string | null;
|
|
9523
|
+
updatedAt: string;
|
|
9524
|
+
updatedByUserId: string | null;
|
|
9525
|
+
};
|
|
9526
|
+
};
|
|
9427
9527
|
export type CreateEnvironmentMutationVariables = Exact<{
|
|
9428
9528
|
input: CreateEnvironmentInput;
|
|
9429
9529
|
}>;
|
|
@@ -13624,6 +13724,8 @@ export declare const PutCpEnvSecretDocument: DocumentNode<PutCpEnvSecretMutation
|
|
|
13624
13724
|
export declare const IngestEnvironmentVersionDocument: DocumentNode<IngestEnvironmentVersionMutation, IngestEnvironmentVersionMutationVariables>;
|
|
13625
13725
|
export declare const PublishEnvironmentReleaseFromGameApiTagDocument: DocumentNode<PublishEnvironmentReleaseFromGameApiTagMutation, PublishEnvironmentReleaseFromGameApiTagMutationVariables>;
|
|
13626
13726
|
export declare const YankEnvironmentVersionDocument: DocumentNode<YankEnvironmentVersionMutation, YankEnvironmentVersionMutationVariables>;
|
|
13727
|
+
export declare const CpComputePlatformCeilingsDocument: DocumentNode<CpComputePlatformCeilingsQuery, CpComputePlatformCeilingsQueryVariables>;
|
|
13728
|
+
export declare const CpSetComputePlatformCeilingsDocument: DocumentNode<CpSetComputePlatformCeilingsMutation, CpSetComputePlatformCeilingsMutationVariables>;
|
|
13627
13729
|
export declare const CreateEnvironmentDocument: DocumentNode<CreateEnvironmentMutation, CreateEnvironmentMutationVariables>;
|
|
13628
13730
|
export declare const DestroyEnvironmentDocument: DocumentNode<DestroyEnvironmentMutation, DestroyEnvironmentMutationVariables>;
|
|
13629
13731
|
export declare const EnvironmentDatacentersDocument: DocumentNode<EnvironmentDatacentersQuery, EnvironmentDatacentersQueryVariables>;
|