@crowdedkingdoms/crowdyjs 17.12.0-dev.1 → 17.14.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 +127 -0
- package/README.md +99 -4
- package/dist/crowdy-dsh/bridge.d.ts.map +1 -1
- package/dist/crowdy-dsh/bridge.js +2 -0
- package/dist/crowdy-studio/controller.d.ts +64 -8
- package/dist/crowdy-studio/controller.d.ts.map +1 -1
- package/dist/crowdy-studio/controller.js +345 -46
- package/dist/crowdy-studio/dom-shell.d.ts.map +1 -1
- package/dist/crowdy-studio/dom-shell.js +16 -9
- package/dist/crowdy-studio/embed/hud-layer.d.ts +2 -1
- package/dist/crowdy-studio/embed/hud-layer.d.ts.map +1 -1
- package/dist/crowdy-studio/embed/panel.d.ts +9 -6
- package/dist/crowdy-studio/embed/panel.d.ts.map +1 -1
- package/dist/crowdy-studio/embed/panel.js +4 -2
- package/dist/crowdy-studio/index.d.ts +2 -2
- package/dist/crowdy-studio/index.d.ts.map +1 -1
- package/dist/crowdy-studio/models.d.ts +1 -1
- package/dist/crowdy-studio/starter-projects.d.ts +22 -0
- package/dist/crowdy-studio/starter-projects.d.ts.map +1 -1
- package/dist/crowdy-studio/starter-projects.js +129 -5
- package/dist/domains/exec.d.ts +222 -20
- package/dist/domains/exec.d.ts.map +1 -1
- package/dist/domains/exec.js +215 -21
- package/dist/domains/marketplace.d.ts +15 -3
- package/dist/domains/marketplace.d.ts.map +1 -1
- package/dist/domains/marketplace.js +17 -3
- package/dist/errors.d.ts +3 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/generated/graphql.d.ts +422 -0
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +23 -11
- package/dist/grid-mods/exec-client-halves.d.ts +140 -0
- package/dist/grid-mods/exec-client-halves.d.ts.map +1 -0
- package/dist/grid-mods/exec-client-halves.js +341 -0
- package/dist/grid-mods/grid-host-calls.d.ts +3 -1
- package/dist/grid-mods/grid-host-calls.d.ts.map +1 -1
- package/dist/grid-mods/grid-host-calls.js +3 -1
- package/dist/grid-mods/index.d.ts +1 -0
- package/dist/grid-mods/index.d.ts.map +1 -1
- package/dist/grid-mods/index.js +1 -0
- package/dist/grid-mods/mod-runtime.d.ts +10 -2
- package/dist/grid-mods/mod-runtime.d.ts.map +1 -1
- package/dist/grid-mods/mod-runtime.js +2 -0
- package/dist/grid-scope.d.ts +1 -0
- package/dist/grid-scope.d.ts.map +1 -1
- package/dist/grid-scope.js +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/kit/npcs.d.ts.map +1 -1
- package/dist/kit/social.d.ts.map +1 -1
- package/dist/live-coding/rust-analysis.js +13 -1
- package/dist/player-runtime/glue-runtime.d.ts +19 -6
- package/dist/player-runtime/glue-runtime.d.ts.map +1 -1
- package/dist/player-runtime/glue-runtime.js +40 -16
- package/dist/player-runtime/player-code-broker.d.ts +29 -0
- package/dist/player-runtime/player-code-broker.d.ts.map +1 -1
- package/dist/player-runtime/player-code-broker.js +41 -8
- package/dist/player-runtime/player-glue-worker.d.ts +2 -1
- package/dist/player-runtime/player-glue-worker.d.ts.map +1 -1
- package/dist/player-runtime/player-glue-worker.js +3 -1
- package/dist/stores/actors.d.ts +12 -2
- package/dist/stores/actors.d.ts.map +1 -1
- package/dist/stores/actors.js +43 -18
- package/dist/stores/chunks.d.ts +12 -0
- package/dist/stores/chunks.d.ts.map +1 -1
- package/dist/stores/chunks.js +112 -39
- package/dist/stores/durable.d.ts.map +1 -1
- package/dist/stores/durable.js +2 -1
- package/package.json +1 -1
|
@@ -3649,6 +3649,8 @@ export type ExecBuild = {
|
|
|
3649
3649
|
createdAt: Scalars['DateTime']['output'];
|
|
3650
3650
|
/** When it finished. */
|
|
3651
3651
|
finishedAt: Maybe<Scalars['DateTime']['output']>;
|
|
3652
|
+
/** What it builds: `exec` for ck-exec modules, `client` for the CLIENT half of a mod (`execModClientBuild`). */
|
|
3653
|
+
kind: Scalars['String']['output'];
|
|
3652
3654
|
/** The compiler’s output once the build finishes, at most 64 KB (the end is kept). */
|
|
3653
3655
|
log: Maybe<Scalars['String']['output']>;
|
|
3654
3656
|
/** When it started compiling. */
|
|
@@ -3659,12 +3661,18 @@ export type ExecBuild = {
|
|
|
3659
3661
|
/** One module a ck-exec build produced. */
|
|
3660
3662
|
export type ExecBuildArtifact = {
|
|
3661
3663
|
__typename?: 'ExecBuildArtifact';
|
|
3664
|
+
/** SHA-256 of the canonical capability summary, hex: what visitors consent to. Null for a ck-exec module. */
|
|
3665
|
+
capabilityHash: Maybe<Scalars['String']['output']>;
|
|
3666
|
+
/** A CLIENT half’s capability summary as JSON, derived from the module: its imports, the client host calls it can reach, their groups, its presentation hooks and exports. Null for a ck-exec module. */
|
|
3667
|
+
capabilitySummaryJson: Maybe<Scalars['String']['output']>;
|
|
3662
3668
|
/** The crate it was built from. */
|
|
3663
3669
|
crate: Scalars['String']['output'];
|
|
3664
3670
|
/** SHA-256 of the WASM: the `digest` a manifest names it by. */
|
|
3665
3671
|
digest: Scalars['String']['output'];
|
|
3666
3672
|
/** The module’s size in bytes. */
|
|
3667
3673
|
sizeBytes: Scalars['Int']['output'];
|
|
3674
|
+
/** How often, in milliseconds, browsers tick a CLIENT half: `[package.metadata.crowdy] tick_interval_ms`, 16-1000, 1000 by default. Null for a ck-exec module. */
|
|
3675
|
+
tickIntervalMs: Maybe<Scalars['Int']['output']>;
|
|
3668
3676
|
};
|
|
3669
3677
|
/** One crate of a ck-exec build: a `ckx-sdk` library with `[lib] crate-type = ["cdylib"]`, built into one module. */
|
|
3670
3678
|
export type ExecBuildCrateInput = {
|
|
@@ -3716,6 +3724,70 @@ export type ExecDeployResult = {
|
|
|
3716
3724
|
/** The version now active for the app. */
|
|
3717
3725
|
version: Scalars['Int']['output'];
|
|
3718
3726
|
};
|
|
3727
|
+
/** Calls to one endpoint (a node type's method) of an app's ck-exec code over a window, by outcome (dev-tier preview). A client's or an instance's call is counted once, by the host it entered on, with the status its caller got; a platform event (`$timer`, `$topic`, `$presence`, `$session`, `$world`) is counted by the host that ran it. Counts are whole numbers. */
|
|
3728
|
+
export type ExecEndpointStat = {
|
|
3729
|
+
__typename?: 'ExecEndpointStat';
|
|
3730
|
+
/** Calls the handler answered with an error (`AppError`). */
|
|
3731
|
+
appErrors: Scalars['Float']['output'];
|
|
3732
|
+
/** Calls refused as busy: a full mailbox, the root hub’s call rate, or the caller’s call limit (120 calls per 10 seconds per player and app on a host, refused `Busy` with a message starting "rate limited"). */
|
|
3733
|
+
busy: Scalars['Float']['output'];
|
|
3734
|
+
/** Calls in the window. */
|
|
3735
|
+
calls: Scalars['Float']['output'];
|
|
3736
|
+
/** Calls not answered before their deadline (`DeadlineExceeded`). */
|
|
3737
|
+
deadlineExceeded: Scalars['Float']['output'];
|
|
3738
|
+
/** Calls refused as not allowed (`Denied`). */
|
|
3739
|
+
denied: Scalars['Float']['output'];
|
|
3740
|
+
/** The first minute of the window with calls. */
|
|
3741
|
+
firstMinute: Scalars['DateTime']['output'];
|
|
3742
|
+
/** The last minute of the window with calls. Each host reports a minute once it ends. */
|
|
3743
|
+
lastMinute: Scalars['DateTime']['output'];
|
|
3744
|
+
/** The timed calls’ average latency in milliseconds. For a client’s or an instance’s call it runs from reaching the host the call entered on to its answer leaving that host: queueing, the handler, and any hop to the host that runs the target. For a platform event it is the time in the handler. Null when no call was timed. */
|
|
3745
|
+
latencyMsAvg: Maybe<Scalars['Float']['output']>;
|
|
3746
|
+
/** The longest of those latencies in milliseconds; null when no call was timed. */
|
|
3747
|
+
latencyMsMax: Maybe<Scalars['Float']['output']>;
|
|
3748
|
+
/** The method called; a `$` method is a platform event, and `(other)` as for `nodeType`. */
|
|
3749
|
+
method: Scalars['String']['output'];
|
|
3750
|
+
/** The node type called; `(other)` for calls to endpoints past the 256 one host counts per app a minute. */
|
|
3751
|
+
nodeType: Scalars['String']['output'];
|
|
3752
|
+
/** Calls that failed otherwise: not found, unavailable, trapped, moved, internal or a bad request. */
|
|
3753
|
+
otherErrors: Scalars['Float']['output'];
|
|
3754
|
+
/** Calls a handler answered (`Ok` or `AppError`); the latencies are over these. */
|
|
3755
|
+
timedCalls: Scalars['Float']['output'];
|
|
3756
|
+
};
|
|
3757
|
+
/** A CLIENT half a grid serves (dev-tier preview): of a mod on it that is switched on, not stopped by the kill ladder and admitted, running as the grid’s owner. Carries the caller’s consent and trust in its author. */
|
|
3758
|
+
export type ExecGridClientMod = {
|
|
3759
|
+
__typename?: 'ExecGridClientMod';
|
|
3760
|
+
/** The hash `execTrustAuthor` takes: SHA-256 of the canonical union. A new capability changes it. */
|
|
3761
|
+
authorCapabilityHash: Scalars['String']['output'];
|
|
3762
|
+
/** The union, as JSON, of the capability summaries of every CLIENT half this author has on the grid: the summary a one-per-author trust prompt shows. */
|
|
3763
|
+
authorCapabilitySummaryJson: Scalars['String']['output'];
|
|
3764
|
+
/** Its author: the mod’s owner, who owns the grid. Pass it to `execTrustAuthor`. */
|
|
3765
|
+
authorId: Scalars['BigInt']['output'];
|
|
3766
|
+
/** The caller consented to it at its current capability hash. */
|
|
3767
|
+
callerConsented: Scalars['Boolean']['output'];
|
|
3768
|
+
/** The caller trusts this author on this grid, at this hash or a union at least as wide. */
|
|
3769
|
+
callerTrustsAuthor: Scalars['Boolean']['output'];
|
|
3770
|
+
/** The hash `execConsentClientMod` takes: SHA-256 of the canonical capability summary. */
|
|
3771
|
+
capabilityHash: Scalars['String']['output'];
|
|
3772
|
+
/** Its capability summary as JSON. */
|
|
3773
|
+
capabilitySummaryJson: Scalars['String']['output'];
|
|
3774
|
+
/** The CLIENT half’s version. */
|
|
3775
|
+
clientVersion: Scalars['Int']['output'];
|
|
3776
|
+
/** SHA-256 of the module, hex: cache the bytes by it, and stop a worker whose digest is no longer listed. */
|
|
3777
|
+
digest: Scalars['String']['output'];
|
|
3778
|
+
/** The grid. */
|
|
3779
|
+
gridId: Scalars['BigInt']['output'];
|
|
3780
|
+
/** The marketplace listing the mod was installed from. */
|
|
3781
|
+
listingId: Maybe<Scalars['BigInt']['output']>;
|
|
3782
|
+
/** The mod, for `execConsentClientMod` and `execModClientArtifact`. */
|
|
3783
|
+
modId: Scalars['String']['output'];
|
|
3784
|
+
/** The mod’s name: its name on the page’s grid event bus. */
|
|
3785
|
+
name: Scalars['String']['output'];
|
|
3786
|
+
/** How often, in milliseconds, to tick it (16-1000). */
|
|
3787
|
+
tickIntervalMs: Scalars['Int']['output'];
|
|
3788
|
+
/** When it was last attached. */
|
|
3789
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3790
|
+
};
|
|
3719
3791
|
/** An instance the execution manager has placed for an app (dev-tier preview). */
|
|
3720
3792
|
export type ExecInstance = {
|
|
3721
3793
|
__typename?: 'ExecInstance';
|
|
@@ -3742,6 +3814,8 @@ export type ExecLogLine = {
|
|
|
3742
3814
|
__typename?: 'ExecLogLine';
|
|
3743
3815
|
/** When the instance logged it. */
|
|
3744
3816
|
at: Scalars['DateTime']['output'];
|
|
3817
|
+
/** The flow of the call the instance was handling, as 32 lowercase hex digits. A client’s call and everything it causes (the calls it makes to other hubs, on any host, and the lines they log) share one flow; pass it as `flow` to `execLogs` to follow the chain. Null for a line written outside a call (start, snapshot, stop). */
|
|
3818
|
+
flow: Maybe<Scalars['String']['output']>;
|
|
3745
3819
|
/** The execution host it ran on. */
|
|
3746
3820
|
host: Scalars['String']['output'];
|
|
3747
3821
|
/** The line’s id, time-ordered: pass the oldest one you have as `before` to page back. */
|
|
@@ -3777,9 +3851,71 @@ export type ExecMod = {
|
|
|
3777
3851
|
updatedAt: Scalars['DateTime']['output'];
|
|
3778
3852
|
version: Scalars['Int']['output'];
|
|
3779
3853
|
};
|
|
3854
|
+
/** The CLIENT half of a mod (dev-tier preview): browser WASM built from a crowdy-client-sdk crate and attached to the mod, which the mod’s grid serves to visitors who consent to it. */
|
|
3855
|
+
export type ExecModClient = {
|
|
3856
|
+
__typename?: 'ExecModClient';
|
|
3857
|
+
/** SHA-256 of the canonical capability summary, hex: what a visitor consents to. */
|
|
3858
|
+
capabilityHash: Scalars['String']['output'];
|
|
3859
|
+
/** Its capability summary as JSON, derived from the module: imports, the client host calls it can reach, their groups, presentation hooks and exports. */
|
|
3860
|
+
capabilitySummaryJson: Scalars['String']['output'];
|
|
3861
|
+
/** Rises by one with every attach to the mod. */
|
|
3862
|
+
clientVersion: Scalars['Int']['output'];
|
|
3863
|
+
/** SHA-256 of the module, hex: what `execModClientArtifact` serves. */
|
|
3864
|
+
digest: Scalars['String']['output'];
|
|
3865
|
+
/** The mod’s grid. */
|
|
3866
|
+
gridId: Scalars['BigInt']['output'];
|
|
3867
|
+
/** The mod it is attached to. */
|
|
3868
|
+
modId: Scalars['String']['output'];
|
|
3869
|
+
/** The mod’s name. */
|
|
3870
|
+
name: Scalars['String']['output'];
|
|
3871
|
+
/** The player it was attached as: the mod’s owner. */
|
|
3872
|
+
ownerId: Scalars['BigInt']['output'];
|
|
3873
|
+
/** The module’s size in bytes. */
|
|
3874
|
+
sizeBytes: Scalars['Int']['output'];
|
|
3875
|
+
/** How often, in milliseconds, browsers tick it (16-1000, from its Cargo.toml). */
|
|
3876
|
+
tickIntervalMs: Scalars['Int']['output'];
|
|
3877
|
+
/** When it was last attached. */
|
|
3878
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3879
|
+
};
|
|
3880
|
+
/** A CLIENT half’s module and what the browser broker needs to run it (dev-tier preview): the fuel-metered wasm32-unknown-unknown module, its digest to check the bytes against, and the per-dispatch fuel budget to load into its `ck_fuel` global. */
|
|
3881
|
+
export type ExecModClientArtifact = {
|
|
3882
|
+
__typename?: 'ExecModClientArtifact';
|
|
3883
|
+
/** The client ABI version it was built for (0). */
|
|
3884
|
+
abiVersion: Scalars['Int']['output'];
|
|
3885
|
+
/** SHA-256 of the canonical capability summary. */
|
|
3886
|
+
capabilityHash: Scalars['String']['output'];
|
|
3887
|
+
/** Its capability summary as JSON. */
|
|
3888
|
+
capabilitySummaryJson: Scalars['String']['output'];
|
|
3889
|
+
/** The CLIENT half’s version. */
|
|
3890
|
+
clientVersion: Scalars['Int']['output'];
|
|
3891
|
+
/** SHA-256 of the module, hex. The broker recomputes it and refuses bytes that differ. */
|
|
3892
|
+
digest: Scalars['String']['output'];
|
|
3893
|
+
/** Fuel for each dispatch (init, tick, invoke, event): the broker sets `ck_fuel` to it before every call, and the module traps when it runs out. */
|
|
3894
|
+
fuelPerDispatch: Scalars['BigInt']['output'];
|
|
3895
|
+
/** The mod’s grid. */
|
|
3896
|
+
gridId: Scalars['BigInt']['output'];
|
|
3897
|
+
/** The mod. */
|
|
3898
|
+
modId: Scalars['String']['output'];
|
|
3899
|
+
/** The mod’s name: its name on the page’s grid event bus. */
|
|
3900
|
+
name: Scalars['String']['output'];
|
|
3901
|
+
/** Its size in bytes, at most 512 KiB. */
|
|
3902
|
+
sizeBytes: Scalars['Int']['output'];
|
|
3903
|
+
/** How often, in milliseconds, to tick it (16-1000). */
|
|
3904
|
+
tickIntervalMs: Scalars['Int']['output'];
|
|
3905
|
+
/** The module, base64. */
|
|
3906
|
+
wasmBase64: Scalars['String']['output'];
|
|
3907
|
+
};
|
|
3780
3908
|
/** A mod version its owner published, which any grid owner in the app may install as a mod of their own (dev-tier preview; no payments). */
|
|
3781
3909
|
export type ExecModListing = {
|
|
3782
3910
|
__typename?: 'ExecModListing';
|
|
3911
|
+
/** SHA-256 of that capability summary, hex. */
|
|
3912
|
+
clientCapabilityHash: Maybe<Scalars['String']['output']>;
|
|
3913
|
+
/** That CLIENT half’s capability summary as JSON, for an installer to review first. */
|
|
3914
|
+
clientCapabilitySummaryJson: Maybe<Scalars['String']['output']>;
|
|
3915
|
+
/** SHA-256 of the CLIENT half the mod had when it was published, hex; null without one. An install attaches it to the installer’s mod, and visitors consent to it afresh. */
|
|
3916
|
+
clientDigest: Maybe<Scalars['String']['output']>;
|
|
3917
|
+
/** How often, in milliseconds, browsers tick that CLIENT half. */
|
|
3918
|
+
clientTickIntervalMs: Maybe<Scalars['Int']['output']>;
|
|
3783
3919
|
createdAt: Scalars['DateTime']['output'];
|
|
3784
3920
|
delistedAt: Maybe<Scalars['DateTime']['output']>;
|
|
3785
3921
|
description: Maybe<Scalars['String']['output']>;
|
|
@@ -3849,6 +3985,8 @@ export type ExecVersion = {
|
|
|
3849
3985
|
createdAt: Scalars['DateTime']['output'];
|
|
3850
3986
|
/** Who deployed it, e.g. `user:<id>`. */
|
|
3851
3987
|
createdBy: Maybe<Scalars['String']['output']>;
|
|
3988
|
+
/** The deployed manifest as JSON: the root and each node type with its kind, parent, client access, calls, node API scopes and limits. A type’s spawn seed is replaced by its size in bytes (`seed_bytes`). Null if the version’s row is gone. */
|
|
3989
|
+
manifestJson: Maybe<Scalars['String']['output']>;
|
|
3852
3990
|
/** Node types in its manifest. */
|
|
3853
3991
|
types: Scalars['Int']['output'];
|
|
3854
3992
|
version: Scalars['Int']['output'];
|
|
@@ -5732,10 +5870,18 @@ export type Mutation = {
|
|
|
5732
5870
|
execConnect: ExecConnection;
|
|
5733
5871
|
/** Connect to an app's ck-exec code as one of its developers, for studio tools, manual runs and admin endpoints (dev-tier preview). The session's calls arrive as `Caller::Developer` with your user id and may reach any node type, not only `client` ones, but never the platform's `$` methods. Requires the org 'manage_compute' permission and your own session, not an app token. */
|
|
5734
5872
|
execConnectAsDeveloper: ExecConnection;
|
|
5873
|
+
/** Consent to run a mod's CLIENT half in your browser (dev-tier preview) at its current capability hash. A CLIENT half whose capabilities change carries a new hash, and the consent stops holding until you consent again. Answers CONFLICT when the hash is not the current one. Requires access to the app. */
|
|
5874
|
+
execConsentClientMod: Scalars['Boolean']['output'];
|
|
5735
5875
|
/** Deploy a new version of an app's ck-exec topology (dev-tier preview): the manifest and any modules it names that were not uploaded before. The execution manager checks the manifest's tree and bounds and each module's digest, stores them, and makes the version active; running instances pick it up when they next start. Requires the org 'manage_compute' permission. */
|
|
5736
5876
|
execDeploy: ExecDeployResult;
|
|
5737
5877
|
/** Build a mod from one ckx-sdk crate (dev-tier preview), as `execBuild` builds a developer's crates. Returns at once with the build queued; poll `execModBuildStatus`, then pass its id to `execModDeploy`. One build at a time per player. Requires the 'write_server_code' permission in the app. */
|
|
5738
5878
|
execModBuild: ExecBuild;
|
|
5879
|
+
/** Build the CLIENT half of a mod from one crowdy-client-sdk crate (dev-tier preview): compiled for wasm32-unknown-unknown in the build sandbox, fuel-metered and optimized there, checked against the client ABI and at most 512 KiB, with its capability summary derived from the module. Returns at once with the build queued (`kind` `client`); poll `execModBuildStatus`, then attach it with `execModClientDeploy`. One build, server or CLIENT, at a time per player. Requires the 'write_client_code' permission in the app. */
|
|
5880
|
+
execModClientBuild: ExecBuild;
|
|
5881
|
+
/** Detach the CLIENT half of a mod on your grid (dev-tier preview), with every visitor's consent to it; the mod itself keeps running. Requires being the grid's current owner and 'write_client_code' on both the app tier and the grid. */
|
|
5882
|
+
execModClientDelete: Scalars['Boolean']['output'];
|
|
5883
|
+
/** Attach a CLIENT build of yours to your mod on a grid you own (dev-tier preview), replacing the CLIENT half it had; its version rises by one. A visitor's consent carries over only while the capability hash is unchanged. Requires being the grid's current owner, 'write_client_code' on both the app tier and the grid, the mod running as you, and the app's code admission admitting the new CLIENT version (an admission naming the mod, its listing or you). */
|
|
5884
|
+
execModClientDeploy: ExecModClient;
|
|
5739
5885
|
/** Stop and remove a mod on your grid, with its state and versions (dev-tier preview). Requires being the grid's current owner and 'write_server_code' on both the app tier and the grid. */
|
|
5740
5886
|
execModDelete: Scalars['Boolean']['output'];
|
|
5741
5887
|
/** Deploy a mod build of yours to a grid you own (dev-tier preview): a new mod starts switched off; a running one restarts on the new version. Requires being the grid's current owner and 'write_server_code' on both the app tier and the grid. */
|
|
@@ -5752,6 +5898,8 @@ export type Mutation = {
|
|
|
5752
5898
|
execModUnpublish: Scalars['Boolean']['output'];
|
|
5753
5899
|
/** The kill switch for an app's ck-exec code, or one node type of it (dev-tier preview). Switched off, nothing of it is placed, what runs is persisted and stopped, and calls are refused with `Denied`; switched on, instances start as they are called. Requires the org 'manage_compute' permission. */
|
|
5754
5900
|
execSetEnabled: ExecAppStatus;
|
|
5901
|
+
/** Trust one author's CLIENT halves on a grid you stand in (dev-tier preview), at the hash of their union (`authorCapabilityHash`): it covers the author's CLIENT halves there while their union is no wider, and consents to each current one at its own hash. Answers CONFLICT when the hash is not the current one. Requires access to the app. */
|
|
5902
|
+
execTrustAuthor: Scalars['Boolean']['output'];
|
|
5755
5903
|
/** ADMIN/DESTRUCTIVE: revokes ALL of the target user’s sessions by deleting every game_token row, forcing re-authentication on every device. Returns true if at least one session was revoked. Requires a super-admin bearer game token (and the management API enabled). */
|
|
5756
5904
|
forceLogoutUser: Scalars['Boolean']['output'];
|
|
5757
5905
|
/** 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. */
|
|
@@ -6380,6 +6528,11 @@ export type MutationExecConnectAsDeveloperArgs = {
|
|
|
6380
6528
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
6381
6529
|
nodeType?: InputMaybe<Scalars['String']['input']>;
|
|
6382
6530
|
};
|
|
6531
|
+
export type MutationExecConsentClientModArgs = {
|
|
6532
|
+
appId: Scalars['BigInt']['input'];
|
|
6533
|
+
capabilityHash: Scalars['String']['input'];
|
|
6534
|
+
modId: Scalars['String']['input'];
|
|
6535
|
+
};
|
|
6383
6536
|
export type MutationExecDeployArgs = {
|
|
6384
6537
|
input: ExecDeployInput;
|
|
6385
6538
|
};
|
|
@@ -6387,6 +6540,21 @@ export type MutationExecModBuildArgs = {
|
|
|
6387
6540
|
appId: Scalars['BigInt']['input'];
|
|
6388
6541
|
crate: ExecBuildCrateInput;
|
|
6389
6542
|
};
|
|
6543
|
+
export type MutationExecModClientBuildArgs = {
|
|
6544
|
+
appId: Scalars['BigInt']['input'];
|
|
6545
|
+
crate: ExecBuildCrateInput;
|
|
6546
|
+
};
|
|
6547
|
+
export type MutationExecModClientDeleteArgs = {
|
|
6548
|
+
appId: Scalars['BigInt']['input'];
|
|
6549
|
+
gridId: Scalars['BigInt']['input'];
|
|
6550
|
+
name: Scalars['String']['input'];
|
|
6551
|
+
};
|
|
6552
|
+
export type MutationExecModClientDeployArgs = {
|
|
6553
|
+
appId: Scalars['BigInt']['input'];
|
|
6554
|
+
buildId: Scalars['String']['input'];
|
|
6555
|
+
gridId: Scalars['BigInt']['input'];
|
|
6556
|
+
name: Scalars['String']['input'];
|
|
6557
|
+
};
|
|
6390
6558
|
export type MutationExecModDeleteArgs = {
|
|
6391
6559
|
appId: Scalars['BigInt']['input'];
|
|
6392
6560
|
gridId: Scalars['BigInt']['input'];
|
|
@@ -6433,6 +6601,12 @@ export type MutationExecSetEnabledArgs = {
|
|
|
6433
6601
|
enabled: Scalars['Boolean']['input'];
|
|
6434
6602
|
nodeType?: InputMaybe<Scalars['String']['input']>;
|
|
6435
6603
|
};
|
|
6604
|
+
export type MutationExecTrustAuthorArgs = {
|
|
6605
|
+
appId: Scalars['BigInt']['input'];
|
|
6606
|
+
authorId: Scalars['BigInt']['input'];
|
|
6607
|
+
capabilityHash: Scalars['String']['input'];
|
|
6608
|
+
gridId: Scalars['BigInt']['input'];
|
|
6609
|
+
};
|
|
6436
6610
|
export type MutationForceLogoutUserArgs = {
|
|
6437
6611
|
userId: Scalars['BigInt']['input'];
|
|
6438
6612
|
};
|
|
@@ -7768,6 +7942,8 @@ export declare enum PlayerFaultCode {
|
|
|
7768
7942
|
BudgetExceeded = "BUDGET_EXCEEDED",
|
|
7769
7943
|
/** The app's own circuit is open after repeated failures. Retry after extensions.retryAfterMs. extensions.cause is watchdog_timeout when those failures were watchdog kills. This is not PLATFORM_BUSY and not a rate limit. */
|
|
7770
7944
|
CircuitOpen = "CIRCUIT_OPEN",
|
|
7945
|
+
/** The engine this call needs is switched off on this tier, so the app's code does not run here. An operator's switch: retrying will not turn it back on, and the code's home is ck-exec. */
|
|
7946
|
+
EngineSwitchedOff = "ENGINE_SWITCHED_OFF",
|
|
7771
7947
|
/** The arguments did not satisfy the function's contract. */
|
|
7772
7948
|
InvalidRequest = "INVALID_REQUEST",
|
|
7773
7949
|
/** An invoke policy or permission refused this caller. */
|
|
@@ -8415,12 +8591,18 @@ export type Query = {
|
|
|
8415
8591
|
execAppStatus: ExecAppStatus;
|
|
8416
8592
|
/** A ck-exec build's status, compiler log and modules (dev-tier preview); null when this app has no such build. Builds are kept for 7 days. Requires the org 'view_compute_diagnostics' permission. */
|
|
8417
8593
|
execBuildStatus: Maybe<ExecBuild>;
|
|
8594
|
+
/** Calls to each endpoint of an app's ck-exec code over the last minutes, by outcome, with their latency, most called first (dev-tier preview). Each execution host reports a minute once it ends; counters are kept 7 days. Requires the org 'view_compute_diagnostics' permission. */
|
|
8595
|
+
execEndpointStats: Array<ExecEndpointStat>;
|
|
8596
|
+
/** The CLIENT halves a grid serves (dev-tier preview): those of its mods that are switched on, not stopped by the kill ladder, running as the grid's owner and admitted, each with its capability summary and hash and whether you consented to it, and its author's union summary and hash and whether you trust them. Show one prompt per author and call `execTrustAuthor` (or `execConsentClientMod` per CLIENT half), fetch with `execModClientArtifact`, cache by digest, and poll this to stop CLIENT halves that were removed or changed. Requires access to the app. */
|
|
8597
|
+
execGridClientMods: Array<ExecGridClientMod>;
|
|
8418
8598
|
/** What the execution manager has placed for an app: every instance, its phase and host (dev-tier preview). Requires the org 'view_compute_diagnostics' permission. */
|
|
8419
8599
|
execInstances: Array<ExecInstance>;
|
|
8420
8600
|
/** Guest log lines from an app's ck-exec instances (`ctx.log`), newest first, kept for 24 hours (dev-tier preview). Requires the org 'view_compute_diagnostics' permission. */
|
|
8421
8601
|
execLogs: Array<ExecLogLine>;
|
|
8422
8602
|
/** A mod build of yours: its status, compiler log and module (dev-tier preview). Builds are kept for 7 days. */
|
|
8423
8603
|
execModBuildStatus: ExecBuild;
|
|
8604
|
+
/** A served CLIENT half's module, for the browser broker (dev-tier preview). Served only to a player holding 'run_client_code' in the app, standing in the mod's grid now, who consented to it at its current hash or trusts its author at a union no wider; every refusal answers NOT_FOUND. At most 12 fetches a minute per player and mod on each API instance (RATE_LIMITED); the module never changes for its digest, so cache it. */
|
|
8605
|
+
execModClientArtifact: ExecModClientArtifact;
|
|
8424
8606
|
/** The app's mod marketplace: listed mods, most installed first (dev-tier preview). Requires access to the app. */
|
|
8425
8607
|
execModListings: Array<ExecModListing>;
|
|
8426
8608
|
/** A mod of yours' guest log lines (`ctx.log`), newest first, kept for 24 hours (dev-tier preview). */
|
|
@@ -9023,12 +9205,22 @@ export type QueryExecBuildStatusArgs = {
|
|
|
9023
9205
|
appId: Scalars['BigInt']['input'];
|
|
9024
9206
|
buildId: Scalars['String']['input'];
|
|
9025
9207
|
};
|
|
9208
|
+
export type QueryExecEndpointStatsArgs = {
|
|
9209
|
+
appId: Scalars['BigInt']['input'];
|
|
9210
|
+
nodeType?: InputMaybe<Scalars['String']['input']>;
|
|
9211
|
+
sinceMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
9212
|
+
};
|
|
9213
|
+
export type QueryExecGridClientModsArgs = {
|
|
9214
|
+
appId: Scalars['BigInt']['input'];
|
|
9215
|
+
gridId: Scalars['BigInt']['input'];
|
|
9216
|
+
};
|
|
9026
9217
|
export type QueryExecInstancesArgs = {
|
|
9027
9218
|
appId: Scalars['BigInt']['input'];
|
|
9028
9219
|
};
|
|
9029
9220
|
export type QueryExecLogsArgs = {
|
|
9030
9221
|
appId: Scalars['BigInt']['input'];
|
|
9031
9222
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
9223
|
+
flow?: InputMaybe<Scalars['String']['input']>;
|
|
9032
9224
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
9033
9225
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
9034
9226
|
maxLevel?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -9038,6 +9230,10 @@ export type QueryExecModBuildStatusArgs = {
|
|
|
9038
9230
|
appId: Scalars['BigInt']['input'];
|
|
9039
9231
|
buildId: Scalars['String']['input'];
|
|
9040
9232
|
};
|
|
9233
|
+
export type QueryExecModClientArtifactArgs = {
|
|
9234
|
+
appId: Scalars['BigInt']['input'];
|
|
9235
|
+
modId: Scalars['String']['input'];
|
|
9236
|
+
};
|
|
9041
9237
|
export type QueryExecModListingsArgs = {
|
|
9042
9238
|
appId: Scalars['BigInt']['input'];
|
|
9043
9239
|
};
|
|
@@ -14368,6 +14564,7 @@ export type ExecLogsQueryVariables = Exact<{
|
|
|
14368
14564
|
maxLevel?: InputMaybe<Scalars['Int']['input']>;
|
|
14369
14565
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
14370
14566
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
14567
|
+
flow?: InputMaybe<Scalars['String']['input']>;
|
|
14371
14568
|
}>;
|
|
14372
14569
|
export type ExecLogsQuery = {
|
|
14373
14570
|
__typename?: 'Query';
|
|
@@ -14380,6 +14577,7 @@ export type ExecLogsQuery = {
|
|
|
14380
14577
|
host: string;
|
|
14381
14578
|
at: string;
|
|
14382
14579
|
text: string;
|
|
14580
|
+
flow: string | null;
|
|
14383
14581
|
}>;
|
|
14384
14582
|
};
|
|
14385
14583
|
export type ExecInstancesQueryVariables = Exact<{
|
|
@@ -14412,6 +14610,31 @@ export type ExecVersionsQuery = {
|
|
|
14412
14610
|
createdAt: string;
|
|
14413
14611
|
types: number;
|
|
14414
14612
|
active: boolean;
|
|
14613
|
+
manifestJson: string | null;
|
|
14614
|
+
}>;
|
|
14615
|
+
};
|
|
14616
|
+
export type ExecEndpointStatsQueryVariables = Exact<{
|
|
14617
|
+
appId: Scalars['BigInt']['input'];
|
|
14618
|
+
nodeType?: InputMaybe<Scalars['String']['input']>;
|
|
14619
|
+
sinceMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
14620
|
+
}>;
|
|
14621
|
+
export type ExecEndpointStatsQuery = {
|
|
14622
|
+
__typename?: 'Query';
|
|
14623
|
+
execEndpointStats: Array<{
|
|
14624
|
+
__typename?: 'ExecEndpointStat';
|
|
14625
|
+
nodeType: string;
|
|
14626
|
+
method: string;
|
|
14627
|
+
calls: number;
|
|
14628
|
+
appErrors: number;
|
|
14629
|
+
busy: number;
|
|
14630
|
+
denied: number;
|
|
14631
|
+
deadlineExceeded: number;
|
|
14632
|
+
otherErrors: number;
|
|
14633
|
+
timedCalls: number;
|
|
14634
|
+
latencyMsAvg: number | null;
|
|
14635
|
+
latencyMsMax: number | null;
|
|
14636
|
+
firstMinute: string;
|
|
14637
|
+
lastMinute: string;
|
|
14415
14638
|
}>;
|
|
14416
14639
|
};
|
|
14417
14640
|
export type ExecAppStatusFieldsFragment = {
|
|
@@ -14488,6 +14711,7 @@ export type ExecBuildFieldsFragment = {
|
|
|
14488
14711
|
__typename?: 'ExecBuild';
|
|
14489
14712
|
buildId: string;
|
|
14490
14713
|
status: string;
|
|
14714
|
+
kind: string;
|
|
14491
14715
|
log: string | null;
|
|
14492
14716
|
createdAt: string;
|
|
14493
14717
|
startedAt: string | null;
|
|
@@ -14497,6 +14721,9 @@ export type ExecBuildFieldsFragment = {
|
|
|
14497
14721
|
crate: string;
|
|
14498
14722
|
digest: string;
|
|
14499
14723
|
sizeBytes: number;
|
|
14724
|
+
capabilitySummaryJson: string | null;
|
|
14725
|
+
capabilityHash: string | null;
|
|
14726
|
+
tickIntervalMs: number | null;
|
|
14500
14727
|
}>;
|
|
14501
14728
|
};
|
|
14502
14729
|
export type ExecBuildMutationVariables = Exact<{
|
|
@@ -14508,6 +14735,7 @@ export type ExecBuildMutation = {
|
|
|
14508
14735
|
__typename?: 'ExecBuild';
|
|
14509
14736
|
buildId: string;
|
|
14510
14737
|
status: string;
|
|
14738
|
+
kind: string;
|
|
14511
14739
|
log: string | null;
|
|
14512
14740
|
createdAt: string;
|
|
14513
14741
|
startedAt: string | null;
|
|
@@ -14517,6 +14745,9 @@ export type ExecBuildMutation = {
|
|
|
14517
14745
|
crate: string;
|
|
14518
14746
|
digest: string;
|
|
14519
14747
|
sizeBytes: number;
|
|
14748
|
+
capabilitySummaryJson: string | null;
|
|
14749
|
+
capabilityHash: string | null;
|
|
14750
|
+
tickIntervalMs: number | null;
|
|
14520
14751
|
}>;
|
|
14521
14752
|
};
|
|
14522
14753
|
};
|
|
@@ -14530,6 +14761,7 @@ export type ExecBuildStatusQuery = {
|
|
|
14530
14761
|
__typename?: 'ExecBuild';
|
|
14531
14762
|
buildId: string;
|
|
14532
14763
|
status: string;
|
|
14764
|
+
kind: string;
|
|
14533
14765
|
log: string | null;
|
|
14534
14766
|
createdAt: string;
|
|
14535
14767
|
startedAt: string | null;
|
|
@@ -14539,6 +14771,9 @@ export type ExecBuildStatusQuery = {
|
|
|
14539
14771
|
crate: string;
|
|
14540
14772
|
digest: string;
|
|
14541
14773
|
sizeBytes: number;
|
|
14774
|
+
capabilitySummaryJson: string | null;
|
|
14775
|
+
capabilityHash: string | null;
|
|
14776
|
+
tickIntervalMs: number | null;
|
|
14542
14777
|
}>;
|
|
14543
14778
|
} | null;
|
|
14544
14779
|
};
|
|
@@ -14566,6 +14801,10 @@ export type ExecModListingFieldsFragment = {
|
|
|
14566
14801
|
sourceVersion: number;
|
|
14567
14802
|
digest: string;
|
|
14568
14803
|
installs: number;
|
|
14804
|
+
clientDigest: string | null;
|
|
14805
|
+
clientCapabilitySummaryJson: string | null;
|
|
14806
|
+
clientCapabilityHash: string | null;
|
|
14807
|
+
clientTickIntervalMs: number | null;
|
|
14569
14808
|
createdAt: string;
|
|
14570
14809
|
delistedAt: string | null;
|
|
14571
14810
|
};
|
|
@@ -14604,6 +14843,7 @@ export type ExecModBuildMutation = {
|
|
|
14604
14843
|
__typename?: 'ExecBuild';
|
|
14605
14844
|
buildId: string;
|
|
14606
14845
|
status: string;
|
|
14846
|
+
kind: string;
|
|
14607
14847
|
log: string | null;
|
|
14608
14848
|
createdAt: string;
|
|
14609
14849
|
startedAt: string | null;
|
|
@@ -14613,6 +14853,9 @@ export type ExecModBuildMutation = {
|
|
|
14613
14853
|
crate: string;
|
|
14614
14854
|
digest: string;
|
|
14615
14855
|
sizeBytes: number;
|
|
14856
|
+
capabilitySummaryJson: string | null;
|
|
14857
|
+
capabilityHash: string | null;
|
|
14858
|
+
tickIntervalMs: number | null;
|
|
14616
14859
|
}>;
|
|
14617
14860
|
};
|
|
14618
14861
|
};
|
|
@@ -14626,6 +14869,7 @@ export type ExecModBuildStatusQuery = {
|
|
|
14626
14869
|
__typename?: 'ExecBuild';
|
|
14627
14870
|
buildId: string;
|
|
14628
14871
|
status: string;
|
|
14872
|
+
kind: string;
|
|
14629
14873
|
log: string | null;
|
|
14630
14874
|
createdAt: string;
|
|
14631
14875
|
startedAt: string | null;
|
|
@@ -14635,6 +14879,9 @@ export type ExecModBuildStatusQuery = {
|
|
|
14635
14879
|
crate: string;
|
|
14636
14880
|
digest: string;
|
|
14637
14881
|
sizeBytes: number;
|
|
14882
|
+
capabilitySummaryJson: string | null;
|
|
14883
|
+
capabilityHash: string | null;
|
|
14884
|
+
tickIntervalMs: number | null;
|
|
14638
14885
|
}>;
|
|
14639
14886
|
};
|
|
14640
14887
|
};
|
|
@@ -14753,6 +15000,7 @@ export type ExecModLogsQuery = {
|
|
|
14753
15000
|
host: string;
|
|
14754
15001
|
at: string;
|
|
14755
15002
|
text: string;
|
|
15003
|
+
flow: string | null;
|
|
14756
15004
|
}>;
|
|
14757
15005
|
};
|
|
14758
15006
|
export type ExecModPublishMutationVariables = Exact<{
|
|
@@ -14774,6 +15022,10 @@ export type ExecModPublishMutation = {
|
|
|
14774
15022
|
sourceVersion: number;
|
|
14775
15023
|
digest: string;
|
|
14776
15024
|
installs: number;
|
|
15025
|
+
clientDigest: string | null;
|
|
15026
|
+
clientCapabilitySummaryJson: string | null;
|
|
15027
|
+
clientCapabilityHash: string | null;
|
|
15028
|
+
clientTickIntervalMs: number | null;
|
|
14777
15029
|
createdAt: string;
|
|
14778
15030
|
delistedAt: string | null;
|
|
14779
15031
|
};
|
|
@@ -14793,6 +15045,10 @@ export type ExecModListingsQuery = {
|
|
|
14793
15045
|
sourceVersion: number;
|
|
14794
15046
|
digest: string;
|
|
14795
15047
|
installs: number;
|
|
15048
|
+
clientDigest: string | null;
|
|
15049
|
+
clientCapabilitySummaryJson: string | null;
|
|
15050
|
+
clientCapabilityHash: string | null;
|
|
15051
|
+
clientTickIntervalMs: number | null;
|
|
14796
15052
|
createdAt: string;
|
|
14797
15053
|
delistedAt: string | null;
|
|
14798
15054
|
}>;
|
|
@@ -14882,6 +15138,162 @@ export type ExecModSetSwitchMutation = {
|
|
|
14882
15138
|
createdAt: string;
|
|
14883
15139
|
}>;
|
|
14884
15140
|
};
|
|
15141
|
+
export type ExecModClientFieldsFragment = {
|
|
15142
|
+
__typename?: 'ExecModClient';
|
|
15143
|
+
modId: string;
|
|
15144
|
+
gridId: string;
|
|
15145
|
+
name: string;
|
|
15146
|
+
ownerId: string;
|
|
15147
|
+
clientVersion: number;
|
|
15148
|
+
digest: string;
|
|
15149
|
+
sizeBytes: number;
|
|
15150
|
+
capabilitySummaryJson: string;
|
|
15151
|
+
capabilityHash: string;
|
|
15152
|
+
tickIntervalMs: number;
|
|
15153
|
+
updatedAt: string;
|
|
15154
|
+
};
|
|
15155
|
+
export type ExecGridClientModFieldsFragment = {
|
|
15156
|
+
__typename?: 'ExecGridClientMod';
|
|
15157
|
+
modId: string;
|
|
15158
|
+
name: string;
|
|
15159
|
+
gridId: string;
|
|
15160
|
+
authorId: string;
|
|
15161
|
+
listingId: string | null;
|
|
15162
|
+
clientVersion: number;
|
|
15163
|
+
digest: string;
|
|
15164
|
+
capabilitySummaryJson: string;
|
|
15165
|
+
capabilityHash: string;
|
|
15166
|
+
tickIntervalMs: number;
|
|
15167
|
+
callerConsented: boolean;
|
|
15168
|
+
authorCapabilitySummaryJson: string;
|
|
15169
|
+
authorCapabilityHash: string;
|
|
15170
|
+
callerTrustsAuthor: boolean;
|
|
15171
|
+
updatedAt: string;
|
|
15172
|
+
};
|
|
15173
|
+
export type ExecModClientBuildMutationVariables = Exact<{
|
|
15174
|
+
appId: Scalars['BigInt']['input'];
|
|
15175
|
+
crate: ExecBuildCrateInput;
|
|
15176
|
+
}>;
|
|
15177
|
+
export type ExecModClientBuildMutation = {
|
|
15178
|
+
__typename?: 'Mutation';
|
|
15179
|
+
execModClientBuild: {
|
|
15180
|
+
__typename?: 'ExecBuild';
|
|
15181
|
+
buildId: string;
|
|
15182
|
+
status: string;
|
|
15183
|
+
kind: string;
|
|
15184
|
+
log: string | null;
|
|
15185
|
+
createdAt: string;
|
|
15186
|
+
startedAt: string | null;
|
|
15187
|
+
finishedAt: string | null;
|
|
15188
|
+
artifacts: Array<{
|
|
15189
|
+
__typename?: 'ExecBuildArtifact';
|
|
15190
|
+
crate: string;
|
|
15191
|
+
digest: string;
|
|
15192
|
+
sizeBytes: number;
|
|
15193
|
+
capabilitySummaryJson: string | null;
|
|
15194
|
+
capabilityHash: string | null;
|
|
15195
|
+
tickIntervalMs: number | null;
|
|
15196
|
+
}>;
|
|
15197
|
+
};
|
|
15198
|
+
};
|
|
15199
|
+
export type ExecModClientDeployMutationVariables = Exact<{
|
|
15200
|
+
appId: Scalars['BigInt']['input'];
|
|
15201
|
+
gridId: Scalars['BigInt']['input'];
|
|
15202
|
+
name: Scalars['String']['input'];
|
|
15203
|
+
buildId: Scalars['String']['input'];
|
|
15204
|
+
}>;
|
|
15205
|
+
export type ExecModClientDeployMutation = {
|
|
15206
|
+
__typename?: 'Mutation';
|
|
15207
|
+
execModClientDeploy: {
|
|
15208
|
+
__typename?: 'ExecModClient';
|
|
15209
|
+
modId: string;
|
|
15210
|
+
gridId: string;
|
|
15211
|
+
name: string;
|
|
15212
|
+
ownerId: string;
|
|
15213
|
+
clientVersion: number;
|
|
15214
|
+
digest: string;
|
|
15215
|
+
sizeBytes: number;
|
|
15216
|
+
capabilitySummaryJson: string;
|
|
15217
|
+
capabilityHash: string;
|
|
15218
|
+
tickIntervalMs: number;
|
|
15219
|
+
updatedAt: string;
|
|
15220
|
+
};
|
|
15221
|
+
};
|
|
15222
|
+
export type ExecModClientDeleteMutationVariables = Exact<{
|
|
15223
|
+
appId: Scalars['BigInt']['input'];
|
|
15224
|
+
gridId: Scalars['BigInt']['input'];
|
|
15225
|
+
name: Scalars['String']['input'];
|
|
15226
|
+
}>;
|
|
15227
|
+
export type ExecModClientDeleteMutation = {
|
|
15228
|
+
__typename?: 'Mutation';
|
|
15229
|
+
execModClientDelete: boolean;
|
|
15230
|
+
};
|
|
15231
|
+
export type ExecGridClientModsQueryVariables = Exact<{
|
|
15232
|
+
appId: Scalars['BigInt']['input'];
|
|
15233
|
+
gridId: Scalars['BigInt']['input'];
|
|
15234
|
+
}>;
|
|
15235
|
+
export type ExecGridClientModsQuery = {
|
|
15236
|
+
__typename?: 'Query';
|
|
15237
|
+
execGridClientMods: Array<{
|
|
15238
|
+
__typename?: 'ExecGridClientMod';
|
|
15239
|
+
modId: string;
|
|
15240
|
+
name: string;
|
|
15241
|
+
gridId: string;
|
|
15242
|
+
authorId: string;
|
|
15243
|
+
listingId: string | null;
|
|
15244
|
+
clientVersion: number;
|
|
15245
|
+
digest: string;
|
|
15246
|
+
capabilitySummaryJson: string;
|
|
15247
|
+
capabilityHash: string;
|
|
15248
|
+
tickIntervalMs: number;
|
|
15249
|
+
callerConsented: boolean;
|
|
15250
|
+
authorCapabilitySummaryJson: string;
|
|
15251
|
+
authorCapabilityHash: string;
|
|
15252
|
+
callerTrustsAuthor: boolean;
|
|
15253
|
+
updatedAt: string;
|
|
15254
|
+
}>;
|
|
15255
|
+
};
|
|
15256
|
+
export type ExecConsentClientModMutationVariables = Exact<{
|
|
15257
|
+
appId: Scalars['BigInt']['input'];
|
|
15258
|
+
modId: Scalars['String']['input'];
|
|
15259
|
+
capabilityHash: Scalars['String']['input'];
|
|
15260
|
+
}>;
|
|
15261
|
+
export type ExecConsentClientModMutation = {
|
|
15262
|
+
__typename?: 'Mutation';
|
|
15263
|
+
execConsentClientMod: boolean;
|
|
15264
|
+
};
|
|
15265
|
+
export type ExecTrustAuthorMutationVariables = Exact<{
|
|
15266
|
+
appId: Scalars['BigInt']['input'];
|
|
15267
|
+
gridId: Scalars['BigInt']['input'];
|
|
15268
|
+
authorId: Scalars['BigInt']['input'];
|
|
15269
|
+
capabilityHash: Scalars['String']['input'];
|
|
15270
|
+
}>;
|
|
15271
|
+
export type ExecTrustAuthorMutation = {
|
|
15272
|
+
__typename?: 'Mutation';
|
|
15273
|
+
execTrustAuthor: boolean;
|
|
15274
|
+
};
|
|
15275
|
+
export type ExecModClientArtifactQueryVariables = Exact<{
|
|
15276
|
+
appId: Scalars['BigInt']['input'];
|
|
15277
|
+
modId: Scalars['String']['input'];
|
|
15278
|
+
}>;
|
|
15279
|
+
export type ExecModClientArtifactQuery = {
|
|
15280
|
+
__typename?: 'Query';
|
|
15281
|
+
execModClientArtifact: {
|
|
15282
|
+
__typename?: 'ExecModClientArtifact';
|
|
15283
|
+
modId: string;
|
|
15284
|
+
name: string;
|
|
15285
|
+
gridId: string;
|
|
15286
|
+
clientVersion: number;
|
|
15287
|
+
digest: string;
|
|
15288
|
+
wasmBase64: string;
|
|
15289
|
+
sizeBytes: number;
|
|
15290
|
+
capabilitySummaryJson: string;
|
|
15291
|
+
capabilityHash: string;
|
|
15292
|
+
tickIntervalMs: number;
|
|
15293
|
+
fuelPerDispatch: string;
|
|
15294
|
+
abiVersion: number;
|
|
15295
|
+
};
|
|
15296
|
+
};
|
|
14885
15297
|
export type GridOwnershipFieldsFragment = {
|
|
14886
15298
|
__typename?: 'GridOwnership';
|
|
14887
15299
|
gridOwnershipId: string;
|
|
@@ -21043,6 +21455,8 @@ export declare const ExecBuildFieldsFragmentDoc: DocumentNode<ExecBuildFieldsFra
|
|
|
21043
21455
|
export declare const ExecModFieldsFragmentDoc: DocumentNode<ExecModFieldsFragment, unknown>;
|
|
21044
21456
|
export declare const ExecModListingFieldsFragmentDoc: DocumentNode<ExecModListingFieldsFragment, unknown>;
|
|
21045
21457
|
export declare const ExecModSwitchFieldsFragmentDoc: DocumentNode<ExecModSwitchFieldsFragment, unknown>;
|
|
21458
|
+
export declare const ExecModClientFieldsFragmentDoc: DocumentNode<ExecModClientFieldsFragment, unknown>;
|
|
21459
|
+
export declare const ExecGridClientModFieldsFragmentDoc: DocumentNode<ExecGridClientModFieldsFragment, unknown>;
|
|
21046
21460
|
export declare const GridOwnershipFieldsFragmentDoc: DocumentNode<GridOwnershipFieldsFragment, unknown>;
|
|
21047
21461
|
export declare const GmAutomationFieldsFragmentDoc: DocumentNode<GmAutomationFieldsFragment, unknown>;
|
|
21048
21462
|
export declare const GmAutomationTriggerFieldsFragmentDoc: DocumentNode<GmAutomationTriggerFieldsFragment, unknown>;
|
|
@@ -21190,6 +21604,7 @@ export declare const ExecConnectAsDeveloperDocument: DocumentNode<ExecConnectAsD
|
|
|
21190
21604
|
export declare const ExecLogsDocument: DocumentNode<ExecLogsQuery, ExecLogsQueryVariables>;
|
|
21191
21605
|
export declare const ExecInstancesDocument: DocumentNode<ExecInstancesQuery, ExecInstancesQueryVariables>;
|
|
21192
21606
|
export declare const ExecVersionsDocument: DocumentNode<ExecVersionsQuery, ExecVersionsQueryVariables>;
|
|
21607
|
+
export declare const ExecEndpointStatsDocument: DocumentNode<ExecEndpointStatsQuery, ExecEndpointStatsQueryVariables>;
|
|
21193
21608
|
export declare const ExecAppStatusDocument: DocumentNode<ExecAppStatusQuery, ExecAppStatusQueryVariables>;
|
|
21194
21609
|
export declare const ExecActivateVersionDocument: DocumentNode<ExecActivateVersionMutation, ExecActivateVersionMutationVariables>;
|
|
21195
21610
|
export declare const ExecSetEnabledDocument: DocumentNode<ExecSetEnabledMutation, ExecSetEnabledMutationVariables>;
|
|
@@ -21212,6 +21627,13 @@ export declare const ExecModInstallDocument: DocumentNode<ExecModInstallMutation
|
|
|
21212
21627
|
export declare const ExecAppModsDocument: DocumentNode<ExecAppModsQuery, ExecAppModsQueryVariables>;
|
|
21213
21628
|
export declare const ExecModSwitchesDocument: DocumentNode<ExecModSwitchesQuery, ExecModSwitchesQueryVariables>;
|
|
21214
21629
|
export declare const ExecModSetSwitchDocument: DocumentNode<ExecModSetSwitchMutation, ExecModSetSwitchMutationVariables>;
|
|
21630
|
+
export declare const ExecModClientBuildDocument: DocumentNode<ExecModClientBuildMutation, ExecModClientBuildMutationVariables>;
|
|
21631
|
+
export declare const ExecModClientDeployDocument: DocumentNode<ExecModClientDeployMutation, ExecModClientDeployMutationVariables>;
|
|
21632
|
+
export declare const ExecModClientDeleteDocument: DocumentNode<ExecModClientDeleteMutation, ExecModClientDeleteMutationVariables>;
|
|
21633
|
+
export declare const ExecGridClientModsDocument: DocumentNode<ExecGridClientModsQuery, ExecGridClientModsQueryVariables>;
|
|
21634
|
+
export declare const ExecConsentClientModDocument: DocumentNode<ExecConsentClientModMutation, ExecConsentClientModMutationVariables>;
|
|
21635
|
+
export declare const ExecTrustAuthorDocument: DocumentNode<ExecTrustAuthorMutation, ExecTrustAuthorMutationVariables>;
|
|
21636
|
+
export declare const ExecModClientArtifactDocument: DocumentNode<ExecModClientArtifactQuery, ExecModClientArtifactQueryVariables>;
|
|
21215
21637
|
export declare const GridOwnershipDocument: DocumentNode<GridOwnershipQuery, GridOwnershipQueryVariables>;
|
|
21216
21638
|
export declare const AssignGridOwnershipDocument: DocumentNode<AssignGridOwnershipMutation, AssignGridOwnershipMutationVariables>;
|
|
21217
21639
|
export declare const TransferGridOwnershipDocument: DocumentNode<TransferGridOwnershipMutation, TransferGridOwnershipMutationVariables>;
|