@crowdedkingdoms/crowdyjs 15.8.0 → 15.9.0-test.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 +11 -0
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.js +6 -6
- package/dist/domains/gameApps.d.ts +10 -1
- package/dist/domains/gameApps.d.ts.map +1 -1
- package/dist/domains/gameApps.js +13 -1
- package/dist/domains/gameModel.d.ts +3 -1
- package/dist/domains/gameModel.d.ts.map +1 -1
- package/dist/domains/gameModel.js +3 -1
- package/dist/generated/graphql.d.ts +72 -20
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +3 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +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/dist/world.d.ts.map +1 -1
- package/dist/world.js +3 -1
- package/package.json +1 -1
package/MIGRATION.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
# CrowdyJS v15.9 — nearbyGrids, player_joined, bindPolicyJson
|
|
2
|
+
|
|
3
|
+
**Nothing removed.** `15.9.0` (2026-09-10). Tracks ck-api `v1.93.0`.
|
|
4
|
+
|
|
5
|
+
- `gameApps.nearbyGrids` lists overlapping grids (id + bounds). No permission
|
|
6
|
+
keys and no impersonation `userId`. `nearbyPermissions` is unchanged.
|
|
7
|
+
- Codegen picks up `player_joined` (automations / compute `onEvent`) and
|
|
8
|
+
`gameModelSeed` container upsert (`seed:<tempId>`).
|
|
9
|
+
- Studio ops return `bindPolicyJson` on container types. Authoring surface
|
|
10
|
+
only — do not write live Titan Assault policies from the SDK.
|
|
11
|
+
|
|
1
12
|
# CrowdyJS v15.8 — Construct papercuts
|
|
2
13
|
|
|
3
14
|
**Nothing removed.** `15.8.0` (2026-09-09).
|
package/dist/default-origin.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED — do not edit. The operator tooling's
|
|
3
|
-
* `sync-client-origins.mjs --write --tier
|
|
3
|
+
* `sync-client-origins.mjs --write --tier test` writes this file, and
|
|
4
4
|
* `check-sdk-default-origin.mjs` refuses it when it names the wrong tier or a
|
|
5
5
|
* host that declaration does not carry. Regenerate; never hand-edit.
|
|
6
6
|
*
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
* than no default at all. Every fallback this SDK ever removed named a host that
|
|
11
11
|
* was already dead. A generated file plus a gate is what makes this one different.
|
|
12
12
|
*
|
|
13
|
-
* Source: the operator's per-tier public CK API origin declaration, tier '
|
|
13
|
+
* Source: the operator's per-tier public CK API origin declaration, tier 'test'
|
|
14
14
|
*/
|
|
15
15
|
/** The tier this build of the SDK is published for. */
|
|
16
|
-
export declare const CROWDY_DEFAULT_TIER = "
|
|
16
|
+
export declare const CROWDY_DEFAULT_TIER = "test";
|
|
17
17
|
/** The public CK API origin for that tier. */
|
|
18
|
-
export declare const CROWDY_DEFAULT_HTTP_ORIGIN = "https://ck.
|
|
18
|
+
export declare const CROWDY_DEFAULT_HTTP_ORIGIN = "https://ck.test.crowdedkingdoms.com";
|
|
19
19
|
/** The same host over WebSocket. A scheme is composed; a hostname is looked up. */
|
|
20
|
-
export declare const CROWDY_DEFAULT_WS_ORIGIN = "wss://ck.
|
|
20
|
+
export declare const CROWDY_DEFAULT_WS_ORIGIN = "wss://ck.test.crowdedkingdoms.com";
|
|
21
21
|
/** The bare hostname, for callers that need to compare rather than dial. */
|
|
22
|
-
export declare const CROWDY_DEFAULT_HOST = "ck.
|
|
22
|
+
export declare const CROWDY_DEFAULT_HOST = "ck.test.crowdedkingdoms.com";
|
|
23
23
|
//# sourceMappingURL=default-origin.d.ts.map
|
package/dist/default-origin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED — do not edit. The operator tooling's
|
|
3
|
-
* `sync-client-origins.mjs --write --tier
|
|
3
|
+
* `sync-client-origins.mjs --write --tier test` writes this file, and
|
|
4
4
|
* `check-sdk-default-origin.mjs` refuses it when it names the wrong tier or a
|
|
5
5
|
* host that declaration does not carry. Regenerate; never hand-edit.
|
|
6
6
|
*
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* than no default at all. Every fallback this SDK ever removed named a host that
|
|
11
11
|
* was already dead. A generated file plus a gate is what makes this one different.
|
|
12
12
|
*
|
|
13
|
-
* Source: the operator's per-tier public CK API origin declaration, tier '
|
|
13
|
+
* Source: the operator's per-tier public CK API origin declaration, tier 'test'
|
|
14
14
|
*/
|
|
15
15
|
/** The tier this build of the SDK is published for. */
|
|
16
|
-
export const CROWDY_DEFAULT_TIER = '
|
|
16
|
+
export const CROWDY_DEFAULT_TIER = 'test';
|
|
17
17
|
/** The public CK API origin for that tier. */
|
|
18
|
-
export const CROWDY_DEFAULT_HTTP_ORIGIN = 'https://ck.
|
|
18
|
+
export const CROWDY_DEFAULT_HTTP_ORIGIN = 'https://ck.test.crowdedkingdoms.com';
|
|
19
19
|
/** The same host over WebSocket. A scheme is composed; a hostname is looked up. */
|
|
20
|
-
export const CROWDY_DEFAULT_WS_ORIGIN = 'wss://ck.
|
|
20
|
+
export const CROWDY_DEFAULT_WS_ORIGIN = 'wss://ck.test.crowdedkingdoms.com';
|
|
21
21
|
/** The bare hostname, for callers that need to compare rather than dial. */
|
|
22
|
-
export const CROWDY_DEFAULT_HOST = 'ck.
|
|
22
|
+
export const CROWDY_DEFAULT_HOST = 'ck.test.crowdedkingdoms.com';
|
|
@@ -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 GridPermissionLimitsQuery, type GridGroupGrantsQuery, type CreateGridMutation, type DeleteGridMutation, type GrantGridPermissionsMutation, type RevokeGridPermissionsMutation, type SetGridPermissionLimitsMutation, type AssignGroupToGridMutation, type RevokeGroupFromGridMutation, type AssignGridOwnershipInput, type TransferGridOwnershipInput, type NearbyGridPermissionsInput, 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 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';
|
|
3
3
|
/**
|
|
4
4
|
* App grids + grid runtime-permission administration — exposed as
|
|
5
5
|
* `client.gameApps` (and grouped under `client.admin`).
|
|
@@ -48,6 +48,15 @@ export declare class GameAppsAPI {
|
|
|
48
48
|
* @returns The overlapping grids with effective permissions.
|
|
49
49
|
*/
|
|
50
50
|
nearbyPermissions(input: NearbyGridPermissionsInput): Promise<NearbyGridPermissionsQuery['nearbyGridPermissions']>;
|
|
51
|
+
/**
|
|
52
|
+
* List grids overlapping a chunk-coordinate box. Player-safe: bounds only,
|
|
53
|
+
* no permission keys and no impersonation userId. Requires an app-scoped
|
|
54
|
+
* token (ck-api v1.93.0).
|
|
55
|
+
*
|
|
56
|
+
* @param input - {@link NearbyGridsInput} (app, corners).
|
|
57
|
+
* @returns The overlapping grids with id and bounds.
|
|
58
|
+
*/
|
|
59
|
+
nearbyGrids(input: NearbyGridsInput): Promise<NearbyGridsQuery['nearbyGrids']>;
|
|
51
60
|
/**
|
|
52
61
|
* Read the permission-key whitelist configured for a grid (empty = no limit).
|
|
53
62
|
*
|
|
@@ -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":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAgBL,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC9B,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;;;GAWG;AACH,qBAAa,WAAW;IACV,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,aAAa;IAEnD;;;OAGG;IACG,SAAS,CACb,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,kBAAkB,CAAC,eAAe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ACG,iBAAiB,CACrB,KAAK,EAAE,0BAA0B,GAChC,OAAO,CAAC,6BAA6B,CAAC,uBAAuB,CAAC,CAAC;IAOlE;;;;;;OAMG;IACG,mBAAmB,CACvB,KAAK,EAAE,4BAA4B,GAClC,OAAO,CAAC,+BAA+B,CAAC,yBAAyB,CAAC,CAAC;IAOtE;;;;;;OAMG;IACG,WAAW,CACf,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,yBAAyB,CAAC,mBAAmB,CAAC,CAAC;IAO1D;;;;;;OAMG;IACG,WAAW,CACf,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,2BAA2B,CAAC,qBAAqB,CAAC,CAAC;CAM/D"}
|
package/dist/domains/gameApps.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridOwnershipDocument, AssignGridOwnershipDocument, TransferGridOwnershipDocument, GridUserPermissionsDocument, NearbyGridPermissionsDocument, GridPermissionLimitsDocument, GridGroupGrantsDocument, CreateGridDocument, DeleteGridDocument, GrantGridPermissionsDocument, RevokeGridPermissionsDocument, SetGridPermissionLimitsDocument, AssignGroupToGridDocument, RevokeGroupFromGridDocument, } from '../generated/graphql.js';
|
|
1
|
+
import { GridOwnershipDocument, AssignGridOwnershipDocument, TransferGridOwnershipDocument, GridUserPermissionsDocument, NearbyGridPermissionsDocument, NearbyGridsDocument, GridPermissionLimitsDocument, GridGroupGrantsDocument, CreateGridDocument, DeleteGridDocument, GrantGridPermissionsDocument, RevokeGridPermissionsDocument, SetGridPermissionLimitsDocument, 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`).
|
|
@@ -72,6 +72,18 @@ export class GameAppsAPI {
|
|
|
72
72
|
});
|
|
73
73
|
return data.nearbyGridPermissions;
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* List grids overlapping a chunk-coordinate box. Player-safe: bounds only,
|
|
77
|
+
* no permission keys and no impersonation userId. Requires an app-scoped
|
|
78
|
+
* token (ck-api v1.93.0).
|
|
79
|
+
*
|
|
80
|
+
* @param input - {@link NearbyGridsInput} (app, corners).
|
|
81
|
+
* @returns The overlapping grids with id and bounds.
|
|
82
|
+
*/
|
|
83
|
+
async nearbyGrids(input) {
|
|
84
|
+
const data = await this.graphql.request(NearbyGridsDocument, { input });
|
|
85
|
+
return data.nearbyGrids;
|
|
86
|
+
}
|
|
75
87
|
/**
|
|
76
88
|
* Read the permission-key whitelist configured for a grid (empty = no limit).
|
|
77
89
|
*
|
|
@@ -517,7 +517,9 @@ export declare class GameModelAPI {
|
|
|
517
517
|
* the `typeName` (the stable upsert key, unique per app); a `displayName`;
|
|
518
518
|
* optional `description`; optional `instantiableBy` (`admin | member |
|
|
519
519
|
* owner`); optional `defaultPropertyVisibility` (`public | owner | hidden`);
|
|
520
|
-
*
|
|
520
|
+
* optional `bindPolicyJson` (who may claim a `bindingKey` on
|
|
521
|
+
* `ensureContainer`; omit to leave the type unbound); and optional
|
|
522
|
+
* `metadataJson` (JSON-object string).
|
|
521
523
|
* @returns The upserted {@link GmContainerType}.
|
|
522
524
|
* @throws {CrowdyGraphQLError} `UNAUTHENTICATED` / `SCOPE_MISSING`,
|
|
523
525
|
* `FORBIDDEN` (`requiredPermission === 'manage_apps'`), or `BAD_USER_INPUT`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gameModel.d.ts","sourceRoot":"","sources":["../../src/domains/gameModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAIlD,OAAO,EAGL,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,EAE5C,KAAK,4BAA4B,EACjC,KAAK,qCAAqC,EAE1C,KAAK,+BAA+B,EACpC,KAAK,wCAAwC,EAE7C,KAAK,gCAAgC,EACrC,KAAK,yCAAyC,EAE9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535
535
|
* optional `description`; optional `instantiableBy` (`admin | member |
|
|
536
536
|
* owner`); optional `defaultPropertyVisibility` (`public | owner | hidden`);
|
|
537
|
-
*
|
|
537
|
+
* optional `bindPolicyJson` (who may claim a `bindingKey` on
|
|
538
|
+
* `ensureContainer`; omit to leave the type unbound); and optional
|
|
539
|
+
* `metadataJson` (JSON-object string).
|
|
538
540
|
* @returns The upserted {@link GmContainerType}.
|
|
539
541
|
* @throws {CrowdyGraphQLError} `UNAUTHENTICATED` / `SCOPE_MISSING`,
|
|
540
542
|
* `FORBIDDEN` (`requiredPermission === 'manage_apps'`), or `BAD_USER_INPUT`.
|
|
@@ -47,7 +47,7 @@ export type Scalars = {
|
|
|
47
47
|
input: string;
|
|
48
48
|
output: string;
|
|
49
49
|
};
|
|
50
|
-
/**
|
|
50
|
+
/** ISO-8601 DateTime or relative duration (e.g. 1d, 7d, 1h) interpreted as a lookback window ending at now. */
|
|
51
51
|
DateTime: {
|
|
52
52
|
input: string;
|
|
53
53
|
output: string;
|
|
@@ -3525,7 +3525,7 @@ export type EngineComputeUnits = {
|
|
|
3525
3525
|
export type EnsureContainerInput = {
|
|
3526
3526
|
/** The app (tenant) the container belongs to. */
|
|
3527
3527
|
appId: Scalars['BigInt']['input'];
|
|
3528
|
-
/** Opaque client-derived key (max 128 chars) identifying the shared container within (appId, typeName, sessionId). All concurrent ensures with the same key return the same containerId. */
|
|
3528
|
+
/** Opaque client-derived key (max 128 chars) identifying the shared container within (appId, typeName, sessionId). All concurrent ensures with the same key return the same containerId. The prefix `seed:` is reserved for gameModelSeed; non-admin ensureContainer may not claim it. */
|
|
3529
3529
|
bindingKey: Scalars['String']['input'];
|
|
3530
3530
|
/** Optional description. Used ONLY when this call creates the row. */
|
|
3531
3531
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4033,19 +4033,19 @@ export type GmAutomationTrigger = {
|
|
|
4033
4033
|
appId: Scalars['BigInt']['output'];
|
|
4034
4034
|
/** The automation this trigger fires. */
|
|
4035
4035
|
automationId: Scalars['String']['output'];
|
|
4036
|
-
/** Filter: only this container type. Always null for player_count_changed and
|
|
4036
|
+
/** Filter: only this container type. Always null for player_count_changed, player_left and player_joined. */
|
|
4037
4037
|
containerTypeName: Maybe<Scalars['String']['output']>;
|
|
4038
4038
|
/** Debounce window in ms. player_count_changed coalesces on the trailing edge; other model events use their existing leading-edge behavior. */
|
|
4039
4039
|
debounceMs: Scalars['Int']['output'];
|
|
4040
|
-
/** Filter: only this function name. Always null for player_count_changed and
|
|
4040
|
+
/** Filter: only this function name. Always null for player_count_changed, player_left and player_joined. */
|
|
4041
4041
|
functionName: Maybe<Scalars['String']['output']>;
|
|
4042
4042
|
/** When this trigger last matched an event and dispatched a run, or null if it has never matched. A trigger that stays null while its event is happening is almost always a filter that cannot match — see warnings. */
|
|
4043
4043
|
lastMatchedAt: Maybe<Scalars['DateTime']['output']>;
|
|
4044
4044
|
/** Runs this trigger dispatched in the last 24 hours, including runs a guard then dropped. Fires suppressed by debounceMs never reach a run and are not counted. */
|
|
4045
4045
|
matchCount24h: Scalars['Int']['output'];
|
|
4046
|
-
/** Observed event: function_invoked | property_changed | container_created | player_count_changed | player_left. */
|
|
4046
|
+
/** Observed event: function_invoked | property_changed | container_created | player_count_changed | player_left | player_joined. */
|
|
4047
4047
|
onEvent: Scalars['String']['output'];
|
|
4048
|
-
/** Filter: only this property key. Always null for player_count_changed and
|
|
4048
|
+
/** Filter: only this property key. Always null for player_count_changed, player_left and player_joined. */
|
|
4049
4049
|
propertyKey: Maybe<Scalars['String']['output']>;
|
|
4050
4050
|
/** Unique trigger id (UUID). */
|
|
4051
4051
|
triggerId: Scalars['String']['output'];
|
|
@@ -4494,7 +4494,7 @@ export type GmPropertyPredicateInput = {
|
|
|
4494
4494
|
/** JSON-encoded comparison value (e.g. '"enemy"', 'true', '10'). */
|
|
4495
4495
|
valueJson: Scalars['String']['input'];
|
|
4496
4496
|
};
|
|
4497
|
-
/** Summary of what a gameModelSeed call created. */
|
|
4497
|
+
/** Summary of what a gameModelSeed call created. containersCreated / edgesCreated count new rows only; idMapJson still maps every tempId, including existing containers on re-seed. */
|
|
4498
4498
|
export type GmSeedResult = {
|
|
4499
4499
|
__typename?: 'GmSeedResult';
|
|
4500
4500
|
/** Number of container types created. */
|
|
@@ -4505,7 +4505,7 @@ export type GmSeedResult = {
|
|
|
4505
4505
|
edgesCreated: Scalars['Int']['output'];
|
|
4506
4506
|
/** Number of functions created. */
|
|
4507
4507
|
functionsCreated: Scalars['Int']['output'];
|
|
4508
|
-
/** JSON object mapping seed temp_id ->
|
|
4508
|
+
/** JSON object mapping seed temp_id -> container UUID (existing id on re-seed). */
|
|
4509
4509
|
idMapJson: Scalars['String']['output'];
|
|
4510
4510
|
/** Number of property definitions created. */
|
|
4511
4511
|
propertyDefinitionsCreated: Scalars['Int']['output'];
|
|
@@ -5310,7 +5310,7 @@ export type Mutation = {
|
|
|
5310
5310
|
gameModelDeleteFunction: Scalars['Boolean']['output'];
|
|
5311
5311
|
/** Delete a property definition from a container type. Does not remove instance property values already stored on containers. Requires app-admin ('manage_apps'). DESTRUCTIVE. Returns true if a definition was deleted. */
|
|
5312
5312
|
gameModelDeletePropertyDef: Scalars['Boolean']['output'];
|
|
5313
|
-
/** Atomically get-or-create a container by an opaque bindingKey, unique per (appId, typeName, sessionId). Concurrent ensures with the same key all return the SAME containerId and exactly one response has created: true — no client-side leader election or list-then-create coordination is needed for shared world objects. When the row already exists this behaves like a read (creation-only fields are ignored and the type's instantiableBy rule is NOT enforced); when it does not exist, creation is authorized exactly like gameModelCreateContainer (instantiableBy + owner rules) AND by the type's bindPolicy, so a caller who may not instantiate the type, or may not claim keys for it, errors only in the not-exists case. bindingKey is client-supplied, so on a member- or owner-instantiable type ANY entitled player may create the keyed row and becomes its owner — which inverts every owner_of_self invoke policy on that type. Set the container type's bindPolicy (e.g. {"type":"is_host"}), or use an admin-instantiable type, for any object more than one player shares. Requires a valid token. */
|
|
5313
|
+
/** Atomically get-or-create a container by an opaque bindingKey, unique per (appId, typeName, sessionId). Concurrent ensures with the same key all return the SAME containerId and exactly one response has created: true — no client-side leader election or list-then-create coordination is needed for shared world objects. When the row already exists this behaves like a read (creation-only fields are ignored and the type's instantiableBy rule is NOT enforced); when it does not exist, creation is authorized exactly like gameModelCreateContainer (instantiableBy + owner rules) AND by the type's bindPolicy, so a caller who may not instantiate the type, or may not claim keys for it, errors only in the not-exists case. bindingKey is client-supplied, so on a member- or owner-instantiable type ANY entitled player may create the keyed row and becomes its owner — which inverts every owner_of_self invoke policy on that type. Set the container type's bindPolicy (e.g. {"type":"is_host"}), or use an admin-instantiable type, for any object more than one player shares. The prefix `seed:` is reserved for gameModelSeed (v1.93.0); a non-admin ensure cannot claim it. Requires a valid token. */
|
|
5314
5314
|
gameModelEnsureContainer: GmEnsureContainerResult;
|
|
5315
5315
|
/** Grant a feature key to an access tier, so users on that tier satisfy tier_feature authority checks for it. Requires app-admin ('manage_apps'). */
|
|
5316
5316
|
gameModelGrantTierFeature: GmTierFeature;
|
|
@@ -5324,7 +5324,7 @@ export type Mutation = {
|
|
|
5324
5324
|
gameModelRunAutomation: GmAutomationRun;
|
|
5325
5325
|
/** Arm a one-shot timer: invoke a function once, after a delay. The timer is durable (it survives an API restart) and claimed by exactly one replica, so it fires once. A timer whose deadline passes while the app has no players WAITS rather than firing into an empty world, and fires when somebody returns: late, not lost. Read the clock in the handler rather than assuming the delay you asked for is the delay that elapsed. The target function must be autonomousInvocable, because the fire is headless and runs with system authority rather than a player's — which is also why this needs app-admin ('manage_apps'). For player-driven delays, author a timers effect on a function instead so the delay is part of your game logic. Supply dedupeKey to make re-arming replace the pending timer rather than queue another fire. */
|
|
5326
5326
|
gameModelScheduleInvoke: GmTimer;
|
|
5327
|
-
/** Bulk-create game-model definitions (container types, property defs, functions) and
|
|
5327
|
+
/** Bulk-create game-model definitions (container types, property defs, functions) and upsert instances (containers + edges) in one transaction — used to initialize or import a model. Seed containers bind as `seed:` + tempId and re-seed maps tempId to the existing id (containersCreated increments only on insert). Requires app-admin ('manage_apps'). */
|
|
5328
5328
|
gameModelSeed: GmSeedResult;
|
|
5329
5329
|
/** Enable or disable an automation. Re-enabling also resets its circuit breaker (closed, zero failures, no pause) so a tripped automation resumes. Requires app-admin ('manage_apps'). */
|
|
5330
5330
|
gameModelSetAutomationEnabled: GmAutomation;
|
|
@@ -6504,6 +6504,18 @@ export type MutationUpdateUserTypeArgs = {
|
|
|
6504
6504
|
export type MutationUpdateVoxelArgs = {
|
|
6505
6505
|
input: UpdateVoxelInput;
|
|
6506
6506
|
};
|
|
6507
|
+
/** A grid overlapping a scanned region (returned by nearbyGrids). Bounds only — no permission keys. */
|
|
6508
|
+
export type NearbyGrid = {
|
|
6509
|
+
__typename?: 'NearbyGrid';
|
|
6510
|
+
/** The app (tenant) that owns the grid. */
|
|
6511
|
+
appId: Scalars['BigInt']['output'];
|
|
6512
|
+
/** The grid id. */
|
|
6513
|
+
gridId: Scalars['BigInt']['output'];
|
|
6514
|
+
/** High (maximum) corner chunk of the grid box. */
|
|
6515
|
+
highChunk: ChunkCoordinates;
|
|
6516
|
+
/** Low (minimum) corner chunk of the grid box. */
|
|
6517
|
+
lowChunk: ChunkCoordinates;
|
|
6518
|
+
};
|
|
6507
6519
|
/** A grid overlapping a scanned region, plus a user's effective permission keys on it (returned by nearbyGridPermissions). */
|
|
6508
6520
|
export type NearbyGridPermissions = {
|
|
6509
6521
|
__typename?: 'NearbyGridPermissions';
|
|
@@ -6531,6 +6543,15 @@ export type NearbyGridPermissionsInput = {
|
|
|
6531
6543
|
/** The user whose effective permissions to report per grid. */
|
|
6532
6544
|
userId: Scalars['BigInt']['input'];
|
|
6533
6545
|
};
|
|
6546
|
+
/** Scan a region for grids. Player-safe: returns bounds only, no permission keys and no impersonation userId. */
|
|
6547
|
+
export type NearbyGridsInput = {
|
|
6548
|
+
/** The app (tenant) to scan within. */
|
|
6549
|
+
appId: Scalars['BigInt']['input'];
|
|
6550
|
+
/** High corner of the region to scan, in chunk coordinates (normalized). */
|
|
6551
|
+
highChunk: ChunkCoordinatesInput;
|
|
6552
|
+
/** Low corner of the region to scan, in chunk coordinates (normalized). */
|
|
6553
|
+
lowChunk: ChunkCoordinatesInput;
|
|
6554
|
+
};
|
|
6534
6555
|
/** One named argument expression of a notify_* effect. */
|
|
6535
6556
|
export type NotificationArgInput = {
|
|
6536
6557
|
/** Expression string (compiled to AST server-side; evaluated post-mutation). */
|
|
@@ -7949,6 +7970,8 @@ export type Query = {
|
|
|
7949
7970
|
myTeams: Array<GroupMembership>;
|
|
7950
7971
|
/** List every grid overlapping a chunk-coordinate bounding box, each with the given user's effective permission keys on it. Useful for previewing what a user can do across a region (e.g. around their current position). Requires app-admin ('manage_apps'). */
|
|
7951
7972
|
nearbyGridPermissions: Array<NearbyGridPermissions>;
|
|
7973
|
+
/** List every grid overlapping a chunk-coordinate bounding box, returning gridId and bounds only. Player-safe: no permission keys and no impersonation userId. Requires an app-scoped token for the same app. */
|
|
7974
|
+
nearbyGrids: Array<NearbyGrid>;
|
|
7952
7975
|
/** An org's off-session auto-billing configuration (enabled flag, recharge amount, low-water threshold, per-period cap, and last error). Requires the 'view_billing' org permission. */
|
|
7953
7976
|
orgAutoBilling: OrgAutoBilling;
|
|
7954
7977
|
/** An org's free shared-app slot quota and how much of it is used. Apps beyond the quota still publish; metered usage is billed from the org wallet. Caller must be a member of the org. */
|
|
@@ -8565,6 +8588,9 @@ export type QueryMyTeamsArgs = {
|
|
|
8565
8588
|
export type QueryNearbyGridPermissionsArgs = {
|
|
8566
8589
|
input: NearbyGridPermissionsInput;
|
|
8567
8590
|
};
|
|
8591
|
+
export type QueryNearbyGridsArgs = {
|
|
8592
|
+
input: NearbyGridsInput;
|
|
8593
|
+
};
|
|
8568
8594
|
export type QueryOrgAutoBillingArgs = {
|
|
8569
8595
|
orgId: Scalars['BigInt']['input'];
|
|
8570
8596
|
};
|
|
@@ -9084,7 +9110,7 @@ export type ScheduleInvokeInput = {
|
|
|
9084
9110
|
/** Session for the delayed invocation. Defaults to the container's own session. */
|
|
9085
9111
|
sessionId?: InputMaybe<Scalars['String']['input']>;
|
|
9086
9112
|
};
|
|
9087
|
-
/** A container (instance) to
|
|
9113
|
+
/** A container (instance) to upsert as part of a seed. Re-seed matches on binding_key `seed:` + tempId; same-name instances are allowed. */
|
|
9088
9114
|
export type SeedContainerInput = {
|
|
9089
9115
|
/** Optional description. */
|
|
9090
9116
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -9096,7 +9122,7 @@ export type SeedContainerInput = {
|
|
|
9096
9122
|
ownerUserId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
9097
9123
|
/** Initial property values for the container. */
|
|
9098
9124
|
properties?: InputMaybe<Array<SeedPropertyInput>>;
|
|
9099
|
-
/** Developer-assigned id used
|
|
9125
|
+
/** Developer-assigned id used for edge references and as the seed binding key (`seed:` + tempId). Re-seed maps this tempId to the existing container id. */
|
|
9100
9126
|
tempId: Scalars['String']['input'];
|
|
9101
9127
|
/** The container type to instantiate. */
|
|
9102
9128
|
typeName: Scalars['String']['input'];
|
|
@@ -10240,15 +10266,15 @@ export type UpsertAutomationTriggerInput = {
|
|
|
10240
10266
|
appId: Scalars['BigInt']['input'];
|
|
10241
10267
|
/** The automation (by name) this trigger fires. */
|
|
10242
10268
|
automationName: Scalars['String']['input'];
|
|
10243
|
-
/** Filter: only this container type. For function_invoked this is the type of the invocation's "self" container, so you can watch "this function, on this type". Rejected for player_count_changed and
|
|
10269
|
+
/** Filter: only this container type. For function_invoked this is the type of the invocation's "self" container, so you can watch "this function, on this type". Rejected for player_count_changed, player_left and player_joined. */
|
|
10244
10270
|
containerTypeName?: InputMaybe<Scalars['String']['input']>;
|
|
10245
10271
|
/** Debounce window in ms. player_count_changed uses trailing-edge coalescing (first previous count plus latest current count/revision); existing model events retain leading-edge suppression. */
|
|
10246
10272
|
debounceMs?: InputMaybe<Scalars['Int']['input']>;
|
|
10247
|
-
/** Filter: only this function name. Applies to function_invoked; rejected for property_changed, container_created, player_count_changed and
|
|
10273
|
+
/** Filter: only this function name. Applies to function_invoked; rejected for property_changed, container_created, player_count_changed, player_left and player_joined. */
|
|
10248
10274
|
functionName?: InputMaybe<Scalars['String']['input']>;
|
|
10249
|
-
/** Event to observe: function_invoked | property_changed | container_created | player_count_changed | player_left. player_count_changed fires only after complete fleet counts change, and injects reserved previous/current/delta/revision params. player_left fires once per actor that stops being present (about five seconds after its last update), the LAST player included, and injects actor_uuid, user_id, chunk_x/y/z, last_seen_at, left_reason (presence_removed | lease_expired) and remaining_player_count. */
|
|
10275
|
+
/** Event to observe: function_invoked | property_changed | container_created | player_count_changed | player_left | player_joined. player_count_changed fires only after complete fleet counts change, and injects reserved previous/current/delta/revision params. player_left fires once per actor that stops being present (about five seconds after its last update), the LAST player included, and injects actor_uuid, user_id, chunk_x/y/z, last_seen_at, left_reason (presence_removed | lease_expired) and remaining_player_count. player_joined (v1.93.0) fires once per actor the roster newly inserted (ON CONFLICT no-op is not a join), and injects actor_uuid, user_id, chunk_x/y/z, first_seen_at and current_player_count. A Redis flush can emit leave then join on later ticks. */
|
|
10250
10276
|
onEvent: Scalars['String']['input'];
|
|
10251
|
-
/** Filter: only this property key. Applies to property_changed; rejected for function_invoked, container_created, player_count_changed and
|
|
10277
|
+
/** Filter: only this property key. Applies to property_changed; rejected for function_invoked, container_created, player_count_changed, player_left and player_joined. */
|
|
10252
10278
|
propertyKey?: InputMaybe<Scalars['String']['input']>;
|
|
10253
10279
|
/** property_changed only: which writes to observe — "direct" (gameModelSetProperty), "function" (a mutation applied inside a gameModelInvoke, automation run, or timer fire), or "any" (default). Rejected for other events. */
|
|
10254
10280
|
writeSource?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -10284,7 +10310,7 @@ export type UpsertComputeTriggerInput = {
|
|
|
10284
10310
|
invokePolicyJson?: InputMaybe<Scalars['String']['input']>;
|
|
10285
10311
|
/** The module (by name) this trigger drives. */
|
|
10286
10312
|
moduleName: Scalars['String']['input'];
|
|
10287
|
-
/** For event triggers: function_invoked | property_changed | container_created | compute_event | player_left. player_left (v1.87.0) is delivered to on_event as JSON with event, actor_uuid, user_id, chunk_x/y/z, last_seen_at, left_reason and remaining_player_count, once per actor that stops being present, the last one included. */
|
|
10313
|
+
/** For event triggers: function_invoked | property_changed | container_created | compute_event | player_left | player_joined. player_left (v1.87.0) is delivered to on_event as JSON with event, actor_uuid, user_id, chunk_x/y/z, last_seen_at, left_reason and remaining_player_count, once per actor that stops being present, the last one included. player_joined (v1.93.0) is delivered with actor_uuid, user_id, chunk_x/y/z, first_seen_at and current_player_count, once per roster INSERT (ON CONFLICT no-op is not a join). A Redis flush can emit leave then join on later ticks. */
|
|
10288
10314
|
onEvent?: InputMaybe<Scalars['String']['input']>;
|
|
10289
10315
|
/** Event filter: only this property key. */
|
|
10290
10316
|
propertyKey?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -10757,8 +10783,8 @@ export type VoxelUpdateRequestInput = {
|
|
|
10757
10783
|
uuid: Scalars['String']['input'];
|
|
10758
10784
|
/** The voxel coordinates within the chunk. Values must be between -32768 and 32767 (int16 range). */
|
|
10759
10785
|
voxel: VoxelCoordinatesInput;
|
|
10760
|
-
/**
|
|
10761
|
-
voxelState
|
|
10786
|
+
/** Optional voxel state data, base64-encoded. Omit (or send an empty string) when the voxel has no extra state — an empty payload is a type-only update. */
|
|
10787
|
+
voxelState?: InputMaybe<Scalars['String']['input']>;
|
|
10762
10788
|
/** The new voxel type ID. This determines the appearance and properties of the voxel. */
|
|
10763
10789
|
voxelType: Scalars['Int']['input'];
|
|
10764
10790
|
};
|
|
@@ -11051,7 +11077,7 @@ export type WasmModuleTrigger = {
|
|
|
11051
11077
|
invokePolicyJson: Maybe<Scalars['String']['output']>;
|
|
11052
11078
|
/** The module this trigger drives. */
|
|
11053
11079
|
moduleId: Scalars['String']['output'];
|
|
11054
|
-
/** For event triggers: function_invoked | property_changed | container_created | compute_event | player_left. player_left (v1.87.0) is delivered to on_event as JSON with event, actor_uuid, user_id, chunk_x/y/z, last_seen_at, left_reason and remaining_player_count, once per actor that stops being present, the last one included. */
|
|
11080
|
+
/** For event triggers: function_invoked | property_changed | container_created | compute_event | player_left | player_joined. player_left (v1.87.0) is delivered to on_event as JSON with event, actor_uuid, user_id, chunk_x/y/z, last_seen_at, left_reason and remaining_player_count, once per actor that stops being present, the last one included. player_joined (v1.93.0) is delivered with actor_uuid, user_id, chunk_x/y/z, first_seen_at and current_player_count. */
|
|
11055
11081
|
onEvent: Maybe<Scalars['String']['output']>;
|
|
11056
11082
|
/** Event filter: only this property key. */
|
|
11057
11083
|
propertyKey: Maybe<Scalars['String']['output']>;
|
|
@@ -15690,6 +15716,29 @@ export type NearbyGridPermissionsQuery = {
|
|
|
15690
15716
|
};
|
|
15691
15717
|
}>;
|
|
15692
15718
|
};
|
|
15719
|
+
export type NearbyGridsQueryVariables = Exact<{
|
|
15720
|
+
input: NearbyGridsInput;
|
|
15721
|
+
}>;
|
|
15722
|
+
export type NearbyGridsQuery = {
|
|
15723
|
+
__typename?: 'Query';
|
|
15724
|
+
nearbyGrids: Array<{
|
|
15725
|
+
__typename?: 'NearbyGrid';
|
|
15726
|
+
appId: string;
|
|
15727
|
+
gridId: string;
|
|
15728
|
+
lowChunk: {
|
|
15729
|
+
__typename?: 'ChunkCoordinates';
|
|
15730
|
+
x: string;
|
|
15731
|
+
y: string;
|
|
15732
|
+
z: string;
|
|
15733
|
+
};
|
|
15734
|
+
highChunk: {
|
|
15735
|
+
__typename?: 'ChunkCoordinates';
|
|
15736
|
+
x: string;
|
|
15737
|
+
y: string;
|
|
15738
|
+
z: string;
|
|
15739
|
+
};
|
|
15740
|
+
}>;
|
|
15741
|
+
};
|
|
15693
15742
|
export type GridPermissionLimitsQueryVariables = Exact<{
|
|
15694
15743
|
appId: Scalars['BigInt']['input'];
|
|
15695
15744
|
gridId: Scalars['BigInt']['input'];
|
|
@@ -16991,6 +17040,7 @@ export type GameModelUpsertContainerTypeMutation = {
|
|
|
16991
17040
|
description: string | null;
|
|
16992
17041
|
instantiableBy: string;
|
|
16993
17042
|
defaultPropertyVisibility: string;
|
|
17043
|
+
bindPolicyJson: string | null;
|
|
16994
17044
|
metadataJson: string;
|
|
16995
17045
|
};
|
|
16996
17046
|
};
|
|
@@ -17231,6 +17281,7 @@ export type GameModelContainerTypesQuery = {
|
|
|
17231
17281
|
description: string | null;
|
|
17232
17282
|
instantiableBy: string;
|
|
17233
17283
|
defaultPropertyVisibility: string;
|
|
17284
|
+
bindPolicyJson: string | null;
|
|
17234
17285
|
metadataJson: string;
|
|
17235
17286
|
}>;
|
|
17236
17287
|
};
|
|
@@ -21344,6 +21395,7 @@ export declare const AssignGridOwnershipDocument: DocumentNode<AssignGridOwnersh
|
|
|
21344
21395
|
export declare const TransferGridOwnershipDocument: DocumentNode<TransferGridOwnershipMutation, TransferGridOwnershipMutationVariables>;
|
|
21345
21396
|
export declare const GridUserPermissionsDocument: DocumentNode<GridUserPermissionsQuery, GridUserPermissionsQueryVariables>;
|
|
21346
21397
|
export declare const NearbyGridPermissionsDocument: DocumentNode<NearbyGridPermissionsQuery, NearbyGridPermissionsQueryVariables>;
|
|
21398
|
+
export declare const NearbyGridsDocument: DocumentNode<NearbyGridsQuery, NearbyGridsQueryVariables>;
|
|
21347
21399
|
export declare const GridPermissionLimitsDocument: DocumentNode<GridPermissionLimitsQuery, GridPermissionLimitsQueryVariables>;
|
|
21348
21400
|
export declare const GridGroupGrantsDocument: DocumentNode<GridGroupGrantsQuery, GridGroupGrantsQueryVariables>;
|
|
21349
21401
|
export declare const CreateGridDocument: DocumentNode<CreateGridMutation, CreateGridMutationVariables>;
|