@crowdedkingdoms/crowdyjs 18.0.4-dev.1 → 18.2.0-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 +52 -0
- package/README.md +36 -13
- package/dist/domains/admin.d.ts +2 -2
- package/dist/domains/admin.js +2 -2
- package/dist/domains/exec.d.ts +33 -5
- package/dist/domains/exec.d.ts.map +1 -1
- package/dist/domains/exec.js +142 -11
- package/dist/domains/gameApps.d.ts +26 -1
- package/dist/domains/gameApps.d.ts.map +1 -1
- package/dist/domains/gameApps.js +37 -1
- package/dist/generated/graphql.d.ts +81 -24
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +3 -1
- package/dist/grid-scope.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/kit/social.d.ts.map +1 -1
- package/dist/stores/chunks.d.ts +11 -4
- package/dist/stores/chunks.d.ts.map +1 -1
- package/dist/stores/chunks.js +16 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GraphQLClient } from '../client.js';
|
|
2
|
-
import { type GridOwnershipQuery, type AssignGridOwnershipMutation, type TransferGridOwnershipMutation, type GridUserPermissionsQuery, type NearbyGridPermissionsQuery, type NearbyGridsQuery, type GridPermissionLimitsQuery, type GridGroupGrantsQuery, type CreateGridMutation, type DeleteGridMutation, type GrantGridPermissionsMutation, type RevokeGridPermissionsMutation, type SetGridPermissionLimitsMutation, type AssignGroupToGridMutation, type RevokeGroupFromGridMutation, type AssignGridOwnershipInput, type TransferGridOwnershipInput, type NearbyGridPermissionsInput, type NearbyGridsInput, type CreateGridInput, type DeleteGridInput, type GrantGridPermissionsInput, type RevokeGridPermissionsInput, type SetGridPermissionLimitsInput, type AssignGroupToGridInput, type RevokeGroupFromGridInput } from '../generated/graphql.js';
|
|
2
|
+
import { type GridOwnershipQuery, type AssignGridOwnershipMutation, type TransferGridOwnershipMutation, type GridUserPermissionsQuery, type NearbyGridPermissionsQuery, type NearbyGridsQuery, type GridPermissionLimitsQuery, type GridOpenPermissionsQuery, type GridGroupGrantsQuery, type CreateGridMutation, type DeleteGridMutation, type GrantGridPermissionsMutation, type RevokeGridPermissionsMutation, type SetGridPermissionLimitsMutation, type SetGridOpenPermissionsMutation, type AssignGroupToGridMutation, type RevokeGroupFromGridMutation, type AssignGridOwnershipInput, type TransferGridOwnershipInput, type NearbyGridPermissionsInput, type NearbyGridsInput, type CreateGridInput, type DeleteGridInput, type GrantGridPermissionsInput, type RevokeGridPermissionsInput, type SetGridPermissionLimitsInput, type SetGridOpenPermissionsInput, type AssignGroupToGridInput, type RevokeGroupFromGridInput } from '../generated/graphql.js';
|
|
3
3
|
/**
|
|
4
4
|
* App grids + grid runtime-permission administration — exposed as
|
|
5
5
|
* `client.gameApps` (and grouped under `client.admin`).
|
|
@@ -65,6 +65,15 @@ export declare class GameAppsAPI {
|
|
|
65
65
|
* @returns The grid's permission limits.
|
|
66
66
|
*/
|
|
67
67
|
permissionLimits(appId: string, gridId: string): Promise<GridPermissionLimitsQuery['gridPermissionLimits']>;
|
|
68
|
+
/**
|
|
69
|
+
* Read the keys a grid grants every player with active access to the app
|
|
70
|
+
* (an open build area, a public arena). Empty means the grid is not open.
|
|
71
|
+
*
|
|
72
|
+
* @param appId - App that owns the grid.
|
|
73
|
+
* @param gridId - Grid whose open keys to read.
|
|
74
|
+
* @returns The grid's open keys.
|
|
75
|
+
*/
|
|
76
|
+
openPermissions(appId: string, gridId: string): Promise<GridOpenPermissionsQuery['gridOpenPermissions']>;
|
|
68
77
|
/**
|
|
69
78
|
* List a group's grants on a grid (rows of the group-grants input table).
|
|
70
79
|
*
|
|
@@ -119,6 +128,22 @@ export declare class GameAppsAPI {
|
|
|
119
128
|
* @returns The grid's updated permission limits.
|
|
120
129
|
*/
|
|
121
130
|
setPermissionLimits(input: SetGridPermissionLimitsInput): Promise<SetGridPermissionLimitsMutation['setGridPermissionLimits']>;
|
|
131
|
+
/**
|
|
132
|
+
* Open a grid to every player: replace the keys it grants each player with
|
|
133
|
+
* active access to the app, within its limits, then recompute the effective
|
|
134
|
+
* ACL for all of them. Players who gain access later get them too. The most
|
|
135
|
+
* specific grid covering a chunk decides a voxel write there, so a zone
|
|
136
|
+
* nested in the world grid that everyone may build in must grant
|
|
137
|
+
* `update_voxel_data` itself. An empty `permissionKeys` closes the grid.
|
|
138
|
+
*
|
|
139
|
+
* Refused with `BAD_REQUEST` for the app's world grid (open already), any of
|
|
140
|
+
* the four player-code keys, a key that is not an active grid key, and a
|
|
141
|
+
* 33rd open grid in one app.
|
|
142
|
+
*
|
|
143
|
+
* @param input - {@link SetGridOpenPermissionsInput}.
|
|
144
|
+
* @returns The grid's open keys after the change.
|
|
145
|
+
*/
|
|
146
|
+
setOpenPermissions(input: SetGridOpenPermissionsInput): Promise<SetGridOpenPermissionsMutation['setGridOpenPermissions']>;
|
|
122
147
|
/**
|
|
123
148
|
* Grant permission keys to a group (optionally a single role) on a grid;
|
|
124
149
|
* recomputes the effective ACL.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gameApps.d.ts","sourceRoot":"","sources":["../../src/domains/gameApps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"gameApps.d.ts","sourceRoot":"","sources":["../../src/domains/gameApps.ts"],"names":[],"mappings":"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"}
|
package/dist/domains/gameApps.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridOwnershipDocument, AssignGridOwnershipDocument, TransferGridOwnershipDocument, GridUserPermissionsDocument, NearbyGridPermissionsDocument, NearbyGridsDocument, GridPermissionLimitsDocument, GridGroupGrantsDocument, CreateGridDocument, DeleteGridDocument, GrantGridPermissionsDocument, RevokeGridPermissionsDocument, SetGridPermissionLimitsDocument, AssignGroupToGridDocument, RevokeGroupFromGridDocument, } from '../generated/graphql.js';
|
|
1
|
+
import { GridOwnershipDocument, AssignGridOwnershipDocument, TransferGridOwnershipDocument, GridUserPermissionsDocument, NearbyGridPermissionsDocument, NearbyGridsDocument, GridPermissionLimitsDocument, GridOpenPermissionsDocument, GridGroupGrantsDocument, CreateGridDocument, DeleteGridDocument, GrantGridPermissionsDocument, RevokeGridPermissionsDocument, SetGridPermissionLimitsDocument, SetGridOpenPermissionsDocument, AssignGroupToGridDocument, RevokeGroupFromGridDocument, } from '../generated/graphql.js';
|
|
2
2
|
/**
|
|
3
3
|
* App grids + grid runtime-permission administration — exposed as
|
|
4
4
|
* `client.gameApps` (and grouped under `client.admin`).
|
|
@@ -98,6 +98,21 @@ export class GameAppsAPI {
|
|
|
98
98
|
});
|
|
99
99
|
return data.gridPermissionLimits;
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Read the keys a grid grants every player with active access to the app
|
|
103
|
+
* (an open build area, a public arena). Empty means the grid is not open.
|
|
104
|
+
*
|
|
105
|
+
* @param appId - App that owns the grid.
|
|
106
|
+
* @param gridId - Grid whose open keys to read.
|
|
107
|
+
* @returns The grid's open keys.
|
|
108
|
+
*/
|
|
109
|
+
async openPermissions(appId, gridId) {
|
|
110
|
+
const data = await this.graphql.request(GridOpenPermissionsDocument, {
|
|
111
|
+
appId,
|
|
112
|
+
gridId,
|
|
113
|
+
});
|
|
114
|
+
return data.gridOpenPermissions;
|
|
115
|
+
}
|
|
101
116
|
/**
|
|
102
117
|
* List a group's grants on a grid (rows of the group-grants input table).
|
|
103
118
|
*
|
|
@@ -180,6 +195,27 @@ export class GameAppsAPI {
|
|
|
180
195
|
});
|
|
181
196
|
return data.setGridPermissionLimits;
|
|
182
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* Open a grid to every player: replace the keys it grants each player with
|
|
200
|
+
* active access to the app, within its limits, then recompute the effective
|
|
201
|
+
* ACL for all of them. Players who gain access later get them too. The most
|
|
202
|
+
* specific grid covering a chunk decides a voxel write there, so a zone
|
|
203
|
+
* nested in the world grid that everyone may build in must grant
|
|
204
|
+
* `update_voxel_data` itself. An empty `permissionKeys` closes the grid.
|
|
205
|
+
*
|
|
206
|
+
* Refused with `BAD_REQUEST` for the app's world grid (open already), any of
|
|
207
|
+
* the four player-code keys, a key that is not an active grid key, and a
|
|
208
|
+
* 33rd open grid in one app.
|
|
209
|
+
*
|
|
210
|
+
* @param input - {@link SetGridOpenPermissionsInput}.
|
|
211
|
+
* @returns The grid's open keys after the change.
|
|
212
|
+
*/
|
|
213
|
+
async setOpenPermissions(input) {
|
|
214
|
+
const data = await this.graphql.request(SetGridOpenPermissionsDocument, {
|
|
215
|
+
input,
|
|
216
|
+
});
|
|
217
|
+
return data.setGridOpenPermissions;
|
|
218
|
+
}
|
|
183
219
|
/**
|
|
184
220
|
* Grant permission keys to a group (optionally a single role) on a grid;
|
|
185
221
|
* recomputes the effective ACL.
|
|
@@ -916,7 +916,7 @@ export type App = {
|
|
|
916
916
|
updatedAt: Scalars['DateTime']['output'];
|
|
917
917
|
/** Marketplace discoverability (PUBLIC/UNLISTED/PRIVATE). See AppVisibility. */
|
|
918
918
|
visibility: AppVisibility;
|
|
919
|
-
/** Whether players may write the app's wilderness: chunks that no grid but the app's world grid covers. True (the default) leaves those writes to the ordinary voxel permission; false refuses every voxel and chunk write there (updateVoxel, sendVoxelUpdate, updateChunk, ck-exec's world.set_voxels), whoever makes it. Set with updateApp (manage_apps). */
|
|
919
|
+
/** Whether players may write the app's wilderness: chunks that no grid but the app's world grid covers. True (the default) leaves those writes to the ordinary voxel permission; false refuses every voxel and chunk write there (updateVoxel, sendVoxelUpdate, updateChunk, ck-exec's world.set_voxels, and a client's voxel updates sent straight to the realtime servers), whoever makes it. Set with updateApp (manage_apps). */
|
|
920
920
|
wildernessWritesOpen: Scalars['Boolean']['output'];
|
|
921
921
|
};
|
|
922
922
|
/** A free or purchasable access tier for an app, bundling a price and the set of runtime permission keys that granted users receive. */
|
|
@@ -1096,7 +1096,7 @@ export type AppMarketplaceFilterInput = {
|
|
|
1096
1096
|
/** Per-player usage row for studio diagnostics (top spenders / quota utilization): one (player, app) aggregate over a window. */
|
|
1097
1097
|
export type AppPlayerUsageRow = {
|
|
1098
1098
|
__typename?: 'AppPlayerUsageRow';
|
|
1099
|
-
/**
|
|
1099
|
+
/** Legacy: the removed engines' player automation units. Always 0 for usage since the legacy engines were removed; kept for the API shape until the migration. */
|
|
1100
1100
|
automationUnits: Scalars['BigInt']['output'];
|
|
1101
1101
|
/**
|
|
1102
1102
|
* DEPRECATED. chargedMicrousd / 10,000 truncated toward zero.
|
|
@@ -1105,7 +1105,7 @@ export type AppPlayerUsageRow = {
|
|
|
1105
1105
|
chargedCents: Scalars['BigInt']['output'];
|
|
1106
1106
|
/** Micro-USD charged to the player for this app in the window (exact). */
|
|
1107
1107
|
chargedMicrousd: Scalars['BigInt']['output'];
|
|
1108
|
-
/**
|
|
1108
|
+
/** Legacy: compile submissions of the removed player-compute engine (mod builds are not counted). Always 0 for usage since the legacy engines were removed; kept for the API shape until the migration. */
|
|
1109
1109
|
compileCount: Scalars['Int']['output'];
|
|
1110
1110
|
/** Player compute units used. */
|
|
1111
1111
|
computeUnits: Scalars['BigInt']['output'];
|
|
@@ -1219,11 +1219,11 @@ export type AppUsageSummary = {
|
|
|
1219
1219
|
__typename?: 'AppUsageSummary';
|
|
1220
1220
|
/** App id (as a string). */
|
|
1221
1221
|
appId: Scalars['String']['output'];
|
|
1222
|
-
/**
|
|
1222
|
+
/** Legacy: billed compute units of the removed automation engine over the window (string counter). Always 0 for usage since the legacy engines were removed; kept for the API shape until the migration. */
|
|
1223
1223
|
automationComputeUnits: Scalars['String']['output'];
|
|
1224
|
-
/**
|
|
1224
|
+
/** Legacy: function invocations of the removed automation engine over the window (string counter). Always 0 for usage since the legacy engines were removed; kept for the API shape until the migration. */
|
|
1225
1225
|
automationInvocations: Scalars['String']['output'];
|
|
1226
|
-
/**
|
|
1226
|
+
/** Legacy: runs of the removed automation engine over the window (string counter). Always 0 for usage since the legacy engines were removed; kept for the API shape until the migration. */
|
|
1227
1227
|
automationRuns: Scalars['String']['output'];
|
|
1228
1228
|
/** Total GraphQL bytes received (string counter). */
|
|
1229
1229
|
graphqlRecvBytes: Scalars['String']['output'];
|
|
@@ -1611,7 +1611,7 @@ export declare enum CheckoutPurpose {
|
|
|
1611
1611
|
Donation = "DONATION",
|
|
1612
1612
|
/** Add funds to an organization wallet. Requires orgId and amountCents, and the caller must hold the org "manage_billing" permission. Credits the org wallet on completion. */
|
|
1613
1613
|
OrgWalletTopup = "ORG_WALLET_TOPUP",
|
|
1614
|
-
/** Add funds to the caller's own player wallet (
|
|
1614
|
+
/** Add funds to the caller's own player wallet, which pays for their mods past the monthly trial (see PlayerWallet). Requires amountCents only — any authenticated user may fund their own wallet; no org permission is involved. Credits the player wallet idempotently on completion. */
|
|
1615
1615
|
PlayerWalletTopup = "PLAYER_WALLET_TOPUP",
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Deprecated. Historically a purchase of in-world property tokens. No longer purchasable and rejected at runtime by createCheckout.
|
|
@@ -3241,7 +3241,7 @@ export type DefineAppFeatureInput = {
|
|
|
3241
3241
|
appId: Scalars['BigInt']['input'];
|
|
3242
3242
|
/** Optional description of the feature. */
|
|
3243
3243
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
3244
|
-
/** The feature key
|
|
3244
|
+
/** The feature key, as ck-exec code reads it among a player's features. */
|
|
3245
3245
|
featureKey: Scalars['String']['input'];
|
|
3246
3246
|
};
|
|
3247
3247
|
/** Identifies a studio-created grid to delete. The default open-by-default world grid and grids that still contain nested child grids cannot be removed. */
|
|
@@ -3833,14 +3833,14 @@ export type GetVoxelListInput = {
|
|
|
3833
3833
|
/** Address of the chunk whose voxel edits to list. */
|
|
3834
3834
|
coordinates: ChunkCoordinatesInput;
|
|
3835
3835
|
};
|
|
3836
|
-
/** An app feature key that
|
|
3836
|
+
/** An app feature key that access tiers can grant. ck-exec code reads the keys a player's tier grants with `ctx.players().features(player)`. */
|
|
3837
3837
|
export type GmAppFeature = {
|
|
3838
3838
|
__typename?: 'GmAppFeature';
|
|
3839
3839
|
/** The app (tenant) that defines the feature. */
|
|
3840
3840
|
appId: Scalars['BigInt']['output'];
|
|
3841
3841
|
/** Optional description of the feature. */
|
|
3842
3842
|
description: Maybe<Scalars['String']['output']>;
|
|
3843
|
-
/** The feature key
|
|
3843
|
+
/** The feature key, as ck-exec code reads it among a player's features. */
|
|
3844
3844
|
featureKey: Scalars['String']['output'];
|
|
3845
3845
|
};
|
|
3846
3846
|
/** A grant of a feature key to an access tier. */
|
|
@@ -3999,6 +3999,16 @@ export type GridGroupGrant = {
|
|
|
3999
3999
|
/** The runtime permission key string granted to the group/role. */
|
|
4000
4000
|
permissionKey: Scalars['String']['output'];
|
|
4001
4001
|
};
|
|
4002
|
+
/** The permission keys a grid grants every player with active access to the app (the grid_open_permissions input table). */
|
|
4003
|
+
export type GridOpenPermissions = {
|
|
4004
|
+
__typename?: 'GridOpenPermissions';
|
|
4005
|
+
/** The app (tenant) that owns the grid. */
|
|
4006
|
+
appId: Scalars['BigInt']['output'];
|
|
4007
|
+
/** The grid. */
|
|
4008
|
+
gridId: Scalars['BigInt']['output'];
|
|
4009
|
+
/** The keys every player with active access holds on this grid (its limits still cap them). Empty means the grid is not open. */
|
|
4010
|
+
permissionKeys: Array<Scalars['String']['output']>;
|
|
4011
|
+
};
|
|
4002
4012
|
/** Kind of principal holding grid title. P1 can assign USER owners; GROUP and ORG are schema-reserved for future shared ownership. */
|
|
4003
4013
|
export declare enum GridOwnerKind {
|
|
4004
4014
|
Group = "GROUP",
|
|
@@ -4345,7 +4355,7 @@ export type Mutation = {
|
|
|
4345
4355
|
claimFreeAppAccess: AppUserAccess;
|
|
4346
4356
|
/** Claim the hosting slug for an app (idempotent; the same app re-claiming its slug is a no-op, a different slug MOVES the game). Registers https://<games host>/<slug>/ and https://<slug>.<content host> as the app's redirect URIs and sets launch_url to the former. Requires manage_apps on the app and a SESSION token. Refuses a slug that is not a DNS label, is reserved, or belongs to another app (HOSTED_SLUG_UNAVAILABLE), and answers CONTENT_HOSTING_DISABLED on a tier without a content CDN. */
|
|
4347
4357
|
claimGameHosting: HostedGame;
|
|
4348
|
-
/** Claim one
|
|
4358
|
+
/** Claim one wilderness chunk (a chunk no grid but the app's world grid covers) as a new player-owned grid. Requires an ordinary app-scoped player token and active app access, but never manage_apps. The app's policy must be SELF_CLAIM. A chunk inside another grid (a plot, a zone or another claim) is refused FORBIDDEN (GRID_NOT_CLAIMABLE): the claim would be the most specific grid there and take the chunk from whoever that grid grants. The server validates the app's grid assignment and peer-overlap rules, then atomically creates a one-chunk grid, assigns current-user ownership, grants access/update_voxel_data/use_voice_chat/teleport plus the player-code keys and use_video_chat where the caller's tier already carries them, and materializes the effective ACL. Conflicts and policy denials throw GraphQL errors; no partial grid, ownership, or grant rows remain. */
|
|
4349
4359
|
claimGridChunk: ChunkClaimResult;
|
|
4350
4360
|
/** Claim grid ownership under the app's claim policy (D4, server-authorized — no client manage_apps involved). SELF_CLAIM assigns ownership immediately; APPROVAL creates a pending request for designated approvers; INVITE requires a standing invite (consumed on use); MARKETPLACE_ONLY refuses. The grid must exist and have no current owner; game rules gate who may attempt a claim. */
|
|
4351
4361
|
claimGridOwnership: GridClaimResult;
|
|
@@ -4503,9 +4513,9 @@ export type Mutation = {
|
|
|
4503
4513
|
forceLogoutUser: Scalars['Boolean']['output'];
|
|
4504
4514
|
/** Operator only (is_operator). Deletes the stored deliverability rows for one address (email_status and email_events) and returns how many rows went. Exists so a verification run is not reading the previous run's events, and so an address suppressed by a bounce that has since been fixed can be given another chance. Returns 0 when there was nothing stored. */
|
|
4505
4515
|
forgetEmailDeliverability: Scalars['Int']['output'];
|
|
4506
|
-
/** Define an app feature key that
|
|
4516
|
+
/** Define an app feature key that access tiers can be granted. ck-exec code reads the keys a player's tier grants with `ctx.players().features(player)` (scope `players.read`) and gates on them itself. The `gameModel` prefix is a legacy name. Idempotent on (app, featureKey). Requires app-admin ('manage_apps'). */
|
|
4507
4517
|
gameModelDefineFeature: GmAppFeature;
|
|
4508
|
-
/** Grant a feature key to an access tier, so
|
|
4518
|
+
/** Grant a feature key to an access tier, so it is among the features ck-exec code reads with `ctx.players().features(player)` for every player with active access on that tier. The `gameModel` prefix is a legacy name. Requires app-admin ('manage_apps'). */
|
|
4509
4519
|
gameModelGrantTierFeature: GmTierFeature;
|
|
4510
4520
|
/** Revoke a feature key from an access tier. Requires app-admin ('manage_apps'). Returns true if a grant was removed. */
|
|
4511
4521
|
gameModelRevokeTierFeature: Scalars['Boolean']['output'];
|
|
@@ -4603,7 +4613,7 @@ export type Mutation = {
|
|
|
4603
4613
|
sendTextPacket: Scalars['Boolean']['output'];
|
|
4604
4614
|
/** Send ONE webcam video fragment, fanned out to nearby actors as a ClientVideoNotification (Buddy v0.25.0). Requires a bearer game token and the use_video_chat runtime permission at app AND grid level -- without it the game server responds asynchronously with a GenericErrorResponse (errorCode UNAUTHORIZED). A datagram carries at most ~1117 bytes of videoData, so an encoded frame is split by the SDK into fragments (6-byte header: version, codec, frameId, fragIndex, fragCount; at most 16 per frame) and reassembled by receivers; this is a mutation PER FRAGMENT and sustained video belongs on the binary realtime relay. Every receiver in range pays the egress bytes: keep distance small and frames few. Opens a UDP proxy session automatically if none exists. Returns Boolean! that is true only when the datagram was ACCEPTED FOR SENDING -- NOT that it was delivered; the sender receives no echo, only errors (GenericErrorResponse, correlated by sequenceNumber) on udpNotifications. */
|
|
4605
4615
|
sendVideoPacket: Scalars['Boolean']['output'];
|
|
4606
|
-
/** Send a single voxel (block) update for spatial replication to nearby chunks. Requires a bearer game token; opens a UDP proxy session automatically if none exists. Returns Boolean! that is true only when the datagram was ACCEPTED FOR SENDING to the game server — NOT confirmation that the world applied the change. There is NO separate per-request success response: the change fans out to nearby clients (the sender included) as a VoxelUpdateNotification carrying the same sequenceNumber (VoxelUpdateResponse is legacy and is never emitted). Failures arrive ASYNCHRONOUSLY as a GenericErrorResponse; both are correlated by the request sequenceNumber (correlation only — not an idempotency key; the server does not dedupe replays). Throws FORBIDDEN synchronously for a chunk only the app's world grid covers while the app's wilderness is closed (App.wildernessWritesOpen false). */
|
|
4616
|
+
/** Send a single voxel (block) update for spatial replication to nearby chunks. Requires a bearer game token; opens a UDP proxy session automatically if none exists. Returns Boolean! that is true only when the datagram was ACCEPTED FOR SENDING to the game server — NOT confirmation that the world applied the change. There is NO separate per-request success response: the change fans out to nearby clients (the sender included) as a VoxelUpdateNotification carrying the same sequenceNumber (VoxelUpdateResponse is legacy and is never emitted). Failures arrive ASYNCHRONOUSLY as a GenericErrorResponse; both are correlated by the request sequenceNumber (correlation only — not an idempotency key; the server does not dedupe replays). Throws FORBIDDEN synchronously, before anything is sent, without the voxel edit permission updateVoxel checks for the chunk (app access, the tier's update_voxel_data, and update_voxel_data on the most specific grid covering the chunk), and for a chunk only the app's world grid covers while the app's wilderness is closed (App.wildernessWritesOpen false). */
|
|
4607
4617
|
sendVoxelUpdate: Scalars['Boolean']['output'];
|
|
4608
4618
|
/** Creates or updates an app's monthly spend cap (idempotent upsert keyed by org + app) and returns the resulting budget. This only records the cap used to monitor/limit overspend; it does not move money, charge a card, or alter the wallet balance. Requires the 'manage_billing' app permission. */
|
|
4609
4619
|
setAppBudget: AppBudget;
|
|
@@ -4633,6 +4643,8 @@ export type Mutation = {
|
|
|
4633
4643
|
setCrowdyStudioAgentPolicy: CrowdyStudioAgentPolicy;
|
|
4634
4644
|
/** Sets the per-user early-access override flag, forcing early access on or off regardless of the global free-play window. Requires a super-admin bearer game token (and the management API enabled). */
|
|
4635
4645
|
setEarlyAccessOverride: User;
|
|
4646
|
+
/** Open a grid to every player: replace the permission keys it grants each player with active access to the app (writes the `grid_open_permissions` input table), then recompute the grid's materialized effective ACL for all of them. The most specific grid covering a chunk decides a voxel write there, so a zone inside the world grid that everyone may build in must grant `update_voxel_data` itself. The grid's limits still cap these keys; players who get access later receive them when they connect. Pass an empty array to close the grid. Refuses the app's world grid (already open), the four player-code keys, and a 33rd open grid in one app. Requires app-admin ('manage_apps'). */
|
|
4647
|
+
setGridOpenPermissions: GridOpenPermissions;
|
|
4636
4648
|
/** Replace the whitelist of permission keys allowed on a grid (writes the `grid_permission_limits` input table), then recompute the grid's materialized effective ACL so any keys no longer on the whitelist are dropped for all users. Pass an empty array to remove all limits. Requires app-admin ('manage_apps'). DESTRUCTIVE: narrowing the whitelist can strip effective permissions from existing users on the grid. */
|
|
4637
4649
|
setGridPermissionLimits: GridPermissionLimits;
|
|
4638
4650
|
/** Developer switch: DISABLED (the shell says "disabled by its developer") or back to LIVE. A TAKEN_DOWN game is refused (HOSTED_GAME_TAKEN_DOWN). Requires manage_apps and a SESSION token. */
|
|
@@ -4697,7 +4709,7 @@ export type Mutation = {
|
|
|
4697
4709
|
updateChannel: Group;
|
|
4698
4710
|
/** Update a channel role's name, rank, and/or permission keys (system roles cannot be renamed/re-ranked). When permissions are supplied they REPLACE the role's existing keys. Requires the 'manage_roles' channel permission (app admins bypass). Note: changing send_messages here does not re-push Buddy until affected members' roles are re-applied via setChannelMemberRoles. */
|
|
4699
4711
|
updateChannelRole: GroupRole;
|
|
4700
|
-
/** Creates or replaces a chunk's dense voxel grid and/or per-voxel states for the given app and coordinates, records each provided voxel state as an individual voxel update, and asynchronously uploads the chunk to the CDN. WRITES world state. Leaves chunkState and LODs untouched. Requires an app token for the app and either the 'manage_apps' permission on the app (resolved via its org; super admins bypass) or the voxel edit permission for this chunk that updateVoxel checks (app access, the tier's update_voxel_data, and update_voxel_data on
|
|
4712
|
+
/** Creates or replaces a chunk's dense voxel grid and/or per-voxel states for the given app and coordinates, records each provided voxel state as an individual voxel update, and asynchronously uploads the chunk to the CDN. WRITES world state. Leaves chunkState and LODs untouched. Requires an app token for the app and either the 'manage_apps' permission on the app (resolved via its org; super admins bypass) or the voxel edit permission for this chunk that updateVoxel checks (app access, the tier's update_voxel_data, and update_voxel_data on the most specific grid covering the chunk). Throws FORBIDDEN otherwise, and for a chunk only the app's world grid covers while the app's wilderness is closed (App.wildernessWritesOpen false). */
|
|
4701
4713
|
updateChunk: Chunk;
|
|
4702
4714
|
/** Replaces the level-of-detail (LOD) set for a chunk, preserving voxels, per-voxel states, chunk state and owner; returns the updated chunk (or null if it could not be written). WRITES world state. Requires a valid bearer token AND the `manage_apps` permission on the org that owns input.appId (super admins bypass). */
|
|
4703
4715
|
updateChunkLods: Maybe<Chunk>;
|
|
@@ -4721,7 +4733,7 @@ export type Mutation = {
|
|
|
4721
4733
|
updateUserState: User;
|
|
4722
4734
|
/** Sets the target user’s account `user_type` (e.g. "direct", "deleted"). Requires a super-admin bearer game token (and the management API enabled). */
|
|
4723
4735
|
updateUserType: User;
|
|
4724
|
-
/** Records (upserts) a single voxel edit in the voxel_updates log for one chunk and returns the resulting Voxel. WRITES world state; a background maintenance job later folds these edits into the chunk's packed grid. Requires a valid bearer token AND voxel-edit permission for the target region: the user must have active app access, the `update_voxel_data` tier permission, and (
|
|
4736
|
+
/** Records (upserts) a single voxel edit in the voxel_updates log for one chunk and returns the resulting Voxel. WRITES world state; a background maintenance job later folds these edits into the chunk's packed grid. Requires a valid bearer token AND voxel-edit permission for the target region: the user must have active app access, the `update_voxel_data` tier permission, and `update_voxel_data` on the most specific grid covering the chunk (the smallest by volume; of equal ones the lowest grid id), so a claim, a plot or a safe zone decides its chunks and the app's world grid decides only the wilderness. A chunk no grid covers is refused, and so is a chunk only the app's world grid covers while the app's wilderness is closed (App.wildernessWritesOpen false). */
|
|
4725
4737
|
updateVoxel: Voxel;
|
|
4726
4738
|
};
|
|
4727
4739
|
export type MutationAbandonGamePublishArgs = {
|
|
@@ -5287,6 +5299,9 @@ export type MutationSetEarlyAccessOverrideArgs = {
|
|
|
5287
5299
|
userId: Scalars['BigInt']['input'];
|
|
5288
5300
|
value: Scalars['Boolean']['input'];
|
|
5289
5301
|
};
|
|
5302
|
+
export type MutationSetGridOpenPermissionsArgs = {
|
|
5303
|
+
input: SetGridOpenPermissionsInput;
|
|
5304
|
+
};
|
|
5290
5305
|
export type MutationSetGridPermissionLimitsArgs = {
|
|
5291
5306
|
input: SetGridPermissionLimitsInput;
|
|
5292
5307
|
};
|
|
@@ -6088,7 +6103,7 @@ export type PlayerUsageCharge = {
|
|
|
6088
6103
|
/** The owning player user id. */
|
|
6089
6104
|
userId: Scalars['BigInt']['output'];
|
|
6090
6105
|
};
|
|
6091
|
-
/** The caller's player wallet
|
|
6106
|
+
/** The caller's player wallet: one platform-scoped balance, across every org and app they play in, that pays for the player's mods past their monthly trial (250,000 compute units in each app) and for any Agentic Studio model requests charged to them. Out-of-band from org wallets — player usage never touches an org's money. */
|
|
6092
6107
|
export type PlayerWallet = {
|
|
6093
6108
|
__typename?: 'PlayerWallet';
|
|
6094
6109
|
/**
|
|
@@ -6285,7 +6300,7 @@ export type Query = {
|
|
|
6285
6300
|
appPlayerMarkupAccrued: Scalars['BigInt']['output'];
|
|
6286
6301
|
/** Total player rate-card markup credited to this app's org wallet (`markup_payout` rows, mirrored as CREDIT events on the ledger), in micro-USD, exact. Cents-era accruals from before the ledger are included. Requires 'view_billing'. */
|
|
6287
6302
|
appPlayerMarkupAccruedMicrousd: Scalars['BigInt']['output'];
|
|
6288
|
-
/** Per-player usage aggregate for an app over a trailing window (top spenders / quota utilization
|
|
6303
|
+
/** Per-player usage aggregate for an app over a trailing window (top spenders / quota utilization): the compute units each player's mods used, and what the player was charged for this app. automationUnits and compileCount are legacy and always 0 for usage since the legacy engines were removed. Requires 'view_compute_diagnostics'. */
|
|
6289
6304
|
appPlayerUsage: Array<AppPlayerUsageRow>;
|
|
6290
6305
|
/** Shared-environment runtime gate decision plus current hour/day billing-window usage for an app. Read this to learn why an app is not running (runtimeDenialReason). Caller must be a member of the app's org. */
|
|
6291
6306
|
appRuntimeState: AppRuntimeState;
|
|
@@ -6445,6 +6460,8 @@ export type Query = {
|
|
|
6445
6460
|
gridClaimRequests: Array<GridClaimRequest>;
|
|
6446
6461
|
/** List the group/role -> permission-key grants configured on a grid for one group (rows of the `grid_group_grants` input table). These are inputs to the effective ACL, not the materialized result — use `gridUserPermissions` for a specific user's effective keys. Requires app-admin ('manage_apps'). */
|
|
6447
6462
|
gridGroupGrants: Array<GridGroupGrant>;
|
|
6463
|
+
/** Read the permission keys a grid grants every player with active access to the app (an open build area, a public arena). An empty list means the grid is not open. Requires app-admin ('manage_apps'). */
|
|
6464
|
+
gridOpenPermissions: GridOpenPermissions;
|
|
6448
6465
|
/** Read the current first-class ownership record for a grid. Requires authentication. Returns null when the grid has no current/unexpired owner. Player server code always resolves its execution identity from this record. */
|
|
6449
6466
|
gridOwnership: Maybe<GridOwnership>;
|
|
6450
6467
|
/** Read the permission-key whitelist configured for a grid. An empty list means there is no limit (every active runtime permission may be granted on the grid). Requires app-admin ('manage_apps'). */
|
|
@@ -6545,7 +6562,7 @@ export type Query = {
|
|
|
6545
6562
|
playerSpendCaps: Array<PlayerSpendCap>;
|
|
6546
6563
|
/** The caller's posted hourly player-usage charges, newest first, optionally filtered by app. Each charge splits platformCents (base rate card) from markupCents (the studio's configured markup) with a per-metric snapshot — players always see what the platform charges and what the studio adds. */
|
|
6547
6564
|
playerUsageCharges: Array<PlayerUsageCharge>;
|
|
6548
|
-
/** The caller's player wallet, created empty on first access (never null). Platform-scoped: one wallet
|
|
6565
|
+
/** The caller's player wallet, created empty on first access (never null). Platform-scoped: one wallet, across every org and app, pays for the player's mods past their monthly trial and any Agentic Studio model requests charged to them; org billing never touches it. Fund it via createCheckout purpose PLAYER_WALLET_TOPUP. */
|
|
6549
6566
|
playerWalletBalance: PlayerWallet;
|
|
6550
6567
|
/** The caller's player-wallet ledger, newest first: top-ups, hourly usage debits (per app), auto-recharges, refunds, and adjustments. Usage-debit hours are broken down by playerUsageCharges, whose snapshot splits the platform and studio-markup components. */
|
|
6551
6568
|
playerWalletTransactions: Array<PlayerWalletTransaction>;
|
|
@@ -6956,6 +6973,10 @@ export type QueryGridGroupGrantsArgs = {
|
|
|
6956
6973
|
gridId: Scalars['BigInt']['input'];
|
|
6957
6974
|
groupId: Scalars['BigInt']['input'];
|
|
6958
6975
|
};
|
|
6976
|
+
export type QueryGridOpenPermissionsArgs = {
|
|
6977
|
+
appId: Scalars['BigInt']['input'];
|
|
6978
|
+
gridId: Scalars['BigInt']['input'];
|
|
6979
|
+
};
|
|
6959
6980
|
export type QueryGridOwnershipArgs = {
|
|
6960
6981
|
appId: Scalars['BigInt']['input'];
|
|
6961
6982
|
gridId: Scalars['BigInt']['input'];
|
|
@@ -7713,6 +7734,15 @@ export type SetCrowdyStudioProviderConsentInput = {
|
|
|
7713
7734
|
/** True to accept, false to revoke. */
|
|
7714
7735
|
consented: Scalars['Boolean']['input'];
|
|
7715
7736
|
};
|
|
7737
|
+
/** Set the permission keys a grid grants every player with active access to the app (writes the grid_open_permissions input table): an open build area, a public arena. */
|
|
7738
|
+
export type SetGridOpenPermissionsInput = {
|
|
7739
|
+
/** The app (tenant) that owns the grid. */
|
|
7740
|
+
appId: Scalars['BigInt']['input'];
|
|
7741
|
+
/** The grid to open (or close). Not the app's world grid, which is open by default. */
|
|
7742
|
+
gridId: Scalars['BigInt']['input'];
|
|
7743
|
+
/** The keys every player with active access holds on this grid, capped by its limits. Empty array closes it (players keep only what they are granted directly or through a group). Each must be an active grid permission key, unique, at most 64 chars, and not one of the four player-code keys. */
|
|
7744
|
+
permissionKeys: Array<Scalars['String']['input']>;
|
|
7745
|
+
};
|
|
7716
7746
|
/** Set the per-grid permission-key whitelist (writes the grid_permission_limits input table). */
|
|
7717
7747
|
export type SetGridPermissionLimitsInput = {
|
|
7718
7748
|
/** The app (tenant) that owns the grid. */
|
|
@@ -8058,7 +8088,7 @@ export type UpdateAppInput = {
|
|
|
8058
8088
|
status?: InputMaybe<AppStatus>;
|
|
8059
8089
|
/** New visibility (PUBLIC/UNLISTED/PRIVATE). Omit to leave unchanged. */
|
|
8060
8090
|
visibility?: InputMaybe<AppVisibility>;
|
|
8061
|
-
/** Open (true) or close (false) the app's wilderness to voxel and chunk writes: chunks that no grid but the app's world grid covers. Closing refuses every write there, whoever makes it; each game API replica acts on the change within 15 seconds. Omit to leave unchanged. */
|
|
8091
|
+
/** Open (true) or close (false) the app's wilderness to voxel and chunk writes: chunks that no grid but the app's world grid covers. Closing refuses every write there, whoever makes it; each game API replica, and each realtime server for a client's direct voxel updates, acts on the change within about 15 seconds. Omit to leave unchanged. */
|
|
8062
8092
|
wildernessWritesOpen?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8063
8093
|
};
|
|
8064
8094
|
export type UpdateAvatarAppStateInput = {
|
|
@@ -8345,13 +8375,13 @@ export type VoxelCoordinates = {
|
|
|
8345
8375
|
/** Local voxel Z within the chunk (0-15 for in-bounds voxels). */
|
|
8346
8376
|
z: Scalars['Int']['output'];
|
|
8347
8377
|
};
|
|
8348
|
-
/** Input form of a voxel position LOCAL to its chunk (see VoxelCoordinates).
|
|
8378
|
+
/** Input form of a voxel position LOCAL to its chunk (see VoxelCoordinates). Each coordinate is 0-15 on a 16x16x16 chunk, and the voxel writes (updateVoxel, sendVoxelUpdate, updateChunk's voxelStates) refuse any other value. Teleport's voxelAddress, which is not a write, takes any signed 16-bit value. */
|
|
8349
8379
|
export type VoxelCoordinatesInput = {
|
|
8350
|
-
/** Local voxel X within the chunk
|
|
8380
|
+
/** Local voxel X within the chunk, 0-15; voxel writes refuse other values. */
|
|
8351
8381
|
x: Scalars['Int']['input'];
|
|
8352
|
-
/** Local voxel Y within the chunk
|
|
8382
|
+
/** Local voxel Y within the chunk, 0-15; voxel writes refuse other values. */
|
|
8353
8383
|
y: Scalars['Int']['input'];
|
|
8354
|
-
/** Local voxel Z within the chunk
|
|
8384
|
+
/** Local voxel Z within the chunk, 0-15; voxel writes refuse other values. */
|
|
8355
8385
|
z: Scalars['Int']['input'];
|
|
8356
8386
|
};
|
|
8357
8387
|
/** A single voxel's state override stored on a chunk: its local position, its voxel type, and an opaque base64-encoded state blob. */
|
|
@@ -11473,6 +11503,19 @@ export type GridPermissionLimitsQuery = {
|
|
|
11473
11503
|
permissionKeys: Array<string>;
|
|
11474
11504
|
};
|
|
11475
11505
|
};
|
|
11506
|
+
export type GridOpenPermissionsQueryVariables = Exact<{
|
|
11507
|
+
appId: Scalars['BigInt']['input'];
|
|
11508
|
+
gridId: Scalars['BigInt']['input'];
|
|
11509
|
+
}>;
|
|
11510
|
+
export type GridOpenPermissionsQuery = {
|
|
11511
|
+
__typename?: 'Query';
|
|
11512
|
+
gridOpenPermissions: {
|
|
11513
|
+
__typename?: 'GridOpenPermissions';
|
|
11514
|
+
appId: string;
|
|
11515
|
+
gridId: string;
|
|
11516
|
+
permissionKeys: Array<string>;
|
|
11517
|
+
};
|
|
11518
|
+
};
|
|
11476
11519
|
export type GridGroupGrantsQueryVariables = Exact<{
|
|
11477
11520
|
appId: Scalars['BigInt']['input'];
|
|
11478
11521
|
gridId: Scalars['BigInt']['input'];
|
|
@@ -11566,6 +11609,18 @@ export type SetGridPermissionLimitsMutation = {
|
|
|
11566
11609
|
permissionKeys: Array<string>;
|
|
11567
11610
|
};
|
|
11568
11611
|
};
|
|
11612
|
+
export type SetGridOpenPermissionsMutationVariables = Exact<{
|
|
11613
|
+
input: SetGridOpenPermissionsInput;
|
|
11614
|
+
}>;
|
|
11615
|
+
export type SetGridOpenPermissionsMutation = {
|
|
11616
|
+
__typename?: 'Mutation';
|
|
11617
|
+
setGridOpenPermissions: {
|
|
11618
|
+
__typename?: 'GridOpenPermissions';
|
|
11619
|
+
appId: string;
|
|
11620
|
+
gridId: string;
|
|
11621
|
+
permissionKeys: Array<string>;
|
|
11622
|
+
};
|
|
11623
|
+
};
|
|
11569
11624
|
export type AssignGroupToGridMutationVariables = Exact<{
|
|
11570
11625
|
input: AssignGroupToGridInput;
|
|
11571
11626
|
}>;
|
|
@@ -14486,12 +14541,14 @@ export declare const GridUserPermissionsDocument: DocumentNode<GridUserPermissio
|
|
|
14486
14541
|
export declare const NearbyGridPermissionsDocument: DocumentNode<NearbyGridPermissionsQuery, NearbyGridPermissionsQueryVariables>;
|
|
14487
14542
|
export declare const NearbyGridsDocument: DocumentNode<NearbyGridsQuery, NearbyGridsQueryVariables>;
|
|
14488
14543
|
export declare const GridPermissionLimitsDocument: DocumentNode<GridPermissionLimitsQuery, GridPermissionLimitsQueryVariables>;
|
|
14544
|
+
export declare const GridOpenPermissionsDocument: DocumentNode<GridOpenPermissionsQuery, GridOpenPermissionsQueryVariables>;
|
|
14489
14545
|
export declare const GridGroupGrantsDocument: DocumentNode<GridGroupGrantsQuery, GridGroupGrantsQueryVariables>;
|
|
14490
14546
|
export declare const CreateGridDocument: DocumentNode<CreateGridMutation, CreateGridMutationVariables>;
|
|
14491
14547
|
export declare const DeleteGridDocument: DocumentNode<DeleteGridMutation, DeleteGridMutationVariables>;
|
|
14492
14548
|
export declare const GrantGridPermissionsDocument: DocumentNode<GrantGridPermissionsMutation, GrantGridPermissionsMutationVariables>;
|
|
14493
14549
|
export declare const RevokeGridPermissionsDocument: DocumentNode<RevokeGridPermissionsMutation, RevokeGridPermissionsMutationVariables>;
|
|
14494
14550
|
export declare const SetGridPermissionLimitsDocument: DocumentNode<SetGridPermissionLimitsMutation, SetGridPermissionLimitsMutationVariables>;
|
|
14551
|
+
export declare const SetGridOpenPermissionsDocument: DocumentNode<SetGridOpenPermissionsMutation, SetGridOpenPermissionsMutationVariables>;
|
|
14495
14552
|
export declare const AssignGroupToGridDocument: DocumentNode<AssignGroupToGridMutation, AssignGroupToGridMutationVariables>;
|
|
14496
14553
|
export declare const RevokeGroupFromGridDocument: DocumentNode<RevokeGroupFromGridMutation, RevokeGroupFromGridMutationVariables>;
|
|
14497
14554
|
export declare const CreateGridChannelDocument: DocumentNode<CreateGridChannelMutation, CreateGridChannelMutationVariables>;
|