@crowdedkingdomstudios/crowdyjs 5.1.0 → 5.2.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 (75) hide show
  1. package/MIGRATION.md +64 -0
  2. package/README.md +19 -0
  3. package/dist/client.d.ts +98 -5
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +74 -5
  6. package/dist/crowdy-client.d.ts +31 -0
  7. package/dist/crowdy-client.d.ts.map +1 -1
  8. package/dist/crowdy-client.js +8 -0
  9. package/dist/domains/actors.d.ts +88 -5
  10. package/dist/domains/actors.d.ts.map +1 -1
  11. package/dist/domains/actors.js +89 -6
  12. package/dist/domains/apps.d.ts +95 -41
  13. package/dist/domains/apps.d.ts.map +1 -1
  14. package/dist/domains/apps.js +80 -33
  15. package/dist/domains/auth.d.ts +139 -19
  16. package/dist/domains/auth.d.ts.map +1 -1
  17. package/dist/domains/auth.js +137 -17
  18. package/dist/domains/channels.d.ts +264 -5
  19. package/dist/domains/channels.d.ts.map +1 -1
  20. package/dist/domains/channels.js +264 -5
  21. package/dist/domains/chunks.d.ts +116 -3
  22. package/dist/domains/chunks.d.ts.map +1 -1
  23. package/dist/domains/chunks.js +116 -3
  24. package/dist/domains/gameModel.d.ts +412 -6
  25. package/dist/domains/gameModel.d.ts.map +1 -1
  26. package/dist/domains/gameModel.js +412 -6
  27. package/dist/domains/platform.d.ts +36 -20
  28. package/dist/domains/platform.d.ts.map +1 -1
  29. package/dist/domains/platform.js +29 -18
  30. package/dist/domains/serverStatus.d.ts +74 -6
  31. package/dist/domains/serverStatus.d.ts.map +1 -1
  32. package/dist/domains/serverStatus.js +74 -6
  33. package/dist/domains/state.d.ts +50 -2
  34. package/dist/domains/state.d.ts.map +1 -1
  35. package/dist/domains/state.js +50 -2
  36. package/dist/domains/teams.d.ts +265 -7
  37. package/dist/domains/teams.d.ts.map +1 -1
  38. package/dist/domains/teams.js +267 -9
  39. package/dist/domains/teleport.d.ts +30 -2
  40. package/dist/domains/teleport.d.ts.map +1 -1
  41. package/dist/domains/teleport.js +30 -2
  42. package/dist/domains/udp.d.ts +341 -5
  43. package/dist/domains/udp.d.ts.map +1 -1
  44. package/dist/domains/udp.js +341 -5
  45. package/dist/domains/users.d.ts +42 -11
  46. package/dist/domains/users.d.ts.map +1 -1
  47. package/dist/domains/users.js +41 -10
  48. package/dist/domains/voxels.d.ts +107 -2
  49. package/dist/domains/voxels.d.ts.map +1 -1
  50. package/dist/domains/voxels.js +107 -2
  51. package/dist/errors.d.ts +116 -0
  52. package/dist/errors.d.ts.map +1 -1
  53. package/dist/errors.js +100 -0
  54. package/dist/generated/graphql.d.ts +1787 -110
  55. package/dist/generated/graphql.d.ts.map +1 -1
  56. package/dist/generated/graphql.js +75 -9
  57. package/dist/index.d.ts +2 -1
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +2 -1
  60. package/dist/realtime.d.ts +226 -0
  61. package/dist/realtime.d.ts.map +1 -1
  62. package/dist/realtime.js +90 -0
  63. package/dist/session.d.ts +46 -0
  64. package/dist/session.d.ts.map +1 -1
  65. package/dist/session.js +35 -0
  66. package/dist/types.d.ts +429 -0
  67. package/dist/types.d.ts.map +1 -1
  68. package/dist/types.js +53 -0
  69. package/dist/utils.d.ts +86 -0
  70. package/dist/utils.d.ts.map +1 -1
  71. package/dist/utils.js +86 -0
  72. package/dist/world.d.ts +192 -0
  73. package/dist/world.d.ts.map +1 -1
  74. package/dist/world.js +170 -0
  75. package/package.json +1 -1
@@ -1,101 +1,167 @@
1
1
  /** Where an app runs: none (draft), shared (the shared game-api), or dedicated (a provisioned environment). */
2
2
  export var AppDeploymentTarget;
3
3
  (function (AppDeploymentTarget) {
4
+ /** Runs on a dedicated, org-provisioned environment. */
4
5
  AppDeploymentTarget["Dedicated"] = "DEDICATED";
6
+ /** Draft / unpublished: the app is not deployed to any runtime. */
5
7
  AppDeploymentTarget["None"] = "NONE";
8
+ /** Runs on the multi-tenant shared game-api (publishAppToShared). */
6
9
  AppDeploymentTarget["Shared"] = "SHARED";
7
10
  })(AppDeploymentTarget || (AppDeploymentTarget = {}));
8
- /** The per-app runtime gate game-api + Buddy enforce: active, grace, denied, or suspended. */
11
+ /** The per-app runtime gate game-api + Buddy enforce. See runtimeDenialReason when not active. */
9
12
  export var AppRuntimeStatus;
10
13
  (function (AppRuntimeStatus) {
14
+ /** Allowed to run; clients may connect. */
11
15
  AppRuntimeStatus["Active"] = "ACTIVE";
16
+ /** Blocked from running now (e.g. insufficient funds, spend cap hit, or free allowance exhausted); recoverable once the cause clears. */
12
17
  AppRuntimeStatus["Denied"] = "DENIED";
18
+ /** Still running on a temporary allowance (e.g. low funds) but at risk of being denied soon. */
13
19
  AppRuntimeStatus["Grace"] = "GRACE";
20
+ /** Hard-stopped (e.g. lapsed subscription); requires action to restore. */
14
21
  AppRuntimeStatus["Suspended"] = "SUSPENDED";
15
22
  })(AppRuntimeStatus || (AppRuntimeStatus = {}));
16
- /** DRAFT = invisible to non-members, LIVE = purchasable/playable, ARCHIVED = read-only */
23
+ /** Lifecycle state of an app. Independent of AppVisibility; the public marketplace requires status=LIVE. */
17
24
  export var AppStatus;
18
25
  (function (AppStatus) {
26
+ /** Soft-deleted via archiveApp: retained but read-only and excluded from the marketplace. Reversible by setting status back to DRAFT or LIVE. */
19
27
  AppStatus["Archived"] = "ARCHIVED";
28
+ /** Work-in-progress: invisible to non-members and never listed in the marketplace. Default for newly created apps. */
20
29
  AppStatus["Draft"] = "DRAFT";
30
+ /** Published and purchasable/playable; eligible for the public marketplace when visibility=PUBLIC. */
21
31
  AppStatus["Live"] = "LIVE";
22
32
  })(AppStatus || (AppStatus = {}));
23
- /** PUBLIC = listed in marketplace, UNLISTED = direct link only, PRIVATE = members only */
33
+ /** Controls where an app can be discovered. Independent of AppStatus (the marketplace additionally requires status=LIVE). */
24
34
  export var AppVisibility;
25
35
  (function (AppVisibility) {
36
+ /** Hidden from the marketplace; visible only to org members and users with an access grant. */
26
37
  AppVisibility["Private"] = "PRIVATE";
38
+ /** Listed in the public marketplace (when status=LIVE) and resolvable by slug. */
27
39
  AppVisibility["Public"] = "PUBLIC";
40
+ /** Hidden from marketplace listings but accessible to anyone who knows the direct org/app slug link. */
28
41
  AppVisibility["Unlisted"] = "UNLISTED";
29
42
  })(AppVisibility || (AppVisibility = {}));
30
43
  /** Why the checkout exists. Drives which side effect runs on webhook completion: ORG_WALLET_TOPUP credits an org_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. */
31
44
  export var CheckoutPurpose;
32
45
  (function (CheckoutPurpose) {
46
+ /** Purchase a user's access to an app at a given tier. Requires appId and tierId. Upserts app_user_access on completion. */
33
47
  CheckoutPurpose["AppAccessPurchase"] = "APP_ACCESS_PURCHASE";
48
+ /**
49
+ * Deprecated. Historically a one-off donation to an app. No longer purchasable and rejected at runtime by createCheckout.
50
+ * @deprecated No longer purchasable; use ORG_WALLET_TOPUP or APP_ACCESS_PURCHASE. Retained for historical checkouts.
51
+ */
34
52
  CheckoutPurpose["Donation"] = "DONATION";
53
+ /** Add funds to an organization wallet. Requires orgId and amountCents, and the caller must hold the org "manage_billing" permission. Credits the org wallet on completion. */
35
54
  CheckoutPurpose["OrgWalletTopup"] = "ORG_WALLET_TOPUP";
55
+ /**
56
+ * Deprecated. Historically a purchase of in-world property tokens. No longer purchasable and rejected at runtime by createCheckout.
57
+ * @deprecated No longer purchasable; use ORG_WALLET_TOPUP or APP_ACCESS_PURCHASE. Retained for historical checkouts.
58
+ */
36
59
  CheckoutPurpose["PropertyTokens"] = "PROPERTY_TOKENS";
60
+ /** Recurring subscription for a paid app slot on the shared environment, beyond the org's free app quota. Requires appId and planId (a shared_env_plans.plan_id). Activates the paid slot on completion. */
37
61
  CheckoutPurpose["SharedAppSubscription"] = "SHARED_APP_SUBSCRIPTION";
38
62
  })(CheckoutPurpose || (CheckoutPurpose = {}));
39
63
  /** Lifecycle state of a Checkout. Updated by webhook reconciliation, not by the redirect URL. */
40
64
  export var CheckoutStatus;
41
65
  (function (CheckoutStatus) {
66
+ /** The user abandoned or canceled the checkout before completion. Terminal state. */
42
67
  CheckoutStatus["Canceled"] = "CANCELED";
68
+ /** Payment succeeded and the purpose side effect was applied (e.g. wallet credited). Terminal success state. */
43
69
  CheckoutStatus["Completed"] = "COMPLETED";
70
+ /** The provider session expired before payment completed (see `expiresAt`). Terminal state. */
44
71
  CheckoutStatus["Expired"] = "EXPIRED";
72
+ /** Payment attempt failed or was declined; see the checkout `error` field for details. Terminal failure state. */
45
73
  CheckoutStatus["Failed"] = "FAILED";
74
+ /** Created and awaiting payment. Initial state right after createCheckout; the user has not finished paying yet. */
46
75
  CheckoutStatus["Pending"] = "PENDING";
47
76
  })(CheckoutStatus || (CheckoutStatus = {}));
48
77
  /** External payment processor for a checkout. */
49
78
  export var PaymentProvider;
50
79
  (function (PaymentProvider) {
80
+ /** PayPal. Hosted approval flow; the approved order is captured (see capturePaypalCheckout) and confirmed via PayPal webhooks. */
51
81
  PaymentProvider["Paypal"] = "PAYPAL";
82
+ /** Stripe Checkout. Hosted card payment session; completion is confirmed via Stripe webhooks. */
52
83
  PaymentProvider["Stripe"] = "STRIPE";
53
84
  })(PaymentProvider || (PaymentProvider = {}));
54
- /** full = replace VMs. services = update in place on existing runtime servers. Omit for automatic routing. */
85
+ /** How redeployEnvironment rolls out a new version. Omit for automatic routing (services-only when active runtime VMs exist, otherwise full). */
55
86
  export var RedeployDeployMode;
56
87
  (function (RedeployDeployMode) {
88
+ /** Replace the runtime VMs (reprovision game-api / Buddy instances). Slower; use when the box image or infra must change. */
57
89
  RedeployDeployMode["Full"] = "FULL";
90
+ /** Update services in place on the existing runtime VMs (no VM replacement). Faster; only valid when active runtime VMs exist. */
58
91
  RedeployDeployMode["Services"] = "SERVICES";
59
92
  })(RedeployDeployMode || (RedeployDeployMode = {}));
60
- /** The current state of the server */
93
+ /** Lifecycle state of a game/GraphQL server in the fleet. Only ReadyForClients servers should receive new client connections; serverWithLeastClients and activeGraphQLServers already filter to healthy servers. */
61
94
  export var ServerState;
62
95
  (function (ServerState) {
96
+ /** Not running or unreachable (e.g. crashed or missed heartbeats). */
63
97
  ServerState["Offline"] = "Offline";
98
+ /** Healthy and accepting client traffic. The only state safe to route to. */
64
99
  ServerState["ReadyForClients"] = "ReadyForClients";
100
+ /** Booting / not yet ready: registered but still initializing; do not route client traffic here. */
65
101
  ServerState["Starting"] = "Starting";
102
+ /** Draining / shutting down: finishing in-flight work; do not send new traffic. */
66
103
  ServerState["Stopping"] = "Stopping";
67
104
  })(ServerState || (ServerState = {}));
68
- /** Error codes returned by UDP game servers in response messages. NO_ERROR (0) indicates success, all other values indicate various error conditions. */
105
+ /** Error codes returned by UDP game servers (and surfaced on `GenericErrorResponse.errorCode`) in response to a spatial/realtime message. NO_ERROR (0) indicates success; every other value indicates a failure. The numeric value is the byte sent on the wire; GraphQL exposes the name. Note: a failed message does not always produce an error — some auth failures are dropped silently (see the docs). */
69
106
  export var UdpErrorCode;
70
107
  (function (UdpErrorCode) {
108
+ /** No app matches the supplied appId. */
71
109
  UdpErrorCode["AppNotFound"] = "APP_NOT_FOUND";
110
+ /** The app exists but is not currently loaded/active on this server. */
72
111
  UdpErrorCode["AppNotLoaded"] = "APP_NOT_LOADED";
112
+ /** The password did not match (login validation). */
73
113
  UdpErrorCode["BadPassword"] = "BAD_PASSWORD";
114
+ /** No chunk exists at the referenced coordinates. */
74
115
  UdpErrorCode["ChunkNotFound"] = "CHUNK_NOT_FOUND";
116
+ /** Registration failed because the email is already in use. */
75
117
  UdpErrorCode["EmailAlreadyExists"] = "EMAIL_ALREADY_EXISTS";
118
+ /** Email failed format validation. */
76
119
  UdpErrorCode["EmailInvalid"] = "EMAIL_INVALID";
120
+ /** No account matches the supplied email (login validation). */
77
121
  UdpErrorCode["EmailNotFound"] = "EMAIL_NOT_FOUND";
122
+ /** Email failed maximum-length validation. */
78
123
  UdpErrorCode["EmailTooLong"] = "EMAIL_TOO_LONG";
124
+ /** Email failed minimum-length validation. */
79
125
  UdpErrorCode["EmailTooShort"] = "EMAIL_TOO_SHORT";
126
+ /** The requested gamertag is already taken. */
80
127
  UdpErrorCode["GamertagAlreadyExists"] = "GAMERTAG_ALREADY_EXISTS";
128
+ /** The game token is not the expected length. Use the exact token returned by login (do not trim or re-encode it). */
81
129
  UdpErrorCode["GameTokenWrongSize"] = "GAME_TOKEN_WRONG_SIZE";
130
+ /** A grid already exists at these coordinates. */
82
131
  UdpErrorCode["GridAlreadyExists"] = "GRID_ALREADY_EXISTS";
132
+ /** The target coordinates fall outside any grid assigned to the caller. */
83
133
  UdpErrorCode["GridOutsideAssignment"] = "GRID_OUTSIDE_ASSIGNMENT";
134
+ /** The requested grid overlaps an existing grid. */
84
135
  UdpErrorCode["GridOverlapsExisting"] = "GRID_OVERLAPS_EXISTING";
136
+ /** The appId was missing, zero, or not a valid value. */
85
137
  UdpErrorCode["InvalidAppId"] = "INVALID_APP_ID";
138
+ /** The grid coordinates were invalid. */
86
139
  UdpErrorCode["InvalidGridCoordinates"] = "INVALID_GRID_COORDINATES";
140
+ /** The message was malformed or failed validation. Check the byte layout. */
87
141
  UdpErrorCode["InvalidRequest"] = "INVALID_REQUEST";
142
+ /** The state/payload bytes were invalid for this message type. */
88
143
  UdpErrorCode["InvalidStateData"] = "INVALID_STATE_DATA";
144
+ /** The game token was rejected (expired, malformed, or revoked). Re-authenticate against the Management API to obtain a fresh token. */
89
145
  UdpErrorCode["InvalidToken"] = "INVALID_TOKEN";
146
+ /** The supplied token was not a valid length. */
90
147
  UdpErrorCode["InvalidTokenLength"] = "INVALID_TOKEN_LENGTH";
148
+ /** A supplied name exceeded the maximum length. */
91
149
  UdpErrorCode["NameTooLong"] = "NAME_TOO_LONG";
150
+ /** No error (0). The message was accepted. */
92
151
  UdpErrorCode["NoError"] = "NO_ERROR";
152
+ /** No grid assignment covers the referenced coordinates. */
93
153
  UdpErrorCode["NoMatchingGridAssignment"] = "NO_MATCHING_GRID_ASSIGNMENT";
154
+ /** Password failed maximum-length validation. */
94
155
  UdpErrorCode["PasswordTooLong"] = "PASSWORD_TOO_LONG";
156
+ /** Password failed minimum-length validation. */
95
157
  UdpErrorCode["PasswordTooShort"] = "PASSWORD_TOO_SHORT";
158
+ /** The caller lacks the runtime/grid permission required for this action. Grid permissions can load asynchronously, so the first message to a newly entered region may transiently return this — retry shortly. */
96
159
  UdpErrorCode["Unauthorized"] = "UNAUTHORIZED";
160
+ /** Unspecified server error (1). Retry; if it persists, report it. */
97
161
  UdpErrorCode["UnknownError"] = "UNKNOWN_ERROR";
162
+ /** Requires app-admin privileges (the 'manage_apps' permission). */
98
163
  UdpErrorCode["UserNotAppAdmin"] = "USER_NOT_APP_ADMIN";
164
+ /** This client has no authenticated session on the server. Complete the UDP token handshake (or open the UDP proxy) before sending spatial messages. */
99
165
  UdpErrorCode["UserNotAuthenticated"] = "USER_NOT_AUTHENTICATED";
100
166
  })(UdpErrorCode || (UdpErrorCode = {}));
101
167
  export const GmSessionFieldsFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
@@ -107,7 +173,7 @@ export const ActorDocument = { "kind": "Document", "definitions": [{ "kind": "Op
107
173
  export const ActorsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "Actors" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActorFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "actors" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatarId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunk" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "privateState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publicState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
108
174
  export const BatchLookupActorsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "BatchLookupActors" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BatchActorLookupInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "batchLookupActors" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatarId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunk" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "privateState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publicState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
109
175
  export const CreateActorDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateActor" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateActorInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createActor" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatarId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunk" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "privateState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publicState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
110
- export const DeleteActorDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteActor" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "uuid" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteActor" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "uuid" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "uuid" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }] } }] } }] };
176
+ export const DeleteActorDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteActor" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "uuid" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "idempotencyKey" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteActor" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "uuid" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "uuid" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "idempotencyKey" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "idempotencyKey" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }] } }] } }] };
111
177
  export const UpdateActorDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateActor" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "uuid" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateActorInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateActor" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "uuid" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "uuid" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatarId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunk" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "privateState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publicState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
112
178
  export const UpdateActorStateDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateActorState" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "uuid" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateActorStateInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateActorState" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "uuid" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "uuid" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "privateState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publicState" } }] } }] } }] };
113
179
  export const AppAccessTiersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppAccessTiers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appAccessTiers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tierId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tierOrder" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isFree" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isDefault" } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "kind": "Field", "name": { "kind": "Name", "value": "billingPeriod" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissionKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
@@ -229,10 +295,10 @@ export const UserAppStatesDocument = { "kind": "Document", "definitions": [{ "ki
229
295
  export const AddTeamMemberDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "AddTeamMember" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "addTeamMember" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "userId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupMemberId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "groupId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rank" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }] } }] } }] } }] };
230
296
  export const CreateTeamDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateTeam" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateTeamInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createTeam" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "groupType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "membershipPolicy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "defaultRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
231
297
  export const CreateTeamRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateTeamRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateGroupRoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createTeamRole" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "groupId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rank" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
232
- export const DeleteTeamDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteTeam" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteTeam" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }] }] } }] };
298
+ export const DeleteTeamDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteTeam" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "idempotencyKey" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteTeam" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "idempotencyKey" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "idempotencyKey" } } }] }] } }] };
233
299
  export const DeleteTeamRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteTeamRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupRoleId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteTeamRole" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupRoleId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupRoleId" } } }] }] } }] };
234
300
  export const JoinTeamDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "JoinTeam" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "joinTeam" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupMemberId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "groupId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rank" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }] } }] } }] } }] };
235
- export const LeaveTeamDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "LeaveTeam" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "leaveTeam" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }] }] } }] };
301
+ export const LeaveTeamDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "LeaveTeam" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "idempotencyKey" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "leaveTeam" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "idempotencyKey" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "idempotencyKey" } } }] }] } }] };
236
302
  export const MyTeamsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MyTeams" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myTeams" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "group" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "groupType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "membershipPolicy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "defaultRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "roles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rank" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "joinedAt" } }] } }] } }] };
237
303
  export const RemoveTeamMemberDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RemoveTeamMember" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "removeTeamMember" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "userId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } } }] }] } }] };
238
304
  export const RequestToJoinTeamDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RequestToJoinTeam" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "requestToJoinTeam" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupMemberId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "groupId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rank" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }] } }] } }] } }] };
package/dist/index.d.ts CHANGED
@@ -32,7 +32,8 @@
32
32
  * package; consume `cks-management-api` directly (the management UI does)
33
33
  * via Apollo, fetch, or a separate codegen client.
34
34
  */
35
- export declare const VERSION = "5.1.0";
35
+ /** The published package version. Mirrors `package.json`. */
36
+ export declare const VERSION = "5.2.1";
36
37
  export { CrowdyClient, createCrowdyClient, type CrowdyClientConfig, } from './crowdy-client.js';
37
38
  export { BrowserLocalStorageTokenStore, SessionStore, type SessionListener, type TokenStore, } from './session.js';
38
39
  export { GraphQLClient, GraphQLTransport, type GraphQLClientConfig, } from './client.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,eAAO,MAAM,OAAO,UAAU,CAAC;AAE/B,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,KAAK,kBAAkB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,6BAA6B,EAC7B,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,KAAK,mBAAmB,GACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,uBAAuB,GAC7B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AACzE,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AAOpB,YAAY,EACV,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,EAClB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,kBAAkB,EAClB,iBAAiB,EACjB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BAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,yBAAyB,EACzB,aAAa,EACb,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EACf,+BAA+B,EAC/B,oBAAoB,EACpB,YAAY,EACZ,eAAe,EAEf,KAAK,EACL,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,yBAAyB,EACzB,KAAK,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,wBAAwB,EACxB,KAAK,EACL,MAAM,EACN,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,4BAA4B,EAG5B,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EAEvB,OAAO,GACR,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,6DAA6D;AAC7D,eAAO,MAAM,OAAO,UAAU,CAAC;AAE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,yBAAyB,EACzB,KAAK,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,wBAAwB,EACxB,KAAK,EACL,MAAM,EACN,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,4BAA4B,EAG5B,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EAEvB,OAAO,GACR,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC"}
package/dist/index.js CHANGED
@@ -32,7 +32,8 @@
32
32
  * package; consume `cks-management-api` directly (the management UI does)
33
33
  * via Apollo, fetch, or a separate codegen client.
34
34
  */
35
- export const VERSION = '5.1.0';
35
+ /** The published package version. Mirrors `package.json`. */
36
+ export const VERSION = '5.2.1';
36
37
  export { CrowdyClient, createCrowdyClient, } from './crowdy-client.js';
37
38
  export { BrowserLocalStorageTokenStore, SessionStore, } from './session.js';
38
39
  export { GraphQLClient, GraphQLTransport, } from './client.js';