@carddb/core 0.4.5 → 0.4.6
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/dist/index.cjs +376 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +222 -2
- package/dist/index.d.ts +222 -2
- package/dist/index.js +376 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Core types for CardDB JavaScript clients
|
|
3
3
|
*/
|
|
4
4
|
type LogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
5
|
-
type ResourceType = 'publishers' | 'games' | 'datasets' | 'records' | 'decks' | 'importFormats' | 'imports' | 'exports' | 'files' | 'scans' | 'scanTemplates';
|
|
5
|
+
type ResourceType = 'publishers' | 'games' | 'datasets' | 'records' | 'decks' | 'rulesets' | 'importFormats' | 'imports' | 'exports' | 'files' | 'scans' | 'scanTemplates';
|
|
6
6
|
interface Logger {
|
|
7
7
|
debug(message: string, ...args: unknown[]): void;
|
|
8
8
|
info(message: string, ...args: unknown[]): void;
|
|
@@ -1319,6 +1319,134 @@ interface DeckSectionDefinition {
|
|
|
1319
1319
|
legalCardTypes: string[];
|
|
1320
1320
|
metadata: Record<string, unknown>;
|
|
1321
1321
|
}
|
|
1322
|
+
type RulesetVersionStatus = 'DRAFT' | 'ACTIVE' | 'SUPERSEDED';
|
|
1323
|
+
interface Ruleset {
|
|
1324
|
+
id: string;
|
|
1325
|
+
gameId: string;
|
|
1326
|
+
game: GameRef | null;
|
|
1327
|
+
key: string;
|
|
1328
|
+
name: string;
|
|
1329
|
+
description: string | null;
|
|
1330
|
+
tags: string[];
|
|
1331
|
+
sortOrder: number;
|
|
1332
|
+
currentVersionId: string | null;
|
|
1333
|
+
currentVersion: RulesetVersion | null;
|
|
1334
|
+
archivedAt: string | null;
|
|
1335
|
+
isArchived: boolean;
|
|
1336
|
+
createdAt: string;
|
|
1337
|
+
updatedAt: string;
|
|
1338
|
+
}
|
|
1339
|
+
interface RulesetVersion {
|
|
1340
|
+
id: string;
|
|
1341
|
+
rulesetId: string;
|
|
1342
|
+
versionLabel: string;
|
|
1343
|
+
status: RulesetVersionStatus;
|
|
1344
|
+
rules: Record<string, unknown>;
|
|
1345
|
+
sectionDefinitions: DeckSectionDefinition[];
|
|
1346
|
+
cardDatasetId: string | null;
|
|
1347
|
+
cardDatasetVersionId: string | null;
|
|
1348
|
+
sourceDatasetId: string | null;
|
|
1349
|
+
sourceDatasetVersionId: string | null;
|
|
1350
|
+
sourceDatasetRecordId: string | null;
|
|
1351
|
+
sourceRecordIdentifier: string | null;
|
|
1352
|
+
rulesFingerprint: string | null;
|
|
1353
|
+
effectiveAt: string | null;
|
|
1354
|
+
changelog: string | null;
|
|
1355
|
+
createdByAccountId: string | null;
|
|
1356
|
+
publishedByAccountId: string | null;
|
|
1357
|
+
publishedAt: string | null;
|
|
1358
|
+
supersededAt: string | null;
|
|
1359
|
+
createdAt: string;
|
|
1360
|
+
updatedAt: string;
|
|
1361
|
+
}
|
|
1362
|
+
type RulesetConnection = Connection<Ruleset>;
|
|
1363
|
+
type RulesetVersionConnection = Connection<RulesetVersion>;
|
|
1364
|
+
interface DeckValidationRules {
|
|
1365
|
+
rulesetId: string;
|
|
1366
|
+
rulesetVersionId: string;
|
|
1367
|
+
rulesetKey: string;
|
|
1368
|
+
rulesetVersionLabel: string;
|
|
1369
|
+
rules: Record<string, unknown>;
|
|
1370
|
+
sections: DeckSectionDefinition[];
|
|
1371
|
+
}
|
|
1372
|
+
interface RulesetValidationImpact {
|
|
1373
|
+
rulesetId: string;
|
|
1374
|
+
rulesetVersionId: string;
|
|
1375
|
+
checkedAt: string;
|
|
1376
|
+
affectedDeckCount: number;
|
|
1377
|
+
invalidDeckCount: number;
|
|
1378
|
+
blockerCount: number;
|
|
1379
|
+
warningCount: number;
|
|
1380
|
+
results: RulesetValidationImpactDeck[];
|
|
1381
|
+
}
|
|
1382
|
+
interface RulesetValidationImpactDeck {
|
|
1383
|
+
deckId: string;
|
|
1384
|
+
title: string;
|
|
1385
|
+
slug: string;
|
|
1386
|
+
state: DeckState;
|
|
1387
|
+
hasUnpublishedChanges: boolean;
|
|
1388
|
+
valid: boolean;
|
|
1389
|
+
blockerCount: number;
|
|
1390
|
+
warningCount: number;
|
|
1391
|
+
affectedEntryCount: number;
|
|
1392
|
+
issues: DeckValidationIssue[];
|
|
1393
|
+
}
|
|
1394
|
+
interface RulesetVersionDraftImportPreview {
|
|
1395
|
+
sourceDatasetId: string;
|
|
1396
|
+
sourceDatasetVersionId: string | null;
|
|
1397
|
+
sourceDatasetRecordId: string;
|
|
1398
|
+
sourceRecordIdentifier: string;
|
|
1399
|
+
rules: Record<string, unknown>;
|
|
1400
|
+
sectionDefinitions: DeckSectionDefinition[];
|
|
1401
|
+
rulesFingerprint: string;
|
|
1402
|
+
summary: string;
|
|
1403
|
+
sectionCount: number;
|
|
1404
|
+
copyLimitCount: number;
|
|
1405
|
+
}
|
|
1406
|
+
interface RulesetCreateInput {
|
|
1407
|
+
gameId: string;
|
|
1408
|
+
key: string;
|
|
1409
|
+
name: string;
|
|
1410
|
+
description?: string;
|
|
1411
|
+
tags?: string[];
|
|
1412
|
+
sortOrder?: number;
|
|
1413
|
+
}
|
|
1414
|
+
interface RulesetUpdateInput {
|
|
1415
|
+
name?: string;
|
|
1416
|
+
description?: string;
|
|
1417
|
+
tags?: string[];
|
|
1418
|
+
sortOrder?: number;
|
|
1419
|
+
}
|
|
1420
|
+
interface RulesetVersionDraftCreateInput {
|
|
1421
|
+
versionLabel: string;
|
|
1422
|
+
rules: Record<string, unknown>;
|
|
1423
|
+
cardDatasetId?: string;
|
|
1424
|
+
cardDatasetVersionId?: string;
|
|
1425
|
+
effectiveAt?: string;
|
|
1426
|
+
changelog?: string;
|
|
1427
|
+
}
|
|
1428
|
+
interface RulesetVersionDraftImportFromDatasetRecordInput {
|
|
1429
|
+
versionLabel: string;
|
|
1430
|
+
sourceDatasetId: string;
|
|
1431
|
+
sourceDatasetRecordId: string;
|
|
1432
|
+
sourceDatasetVersionId?: string;
|
|
1433
|
+
cardDatasetId?: string;
|
|
1434
|
+
cardDatasetVersionId?: string;
|
|
1435
|
+
effectiveAt?: string;
|
|
1436
|
+
changelog?: string;
|
|
1437
|
+
}
|
|
1438
|
+
interface RulesetVersionDraftUpdateInput {
|
|
1439
|
+
versionLabel?: string;
|
|
1440
|
+
rules?: Record<string, unknown>;
|
|
1441
|
+
cardDatasetId?: string;
|
|
1442
|
+
cardDatasetVersionId?: string;
|
|
1443
|
+
effectiveAt?: string;
|
|
1444
|
+
changelog?: string;
|
|
1445
|
+
}
|
|
1446
|
+
interface RulesetVersionPublishInput {
|
|
1447
|
+
effectiveAt?: string;
|
|
1448
|
+
changelog?: string;
|
|
1449
|
+
}
|
|
1322
1450
|
interface DeckTokenIssuerCreateInput {
|
|
1323
1451
|
label?: string;
|
|
1324
1452
|
allowedScopes: DeckTokenScope[];
|
|
@@ -2064,6 +2192,37 @@ interface DeckSectionDefinitionsParams {
|
|
|
2064
2192
|
rulesetKey?: string;
|
|
2065
2193
|
rulesetVersionId?: string;
|
|
2066
2194
|
}
|
|
2195
|
+
interface ListRulesetsParams {
|
|
2196
|
+
gameId: string;
|
|
2197
|
+
includeArchived?: boolean;
|
|
2198
|
+
first?: number;
|
|
2199
|
+
after?: string;
|
|
2200
|
+
}
|
|
2201
|
+
interface ListPublicRulesetsParams {
|
|
2202
|
+
gameId: string;
|
|
2203
|
+
first?: number;
|
|
2204
|
+
after?: string;
|
|
2205
|
+
}
|
|
2206
|
+
interface RulesetLookupParams {
|
|
2207
|
+
id?: string;
|
|
2208
|
+
gameId?: string;
|
|
2209
|
+
key?: string;
|
|
2210
|
+
}
|
|
2211
|
+
interface ListRulesetVersionsParams {
|
|
2212
|
+
rulesetId: string;
|
|
2213
|
+
status?: RulesetVersionStatus;
|
|
2214
|
+
first?: number;
|
|
2215
|
+
after?: string;
|
|
2216
|
+
}
|
|
2217
|
+
interface RulesetValidationRulesParams {
|
|
2218
|
+
gameId: string;
|
|
2219
|
+
rulesetKey: string;
|
|
2220
|
+
rulesetVersionId?: string;
|
|
2221
|
+
}
|
|
2222
|
+
interface RulesetValidationImpactParams {
|
|
2223
|
+
rulesetVersionId: string;
|
|
2224
|
+
first?: number;
|
|
2225
|
+
}
|
|
2067
2226
|
interface ViewerDecksParams {
|
|
2068
2227
|
filter?: ViewerDecksFilterInput;
|
|
2069
2228
|
first?: number;
|
|
@@ -2306,6 +2465,59 @@ declare const QueryBuilder: {
|
|
|
2306
2465
|
exportJobRefreshUrl(): {
|
|
2307
2466
|
query: string;
|
|
2308
2467
|
};
|
|
2468
|
+
rulesets(params: ListRulesetsParams): {
|
|
2469
|
+
query: string;
|
|
2470
|
+
variables: Record<string, unknown>;
|
|
2471
|
+
};
|
|
2472
|
+
publicRulesets(params: ListPublicRulesetsParams): {
|
|
2473
|
+
query: string;
|
|
2474
|
+
variables: Record<string, unknown>;
|
|
2475
|
+
};
|
|
2476
|
+
ruleset(params: RulesetLookupParams): {
|
|
2477
|
+
query: string;
|
|
2478
|
+
variables: Record<string, unknown>;
|
|
2479
|
+
};
|
|
2480
|
+
rulesetVersions(params: ListRulesetVersionsParams): {
|
|
2481
|
+
query: string;
|
|
2482
|
+
variables: Record<string, unknown>;
|
|
2483
|
+
};
|
|
2484
|
+
rulesetVersion(): {
|
|
2485
|
+
query: string;
|
|
2486
|
+
};
|
|
2487
|
+
rulesetValidationRules(): {
|
|
2488
|
+
query: string;
|
|
2489
|
+
};
|
|
2490
|
+
deckValidationRules(): {
|
|
2491
|
+
query: string;
|
|
2492
|
+
};
|
|
2493
|
+
rulesetVersionDraftImportPreview(): {
|
|
2494
|
+
query: string;
|
|
2495
|
+
};
|
|
2496
|
+
rulesetValidationImpact(params: RulesetValidationImpactParams): {
|
|
2497
|
+
query: string;
|
|
2498
|
+
variables: Record<string, unknown>;
|
|
2499
|
+
};
|
|
2500
|
+
createRuleset(): {
|
|
2501
|
+
query: string;
|
|
2502
|
+
};
|
|
2503
|
+
updateRuleset(): {
|
|
2504
|
+
query: string;
|
|
2505
|
+
};
|
|
2506
|
+
createRulesetVersionDraft(): {
|
|
2507
|
+
query: string;
|
|
2508
|
+
};
|
|
2509
|
+
importRulesetVersionDraftFromDatasetRecord(): {
|
|
2510
|
+
query: string;
|
|
2511
|
+
};
|
|
2512
|
+
updateRulesetVersionDraft(): {
|
|
2513
|
+
query: string;
|
|
2514
|
+
};
|
|
2515
|
+
publishRulesetVersion(): {
|
|
2516
|
+
query: string;
|
|
2517
|
+
};
|
|
2518
|
+
activateRulesetVersion(): {
|
|
2519
|
+
query: string;
|
|
2520
|
+
};
|
|
2309
2521
|
listMyDecks(params?: ListDecksParams): {
|
|
2310
2522
|
query: string;
|
|
2311
2523
|
variables: Record<string, unknown>;
|
|
@@ -2481,6 +2693,14 @@ declare const QueryBuilder: {
|
|
|
2481
2693
|
revokeDeckApiApplicationAccess(): {
|
|
2482
2694
|
query: string;
|
|
2483
2695
|
};
|
|
2696
|
+
rulesetValidationRulesVariables(gameId: string, rulesetKey: string, rulesetVersionId?: string): Record<string, unknown>;
|
|
2697
|
+
rulesetVersionDraftImportPreviewVariables(rulesetId: string, input: RulesetVersionDraftImportFromDatasetRecordInput): Record<string, unknown>;
|
|
2698
|
+
rulesetCreateVariables(input: RulesetCreateInput): Record<string, unknown>;
|
|
2699
|
+
rulesetUpdateVariables(id: string, input: RulesetUpdateInput): Record<string, unknown>;
|
|
2700
|
+
rulesetVersionDraftCreateVariables(rulesetId: string, input: RulesetVersionDraftCreateInput): Record<string, unknown>;
|
|
2701
|
+
rulesetVersionDraftImportFromDatasetRecordVariables(rulesetId: string, input: RulesetVersionDraftImportFromDatasetRecordInput): Record<string, unknown>;
|
|
2702
|
+
rulesetVersionDraftUpdateVariables(id: string, input: RulesetVersionDraftUpdateInput): Record<string, unknown>;
|
|
2703
|
+
rulesetVersionPublishVariables(id: string, input?: RulesetVersionPublishInput): Record<string, unknown>;
|
|
2484
2704
|
deckCreateVariables(input: DeckCreateInput): Record<string, unknown>;
|
|
2485
2705
|
deckUpdateVariables(id: string, input: DeckUpdateInput): Record<string, unknown>;
|
|
2486
2706
|
deckEntryAddVariables(input: DeckEntryAddInput): Record<string, unknown>;
|
|
@@ -2672,4 +2892,4 @@ declare class Collection<T> implements AsyncIterable<T> {
|
|
|
2672
2892
|
each(): AsyncIterable<T>;
|
|
2673
2893
|
}
|
|
2674
2894
|
|
|
2675
|
-
export { type APIAccount, type APIApplication, type APIKeyInfo, type AppDecksFilterInput, type AppDecksParams, AuthenticationError, type BulkCreateResult, type BulkImportResult, type BulkInsertMode, type BulkRecordError, type Cache, type CardDBConfig, CardDBError, Collection, type ConfirmScanUploadInput, type Connection, ConnectionError, type CreateScanJobInput, type CreateScanUploadSessionInput, type CsvOptions, type Dataset, type DatasetExportInput, type DatasetImportFromFileInput, type DatasetImportFromPayloadInput, type DatasetImportFromUrlInput, type DatasetImportPreview, type DatasetImportPreviewInput, type DatasetImportPreviewResult, type DatasetImportRunInput, type DatasetImportValidateInput, type DatasetPurpose, type DatasetRecord, type DatasetRecordDeleteJob, type DatasetRecordDeleteJobConnection, type DatasetRecordDeleteJobResult, type DatasetRecordDeleteJobStatus, type DatasetRecordDeleteResultStatus, type DatasetRecordDeleteTargetType, type DatasetRecordsDeleteInput, type DatasetRecordsUpsertInput, type DatasetRecordsUpsertPayload, type DatasetRef, type DatasetSchema, type DatasetVisibility, type Deck, type DeckAPIApplicationAccess, type DeckAPIApplicationAccessGrantInput, type DeckAPIApplicationAccessGrantSource, type DeckAPIApplicationAccessRole, type DeckAccessApplication, type DeckAccessMode, type DeckAppAccessRetention, type DeckClaimInput, type DeckCollaborator, type DeckCollaboratorRole, type DeckCopyInput, type DeckCopyPayload, type DeckCreateInput, type DeckDiff, type DeckDiscoverability, type DeckEntriesReplaceInput, type DeckEntriesReplacePayload, type DeckEntry, type DeckEntryAddInput, type DeckEntryInput, type DeckEntryMutationPayload, type DeckEntryReorderInput, type DeckEntryReorderItemInput, type DeckEntryReorderPayload, type DeckEntryUpdateInput, type DeckEnvironment, type DeckExportFormat, type DeckExportPayload, type DeckHydrateEntriesInput, type DeckHydrateEntriesPayload, type DeckImportAmbiguousEntry, type DeckImportCandidate, type DeckImportEntry, type DeckImportFormat, type DeckImportFormatCreateInput, type DeckImportFormatDefinition, type DeckImportFormatDefinitionConnection, type DeckImportFormatDetection, type DeckImportFormatTestInput, type DeckImportFormatTestPayload, type DeckImportFormatUpdateInput, type DeckImportInput, type DeckImportIssue, type DeckImportPayload, type DeckImportUnmatchedEntry, type DeckOwnerType, type DeckOwnershipTransferPayload, type DeckPublishInput, type DeckPublishPayload, type DeckPublishedVersionSelector, type DeckReadState, type DeckRemoveInvalidEntriesInput, type DeckRepresentation, type DeckSectionDefinition, type DeckSectionDefinitionsParams, type DeckState, type DeckToken, type DeckTokenExchangeInput, type DeckTokenExchangePayload, type DeckTokenIssuer, type DeckTokenIssuerCreateInput, type DeckTokenIssuerSigningKeyInput, type DeckTokenScope, type DeckTokenSigningAlgorithm, type DeckTransferOwnershipInput, type DeckUpdateInput, type DeckUpsertByExternalRefInput, type DeckUpsertByExternalRefPayload, type DeckValidateInput, type DeckValidatedAgainst, type DeckValidation, type DeckValidationAffectedEntry, type DeckValidationIssue, type DeckValidationSeverity, type DeckVersion, type DeckVersionConnection, type DeckVisibility, type Edge, type ExportFormat, type ExportJob, type ExportJobConnection, type ExportJobStatus, type FieldInfo, type FieldMapping, type FieldMappingOverrideInput, type FieldMappingStatus, type FieldType, type File, type FileInfo, type FileStatus, type FileUploadInput, FilterBuilder, type FilterBuilderInterface, type FilterCondition, type FilterInput, type FilterOperatorValue, type FilterValue, type Game, type GameCreateInput, type GameImportDatasetStatus, type GameImportFromFileInput, type GameImportFromPayloadInput, type GameImportFromUrlInput, type GameImportJob, type GameImportJobConnection, type GameImportPreview, type GameImportPreviewInput, type GameImportRunInput, type GameRef, type GameScanRegion, type GameUpdateInput, type GameVisibility, GraphQLError, type GraphQLErrorInfo, type HydrateDeckEntryInput, type HydratedDeckEntry, type ImportFormat, type ImportJob, type ImportJobAsset, type ImportJobAssetInput, type ImportJobConnection, type ImportJobLog, type ImportJobLogConnection, type ImportJobStatus, type ImportLogLevel, type ImportMode, type ImportOptions, type ImportStats, type ImportValidationError, type ImportWarning, type ImportWarningSeverity, type InferredChildField, type LinkFieldInfo, LinkResolutionError, type LinkResolutionFailure, type ListDeckImportFormatsParams, type ListDeckVersionsParams, type ListDecksParams, type LogLevel, type Logger, type NextPageLoader, NotFoundError, type ObjectField, type OnConflict, type PageInfo, type PresignedUpload, type PreviewScanTemplateInput, type PublicDecksFilterInput, type PublicDecksParams, type Publisher, type PublisherRef, type PublisherStatus, QueryBuilder, RateLimitError, type RateLimitInfo, type ResolveScanTemplateInput, type ResolvedLink, type ResourceType, RestrictedError, type SaveScanTemplateInput, type ScanBestMatch, type ScanCandidate, type ScanFeatureVersionMetrics, type ScanFeedbackMetrics, type ScanFeedbackPayload, type ScanJob, type ScanJobError, type ScanJobMetrics, type ScanJobPayload, type ScanJobStatus, type ScanMetrics, type ScanMetricsInput, type ScanStageMetrics, type ScanTemplate, type ScanTemplateList, type ScanTemplatePayload, type ScanTemplatePreview, type ScanTemplateRegion, type ScanTemplateRegionInput, type ScanTemplateRegionPreview, type ScanTemplateResolution, type ScanTemplateWarning, type ScanTemplatesInput, type ScanWebhookState, type SearchDatasetsParams, type SearchGamesParams, type SearchPublishersParams, type SearchRecordsParams, ServerError, type SubmitScanFeedbackInput, type TCGPlayerPrice, type TCGPlayerPricing, TimeoutError, type UploadPurpose, ValidationError, type ViewerDecksFilterInput, type ViewerDecksParams, contains, eq, gt, gte, ilike, isNotNull, isNull, like, lt, lte, neq, notWithin, resolveFilter, within };
|
|
2895
|
+
export { type APIAccount, type APIApplication, type APIKeyInfo, type AppDecksFilterInput, type AppDecksParams, AuthenticationError, type BulkCreateResult, type BulkImportResult, type BulkInsertMode, type BulkRecordError, type Cache, type CardDBConfig, CardDBError, Collection, type ConfirmScanUploadInput, type Connection, ConnectionError, type CreateScanJobInput, type CreateScanUploadSessionInput, type CsvOptions, type Dataset, type DatasetExportInput, type DatasetImportFromFileInput, type DatasetImportFromPayloadInput, type DatasetImportFromUrlInput, type DatasetImportPreview, type DatasetImportPreviewInput, type DatasetImportPreviewResult, type DatasetImportRunInput, type DatasetImportValidateInput, type DatasetPurpose, type DatasetRecord, type DatasetRecordDeleteJob, type DatasetRecordDeleteJobConnection, type DatasetRecordDeleteJobResult, type DatasetRecordDeleteJobStatus, type DatasetRecordDeleteResultStatus, type DatasetRecordDeleteTargetType, type DatasetRecordsDeleteInput, type DatasetRecordsUpsertInput, type DatasetRecordsUpsertPayload, type DatasetRef, type DatasetSchema, type DatasetVisibility, type Deck, type DeckAPIApplicationAccess, type DeckAPIApplicationAccessGrantInput, type DeckAPIApplicationAccessGrantSource, type DeckAPIApplicationAccessRole, type DeckAccessApplication, type DeckAccessMode, type DeckAppAccessRetention, type DeckClaimInput, type DeckCollaborator, type DeckCollaboratorRole, type DeckCopyInput, type DeckCopyPayload, type DeckCreateInput, type DeckDiff, type DeckDiscoverability, type DeckEntriesReplaceInput, type DeckEntriesReplacePayload, type DeckEntry, type DeckEntryAddInput, type DeckEntryInput, type DeckEntryMutationPayload, type DeckEntryReorderInput, type DeckEntryReorderItemInput, type DeckEntryReorderPayload, type DeckEntryUpdateInput, type DeckEnvironment, type DeckExportFormat, type DeckExportPayload, type DeckHydrateEntriesInput, type DeckHydrateEntriesPayload, type DeckImportAmbiguousEntry, type DeckImportCandidate, type DeckImportEntry, type DeckImportFormat, type DeckImportFormatCreateInput, type DeckImportFormatDefinition, type DeckImportFormatDefinitionConnection, type DeckImportFormatDetection, type DeckImportFormatTestInput, type DeckImportFormatTestPayload, type DeckImportFormatUpdateInput, type DeckImportInput, type DeckImportIssue, type DeckImportPayload, type DeckImportUnmatchedEntry, type DeckOwnerType, type DeckOwnershipTransferPayload, type DeckPublishInput, type DeckPublishPayload, type DeckPublishedVersionSelector, type DeckReadState, type DeckRemoveInvalidEntriesInput, type DeckRepresentation, type DeckSectionDefinition, type DeckSectionDefinitionsParams, type DeckState, type DeckToken, type DeckTokenExchangeInput, type DeckTokenExchangePayload, type DeckTokenIssuer, type DeckTokenIssuerCreateInput, type DeckTokenIssuerSigningKeyInput, type DeckTokenScope, type DeckTokenSigningAlgorithm, type DeckTransferOwnershipInput, type DeckUpdateInput, type DeckUpsertByExternalRefInput, type DeckUpsertByExternalRefPayload, type DeckValidateInput, type DeckValidatedAgainst, type DeckValidation, type DeckValidationAffectedEntry, type DeckValidationIssue, type DeckValidationRules, type DeckValidationSeverity, type DeckVersion, type DeckVersionConnection, type DeckVisibility, type Edge, type ExportFormat, type ExportJob, type ExportJobConnection, type ExportJobStatus, type FieldInfo, type FieldMapping, type FieldMappingOverrideInput, type FieldMappingStatus, type FieldType, type File, type FileInfo, type FileStatus, type FileUploadInput, FilterBuilder, type FilterBuilderInterface, type FilterCondition, type FilterInput, type FilterOperatorValue, type FilterValue, type Game, type GameCreateInput, type GameImportDatasetStatus, type GameImportFromFileInput, type GameImportFromPayloadInput, type GameImportFromUrlInput, type GameImportJob, type GameImportJobConnection, type GameImportPreview, type GameImportPreviewInput, type GameImportRunInput, type GameRef, type GameScanRegion, type GameUpdateInput, type GameVisibility, GraphQLError, type GraphQLErrorInfo, type HydrateDeckEntryInput, type HydratedDeckEntry, type ImportFormat, type ImportJob, type ImportJobAsset, type ImportJobAssetInput, type ImportJobConnection, type ImportJobLog, type ImportJobLogConnection, type ImportJobStatus, type ImportLogLevel, type ImportMode, type ImportOptions, type ImportStats, type ImportValidationError, type ImportWarning, type ImportWarningSeverity, type InferredChildField, type LinkFieldInfo, LinkResolutionError, type LinkResolutionFailure, type ListDeckImportFormatsParams, type ListDeckVersionsParams, type ListDecksParams, type ListPublicRulesetsParams, type ListRulesetVersionsParams, type ListRulesetsParams, type LogLevel, type Logger, type NextPageLoader, NotFoundError, type ObjectField, type OnConflict, type PageInfo, type PresignedUpload, type PreviewScanTemplateInput, type PublicDecksFilterInput, type PublicDecksParams, type Publisher, type PublisherRef, type PublisherStatus, QueryBuilder, RateLimitError, type RateLimitInfo, type ResolveScanTemplateInput, type ResolvedLink, type ResourceType, RestrictedError, type Ruleset, type RulesetConnection, type RulesetCreateInput, type RulesetLookupParams, type RulesetUpdateInput, type RulesetValidationImpact, type RulesetValidationImpactDeck, type RulesetValidationImpactParams, type RulesetValidationRulesParams, type RulesetVersion, type RulesetVersionConnection, type RulesetVersionDraftCreateInput, type RulesetVersionDraftImportFromDatasetRecordInput, type RulesetVersionDraftImportPreview, type RulesetVersionDraftUpdateInput, type RulesetVersionPublishInput, type RulesetVersionStatus, type SaveScanTemplateInput, type ScanBestMatch, type ScanCandidate, type ScanFeatureVersionMetrics, type ScanFeedbackMetrics, type ScanFeedbackPayload, type ScanJob, type ScanJobError, type ScanJobMetrics, type ScanJobPayload, type ScanJobStatus, type ScanMetrics, type ScanMetricsInput, type ScanStageMetrics, type ScanTemplate, type ScanTemplateList, type ScanTemplatePayload, type ScanTemplatePreview, type ScanTemplateRegion, type ScanTemplateRegionInput, type ScanTemplateRegionPreview, type ScanTemplateResolution, type ScanTemplateWarning, type ScanTemplatesInput, type ScanWebhookState, type SearchDatasetsParams, type SearchGamesParams, type SearchPublishersParams, type SearchRecordsParams, ServerError, type SubmitScanFeedbackInput, type TCGPlayerPrice, type TCGPlayerPricing, TimeoutError, type UploadPurpose, ValidationError, type ViewerDecksFilterInput, type ViewerDecksParams, contains, eq, gt, gte, ilike, isNotNull, isNull, like, lt, lte, neq, notWithin, resolveFilter, within };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Core types for CardDB JavaScript clients
|
|
3
3
|
*/
|
|
4
4
|
type LogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
5
|
-
type ResourceType = 'publishers' | 'games' | 'datasets' | 'records' | 'decks' | 'importFormats' | 'imports' | 'exports' | 'files' | 'scans' | 'scanTemplates';
|
|
5
|
+
type ResourceType = 'publishers' | 'games' | 'datasets' | 'records' | 'decks' | 'rulesets' | 'importFormats' | 'imports' | 'exports' | 'files' | 'scans' | 'scanTemplates';
|
|
6
6
|
interface Logger {
|
|
7
7
|
debug(message: string, ...args: unknown[]): void;
|
|
8
8
|
info(message: string, ...args: unknown[]): void;
|
|
@@ -1319,6 +1319,134 @@ interface DeckSectionDefinition {
|
|
|
1319
1319
|
legalCardTypes: string[];
|
|
1320
1320
|
metadata: Record<string, unknown>;
|
|
1321
1321
|
}
|
|
1322
|
+
type RulesetVersionStatus = 'DRAFT' | 'ACTIVE' | 'SUPERSEDED';
|
|
1323
|
+
interface Ruleset {
|
|
1324
|
+
id: string;
|
|
1325
|
+
gameId: string;
|
|
1326
|
+
game: GameRef | null;
|
|
1327
|
+
key: string;
|
|
1328
|
+
name: string;
|
|
1329
|
+
description: string | null;
|
|
1330
|
+
tags: string[];
|
|
1331
|
+
sortOrder: number;
|
|
1332
|
+
currentVersionId: string | null;
|
|
1333
|
+
currentVersion: RulesetVersion | null;
|
|
1334
|
+
archivedAt: string | null;
|
|
1335
|
+
isArchived: boolean;
|
|
1336
|
+
createdAt: string;
|
|
1337
|
+
updatedAt: string;
|
|
1338
|
+
}
|
|
1339
|
+
interface RulesetVersion {
|
|
1340
|
+
id: string;
|
|
1341
|
+
rulesetId: string;
|
|
1342
|
+
versionLabel: string;
|
|
1343
|
+
status: RulesetVersionStatus;
|
|
1344
|
+
rules: Record<string, unknown>;
|
|
1345
|
+
sectionDefinitions: DeckSectionDefinition[];
|
|
1346
|
+
cardDatasetId: string | null;
|
|
1347
|
+
cardDatasetVersionId: string | null;
|
|
1348
|
+
sourceDatasetId: string | null;
|
|
1349
|
+
sourceDatasetVersionId: string | null;
|
|
1350
|
+
sourceDatasetRecordId: string | null;
|
|
1351
|
+
sourceRecordIdentifier: string | null;
|
|
1352
|
+
rulesFingerprint: string | null;
|
|
1353
|
+
effectiveAt: string | null;
|
|
1354
|
+
changelog: string | null;
|
|
1355
|
+
createdByAccountId: string | null;
|
|
1356
|
+
publishedByAccountId: string | null;
|
|
1357
|
+
publishedAt: string | null;
|
|
1358
|
+
supersededAt: string | null;
|
|
1359
|
+
createdAt: string;
|
|
1360
|
+
updatedAt: string;
|
|
1361
|
+
}
|
|
1362
|
+
type RulesetConnection = Connection<Ruleset>;
|
|
1363
|
+
type RulesetVersionConnection = Connection<RulesetVersion>;
|
|
1364
|
+
interface DeckValidationRules {
|
|
1365
|
+
rulesetId: string;
|
|
1366
|
+
rulesetVersionId: string;
|
|
1367
|
+
rulesetKey: string;
|
|
1368
|
+
rulesetVersionLabel: string;
|
|
1369
|
+
rules: Record<string, unknown>;
|
|
1370
|
+
sections: DeckSectionDefinition[];
|
|
1371
|
+
}
|
|
1372
|
+
interface RulesetValidationImpact {
|
|
1373
|
+
rulesetId: string;
|
|
1374
|
+
rulesetVersionId: string;
|
|
1375
|
+
checkedAt: string;
|
|
1376
|
+
affectedDeckCount: number;
|
|
1377
|
+
invalidDeckCount: number;
|
|
1378
|
+
blockerCount: number;
|
|
1379
|
+
warningCount: number;
|
|
1380
|
+
results: RulesetValidationImpactDeck[];
|
|
1381
|
+
}
|
|
1382
|
+
interface RulesetValidationImpactDeck {
|
|
1383
|
+
deckId: string;
|
|
1384
|
+
title: string;
|
|
1385
|
+
slug: string;
|
|
1386
|
+
state: DeckState;
|
|
1387
|
+
hasUnpublishedChanges: boolean;
|
|
1388
|
+
valid: boolean;
|
|
1389
|
+
blockerCount: number;
|
|
1390
|
+
warningCount: number;
|
|
1391
|
+
affectedEntryCount: number;
|
|
1392
|
+
issues: DeckValidationIssue[];
|
|
1393
|
+
}
|
|
1394
|
+
interface RulesetVersionDraftImportPreview {
|
|
1395
|
+
sourceDatasetId: string;
|
|
1396
|
+
sourceDatasetVersionId: string | null;
|
|
1397
|
+
sourceDatasetRecordId: string;
|
|
1398
|
+
sourceRecordIdentifier: string;
|
|
1399
|
+
rules: Record<string, unknown>;
|
|
1400
|
+
sectionDefinitions: DeckSectionDefinition[];
|
|
1401
|
+
rulesFingerprint: string;
|
|
1402
|
+
summary: string;
|
|
1403
|
+
sectionCount: number;
|
|
1404
|
+
copyLimitCount: number;
|
|
1405
|
+
}
|
|
1406
|
+
interface RulesetCreateInput {
|
|
1407
|
+
gameId: string;
|
|
1408
|
+
key: string;
|
|
1409
|
+
name: string;
|
|
1410
|
+
description?: string;
|
|
1411
|
+
tags?: string[];
|
|
1412
|
+
sortOrder?: number;
|
|
1413
|
+
}
|
|
1414
|
+
interface RulesetUpdateInput {
|
|
1415
|
+
name?: string;
|
|
1416
|
+
description?: string;
|
|
1417
|
+
tags?: string[];
|
|
1418
|
+
sortOrder?: number;
|
|
1419
|
+
}
|
|
1420
|
+
interface RulesetVersionDraftCreateInput {
|
|
1421
|
+
versionLabel: string;
|
|
1422
|
+
rules: Record<string, unknown>;
|
|
1423
|
+
cardDatasetId?: string;
|
|
1424
|
+
cardDatasetVersionId?: string;
|
|
1425
|
+
effectiveAt?: string;
|
|
1426
|
+
changelog?: string;
|
|
1427
|
+
}
|
|
1428
|
+
interface RulesetVersionDraftImportFromDatasetRecordInput {
|
|
1429
|
+
versionLabel: string;
|
|
1430
|
+
sourceDatasetId: string;
|
|
1431
|
+
sourceDatasetRecordId: string;
|
|
1432
|
+
sourceDatasetVersionId?: string;
|
|
1433
|
+
cardDatasetId?: string;
|
|
1434
|
+
cardDatasetVersionId?: string;
|
|
1435
|
+
effectiveAt?: string;
|
|
1436
|
+
changelog?: string;
|
|
1437
|
+
}
|
|
1438
|
+
interface RulesetVersionDraftUpdateInput {
|
|
1439
|
+
versionLabel?: string;
|
|
1440
|
+
rules?: Record<string, unknown>;
|
|
1441
|
+
cardDatasetId?: string;
|
|
1442
|
+
cardDatasetVersionId?: string;
|
|
1443
|
+
effectiveAt?: string;
|
|
1444
|
+
changelog?: string;
|
|
1445
|
+
}
|
|
1446
|
+
interface RulesetVersionPublishInput {
|
|
1447
|
+
effectiveAt?: string;
|
|
1448
|
+
changelog?: string;
|
|
1449
|
+
}
|
|
1322
1450
|
interface DeckTokenIssuerCreateInput {
|
|
1323
1451
|
label?: string;
|
|
1324
1452
|
allowedScopes: DeckTokenScope[];
|
|
@@ -2064,6 +2192,37 @@ interface DeckSectionDefinitionsParams {
|
|
|
2064
2192
|
rulesetKey?: string;
|
|
2065
2193
|
rulesetVersionId?: string;
|
|
2066
2194
|
}
|
|
2195
|
+
interface ListRulesetsParams {
|
|
2196
|
+
gameId: string;
|
|
2197
|
+
includeArchived?: boolean;
|
|
2198
|
+
first?: number;
|
|
2199
|
+
after?: string;
|
|
2200
|
+
}
|
|
2201
|
+
interface ListPublicRulesetsParams {
|
|
2202
|
+
gameId: string;
|
|
2203
|
+
first?: number;
|
|
2204
|
+
after?: string;
|
|
2205
|
+
}
|
|
2206
|
+
interface RulesetLookupParams {
|
|
2207
|
+
id?: string;
|
|
2208
|
+
gameId?: string;
|
|
2209
|
+
key?: string;
|
|
2210
|
+
}
|
|
2211
|
+
interface ListRulesetVersionsParams {
|
|
2212
|
+
rulesetId: string;
|
|
2213
|
+
status?: RulesetVersionStatus;
|
|
2214
|
+
first?: number;
|
|
2215
|
+
after?: string;
|
|
2216
|
+
}
|
|
2217
|
+
interface RulesetValidationRulesParams {
|
|
2218
|
+
gameId: string;
|
|
2219
|
+
rulesetKey: string;
|
|
2220
|
+
rulesetVersionId?: string;
|
|
2221
|
+
}
|
|
2222
|
+
interface RulesetValidationImpactParams {
|
|
2223
|
+
rulesetVersionId: string;
|
|
2224
|
+
first?: number;
|
|
2225
|
+
}
|
|
2067
2226
|
interface ViewerDecksParams {
|
|
2068
2227
|
filter?: ViewerDecksFilterInput;
|
|
2069
2228
|
first?: number;
|
|
@@ -2306,6 +2465,59 @@ declare const QueryBuilder: {
|
|
|
2306
2465
|
exportJobRefreshUrl(): {
|
|
2307
2466
|
query: string;
|
|
2308
2467
|
};
|
|
2468
|
+
rulesets(params: ListRulesetsParams): {
|
|
2469
|
+
query: string;
|
|
2470
|
+
variables: Record<string, unknown>;
|
|
2471
|
+
};
|
|
2472
|
+
publicRulesets(params: ListPublicRulesetsParams): {
|
|
2473
|
+
query: string;
|
|
2474
|
+
variables: Record<string, unknown>;
|
|
2475
|
+
};
|
|
2476
|
+
ruleset(params: RulesetLookupParams): {
|
|
2477
|
+
query: string;
|
|
2478
|
+
variables: Record<string, unknown>;
|
|
2479
|
+
};
|
|
2480
|
+
rulesetVersions(params: ListRulesetVersionsParams): {
|
|
2481
|
+
query: string;
|
|
2482
|
+
variables: Record<string, unknown>;
|
|
2483
|
+
};
|
|
2484
|
+
rulesetVersion(): {
|
|
2485
|
+
query: string;
|
|
2486
|
+
};
|
|
2487
|
+
rulesetValidationRules(): {
|
|
2488
|
+
query: string;
|
|
2489
|
+
};
|
|
2490
|
+
deckValidationRules(): {
|
|
2491
|
+
query: string;
|
|
2492
|
+
};
|
|
2493
|
+
rulesetVersionDraftImportPreview(): {
|
|
2494
|
+
query: string;
|
|
2495
|
+
};
|
|
2496
|
+
rulesetValidationImpact(params: RulesetValidationImpactParams): {
|
|
2497
|
+
query: string;
|
|
2498
|
+
variables: Record<string, unknown>;
|
|
2499
|
+
};
|
|
2500
|
+
createRuleset(): {
|
|
2501
|
+
query: string;
|
|
2502
|
+
};
|
|
2503
|
+
updateRuleset(): {
|
|
2504
|
+
query: string;
|
|
2505
|
+
};
|
|
2506
|
+
createRulesetVersionDraft(): {
|
|
2507
|
+
query: string;
|
|
2508
|
+
};
|
|
2509
|
+
importRulesetVersionDraftFromDatasetRecord(): {
|
|
2510
|
+
query: string;
|
|
2511
|
+
};
|
|
2512
|
+
updateRulesetVersionDraft(): {
|
|
2513
|
+
query: string;
|
|
2514
|
+
};
|
|
2515
|
+
publishRulesetVersion(): {
|
|
2516
|
+
query: string;
|
|
2517
|
+
};
|
|
2518
|
+
activateRulesetVersion(): {
|
|
2519
|
+
query: string;
|
|
2520
|
+
};
|
|
2309
2521
|
listMyDecks(params?: ListDecksParams): {
|
|
2310
2522
|
query: string;
|
|
2311
2523
|
variables: Record<string, unknown>;
|
|
@@ -2481,6 +2693,14 @@ declare const QueryBuilder: {
|
|
|
2481
2693
|
revokeDeckApiApplicationAccess(): {
|
|
2482
2694
|
query: string;
|
|
2483
2695
|
};
|
|
2696
|
+
rulesetValidationRulesVariables(gameId: string, rulesetKey: string, rulesetVersionId?: string): Record<string, unknown>;
|
|
2697
|
+
rulesetVersionDraftImportPreviewVariables(rulesetId: string, input: RulesetVersionDraftImportFromDatasetRecordInput): Record<string, unknown>;
|
|
2698
|
+
rulesetCreateVariables(input: RulesetCreateInput): Record<string, unknown>;
|
|
2699
|
+
rulesetUpdateVariables(id: string, input: RulesetUpdateInput): Record<string, unknown>;
|
|
2700
|
+
rulesetVersionDraftCreateVariables(rulesetId: string, input: RulesetVersionDraftCreateInput): Record<string, unknown>;
|
|
2701
|
+
rulesetVersionDraftImportFromDatasetRecordVariables(rulesetId: string, input: RulesetVersionDraftImportFromDatasetRecordInput): Record<string, unknown>;
|
|
2702
|
+
rulesetVersionDraftUpdateVariables(id: string, input: RulesetVersionDraftUpdateInput): Record<string, unknown>;
|
|
2703
|
+
rulesetVersionPublishVariables(id: string, input?: RulesetVersionPublishInput): Record<string, unknown>;
|
|
2484
2704
|
deckCreateVariables(input: DeckCreateInput): Record<string, unknown>;
|
|
2485
2705
|
deckUpdateVariables(id: string, input: DeckUpdateInput): Record<string, unknown>;
|
|
2486
2706
|
deckEntryAddVariables(input: DeckEntryAddInput): Record<string, unknown>;
|
|
@@ -2672,4 +2892,4 @@ declare class Collection<T> implements AsyncIterable<T> {
|
|
|
2672
2892
|
each(): AsyncIterable<T>;
|
|
2673
2893
|
}
|
|
2674
2894
|
|
|
2675
|
-
export { type APIAccount, type APIApplication, type APIKeyInfo, type AppDecksFilterInput, type AppDecksParams, AuthenticationError, type BulkCreateResult, type BulkImportResult, type BulkInsertMode, type BulkRecordError, type Cache, type CardDBConfig, CardDBError, Collection, type ConfirmScanUploadInput, type Connection, ConnectionError, type CreateScanJobInput, type CreateScanUploadSessionInput, type CsvOptions, type Dataset, type DatasetExportInput, type DatasetImportFromFileInput, type DatasetImportFromPayloadInput, type DatasetImportFromUrlInput, type DatasetImportPreview, type DatasetImportPreviewInput, type DatasetImportPreviewResult, type DatasetImportRunInput, type DatasetImportValidateInput, type DatasetPurpose, type DatasetRecord, type DatasetRecordDeleteJob, type DatasetRecordDeleteJobConnection, type DatasetRecordDeleteJobResult, type DatasetRecordDeleteJobStatus, type DatasetRecordDeleteResultStatus, type DatasetRecordDeleteTargetType, type DatasetRecordsDeleteInput, type DatasetRecordsUpsertInput, type DatasetRecordsUpsertPayload, type DatasetRef, type DatasetSchema, type DatasetVisibility, type Deck, type DeckAPIApplicationAccess, type DeckAPIApplicationAccessGrantInput, type DeckAPIApplicationAccessGrantSource, type DeckAPIApplicationAccessRole, type DeckAccessApplication, type DeckAccessMode, type DeckAppAccessRetention, type DeckClaimInput, type DeckCollaborator, type DeckCollaboratorRole, type DeckCopyInput, type DeckCopyPayload, type DeckCreateInput, type DeckDiff, type DeckDiscoverability, type DeckEntriesReplaceInput, type DeckEntriesReplacePayload, type DeckEntry, type DeckEntryAddInput, type DeckEntryInput, type DeckEntryMutationPayload, type DeckEntryReorderInput, type DeckEntryReorderItemInput, type DeckEntryReorderPayload, type DeckEntryUpdateInput, type DeckEnvironment, type DeckExportFormat, type DeckExportPayload, type DeckHydrateEntriesInput, type DeckHydrateEntriesPayload, type DeckImportAmbiguousEntry, type DeckImportCandidate, type DeckImportEntry, type DeckImportFormat, type DeckImportFormatCreateInput, type DeckImportFormatDefinition, type DeckImportFormatDefinitionConnection, type DeckImportFormatDetection, type DeckImportFormatTestInput, type DeckImportFormatTestPayload, type DeckImportFormatUpdateInput, type DeckImportInput, type DeckImportIssue, type DeckImportPayload, type DeckImportUnmatchedEntry, type DeckOwnerType, type DeckOwnershipTransferPayload, type DeckPublishInput, type DeckPublishPayload, type DeckPublishedVersionSelector, type DeckReadState, type DeckRemoveInvalidEntriesInput, type DeckRepresentation, type DeckSectionDefinition, type DeckSectionDefinitionsParams, type DeckState, type DeckToken, type DeckTokenExchangeInput, type DeckTokenExchangePayload, type DeckTokenIssuer, type DeckTokenIssuerCreateInput, type DeckTokenIssuerSigningKeyInput, type DeckTokenScope, type DeckTokenSigningAlgorithm, type DeckTransferOwnershipInput, type DeckUpdateInput, type DeckUpsertByExternalRefInput, type DeckUpsertByExternalRefPayload, type DeckValidateInput, type DeckValidatedAgainst, type DeckValidation, type DeckValidationAffectedEntry, type DeckValidationIssue, type DeckValidationSeverity, type DeckVersion, type DeckVersionConnection, type DeckVisibility, type Edge, type ExportFormat, type ExportJob, type ExportJobConnection, type ExportJobStatus, type FieldInfo, type FieldMapping, type FieldMappingOverrideInput, type FieldMappingStatus, type FieldType, type File, type FileInfo, type FileStatus, type FileUploadInput, FilterBuilder, type FilterBuilderInterface, type FilterCondition, type FilterInput, type FilterOperatorValue, type FilterValue, type Game, type GameCreateInput, type GameImportDatasetStatus, type GameImportFromFileInput, type GameImportFromPayloadInput, type GameImportFromUrlInput, type GameImportJob, type GameImportJobConnection, type GameImportPreview, type GameImportPreviewInput, type GameImportRunInput, type GameRef, type GameScanRegion, type GameUpdateInput, type GameVisibility, GraphQLError, type GraphQLErrorInfo, type HydrateDeckEntryInput, type HydratedDeckEntry, type ImportFormat, type ImportJob, type ImportJobAsset, type ImportJobAssetInput, type ImportJobConnection, type ImportJobLog, type ImportJobLogConnection, type ImportJobStatus, type ImportLogLevel, type ImportMode, type ImportOptions, type ImportStats, type ImportValidationError, type ImportWarning, type ImportWarningSeverity, type InferredChildField, type LinkFieldInfo, LinkResolutionError, type LinkResolutionFailure, type ListDeckImportFormatsParams, type ListDeckVersionsParams, type ListDecksParams, type LogLevel, type Logger, type NextPageLoader, NotFoundError, type ObjectField, type OnConflict, type PageInfo, type PresignedUpload, type PreviewScanTemplateInput, type PublicDecksFilterInput, type PublicDecksParams, type Publisher, type PublisherRef, type PublisherStatus, QueryBuilder, RateLimitError, type RateLimitInfo, type ResolveScanTemplateInput, type ResolvedLink, type ResourceType, RestrictedError, type SaveScanTemplateInput, type ScanBestMatch, type ScanCandidate, type ScanFeatureVersionMetrics, type ScanFeedbackMetrics, type ScanFeedbackPayload, type ScanJob, type ScanJobError, type ScanJobMetrics, type ScanJobPayload, type ScanJobStatus, type ScanMetrics, type ScanMetricsInput, type ScanStageMetrics, type ScanTemplate, type ScanTemplateList, type ScanTemplatePayload, type ScanTemplatePreview, type ScanTemplateRegion, type ScanTemplateRegionInput, type ScanTemplateRegionPreview, type ScanTemplateResolution, type ScanTemplateWarning, type ScanTemplatesInput, type ScanWebhookState, type SearchDatasetsParams, type SearchGamesParams, type SearchPublishersParams, type SearchRecordsParams, ServerError, type SubmitScanFeedbackInput, type TCGPlayerPrice, type TCGPlayerPricing, TimeoutError, type UploadPurpose, ValidationError, type ViewerDecksFilterInput, type ViewerDecksParams, contains, eq, gt, gte, ilike, isNotNull, isNull, like, lt, lte, neq, notWithin, resolveFilter, within };
|
|
2895
|
+
export { type APIAccount, type APIApplication, type APIKeyInfo, type AppDecksFilterInput, type AppDecksParams, AuthenticationError, type BulkCreateResult, type BulkImportResult, type BulkInsertMode, type BulkRecordError, type Cache, type CardDBConfig, CardDBError, Collection, type ConfirmScanUploadInput, type Connection, ConnectionError, type CreateScanJobInput, type CreateScanUploadSessionInput, type CsvOptions, type Dataset, type DatasetExportInput, type DatasetImportFromFileInput, type DatasetImportFromPayloadInput, type DatasetImportFromUrlInput, type DatasetImportPreview, type DatasetImportPreviewInput, type DatasetImportPreviewResult, type DatasetImportRunInput, type DatasetImportValidateInput, type DatasetPurpose, type DatasetRecord, type DatasetRecordDeleteJob, type DatasetRecordDeleteJobConnection, type DatasetRecordDeleteJobResult, type DatasetRecordDeleteJobStatus, type DatasetRecordDeleteResultStatus, type DatasetRecordDeleteTargetType, type DatasetRecordsDeleteInput, type DatasetRecordsUpsertInput, type DatasetRecordsUpsertPayload, type DatasetRef, type DatasetSchema, type DatasetVisibility, type Deck, type DeckAPIApplicationAccess, type DeckAPIApplicationAccessGrantInput, type DeckAPIApplicationAccessGrantSource, type DeckAPIApplicationAccessRole, type DeckAccessApplication, type DeckAccessMode, type DeckAppAccessRetention, type DeckClaimInput, type DeckCollaborator, type DeckCollaboratorRole, type DeckCopyInput, type DeckCopyPayload, type DeckCreateInput, type DeckDiff, type DeckDiscoverability, type DeckEntriesReplaceInput, type DeckEntriesReplacePayload, type DeckEntry, type DeckEntryAddInput, type DeckEntryInput, type DeckEntryMutationPayload, type DeckEntryReorderInput, type DeckEntryReorderItemInput, type DeckEntryReorderPayload, type DeckEntryUpdateInput, type DeckEnvironment, type DeckExportFormat, type DeckExportPayload, type DeckHydrateEntriesInput, type DeckHydrateEntriesPayload, type DeckImportAmbiguousEntry, type DeckImportCandidate, type DeckImportEntry, type DeckImportFormat, type DeckImportFormatCreateInput, type DeckImportFormatDefinition, type DeckImportFormatDefinitionConnection, type DeckImportFormatDetection, type DeckImportFormatTestInput, type DeckImportFormatTestPayload, type DeckImportFormatUpdateInput, type DeckImportInput, type DeckImportIssue, type DeckImportPayload, type DeckImportUnmatchedEntry, type DeckOwnerType, type DeckOwnershipTransferPayload, type DeckPublishInput, type DeckPublishPayload, type DeckPublishedVersionSelector, type DeckReadState, type DeckRemoveInvalidEntriesInput, type DeckRepresentation, type DeckSectionDefinition, type DeckSectionDefinitionsParams, type DeckState, type DeckToken, type DeckTokenExchangeInput, type DeckTokenExchangePayload, type DeckTokenIssuer, type DeckTokenIssuerCreateInput, type DeckTokenIssuerSigningKeyInput, type DeckTokenScope, type DeckTokenSigningAlgorithm, type DeckTransferOwnershipInput, type DeckUpdateInput, type DeckUpsertByExternalRefInput, type DeckUpsertByExternalRefPayload, type DeckValidateInput, type DeckValidatedAgainst, type DeckValidation, type DeckValidationAffectedEntry, type DeckValidationIssue, type DeckValidationRules, type DeckValidationSeverity, type DeckVersion, type DeckVersionConnection, type DeckVisibility, type Edge, type ExportFormat, type ExportJob, type ExportJobConnection, type ExportJobStatus, type FieldInfo, type FieldMapping, type FieldMappingOverrideInput, type FieldMappingStatus, type FieldType, type File, type FileInfo, type FileStatus, type FileUploadInput, FilterBuilder, type FilterBuilderInterface, type FilterCondition, type FilterInput, type FilterOperatorValue, type FilterValue, type Game, type GameCreateInput, type GameImportDatasetStatus, type GameImportFromFileInput, type GameImportFromPayloadInput, type GameImportFromUrlInput, type GameImportJob, type GameImportJobConnection, type GameImportPreview, type GameImportPreviewInput, type GameImportRunInput, type GameRef, type GameScanRegion, type GameUpdateInput, type GameVisibility, GraphQLError, type GraphQLErrorInfo, type HydrateDeckEntryInput, type HydratedDeckEntry, type ImportFormat, type ImportJob, type ImportJobAsset, type ImportJobAssetInput, type ImportJobConnection, type ImportJobLog, type ImportJobLogConnection, type ImportJobStatus, type ImportLogLevel, type ImportMode, type ImportOptions, type ImportStats, type ImportValidationError, type ImportWarning, type ImportWarningSeverity, type InferredChildField, type LinkFieldInfo, LinkResolutionError, type LinkResolutionFailure, type ListDeckImportFormatsParams, type ListDeckVersionsParams, type ListDecksParams, type ListPublicRulesetsParams, type ListRulesetVersionsParams, type ListRulesetsParams, type LogLevel, type Logger, type NextPageLoader, NotFoundError, type ObjectField, type OnConflict, type PageInfo, type PresignedUpload, type PreviewScanTemplateInput, type PublicDecksFilterInput, type PublicDecksParams, type Publisher, type PublisherRef, type PublisherStatus, QueryBuilder, RateLimitError, type RateLimitInfo, type ResolveScanTemplateInput, type ResolvedLink, type ResourceType, RestrictedError, type Ruleset, type RulesetConnection, type RulesetCreateInput, type RulesetLookupParams, type RulesetUpdateInput, type RulesetValidationImpact, type RulesetValidationImpactDeck, type RulesetValidationImpactParams, type RulesetValidationRulesParams, type RulesetVersion, type RulesetVersionConnection, type RulesetVersionDraftCreateInput, type RulesetVersionDraftImportFromDatasetRecordInput, type RulesetVersionDraftImportPreview, type RulesetVersionDraftUpdateInput, type RulesetVersionPublishInput, type RulesetVersionStatus, type SaveScanTemplateInput, type ScanBestMatch, type ScanCandidate, type ScanFeatureVersionMetrics, type ScanFeedbackMetrics, type ScanFeedbackPayload, type ScanJob, type ScanJobError, type ScanJobMetrics, type ScanJobPayload, type ScanJobStatus, type ScanMetrics, type ScanMetricsInput, type ScanStageMetrics, type ScanTemplate, type ScanTemplateList, type ScanTemplatePayload, type ScanTemplatePreview, type ScanTemplateRegion, type ScanTemplateRegionInput, type ScanTemplateRegionPreview, type ScanTemplateResolution, type ScanTemplateWarning, type ScanTemplatesInput, type ScanWebhookState, type SearchDatasetsParams, type SearchGamesParams, type SearchPublishersParams, type SearchRecordsParams, ServerError, type SubmitScanFeedbackInput, type TCGPlayerPrice, type TCGPlayerPricing, TimeoutError, type UploadPurpose, ValidationError, type ViewerDecksFilterInput, type ViewerDecksParams, contains, eq, gt, gte, ilike, isNotNull, isNull, like, lt, lte, neq, notWithin, resolveFilter, within };
|