@dreamboard-games/api-client 0.1.0
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/LICENSE +89 -0
- package/NOTICE +1 -0
- package/dist/@tanstack/react-query.gen.d.ts +1037 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1016 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +235 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +6 -0
- package/dist/client/types.gen.d.ts +118 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +2 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +233 -0
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +3 -0
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +14 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +57 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +100 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +114 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +99 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +136 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +2 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +87 -0
- package/dist/generated/problem-types.gen.d.ts +26 -0
- package/dist/generated/problem-types.gen.d.ts.map +1 -0
- package/dist/generated/problem-types.gen.js +23 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/sdk.gen.d.ts +364 -0
- package/dist/sdk.gen.d.ts.map +1 -0
- package/dist/sdk.gen.js +634 -0
- package/dist/source-revisions.d.ts +27 -0
- package/dist/source-revisions.d.ts.map +1 -0
- package/dist/source-revisions.js +174 -0
- package/dist/storage-paths.d.ts +17 -0
- package/dist/storage-paths.d.ts.map +1 -0
- package/dist/storage-paths.js +16 -0
- package/dist/types.gen.d.ts +5007 -0
- package/dist/types.gen.d.ts.map +1 -0
- package/dist/types.gen.js +2 -0
- package/dist/zod.gen.d.ts +37398 -0
- package/dist/zod.gen.d.ts.map +1 -0
- package/dist/zod.gen.js +2396 -0
- package/package.json +105 -0
- package/src/@tanstack/react-query.gen.ts +1114 -0
- package/src/client/client.gen.ts +311 -0
- package/src/client/index.ts +25 -0
- package/src/client/types.gen.ts +241 -0
- package/src/client/utils.gen.ts +332 -0
- package/src/client.gen.ts +16 -0
- package/src/core/auth.gen.ts +42 -0
- package/src/core/bodySerializer.gen.ts +100 -0
- package/src/core/params.gen.ts +176 -0
- package/src/core/pathSerializer.gen.ts +181 -0
- package/src/core/queryKeySerializer.gen.ts +136 -0
- package/src/core/serverSentEvents.gen.ts +265 -0
- package/src/core/types.gen.ts +118 -0
- package/src/core/utils.gen.ts +143 -0
- package/src/generated/problem-types.gen.ts +35 -0
- package/src/index.ts +7 -0
- package/src/sdk.gen.ts +709 -0
- package/src/source-revisions.ts +283 -0
- package/src/storage-paths.ts +19 -0
- package/src/types.gen.ts +5486 -0
- package/src/zod.gen.ts +2705 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
import type { BodySerializer, QuerySerializer } from './bodySerializer.gen.js';
|
|
4
|
+
import {
|
|
5
|
+
type ArraySeparatorStyle,
|
|
6
|
+
serializeArrayParam,
|
|
7
|
+
serializeObjectParam,
|
|
8
|
+
serializePrimitiveParam,
|
|
9
|
+
} from './pathSerializer.gen.js';
|
|
10
|
+
|
|
11
|
+
export interface PathSerializer {
|
|
12
|
+
path: Record<string, unknown>;
|
|
13
|
+
url: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
17
|
+
|
|
18
|
+
export const defaultPathSerializer = ({ path, url: _url }: PathSerializer) => {
|
|
19
|
+
let url = _url;
|
|
20
|
+
const matches = _url.match(PATH_PARAM_RE);
|
|
21
|
+
if (matches) {
|
|
22
|
+
for (const match of matches) {
|
|
23
|
+
let explode = false;
|
|
24
|
+
let name = match.substring(1, match.length - 1);
|
|
25
|
+
let style: ArraySeparatorStyle = 'simple';
|
|
26
|
+
|
|
27
|
+
if (name.endsWith('*')) {
|
|
28
|
+
explode = true;
|
|
29
|
+
name = name.substring(0, name.length - 1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if (name.startsWith('.')) {
|
|
33
|
+
name = name.substring(1);
|
|
34
|
+
style = 'label';
|
|
35
|
+
} else if (name.startsWith(';')) {
|
|
36
|
+
name = name.substring(1);
|
|
37
|
+
style = 'matrix';
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const value = path[name];
|
|
41
|
+
|
|
42
|
+
if (value === undefined || value === null) {
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
if (Array.isArray(value)) {
|
|
47
|
+
url = url.replace(
|
|
48
|
+
match,
|
|
49
|
+
serializeArrayParam({ explode, name, style, value }),
|
|
50
|
+
);
|
|
51
|
+
continue;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (typeof value === 'object') {
|
|
55
|
+
url = url.replace(
|
|
56
|
+
match,
|
|
57
|
+
serializeObjectParam({
|
|
58
|
+
explode,
|
|
59
|
+
name,
|
|
60
|
+
style,
|
|
61
|
+
value: value as Record<string, unknown>,
|
|
62
|
+
valueOnly: true,
|
|
63
|
+
}),
|
|
64
|
+
);
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (style === 'matrix') {
|
|
69
|
+
url = url.replace(
|
|
70
|
+
match,
|
|
71
|
+
`;${serializePrimitiveParam({
|
|
72
|
+
name,
|
|
73
|
+
value: value as string,
|
|
74
|
+
})}`,
|
|
75
|
+
);
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const replaceValue = encodeURIComponent(
|
|
80
|
+
style === 'label' ? `.${value as string}` : (value as string),
|
|
81
|
+
);
|
|
82
|
+
url = url.replace(match, replaceValue);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return url;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export const getUrl = ({
|
|
89
|
+
baseUrl,
|
|
90
|
+
path,
|
|
91
|
+
query,
|
|
92
|
+
querySerializer,
|
|
93
|
+
url: _url,
|
|
94
|
+
}: {
|
|
95
|
+
baseUrl?: string;
|
|
96
|
+
path?: Record<string, unknown>;
|
|
97
|
+
query?: Record<string, unknown>;
|
|
98
|
+
querySerializer: QuerySerializer;
|
|
99
|
+
url: string;
|
|
100
|
+
}) => {
|
|
101
|
+
const pathUrl = _url.startsWith('/') ? _url : `/${_url}`;
|
|
102
|
+
let url = (baseUrl ?? '') + pathUrl;
|
|
103
|
+
if (path) {
|
|
104
|
+
url = defaultPathSerializer({ path, url });
|
|
105
|
+
}
|
|
106
|
+
let search = query ? querySerializer(query) : '';
|
|
107
|
+
if (search.startsWith('?')) {
|
|
108
|
+
search = search.substring(1);
|
|
109
|
+
}
|
|
110
|
+
if (search) {
|
|
111
|
+
url += `?${search}`;
|
|
112
|
+
}
|
|
113
|
+
return url;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export function getValidRequestBody(options: {
|
|
117
|
+
body?: unknown;
|
|
118
|
+
bodySerializer?: BodySerializer | null;
|
|
119
|
+
serializedBody?: unknown;
|
|
120
|
+
}) {
|
|
121
|
+
const hasBody = options.body !== undefined;
|
|
122
|
+
const isSerializedBody = hasBody && options.bodySerializer;
|
|
123
|
+
|
|
124
|
+
if (isSerializedBody) {
|
|
125
|
+
if ('serializedBody' in options) {
|
|
126
|
+
const hasSerializedBody =
|
|
127
|
+
options.serializedBody !== undefined && options.serializedBody !== '';
|
|
128
|
+
|
|
129
|
+
return hasSerializedBody ? options.serializedBody : null;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// not all clients implement a serializedBody property (i.e. client-axios)
|
|
133
|
+
return options.body !== '' ? options.body : null;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// plain/text body
|
|
137
|
+
if (hasBody) {
|
|
138
|
+
return options.body;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// no body was provided
|
|
142
|
+
return undefined;
|
|
143
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// This file is auto-generated by packages/api-client/scripts/generate.ts.
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
|
|
4
|
+
import type { ProblemType } from "../types.gen.js";
|
|
5
|
+
|
|
6
|
+
export const SERVER_PROBLEM_TYPES = {
|
|
7
|
+
ACTION_REJECTED: "urn:dreamboard:problem:action-rejected",
|
|
8
|
+
ACTIVE_JOB_CONFLICT: "urn:dreamboard:problem:active-job-conflict",
|
|
9
|
+
AUTHORING_STATE_BASE_MISSING: "urn:dreamboard:problem:authoring-state-base-missing",
|
|
10
|
+
AUTHORING_STATE_DRIFT: "urn:dreamboard:problem:authoring-state-drift",
|
|
11
|
+
FORBIDDEN: "urn:dreamboard:problem:forbidden",
|
|
12
|
+
GAME_SLUG_CONFLICT: "urn:dreamboard:problem:game-slug-conflict",
|
|
13
|
+
INTERNAL_ERROR: "urn:dreamboard:problem:internal-error",
|
|
14
|
+
RESOURCE_NOT_FOUND: "urn:dreamboard:problem:resource-not-found",
|
|
15
|
+
SOURCE_REVISION_BASE_MISSING: "urn:dreamboard:problem:source-revision-base-missing",
|
|
16
|
+
SOURCE_REVISION_DRIFT: "urn:dreamboard:problem:source-revision-drift",
|
|
17
|
+
SOURCE_REVISION_NOT_FOUND: "urn:dreamboard:problem:source-revision-not-found",
|
|
18
|
+
STATE_CONFLICT: "urn:dreamboard:problem:state-conflict",
|
|
19
|
+
TOO_MANY_REQUESTS: "urn:dreamboard:problem:too-many-requests",
|
|
20
|
+
UNAUTHORIZED: "urn:dreamboard:problem:unauthorized",
|
|
21
|
+
VALIDATION_FAILED: "urn:dreamboard:problem:validation-failed",
|
|
22
|
+
} as const satisfies Record<string, ProblemType>;
|
|
23
|
+
|
|
24
|
+
export type ServerProblemType =
|
|
25
|
+
(typeof SERVER_PROBLEM_TYPES)[keyof typeof SERVER_PROBLEM_TYPES];
|
|
26
|
+
|
|
27
|
+
export const CLIENT_PROBLEM_TYPES = {
|
|
28
|
+
TRANSPORT_ERROR: "urn:dreamboard:problem:transport-error",
|
|
29
|
+
UNKNOWN_API_ERROR: "urn:dreamboard:problem:unknown-api-error",
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type ClientProblemType =
|
|
33
|
+
(typeof CLIENT_PROBLEM_TYPES)[keyof typeof CLIENT_PROBLEM_TYPES];
|
|
34
|
+
|
|
35
|
+
export type AnyProblemType = ProblemType | ClientProblemType;
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
export { addSeat, assignSeat, cancelGameRun, createAuthoringState, createDemoGameSession, createGame, createGameRule, createGameRun, createSession, createSessionFromReducerSnapshot, createSourceBlobUploadSession, createSourceRevision, deleteGame, describePlayerAction, disconnectSessionEvents, downloadGameSources, ensureDevCompile, extractGameSpec, fetchUiBundle, findManifests, getActiveJob, getApiVersion, getAuthoringHead, getCompiledResult, getDemoGame, getDemoGameThumbnail, getGame, getGameBySlug, getGameRule, getGameScripts, getGameSources, getJob, getLatestCompiledResult, getLatestGameRule, getManifest, getPlayerActionTargets, getSessionByShortCode, getSessionSnapshot, healthCheck, listCompiledResults, listDemoGames, listGameRules, listGames, listPlayerActions, type Options, queryWorkshopRulebook, queueCompiledResultJob, removeSeat, restoreHistory, saveManifest, startGame, submitPlayerAction, subscribeToGameLogs, subscribeToJobEvents, subscribeToSessionEvents, unassignSeat, updateGame, updateSeat, validatePlayerAction } from './sdk.gen.js';
|
|
4
|
+
export type { ActionDefinition, ActionParameterDefinition, ActiveJobResponse, AddSeatData, AddSeatError, AddSeatErrors, AddSeatResponse, AddSeatResponses, ApiVersionResponse, AssignSeatData, AssignSeatError, AssignSeatErrors, AssignSeatResponse, AssignSeatResponses, AuthoringState, BoardCard, BoardContainerHostSpec, BoardContainerSpec, BoardEdgeRef, BoardHostSpec, BoardLayout, BoardRelationSpec, BoardSpaceSpec, BoardSpec, BoardTemplateSpec, BoardVertexRef, CancelGameRunData, CancelGameRunError, CancelGameRunErrors, CancelGameRunResponses, CardPropertySchema, CardPropertySchemaVariants, CardSetDefinition, CardSetSourceType, ChoiceDomainOption, ClientOptions, CompilationDiagnostic, CompilationDiagnosticSeverity, CompiledResult, CompiledResultStorageType, CompileJobCacheStatus, CompileJobCacheSummary, CompletedSteps, ComponentHomeSpec, ComponentSlotSpec, ComponentVisibilitySpec, ContainerHomeSpec, CreateAuthoringStateData, CreateAuthoringStateError, CreateAuthoringStateErrors, CreateAuthoringStateRequest, CreateAuthoringStateResponse, CreateAuthoringStateResponses, CreateDemoGameSessionData, CreateDemoGameSessionError, CreateDemoGameSessionErrors, CreateDemoGameSessionResponse, CreateDemoGameSessionResponses, CreateGameData, CreateGameError, CreateGameErrors, CreateGameRequest, CreateGameResponse, CreateGameResponses, CreateGameRuleData, CreateGameRuleError, CreateGameRuleErrors, CreateGameRuleRequest, CreateGameRuleResponse, CreateGameRuleResponse2, CreateGameRuleResponses, CreateGameRunData, CreateGameRunError, CreateGameRunErrors, CreateGameRunRequest, CreateGameRunResponse, CreateGameRunResponse2, CreateGameRunResponses, CreateSessionData, CreateSessionError, CreateSessionErrors, CreateSessionFromReducerSnapshotData, CreateSessionFromReducerSnapshotError, CreateSessionFromReducerSnapshotErrors, CreateSessionFromReducerSnapshotRequest, CreateSessionFromReducerSnapshotResponse, CreateSessionFromReducerSnapshotResponses, CreateSessionRequest, CreateSessionResponse, CreateSessionResponse2, CreateSessionResponses, CreateSourceBlobUploadSessionData, CreateSourceBlobUploadSessionError, CreateSourceBlobUploadSessionErrors, CreateSourceBlobUploadSessionRequest, CreateSourceBlobUploadSessionResponse, CreateSourceBlobUploadSessionResponses, CreateSourceRevisionData, CreateSourceRevisionError, CreateSourceRevisionErrors, CreateSourceRevisionRequest, CreateSourceRevisionResponse, CreateSourceRevisionResponses, DeleteGameData, DeleteGameError, DeleteGameErrors, DeleteGameResponse, DeleteGameResponse2, DeleteGameResponses, DemoGameDetails, DemoGameSummary, DemoSessionResponse, DescribePlayerActionData, DescribePlayerActionError, DescribePlayerActionErrors, DescribePlayerActionResponse, DescribePlayerActionResponses, DetachedHomeSpec, DieSeedSpec, DieSlotHostRef, DieTypeSpec, DisconnectSessionEventsData, DisconnectSessionEventsError, DisconnectSessionEventsErrors, DisconnectSessionEventsResponses, DownloadGameSourcesData, DownloadGameSourcesError, DownloadGameSourcesErrors, DownloadGameSourcesResponse, DownloadGameSourcesResponses, EdgeHomeSpec, EnsureDevCompileData, EnsureDevCompileError, EnsureDevCompileErrors, EnsureDevCompileRequest, EnsureDevCompileResponse, EnsureDevCompileResponse2, EnsureDevCompileResponses, ExtractGameSpecData, ExtractGameSpecError, ExtractGameSpecErrors, ExtractGameSpecRequest, ExtractGameSpecResponse, ExtractGameSpecResponse2, ExtractGameSpecResponses, FetchUiBundleData, FetchUiBundleError, FetchUiBundleErrors, FetchUiBundleResponse, FetchUiBundleResponses, FileCompilationDiagnostic, FindManifestsData, FindManifestsError, FindManifestsErrors, FindManifestsResponse, FindManifestsResponse2, FindManifestsResponses, Game, GameCompletionLights, GameId, GameManifestDto, GameManifestResponse, GameManifestSummaryDto, GameMetadata, GameRule, GameRuleSummaryDto, GameScriptsResponse, GameSlug, GameSourcesResponse, GameSpecComponent, GameSpecComponentSpec, GameSpecForm, GameSpecPlayers, GameTopologyManifest, GenericBoardSpec, GenericBoardTemplateSpec, GetActiveJobData, GetActiveJobError, GetActiveJobErrors, GetActiveJobResponse, GetActiveJobResponses, GetApiVersionData, GetApiVersionResponse, GetApiVersionResponses, GetAuthoringHeadData, GetAuthoringHeadError, GetAuthoringHeadErrors, GetAuthoringHeadResponse, GetAuthoringHeadResponses, GetCompiledResultData, GetCompiledResultError, GetCompiledResultErrors, GetCompiledResultResponse, GetCompiledResultResponses, GetDemoGameData, GetDemoGameError, GetDemoGameErrors, GetDemoGameResponse, GetDemoGameResponses, GetDemoGameThumbnailData, GetDemoGameThumbnailError, GetDemoGameThumbnailErrors, GetDemoGameThumbnailResponse, GetDemoGameThumbnailResponses, GetGameBySlugData, GetGameBySlugError, GetGameBySlugErrors, GetGameBySlugResponse, GetGameBySlugResponses, GetGameData, GetGameError, GetGameErrors, GetGameResponse, GetGameResponses, GetGameRuleData, GetGameRuleError, GetGameRuleErrors, GetGameRuleResponse, GetGameRuleResponses, GetGameScriptsData, GetGameScriptsError, GetGameScriptsErrors, GetGameScriptsResponse, GetGameScriptsResponses, GetGameSourcesData, GetGameSourcesError, GetGameSourcesErrors, GetGameSourcesResponse, GetGameSourcesResponses, GetJobData, GetJobError, GetJobErrors, GetJobResponse, GetJobResponses, GetLatestCompiledResultData, GetLatestCompiledResultError, GetLatestCompiledResultErrors, GetLatestCompiledResultResponse, GetLatestCompiledResultResponses, GetLatestGameRuleData, GetLatestGameRuleError, GetLatestGameRuleErrors, GetLatestGameRuleResponse, GetLatestGameRuleResponses, GetManifestData, GetManifestError, GetManifestErrors, GetManifestResponse, GetManifestResponses, GetPlayerActionTargetsData, GetPlayerActionTargetsError, GetPlayerActionTargetsErrors, GetPlayerActionTargetsResponse, GetPlayerActionTargetsResponses, GetSessionByShortCodeData, GetSessionByShortCodeError, GetSessionByShortCodeErrors, GetSessionByShortCodeResponse, GetSessionByShortCodeResponses, GetSessionSnapshotData, GetSessionSnapshotError, GetSessionSnapshotErrors, GetSessionSnapshotResponse, GetSessionSnapshotResponses, HealthCheckData, HealthCheckResponse, HealthCheckResponses, HexBoardSpec, HexBoardTemplateSpec, HexEdgeRef, HexEdgeSpec, HexOrientation, HexSpaceSpec, HexVertexRef, HexVertexSpec, HistoryEntrySummary, HistoryUpdatedEvent, HostActionSubmitResponse, HostEndedSessionSnapshot, HostGameplaySessionSnapshot, HostLobbySessionSnapshot, HostLobbyView, HostPlayerGameplayView, HostSessionContext, HostSessionEndedEvent, HostSessionErrorEvent, HostSessionEvent, HostSessionEventCausation, HostSessionGameplayUpdatedEvent, HostSessionHistoryUpdatedEvent, HostSessionLobbyUpdatedEvent, HostSessionSnapshot, HostSessionSnapshotEvent, HostSessionSnapshotReason, HostSessionStatus, InputDomain, InputSelection, InteractionCommitPolicy, InteractionContext, InteractionContextOption, InteractionDescriptor, InteractionInputDescriptor, JobDetailResponse, JobKind, JobNumericMetrics, JobStatus, JobSummary, JobTaskStatus, JobTaskSummary, JsonValue, ListCompiledResultsData, ListCompiledResultsError, ListCompiledResultsErrors, ListCompiledResultsResponse, ListCompiledResultsResponse2, ListCompiledResultsResponses, ListDemoGamesData, ListDemoGamesError, ListDemoGamesErrors, ListDemoGamesResponse, ListDemoGamesResponses, ListGameRulesData, ListGameRulesError, ListGameRulesErrors, ListGameRulesResponse, ListGameRulesResponse2, ListGameRulesResponses, ListGamesData, ListGamesError, ListGamesErrors, ListGamesResponse, ListGamesResponses, ListPlayerActionsData, ListPlayerActionsError, ListPlayerActionsErrors, ListPlayerActionsResponse, ListPlayerActionsResponses, LogMessageDto, ManualCardSetDefinition, ObjectSchema, ParameterType, PieceSeedSpec, PieceSlotHostRef, PieceTypeSpec, PlayerActionRequest, PlayerActionResponse, PlayerActionsResponse, PlayerActionTargetsResponse, PlayerActionValidateResponse, PlayerId, PlayersDefinition, PresetCardSetDefinition, ProblemDetails, ProblemType, ProblemViolation, ProjectCompilationDiagnostic, ProjectCompilationDiagnosticCategory, ProjectCompilationDiagnosticContext, PropertySchema, QueryWorkshopRulebookData, QueryWorkshopRulebookError, QueryWorkshopRulebookErrors, QueryWorkshopRulebookResponse, QueryWorkshopRulebookResponses, QueueCompiledResultJobData, QueueCompiledResultJobError, QueueCompiledResultJobErrors, QueueCompiledResultJobRequest, QueueCompiledResultJobResponse, QueueCompiledResultJobResponse2, QueueCompiledResultJobResponses, RemoveSeatData, RemoveSeatError, RemoveSeatErrors, RemoveSeatResponse, RemoveSeatResponses, ResourceDefinition, ResourceMapDomainEntry, RestoreHistoryData, RestoreHistoryError, RestoreHistoryErrors, RestoreHistoryRequest, RestoreHistoryResponse, RestoreHistoryResponse2, RestoreHistoryResponses, SaveManifestData, SaveManifestError, SaveManifestErrors, SaveManifestRequest, SaveManifestResponse, SaveManifestResponse2, SaveManifestResponses, SeatAssignment, SessionActor, SessionActorAuthUser, SessionActorDemoGuest, SessionGameSource, SessionGameSourceDemoRevision, SessionGameSourceUserCompiled, SessionId, SessionSnapshotHistory, SessionSnapshotPhase, SetupOptionChoiceSpec, SetupOptionSpec, SetupProfileSpec, SimultaneousPhaseSnapshot, SlotHomeSpec, SlotHostRef, SourceBlobUploadDescriptor, SourceBlobUploadSession, SourceBlobUploadSessionEntry, SourceBlobUploadTarget, SourceChangeMode, SourceChangeOperation, SourceFileUpsert, SourcePathDelete, SourceRevision, SpaceHomeSpec, SpaceHostSpec, SquareBoardSpec, SquareBoardTemplateSpec, SquareEdgeSpec, SquareSpaceSpec, SquareVertexSpec, StartGameData, StartGameError, StartGameErrors, StartGameResponse, StartGameResponses, StepLightStatus, SubmitPlayerActionData, SubmitPlayerActionError, SubmitPlayerActionErrors, SubmitPlayerActionResponse, SubmitPlayerActionResponses, SubscribeToGameLogsData, SubscribeToGameLogsError, SubscribeToGameLogsErrors, SubscribeToGameLogsResponse, SubscribeToGameLogsResponses, SubscribeToJobEventsData, SubscribeToJobEventsError, SubscribeToJobEventsErrors, SubscribeToJobEventsResponse, SubscribeToJobEventsResponses, SubscribeToSessionEventsData, SubscribeToSessionEventsError, SubscribeToSessionEventsErrors, SubscribeToSessionEventsResponse, SubscribeToSessionEventsResponses, TopologyScope, UnassignSeatData, UnassignSeatError, UnassignSeatErrors, UnassignSeatResponse, UnassignSeatResponses, UpdateGameData, UpdateGameError, UpdateGameErrors, UpdateGameRequest, UpdateGameResponse, UpdateGameResponses, UpdateSeatData, UpdateSeatError, UpdateSeatErrors, UpdateSeatRequest, UpdateSeatResponse, UpdateSeatResponses, ValidatePlayerActionData, ValidatePlayerActionError, ValidatePlayerActionErrors, ValidatePlayerActionResponse, ValidatePlayerActionResponses, VertexHomeSpec, WorkshopRuleTextResponse, ZoneHandles, ZoneHomeSpec, ZoneSpec, ZoneVisibility } from './types.gen.js';
|
|
5
|
+
export { zActionDefinition, zActionParameterDefinition, zActiveJobResponse, zAddSeatData, zAddSeatResponse, zApiVersionResponse, zAssignSeatData, zAssignSeatResponse, zAuthoringState, zBoardCard, zBoardContainerHostSpec, zBoardContainerSpec, zBoardEdgeRef, zBoardHostSpec, zBoardLayout, zBoardRelationSpec, zBoardSpaceSpec, zBoardSpec, zBoardTemplateSpec, zBoardVertexRef, zCancelGameRunData, zCardPropertySchema, zCardPropertySchemaVariants, zCardSetDefinition, zCardSetSourceType, zChoiceDomainOption, zCompilationDiagnostic, zCompilationDiagnosticSeverity, zCompiledResult, zCompiledResultStorageType, zCompileJobCacheStatus, zCompileJobCacheSummary, zCompletedSteps, zComponentHomeSpec, zComponentSlotSpec, zComponentVisibilitySpec, zContainerHomeSpec, zCreateAuthoringStateData, zCreateAuthoringStateRequest, zCreateAuthoringStateResponse, zCreateDemoGameSessionData, zCreateDemoGameSessionResponse, zCreateGameData, zCreateGameRequest, zCreateGameResponse, zCreateGameRuleData, zCreateGameRuleRequest, zCreateGameRuleResponse, zCreateGameRuleResponse2, zCreateGameRunData, zCreateGameRunRequest, zCreateGameRunResponse, zCreateGameRunResponse2, zCreateSessionData, zCreateSessionFromReducerSnapshotData, zCreateSessionFromReducerSnapshotRequest, zCreateSessionFromReducerSnapshotResponse, zCreateSessionRequest, zCreateSessionResponse, zCreateSessionResponse2, zCreateSourceBlobUploadSessionData, zCreateSourceBlobUploadSessionRequest, zCreateSourceBlobUploadSessionResponse, zCreateSourceRevisionData, zCreateSourceRevisionRequest, zCreateSourceRevisionResponse, zDeleteGameData, zDeleteGameResponse, zDeleteGameResponse2, zDemoGameDetails, zDemoGameSummary, zDemoSessionResponse, zDescribePlayerActionData, zDescribePlayerActionResponse, zDetachedHomeSpec, zDieSeedSpec, zDieSlotHostRef, zDieTypeSpec, zDisconnectSessionEventsData, zDownloadGameSourcesData, zDownloadGameSourcesResponse, zEdgeHomeSpec, zEnsureDevCompileData, zEnsureDevCompileRequest, zEnsureDevCompileResponse, zEnsureDevCompileResponse2, zExtractGameSpecData, zExtractGameSpecRequest, zExtractGameSpecResponse, zExtractGameSpecResponse2, zFetchUiBundleData, zFetchUiBundleResponse, zFileCompilationDiagnostic, zFindManifestsData, zFindManifestsResponse, zFindManifestsResponse2, zGame, zGameCompletionLights, zGameId, zGameManifestDto, zGameManifestResponse, zGameManifestSummaryDto, zGameMetadata, zGameRule, zGameRuleSummaryDto, zGameScriptsResponse, zGameSlug, zGameSourcesResponse, zGameSpecComponent, zGameSpecComponentSpec, zGameSpecForm, zGameSpecPlayers, zGameTopologyManifest, zGenericBoardSpec, zGenericBoardTemplateSpec, zGetActiveJobData, zGetActiveJobResponse, zGetApiVersionData, zGetApiVersionResponse, zGetAuthoringHeadData, zGetAuthoringHeadResponse, zGetCompiledResultData, zGetCompiledResultResponse, zGetDemoGameData, zGetDemoGameResponse, zGetDemoGameThumbnailData, zGetDemoGameThumbnailResponse, zGetGameBySlugData, zGetGameBySlugResponse, zGetGameData, zGetGameResponse, zGetGameRuleData, zGetGameRuleResponse, zGetGameScriptsData, zGetGameScriptsResponse, zGetGameSourcesData, zGetGameSourcesResponse, zGetJobData, zGetJobResponse, zGetLatestCompiledResultData, zGetLatestCompiledResultResponse, zGetLatestGameRuleData, zGetLatestGameRuleResponse, zGetManifestData, zGetManifestResponse, zGetPlayerActionTargetsData, zGetPlayerActionTargetsResponse, zGetSessionByShortCodeData, zGetSessionByShortCodeResponse, zGetSessionSnapshotData, zGetSessionSnapshotResponse, zHealthCheckData, zHealthCheckResponse, zHexBoardSpec, zHexBoardTemplateSpec, zHexEdgeRef, zHexEdgeSpec, zHexOrientation, zHexSpaceSpec, zHexVertexRef, zHexVertexSpec, zHistoryEntrySummary, zHistoryUpdatedEvent, zHostActionSubmitResponse, zHostEndedSessionSnapshot, zHostGameplaySessionSnapshot, zHostLobbySessionSnapshot, zHostLobbyView, zHostPlayerGameplayView, zHostSessionContext, zHostSessionEndedEvent, zHostSessionErrorEvent, zHostSessionEvent, zHostSessionEventCausation, zHostSessionGameplayUpdatedEvent, zHostSessionHistoryUpdatedEvent, zHostSessionLobbyUpdatedEvent, zHostSessionSnapshot, zHostSessionSnapshotEvent, zHostSessionSnapshotReason, zHostSessionStatus, zInputDomain, zInputSelection, zInteractionCommitPolicy, zInteractionContext, zInteractionContextOption, zInteractionDescriptor, zInteractionInputDescriptor, zJobDetailResponse, zJobKind, zJobNumericMetrics, zJobStatus, zJobSummary, zJobTaskStatus, zJobTaskSummary, zJsonValue, zListCompiledResultsData, zListCompiledResultsResponse, zListCompiledResultsResponse2, zListDemoGamesData, zListDemoGamesResponse, zListGameRulesData, zListGameRulesResponse, zListGameRulesResponse2, zListGamesData, zListGamesResponse, zListPlayerActionsData, zListPlayerActionsResponse, zLogMessageDto, zManualCardSetDefinition, zObjectSchema, zParameterType, zPieceSeedSpec, zPieceSlotHostRef, zPieceTypeSpec, zPlayerActionRequest, zPlayerActionResponse, zPlayerActionsResponse, zPlayerActionTargetsResponse, zPlayerActionValidateResponse, zPlayerId, zPlayersDefinition, zPresetCardSetDefinition, zProblemDetails, zProblemType, zProblemViolation, zProjectCompilationDiagnostic, zProjectCompilationDiagnosticCategory, zProjectCompilationDiagnosticContext, zPropertySchema, zQueryWorkshopRulebookData, zQueryWorkshopRulebookResponse, zQueueCompiledResultJobData, zQueueCompiledResultJobRequest, zQueueCompiledResultJobResponse, zQueueCompiledResultJobResponse2, zRemoveSeatData, zRemoveSeatResponse, zResourceDefinition, zResourceMapDomainEntry, zRestoreHistoryData, zRestoreHistoryRequest, zRestoreHistoryResponse, zRestoreHistoryResponse2, zSaveManifestData, zSaveManifestRequest, zSaveManifestResponse, zSaveManifestResponse2, zSeatAssignment, zSessionActor, zSessionActorAuthUser, zSessionActorDemoGuest, zSessionGameSource, zSessionGameSourceDemoRevision, zSessionGameSourceUserCompiled, zSessionId, zSessionSnapshotHistory, zSessionSnapshotPhase, zSetupOptionChoiceSpec, zSetupOptionSpec, zSetupProfileSpec, zSimultaneousPhaseSnapshot, zSlotHomeSpec, zSlotHostRef, zSourceBlobUploadDescriptor, zSourceBlobUploadSession, zSourceBlobUploadSessionEntry, zSourceBlobUploadTarget, zSourceChangeMode, zSourceChangeOperation, zSourceFileUpsert, zSourcePathDelete, zSourceRevision, zSpaceHomeSpec, zSpaceHostSpec, zSquareBoardSpec, zSquareBoardTemplateSpec, zSquareEdgeSpec, zSquareSpaceSpec, zSquareVertexSpec, zStartGameData, zStartGameResponse, zStepLightStatus, zSubmitPlayerActionData, zSubmitPlayerActionResponse, zSubscribeToGameLogsData, zSubscribeToGameLogsResponse, zSubscribeToJobEventsData, zSubscribeToJobEventsResponse, zSubscribeToSessionEventsData, zSubscribeToSessionEventsResponse, zTopologyScope, zUnassignSeatData, zUnassignSeatResponse, zUpdateGameData, zUpdateGameRequest, zUpdateGameResponse, zUpdateSeatData, zUpdateSeatRequest, zUpdateSeatResponse, zValidatePlayerActionData, zValidatePlayerActionResponse, zVertexHomeSpec, zWorkshopRuleTextResponse, zZoneHandles, zZoneHomeSpec, zZoneSpec, zZoneVisibility } from './zod.gen.js';
|
|
6
|
+
|
|
7
|
+
export { CLIENT_PROBLEM_TYPES, SERVER_PROBLEM_TYPES, type AnyProblemType, type ClientProblemType, type ServerProblemType } from './generated/problem-types.gen.js';
|