@crowdedkingdoms/crowdyjs 18.38.0 → 18.39.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.
Files changed (39) hide show
  1. package/MIGRATION.md +13 -0
  2. package/README.md +44 -39
  3. package/dist/bootstrap-rediscover.js +3 -3
  4. package/dist/client.js +1 -1
  5. package/dist/crowdy-client.js +3 -3
  6. package/dist/datacenter-redirect.d.ts +5 -1
  7. package/dist/datacenter-redirect.d.ts.map +1 -1
  8. package/dist/datacenter-redirect.js +8 -4
  9. package/dist/default-origin.d.ts +6 -6
  10. package/dist/default-origin.js +6 -6
  11. package/dist/domains/apps.d.ts +15 -13
  12. package/dist/domains/apps.d.ts.map +1 -1
  13. package/dist/domains/apps.js +12 -8
  14. package/dist/domains/billing.d.ts +4 -2
  15. package/dist/domains/billing.d.ts.map +1 -1
  16. package/dist/domains/billing.js +4 -2
  17. package/dist/domains/discovery.d.ts +5 -1
  18. package/dist/domains/discovery.d.ts.map +1 -1
  19. package/dist/domains/discovery.js +5 -3
  20. package/dist/domains/platform.d.ts +6 -2
  21. package/dist/domains/platform.d.ts.map +1 -1
  22. package/dist/domains/platform.js +4 -2
  23. package/dist/domains/portal.d.ts +6 -2
  24. package/dist/domains/portal.d.ts.map +1 -1
  25. package/dist/domains/portal.js +1 -1
  26. package/dist/generated/graphql-schema.d.ts +117 -58
  27. package/dist/generated/graphql-schema.d.ts.map +1 -1
  28. package/dist/generated/graphql-schema.js +4 -4
  29. package/dist/generated/graphql.d.ts +23 -9
  30. package/dist/generated/graphql.d.ts.map +1 -1
  31. package/dist/generated/graphql.js +10 -10
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +1 -1
  35. package/dist/realtime.js +2 -2
  36. package/dist/rediscover.d.ts +1 -1
  37. package/dist/rediscover.d.ts.map +1 -1
  38. package/dist/rediscover.js +5 -1
  39. package/package.json +1 -1
@@ -5,17 +5,17 @@ export var AllowancePeriod;
5
5
  AllowancePeriod["Hour"] = "HOUR";
6
6
  AllowancePeriod["Month"] = "MONTH";
7
7
  })(AllowancePeriod || (AllowancePeriod = {}));
8
- /** Where an app runs: none (draft), shared (the shared game-api), or dedicated (a provisioned environment). */
8
+ /** Where an app runs: none (draft), shared (the shared Application API), or dedicated (a provisioned environment). */
9
9
  export var AppDeploymentTarget;
10
10
  (function (AppDeploymentTarget) {
11
11
  /** Runs on a dedicated, org-provisioned environment. */
12
12
  AppDeploymentTarget["Dedicated"] = "DEDICATED";
13
13
  /** Draft / unpublished: the app is not deployed to any runtime. */
14
14
  AppDeploymentTarget["None"] = "NONE";
15
- /** Runs on the multi-tenant shared game-api (publishAppToShared). */
15
+ /** Runs on the multi-tenant shared Application API (publishAppToShared). */
16
16
  AppDeploymentTarget["Shared"] = "SHARED";
17
17
  })(AppDeploymentTarget || (AppDeploymentTarget = {}));
18
- /** The per-app runtime gate game-api + Buddy enforce. See runtimeDenialReason when not active. */
18
+ /** The per-app runtime gate Application API + Buddy enforce. See runtimeDenialReason when not active. */
19
19
  export var AppRuntimeStatus;
20
20
  (function (AppRuntimeStatus) {
21
21
  /** Allowed to run; clients may connect. */
@@ -336,7 +336,7 @@ export var CrowdyStudioAgentToolExecutor;
336
336
  (function (CrowdyStudioAgentToolExecutor) {
337
337
  /** The attached CrowdyJS host executes once after epoch/context/lease validation. */
338
338
  CrowdyStudioAgentToolExecutor["Browser"] = "BROWSER";
339
- /** Game API invokes an owner-scoped domain service; never shell or arbitrary GraphQL. */
339
+ /** The Application API invokes an owner-scoped domain service; never shell or arbitrary GraphQL. */
340
340
  CrowdyStudioAgentToolExecutor["Server"] = "SERVER";
341
341
  })(CrowdyStudioAgentToolExecutor || (CrowdyStudioAgentToolExecutor = {}));
342
342
  /** Terminal result reported once by a browser executor. */
@@ -520,13 +520,14 @@ export type AppQuery = {
520
520
  reservedGraphqlOpsPerSec: string;
521
521
  runtimeStatus: string;
522
522
  runtimeDenialReason: string | null;
523
- gameApiUrl: string | null;
523
+ applicationApiUrl: string | null;
524
524
  launchUrl: string | null;
525
525
  redirectUris: Array<string>;
526
526
  isTrusted: boolean;
527
527
  clientType: string;
528
528
  createdAt: string;
529
529
  updatedAt: string;
530
+ gameApiUrl: string | null;
530
531
  recording: {
531
532
  enabled: boolean;
532
533
  voice: boolean;
@@ -556,9 +557,10 @@ export type AppBySlugQuery = {
556
557
  wildernessWritesOpen: boolean;
557
558
  replayLoggingEnabled: boolean;
558
559
  splitMode: boolean;
559
- gameApiUrl: string | null;
560
+ applicationApiUrl: string | null;
560
561
  createdAt: string;
561
562
  updatedAt: string;
563
+ gameApiUrl: string | null;
562
564
  org: {
563
565
  orgId: string;
564
566
  slug: string;
@@ -573,6 +575,8 @@ export type AppDiscoveryQuery = {
573
575
  appDiscovery: Array<{
574
576
  appId: string;
575
577
  datacenterCode: string | null;
578
+ applicationApiUrl: string | null;
579
+ applicationApiWsUrl: string | null;
576
580
  gameApiUrl: string | null;
577
581
  gameApiWsUrl: string | null;
578
582
  }>;
@@ -606,9 +610,10 @@ export type AppsForOrgQuery = {
606
610
  wildernessWritesOpen: boolean;
607
611
  replayLoggingEnabled: boolean;
608
612
  splitMode: boolean;
609
- gameApiUrl: string | null;
613
+ applicationApiUrl: string | null;
610
614
  createdAt: string;
611
615
  updatedAt: string;
616
+ gameApiUrl: string | null;
612
617
  }>;
613
618
  };
614
619
  export type ArchiveAppMutationVariables = Exact<{
@@ -726,9 +731,10 @@ export type MarketplaceAppsQuery = {
726
731
  status: Types.AppStatus;
727
732
  metadata: string | null;
728
733
  splitMode: boolean;
729
- gameApiUrl: string | null;
734
+ applicationApiUrl: string | null;
730
735
  createdAt: string;
731
736
  updatedAt: string;
737
+ gameApiUrl: string | null;
732
738
  org: {
733
739
  orgId: string;
734
740
  slug: string;
@@ -762,9 +768,10 @@ export type AppsConnectionQuery = {
762
768
  status: Types.AppStatus;
763
769
  metadata: string | null;
764
770
  splitMode: boolean;
765
- gameApiUrl: string | null;
771
+ applicationApiUrl: string | null;
766
772
  createdAt: string;
767
773
  updatedAt: string;
774
+ gameApiUrl: string | null;
768
775
  org: {
769
776
  orgId: string;
770
777
  slug: string;
@@ -796,9 +803,10 @@ export type MyAppsQuery = {
796
803
  wildernessWritesOpen: boolean;
797
804
  replayLoggingEnabled: boolean;
798
805
  splitMode: boolean;
799
- gameApiUrl: string | null;
806
+ applicationApiUrl: string | null;
800
807
  createdAt: string;
801
808
  updatedAt: string;
809
+ gameApiUrl: string | null;
802
810
  org: {
803
811
  orgId: string;
804
812
  slug: string;
@@ -818,6 +826,8 @@ export type PlaceableDatacentersQuery = {
818
826
  placeable: boolean;
819
827
  serving: Types.DatacenterServingStatus;
820
828
  appShardCount: number;
829
+ applicationApiUrl: string | null;
830
+ applicationApiWsUrl: string | null;
821
831
  gameApiUrl: string | null;
822
832
  gameApiWsUrl: string | null;
823
833
  }>;
@@ -4292,9 +4302,11 @@ export type PlatformConfigQueryVariables = Exact<{
4292
4302
  }>;
4293
4303
  export type PlatformConfigQuery = {
4294
4304
  platformConfig: {
4305
+ sharedApplicationApiUrl: string | null;
4306
+ sharedApplicationApiWsUrl: string | null;
4307
+ freeAppsPerOrg: number;
4295
4308
  sharedGameApiUrl: string | null;
4296
4309
  sharedGameApiWsUrl: string | null;
4297
- freeAppsPerOrg: number;
4298
4310
  };
4299
4311
  };
4300
4312
  export type TerritoryPoliciesQueryVariables = Exact<{
@@ -4808,8 +4820,8 @@ export type GameClientBootstrapQueryVariables = Exact<{
4808
4820
  export type GameClientBootstrapQuery = {
4809
4821
  gameClientBootstrap: {
4810
4822
  appId: string;
4811
- gameApiUrl: string | null;
4812
- gameApiWsUrl: string | null;
4823
+ applicationApiUrl: string | null;
4824
+ applicationApiWsUrl: string | null;
4813
4825
  discoveryUrl: string | null;
4814
4826
  realtimeProtocol: string;
4815
4827
  subscriptionName: string;
@@ -4819,6 +4831,8 @@ export type GameClientBootstrapQuery = {
4819
4831
  wildernessWritesOpen: boolean;
4820
4832
  maxVoiceSpeakers: number;
4821
4833
  maxVideoSpeakers: number;
4834
+ gameApiUrl: string | null;
4835
+ gameApiWsUrl: string | null;
4822
4836
  runtimeGate: {
4823
4837
  status: Types.AppRuntimeStatus;
4824
4838
  reason: string | null;