@crowdedkingdoms/crowdyjs 18.32.0-test.1 → 18.33.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 +29 -0
- package/README.md +1 -0
- package/dist/crowdy-studio/controller.d.ts +6 -1
- package/dist/crowdy-studio/controller.d.ts.map +1 -1
- package/dist/crowdy-studio/controller.js +28 -13
- package/dist/crowdy-studio/starter-projects.d.ts +5 -0
- package/dist/crowdy-studio/starter-projects.d.ts.map +1 -1
- package/dist/crowdy-studio/starter-projects.js +7 -5
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.d.ts.map +1 -1
- package/dist/default-origin.js +6 -6
- package/dist/domains/crowdyStudio.d.ts +10 -0
- package/dist/domains/crowdyStudio.d.ts.map +1 -1
- package/dist/domains/crowdyStudio.js +6 -1
- package/dist/domains/exec.d.ts +24 -4
- package/dist/domains/exec.d.ts.map +1 -1
- package/dist/domains/exec.js +30 -7
- package/dist/generated/graphql-schema.d.ts +106 -37
- package/dist/generated/graphql-schema.d.ts.map +1 -1
- package/dist/generated/graphql-schema.js +14 -8
- package/dist/generated/graphql.d.ts +57 -0
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +17 -15
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -27,24 +27,24 @@ export var AppRuntimeStatus;
|
|
|
27
27
|
/** Hard-stopped (e.g. lapsed subscription); requires action to restore. */
|
|
28
28
|
AppRuntimeStatus["Suspended"] = "SUSPENDED";
|
|
29
29
|
})(AppRuntimeStatus || (AppRuntimeStatus = {}));
|
|
30
|
-
/** Lifecycle state of an app. Independent of AppVisibility; the public marketplace
|
|
30
|
+
/** Lifecycle state of an app. Independent of AppVisibility; the public marketplace lists only LIVE apps. Only ARCHIVED changes who may play; otherwise the app's access tiers decide. */
|
|
31
31
|
export var AppStatus;
|
|
32
32
|
(function (AppStatus) {
|
|
33
|
-
/** Soft-deleted via archiveApp: retained but read-only and excluded from the marketplace. Reversible by setting status back to DRAFT or LIVE. */
|
|
33
|
+
/** Soft-deleted via archiveApp: retained but read-only and excluded from the marketplace. While archived, players are refused app tokens and refreshes; holders of manage_apps or moderate_safety on its organization still get one. Reversible by setting status back to DRAFT or LIVE. */
|
|
34
34
|
AppStatus["Archived"] = "ARCHIVED";
|
|
35
|
-
/** Work
|
|
35
|
+
/** Work in progress: never listed in the marketplace. It refuses no player; to keep players out, remove the app's free default access tier and grant access explicitly. Set via updateApp; new apps default to LIVE. */
|
|
36
36
|
AppStatus["Draft"] = "DRAFT";
|
|
37
|
-
/** Published
|
|
37
|
+
/** Published; listed in the public marketplace when visibility=PUBLIC. */
|
|
38
38
|
AppStatus["Live"] = "LIVE";
|
|
39
39
|
})(AppStatus || (AppStatus = {}));
|
|
40
|
-
/**
|
|
40
|
+
/** Whether an app is listed in the public marketplace. Independent of AppStatus: the marketplace lists only PUBLIC, LIVE apps. Visibility never decides who may play; the app's access tiers do (a free default tier admits every player, and without one a player needs a grant). */
|
|
41
41
|
export var AppVisibility;
|
|
42
42
|
(function (AppVisibility) {
|
|
43
|
-
/**
|
|
43
|
+
/** Not listed in the marketplace. It hides the app from listings only: appBySlug and app(appId) still return it, and it refuses no player (the app's access tiers decide who may play). */
|
|
44
44
|
AppVisibility["Private"] = "PRIVATE";
|
|
45
45
|
/** Listed in the public marketplace (when status=LIVE) and resolvable by slug. */
|
|
46
46
|
AppVisibility["Public"] = "PUBLIC";
|
|
47
|
-
/**
|
|
47
|
+
/** Not listed in the marketplace; anyone with its org and app slugs can look it up (appBySlug). */
|
|
48
48
|
AppVisibility["Unlisted"] = "UNLISTED";
|
|
49
49
|
})(AppVisibility || (AppVisibility = {}));
|
|
50
50
|
/** Why the checkout exists. Drives which side effect runs on webhook completion: ORG_WALLET_TOPUP credits an org_wallet; PLAYER_WALLET_TOPUP credits the caller's player_wallet; APP_ACCESS_PURCHASE upserts app_user_access; DONATION inserts donations; PROPERTY_TOKENS credits property_tokens; SHARED_APP_SUBSCRIPTION activates a paid shared-environment app slot. */
|
|
@@ -554,6 +554,12 @@ export var PlayerCodeOwnerKind;
|
|
|
554
554
|
PlayerCodeOwnerKind["Org"] = "ORG";
|
|
555
555
|
PlayerCodeOwnerKind["User"] = "USER";
|
|
556
556
|
})(PlayerCodeOwnerKind || (PlayerCodeOwnerKind = {}));
|
|
557
|
+
/** What a graduated price's band edges measure. VOLUME: the period's running total, so each unit is priced at the band the total has reached (edges in upToUnits). RATE: the rate one connection was served at in one minute, so each minute's bytes are split at the edges and each part is priced at its band (edges in upToBitsPerSecond). Both are graduated: a unit's price never rises as the total or the rate grows. */
|
|
558
|
+
export var PriceBandBasis;
|
|
559
|
+
(function (PriceBandBasis) {
|
|
560
|
+
PriceBandBasis["Rate"] = "RATE";
|
|
561
|
+
PriceBandBasis["Volume"] = "VOLUME";
|
|
562
|
+
})(PriceBandBasis || (PriceBandBasis = {}));
|
|
557
563
|
/** Which rate card. SHARED prices an organization's metered usage in shared-environment apps, charged to the org wallet as "shared_usage" entries. PLAYER prices a player's own metered usage (mod compute, egress, model storage and player-paid model tokens), charged to the player wallet as "usage_debit" entries with the app's markup added. Both settle about once a minute: each (payer, dimension, period) is charged what its running total now costs beyond what was already charged for it. */
|
|
558
564
|
export var RateScope;
|
|
559
565
|
(function (RateScope) {
|
|
@@ -687,7 +693,7 @@ export var UdpErrorCode;
|
|
|
687
693
|
UdpErrorCode["PasswordTooLong"] = "PASSWORD_TOO_LONG";
|
|
688
694
|
/** Password failed minimum-length validation. */
|
|
689
695
|
UdpErrorCode["PasswordTooShort"] = "PASSWORD_TOO_SHORT";
|
|
690
|
-
/** The app-scoped gameplay token has expired. Refresh it (same app, via refreshAppToken) before it lapses, or
|
|
696
|
+
/** The app-scoped gameplay token has expired. Refresh it (same app, via refreshAppToken) before it lapses, or sign in again for a fresh token (hosted sign-in, or mintAppToken with the session), then re-authorize the realtime session. */
|
|
691
697
|
UdpErrorCode["TokenExpired"] = "TOKEN_EXPIRED";
|
|
692
698
|
/** The caller lacks the runtime/grid permission required for this action. A message sent right after connecting or entering a new region waits for that permission to load rather than being refused, so this means the permission is missing or could not be confirmed in time; after a move or a new session, one retry is enough to tell the two apart. */
|
|
693
699
|
UdpErrorCode["Unauthorized"] = "UNAUTHORIZED";
|
|
@@ -1907,6 +1907,15 @@ export type CrowdyStudioProjectImportFileMutation = {
|
|
|
1907
1907
|
}>;
|
|
1908
1908
|
};
|
|
1909
1909
|
};
|
|
1910
|
+
export type CrowdyStudioLinksQueryVariables = Exact<{
|
|
1911
|
+
[key: string]: never;
|
|
1912
|
+
}>;
|
|
1913
|
+
export type CrowdyStudioLinksQuery = {
|
|
1914
|
+
crowdyStudioLinks: {
|
|
1915
|
+
origin: string;
|
|
1916
|
+
walletUrl: string;
|
|
1917
|
+
};
|
|
1918
|
+
};
|
|
1910
1919
|
export type ExecConnectMutationVariables = Exact<{
|
|
1911
1920
|
appId: string;
|
|
1912
1921
|
nodeType?: string | null | undefined;
|
|
@@ -2116,6 +2125,8 @@ export type ExecBuildFieldsFragment = {
|
|
|
2116
2125
|
createdAt: string;
|
|
2117
2126
|
startedAt: string | null;
|
|
2118
2127
|
finishedAt: string | null;
|
|
2128
|
+
studioProjectId: string | null;
|
|
2129
|
+
studioRevision: string | null;
|
|
2119
2130
|
artifacts: Array<{
|
|
2120
2131
|
crate: string;
|
|
2121
2132
|
digest: string;
|
|
@@ -2138,6 +2149,8 @@ export type ExecBuildMutation = {
|
|
|
2138
2149
|
createdAt: string;
|
|
2139
2150
|
startedAt: string | null;
|
|
2140
2151
|
finishedAt: string | null;
|
|
2152
|
+
studioProjectId: string | null;
|
|
2153
|
+
studioRevision: string | null;
|
|
2141
2154
|
artifacts: Array<{
|
|
2142
2155
|
crate: string;
|
|
2143
2156
|
digest: string;
|
|
@@ -2162,6 +2175,8 @@ export type ExecBuildStatusQuery = {
|
|
|
2162
2175
|
createdAt: string;
|
|
2163
2176
|
startedAt: string | null;
|
|
2164
2177
|
finishedAt: string | null;
|
|
2178
|
+
studioProjectId: string | null;
|
|
2179
|
+
studioRevision: string | null;
|
|
2165
2180
|
artifacts: Array<{
|
|
2166
2181
|
crate: string;
|
|
2167
2182
|
digest: string;
|
|
@@ -2184,6 +2199,8 @@ export type ExecModFieldsFragment = {
|
|
|
2184
2199
|
blocked: string | null;
|
|
2185
2200
|
running: boolean;
|
|
2186
2201
|
updatedAt: string;
|
|
2202
|
+
studioProjectId: string | null;
|
|
2203
|
+
studioRevision: string | null;
|
|
2187
2204
|
};
|
|
2188
2205
|
export type ExecModListingFieldsFragment = {
|
|
2189
2206
|
listingId: string;
|
|
@@ -2225,6 +2242,7 @@ export type ExecModStarterQuery = {
|
|
|
2225
2242
|
export type ExecModBuildMutationVariables = Exact<{
|
|
2226
2243
|
appId: string;
|
|
2227
2244
|
crate: Types.ExecBuildCrateInput;
|
|
2245
|
+
studio?: Types.ExecStudioSourceInput | null | undefined;
|
|
2228
2246
|
}>;
|
|
2229
2247
|
export type ExecModBuildMutation = {
|
|
2230
2248
|
execModBuild: {
|
|
@@ -2236,6 +2254,8 @@ export type ExecModBuildMutation = {
|
|
|
2236
2254
|
createdAt: string;
|
|
2237
2255
|
startedAt: string | null;
|
|
2238
2256
|
finishedAt: string | null;
|
|
2257
|
+
studioProjectId: string | null;
|
|
2258
|
+
studioRevision: string | null;
|
|
2239
2259
|
artifacts: Array<{
|
|
2240
2260
|
crate: string;
|
|
2241
2261
|
digest: string;
|
|
@@ -2260,6 +2280,8 @@ export type ExecModBuildStatusQuery = {
|
|
|
2260
2280
|
createdAt: string;
|
|
2261
2281
|
startedAt: string | null;
|
|
2262
2282
|
finishedAt: string | null;
|
|
2283
|
+
studioProjectId: string | null;
|
|
2284
|
+
studioRevision: string | null;
|
|
2263
2285
|
artifacts: Array<{
|
|
2264
2286
|
crate: string;
|
|
2265
2287
|
digest: string;
|
|
@@ -2289,6 +2311,8 @@ export type ExecModDeployMutation = {
|
|
|
2289
2311
|
blocked: string | null;
|
|
2290
2312
|
running: boolean;
|
|
2291
2313
|
updatedAt: string;
|
|
2314
|
+
studioProjectId: string | null;
|
|
2315
|
+
studioRevision: string | null;
|
|
2292
2316
|
};
|
|
2293
2317
|
};
|
|
2294
2318
|
export type ExecModSetEnabledMutationVariables = Exact<{
|
|
@@ -2310,6 +2334,8 @@ export type ExecModSetEnabledMutation = {
|
|
|
2310
2334
|
blocked: string | null;
|
|
2311
2335
|
running: boolean;
|
|
2312
2336
|
updatedAt: string;
|
|
2337
|
+
studioProjectId: string | null;
|
|
2338
|
+
studioRevision: string | null;
|
|
2313
2339
|
};
|
|
2314
2340
|
};
|
|
2315
2341
|
export type ExecModDeleteMutationVariables = Exact<{
|
|
@@ -2337,6 +2363,8 @@ export type ExecModsQuery = {
|
|
|
2337
2363
|
blocked: string | null;
|
|
2338
2364
|
running: boolean;
|
|
2339
2365
|
updatedAt: string;
|
|
2366
|
+
studioProjectId: string | null;
|
|
2367
|
+
studioRevision: string | null;
|
|
2340
2368
|
}>;
|
|
2341
2369
|
};
|
|
2342
2370
|
export type ExecMyModsQueryVariables = Exact<{
|
|
@@ -2355,6 +2383,8 @@ export type ExecMyModsQuery = {
|
|
|
2355
2383
|
blocked: string | null;
|
|
2356
2384
|
running: boolean;
|
|
2357
2385
|
updatedAt: string;
|
|
2386
|
+
studioProjectId: string | null;
|
|
2387
|
+
studioRevision: string | null;
|
|
2358
2388
|
}>;
|
|
2359
2389
|
};
|
|
2360
2390
|
export type ExecModLogsQueryVariables = Exact<{
|
|
@@ -2449,6 +2479,8 @@ export type ExecModInstallMutation = {
|
|
|
2449
2479
|
blocked: string | null;
|
|
2450
2480
|
running: boolean;
|
|
2451
2481
|
updatedAt: string;
|
|
2482
|
+
studioProjectId: string | null;
|
|
2483
|
+
studioRevision: string | null;
|
|
2452
2484
|
};
|
|
2453
2485
|
};
|
|
2454
2486
|
export type ExecAppModsQueryVariables = Exact<{
|
|
@@ -2469,6 +2501,8 @@ export type ExecAppModsQuery = {
|
|
|
2469
2501
|
blocked: string | null;
|
|
2470
2502
|
running: boolean;
|
|
2471
2503
|
updatedAt: string;
|
|
2504
|
+
studioProjectId: string | null;
|
|
2505
|
+
studioRevision: string | null;
|
|
2472
2506
|
}>;
|
|
2473
2507
|
};
|
|
2474
2508
|
export type ExecModSwitchesQueryVariables = Exact<{
|
|
@@ -2511,6 +2545,8 @@ export type ExecModClientFieldsFragment = {
|
|
|
2511
2545
|
capabilityHash: string;
|
|
2512
2546
|
tickIntervalMs: number;
|
|
2513
2547
|
updatedAt: string;
|
|
2548
|
+
studioProjectId: string | null;
|
|
2549
|
+
studioRevision: string | null;
|
|
2514
2550
|
};
|
|
2515
2551
|
export type ExecGridClientModFieldsFragment = {
|
|
2516
2552
|
modId: string;
|
|
@@ -2529,9 +2565,24 @@ export type ExecGridClientModFieldsFragment = {
|
|
|
2529
2565
|
callerTrustsAuthor: boolean;
|
|
2530
2566
|
updatedAt: string;
|
|
2531
2567
|
};
|
|
2568
|
+
export type ExecModClientStarterQueryVariables = Exact<{
|
|
2569
|
+
appId: string;
|
|
2570
|
+
}>;
|
|
2571
|
+
export type ExecModClientStarterQuery = {
|
|
2572
|
+
execModClientStarter: {
|
|
2573
|
+
crate: string;
|
|
2574
|
+
nodeType: string;
|
|
2575
|
+
description: string;
|
|
2576
|
+
files: Array<{
|
|
2577
|
+
path: string;
|
|
2578
|
+
content: string;
|
|
2579
|
+
}>;
|
|
2580
|
+
};
|
|
2581
|
+
};
|
|
2532
2582
|
export type ExecModClientBuildMutationVariables = Exact<{
|
|
2533
2583
|
appId: string;
|
|
2534
2584
|
crate: Types.ExecBuildCrateInput;
|
|
2585
|
+
studio?: Types.ExecStudioSourceInput | null | undefined;
|
|
2535
2586
|
}>;
|
|
2536
2587
|
export type ExecModClientBuildMutation = {
|
|
2537
2588
|
execModClientBuild: {
|
|
@@ -2543,6 +2594,8 @@ export type ExecModClientBuildMutation = {
|
|
|
2543
2594
|
createdAt: string;
|
|
2544
2595
|
startedAt: string | null;
|
|
2545
2596
|
finishedAt: string | null;
|
|
2597
|
+
studioProjectId: string | null;
|
|
2598
|
+
studioRevision: string | null;
|
|
2546
2599
|
artifacts: Array<{
|
|
2547
2600
|
crate: string;
|
|
2548
2601
|
digest: string;
|
|
@@ -2572,6 +2625,8 @@ export type ExecModClientDeployMutation = {
|
|
|
2572
2625
|
capabilityHash: string;
|
|
2573
2626
|
tickIntervalMs: number;
|
|
2574
2627
|
updatedAt: string;
|
|
2628
|
+
studioProjectId: string | null;
|
|
2629
|
+
studioRevision: string | null;
|
|
2575
2630
|
};
|
|
2576
2631
|
};
|
|
2577
2632
|
export type ExecModClientDeleteMutationVariables = Exact<{
|
|
@@ -6104,6 +6159,7 @@ export declare const CrowdyStudioLibraryFilesDocument: DocumentNode<CrowdyStudio
|
|
|
6104
6159
|
export declare const CrowdyStudioLibrarySaveDocument: DocumentNode<CrowdyStudioLibrarySaveMutation, CrowdyStudioLibrarySaveMutationVariables>;
|
|
6105
6160
|
export declare const CrowdyStudioCommonFilesDocument: DocumentNode<CrowdyStudioCommonFilesQuery, CrowdyStudioCommonFilesQueryVariables>;
|
|
6106
6161
|
export declare const CrowdyStudioProjectImportFileDocument: DocumentNode<CrowdyStudioProjectImportFileMutation, CrowdyStudioProjectImportFileMutationVariables>;
|
|
6162
|
+
export declare const CrowdyStudioLinksDocument: DocumentNode<CrowdyStudioLinksQuery, CrowdyStudioLinksQueryVariables>;
|
|
6107
6163
|
export declare const ExecConnectDocument: DocumentNode<ExecConnectMutation, ExecConnectMutationVariables>;
|
|
6108
6164
|
export declare const ExecDeployDocument: DocumentNode<ExecDeployMutation, ExecDeployMutationVariables>;
|
|
6109
6165
|
export declare const ExecConnectAsDeveloperDocument: DocumentNode<ExecConnectAsDeveloperMutation, ExecConnectAsDeveloperMutationVariables>;
|
|
@@ -6134,6 +6190,7 @@ export declare const ExecModInstallDocument: DocumentNode<ExecModInstallMutation
|
|
|
6134
6190
|
export declare const ExecAppModsDocument: DocumentNode<ExecAppModsQuery, ExecAppModsQueryVariables>;
|
|
6135
6191
|
export declare const ExecModSwitchesDocument: DocumentNode<ExecModSwitchesQuery, ExecModSwitchesQueryVariables>;
|
|
6136
6192
|
export declare const ExecModSetSwitchDocument: DocumentNode<ExecModSetSwitchMutation, ExecModSetSwitchMutationVariables>;
|
|
6193
|
+
export declare const ExecModClientStarterDocument: DocumentNode<ExecModClientStarterQuery, ExecModClientStarterQueryVariables>;
|
|
6137
6194
|
export declare const ExecModClientBuildDocument: DocumentNode<ExecModClientBuildMutation, ExecModClientBuildMutationVariables>;
|
|
6138
6195
|
export declare const ExecModClientDeployDocument: DocumentNode<ExecModClientDeployMutation, ExecModClientDeployMutationVariables>;
|
|
6139
6196
|
export declare const ExecModClientDeleteDocument: DocumentNode<ExecModClientDeleteMutation, ExecModClientDeleteMutationVariables>;
|