@battle-racing/br-common-lib 6.1.0 → 6.2.0-rc.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.
Files changed (50) hide show
  1. package/dist/domains/command/Command.schema.d.ts +502 -0
  2. package/dist/domains/command/Command.schema.js +5 -0
  3. package/dist/domains/flow/Flow.schema.d.ts +251 -0
  4. package/dist/domains/hardware/screen/ScreenTutorial.schema.d.ts +276 -0
  5. package/dist/domains/hardware/screen/ScreenTutorial.schema.js +52 -0
  6. package/dist/domains/hardware/screen/ScreenTutorial.types.d.ts +4 -0
  7. package/dist/domains/hardware/screen/index.d.ts +2 -0
  8. package/dist/domains/hardware/screen/index.js +2 -0
  9. package/dist/domains/index.d.ts +1 -0
  10. package/dist/domains/index.js +1 -0
  11. package/dist/domains/powerUp/PowerUp.schema.d.ts +753 -0
  12. package/dist/domains/socket/screen/SocketScreenServerToClientEventsParams.d.ts +2 -1
  13. package/dist/domains/tutorial/Tutorial.const.d.ts +19 -0
  14. package/dist/domains/tutorial/Tutorial.const.js +22 -0
  15. package/dist/domains/tutorial/Tutorial.schema.d.ts +20 -0
  16. package/dist/domains/tutorial/Tutorial.schema.js +24 -0
  17. package/dist/domains/tutorial/Tutorial.types.d.ts +3 -0
  18. package/dist/domains/tutorial/index.d.ts +3 -0
  19. package/dist/domains/{waiver → tutorial}/index.js +3 -3
  20. package/package.json +1 -1
  21. package/src/domains/command/Command.schema.ts +6 -0
  22. package/src/domains/hardware/screen/ScreenTutorial.schema.ts +62 -0
  23. package/src/domains/hardware/screen/ScreenTutorial.types.ts +5 -0
  24. package/src/domains/hardware/screen/index.ts +2 -0
  25. package/src/domains/index.ts +1 -0
  26. package/src/domains/socket/screen/SocketScreenServerToClientEventsParams.ts +2 -0
  27. package/src/domains/tutorial/Tutorial.const.ts +23 -0
  28. package/src/domains/tutorial/Tutorial.schema.ts +22 -0
  29. package/src/domains/tutorial/Tutorial.types.ts +4 -0
  30. package/src/domains/tutorial/index.ts +3 -0
  31. package/.claude/settings.local.json +0 -8
  32. package/dist/domains/game/swap-kart.schema.d.ts +0 -7
  33. package/dist/domains/game/swap-kart.schema.js +0 -9
  34. package/dist/domains/gameHistory/GameHistory.const.d.ts +0 -10
  35. package/dist/domains/gameHistory/GameHistory.const.js +0 -13
  36. package/dist/domains/gameHistory/GameHistory.schema.d.ts +0 -210
  37. package/dist/domains/gameHistory/GameHistory.schema.js +0 -94
  38. package/dist/domains/gameHistory/GameHistory.types.d.ts +0 -13
  39. package/dist/domains/gameHistory/index.d.ts +0 -3
  40. package/dist/domains/gameHistory/index.js +0 -19
  41. package/dist/domains/socket/inputs/SocketInitRaspberryInput.d.ts +0 -4
  42. package/dist/domains/waiver/Waiver.const.d.ts +0 -15
  43. package/dist/domains/waiver/Waiver.const.js +0 -18
  44. package/dist/domains/waiver/Waiver.schema.d.ts +0 -116
  45. package/dist/domains/waiver/Waiver.schema.js +0 -68
  46. package/dist/domains/waiver/Waiver.types.d.ts +0 -11
  47. package/dist/domains/waiver/Waiver.types.js +0 -2
  48. package/dist/domains/waiver/index.d.ts +0 -3
  49. /package/dist/domains/{gameHistory/GameHistory.types.js → hardware/screen/ScreenTutorial.types.js} +0 -0
  50. /package/dist/domains/{socket/inputs/SocketInitRaspberryInput.js → tutorial/Tutorial.types.js} +0 -0
@@ -1,94 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginatedCoinTransactionSchema = exports.filterCoinTransactionSchema = exports.coinTransactionSchema = exports.filterGameHistoryStatsSchema = exports.gameHistoryStatsSchema = exports.gameCountByPeriodSchema = exports.paginatedGameResultSchema = exports.filterGameHistorySchema = exports.gameResultSchema = exports.battleResultSchema = exports.raceResultSchema = void 0;
4
- const zod_1 = require("zod");
5
- const Game_const_1 = require("../game/Game.const");
6
- const Game_schema_1 = require("../game/Game.schema");
7
- const pagination_1 = require("../pagination");
8
- const GameHistory_const_1 = require("./GameHistory.const");
9
- // --- Game Result Schemas ---
10
- /**
11
- * One row per (game, player). A game stores its players in `playerKartMap`, and a map
12
- * cannot be queried by its keys, so per player history needs this flat collection.
13
- */
14
- const gameResultBaseSchema = zod_1.z.object({
15
- /** `${gameType}-${gameId}-${playerId}`. Writing the same result twice does not duplicate it. */
16
- id: zod_1.z.string(),
17
- gameId: zod_1.z.number(),
18
- gameTrackId: zod_1.z.string(),
19
- gameTurnId: zod_1.z.string().optional(),
20
- playerId: zod_1.z.string(),
21
- /** Copied at the end of the game: nicknames are not unique and can change. */
22
- playerNickname: zod_1.z.string(),
23
- kartGuid: zod_1.z.string(),
24
- position: zod_1.z.number().int(),
25
- totalKarts: zod_1.z.number().int(),
26
- isWinner: zod_1.z.boolean(),
27
- /** Coin balance the player ended the game with. */
28
- coinsEarned: zod_1.z.number().int(),
29
- isOfficial: zod_1.z.boolean(),
30
- finishedAt: zod_1.z.date(),
31
- createdAt: zod_1.z.date(),
32
- });
33
- exports.raceResultSchema = gameResultBaseSchema.extend({
34
- gameType: zod_1.z.literal(Game_const_1.GAME_TYPE.Race),
35
- lapsCompleted: zod_1.z.number().int(),
36
- /** Null when the player never completed a lap. */
37
- fastestLapMs: zod_1.z.number().int().nullable(),
38
- totalTimeMs: zod_1.z.number().int().nullable(),
39
- });
40
- exports.battleResultSchema = gameResultBaseSchema.extend({
41
- gameType: zod_1.z.literal(Game_const_1.GAME_TYPE.Battle),
42
- livesRemaining: zod_1.z.number().int(),
43
- wasEliminated: zod_1.z.boolean(),
44
- });
45
- exports.gameResultSchema = zod_1.z.discriminatedUnion('gameType', [exports.raceResultSchema, exports.battleResultSchema]);
46
- exports.filterGameHistorySchema = zod_1.z.object({
47
- playerId: zod_1.z.string().optional(),
48
- gameTrackId: zod_1.z.string().optional(),
49
- gameType: Game_schema_1.gameTypeSchema.optional(),
50
- from: zod_1.z.coerce.date().optional(),
51
- to: zod_1.z.coerce.date().optional(),
52
- limit: zod_1.z.coerce.number().min(1).max(100).default(20),
53
- cursor: zod_1.z.string().optional(),
54
- });
55
- exports.paginatedGameResultSchema = (0, pagination_1.paginatedResponseSchema)(exports.gameResultSchema);
56
- // --- Staff Counter Schemas ---
57
- exports.gameCountByPeriodSchema = zod_1.z.object({
58
- /** `YYYY-MM-DD` when grouping by day, `YYYY-MM` when grouping by month. */
59
- period: zod_1.z.string(),
60
- count: zod_1.z.number().int(),
61
- });
62
- exports.gameHistoryStatsSchema = zod_1.z.object({
63
- total: zod_1.z.number().int(),
64
- byGameType: zod_1.z.record(Game_schema_1.gameTypeSchema, zod_1.z.number().int()),
65
- byPeriod: zod_1.z.array(exports.gameCountByPeriodSchema),
66
- });
67
- exports.filterGameHistoryStatsSchema = zod_1.z.object({
68
- gameTrackId: zod_1.z.string().optional(),
69
- gameType: Game_schema_1.gameTypeSchema.optional(),
70
- from: zod_1.z.coerce.date().optional(),
71
- to: zod_1.z.coerce.date().optional(),
72
- groupBy: zod_1.z.enum(GameHistory_const_1.GAME_HISTORY_GROUP_BY).default(GameHistory_const_1.GAME_HISTORY_GROUP_BY.DAY),
73
- /** Operator test games are left out unless this is set. */
74
- includeUnofficial: zod_1.z.coerce.boolean().default(false),
75
- });
76
- // --- Coin Transaction Schemas ---
77
- /** Append only ledger. Every change to a player wallet must leave one row here. */
78
- exports.coinTransactionSchema = zod_1.z.object({
79
- id: zod_1.z.string(),
80
- playerId: zod_1.z.string(),
81
- /** Positive when the player earns coins, negative when they spend them. */
82
- amount: zod_1.z.number().int(),
83
- type: zod_1.z.enum(GameHistory_const_1.COIN_TRANSACTION_TYPE),
84
- balanceAfter: zod_1.z.number().int(),
85
- gameId: zod_1.z.number().optional(),
86
- gameType: Game_schema_1.gameTypeSchema.optional(),
87
- note: zod_1.z.string().optional(),
88
- createdAt: zod_1.z.date(),
89
- });
90
- exports.filterCoinTransactionSchema = zod_1.z.object({
91
- limit: zod_1.z.coerce.number().min(1).max(100).default(20),
92
- cursor: zod_1.z.string().optional(),
93
- });
94
- exports.paginatedCoinTransactionSchema = (0, pagination_1.paginatedResponseSchema)(exports.coinTransactionSchema);
@@ -1,13 +0,0 @@
1
- import { z } from 'zod';
2
- import { coinTransactionSchema, filterCoinTransactionSchema, filterGameHistorySchema, filterGameHistoryStatsSchema, gameCountByPeriodSchema, gameHistoryStatsSchema, battleResultSchema, gameResultSchema, paginatedCoinTransactionSchema, paginatedGameResultSchema, raceResultSchema } from './GameHistory.schema';
3
- export type RaceResult = z.infer<typeof raceResultSchema>;
4
- export type BattleResult = z.infer<typeof battleResultSchema>;
5
- export type GameResult = z.infer<typeof gameResultSchema>;
6
- export type FilterGameHistory = z.infer<typeof filterGameHistorySchema>;
7
- export type PaginatedGameResult = z.infer<typeof paginatedGameResultSchema>;
8
- export type GameCountByPeriod = z.infer<typeof gameCountByPeriodSchema>;
9
- export type GameHistoryStats = z.infer<typeof gameHistoryStatsSchema>;
10
- export type FilterGameHistoryStats = z.infer<typeof filterGameHistoryStatsSchema>;
11
- export type CoinTransaction = z.infer<typeof coinTransactionSchema>;
12
- export type FilterCoinTransaction = z.infer<typeof filterCoinTransactionSchema>;
13
- export type PaginatedCoinTransaction = z.infer<typeof paginatedCoinTransactionSchema>;
@@ -1,3 +0,0 @@
1
- export * from './GameHistory.const';
2
- export * from './GameHistory.schema';
3
- export * from './GameHistory.types';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./GameHistory.const"), exports);
18
- __exportStar(require("./GameHistory.schema"), exports);
19
- __exportStar(require("./GameHistory.types"), exports);
@@ -1,4 +0,0 @@
1
- export type SocketInitRaspberryInput = {
2
- macAddress: string;
3
- hostname: string;
4
- };
@@ -1,15 +0,0 @@
1
- export declare const WAIVER_SIGNER_ROLE: {
2
- readonly SELF: "SELF";
3
- readonly GUARDIAN: "GUARDIAN";
4
- };
5
- export declare const WAIVER_RELATIONSHIP: {
6
- readonly PARENT: "PARENT";
7
- readonly LEGAL_GUARDIAN: "LEGAL_GUARDIAN";
8
- readonly OTHER: "OTHER";
9
- };
10
- export declare const WAIVER_CONTEXT_TYPE: {
11
- readonly SESSION: "SESSION";
12
- readonly RACING_TEAM: "RACING_TEAM";
13
- };
14
- export declare const WAIVER_VALIDITY_DAYS = 365;
15
- export declare const WAIVER_DRAFT_TEMPLATE_VERSION = "draft-1";
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WAIVER_DRAFT_TEMPLATE_VERSION = exports.WAIVER_VALIDITY_DAYS = exports.WAIVER_CONTEXT_TYPE = exports.WAIVER_RELATIONSHIP = exports.WAIVER_SIGNER_ROLE = void 0;
4
- exports.WAIVER_SIGNER_ROLE = {
5
- SELF: 'SELF',
6
- GUARDIAN: 'GUARDIAN',
7
- };
8
- exports.WAIVER_RELATIONSHIP = {
9
- PARENT: 'PARENT',
10
- LEGAL_GUARDIAN: 'LEGAL_GUARDIAN',
11
- OTHER: 'OTHER',
12
- };
13
- exports.WAIVER_CONTEXT_TYPE = {
14
- SESSION: 'SESSION',
15
- RACING_TEAM: 'RACING_TEAM',
16
- };
17
- exports.WAIVER_VALIDITY_DAYS = 365;
18
- exports.WAIVER_DRAFT_TEMPLATE_VERSION = 'draft-1';
@@ -1,116 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const waiverSignerRoleSchema: z.ZodEnum<{
3
- readonly SELF: "SELF";
4
- readonly GUARDIAN: "GUARDIAN";
5
- }>;
6
- export declare const waiverRelationshipSchema: z.ZodEnum<{
7
- readonly PARENT: "PARENT";
8
- readonly LEGAL_GUARDIAN: "LEGAL_GUARDIAN";
9
- readonly OTHER: "OTHER";
10
- }>;
11
- export declare const waiverContextTypeSchema: z.ZodEnum<{
12
- readonly SESSION: "SESSION";
13
- readonly RACING_TEAM: "RACING_TEAM";
14
- }>;
15
- export declare const waiverTemplateSchema: z.ZodObject<{
16
- version: z.ZodString;
17
- title: z.ZodString;
18
- body: z.ZodString;
19
- hash: z.ZodString;
20
- isActive: z.ZodDefault<z.ZodBoolean>;
21
- createdAt: z.ZodDate;
22
- }, z.core.$strip>;
23
- export declare const waiverContextSchema: z.ZodObject<{
24
- type: z.ZodEnum<{
25
- readonly SESSION: "SESSION";
26
- readonly RACING_TEAM: "RACING_TEAM";
27
- }>;
28
- refId: z.ZodString;
29
- }, z.core.$strip>;
30
- export declare const waiverSignerSchema: z.ZodObject<{
31
- role: z.ZodEnum<{
32
- readonly SELF: "SELF";
33
- readonly GUARDIAN: "GUARDIAN";
34
- }>;
35
- legalName: z.ZodString;
36
- relationship: z.ZodOptional<z.ZodEnum<{
37
- readonly PARENT: "PARENT";
38
- readonly LEGAL_GUARDIAN: "LEGAL_GUARDIAN";
39
- readonly OTHER: "OTHER";
40
- }>>;
41
- playerId: z.ZodOptional<z.ZodUUID>;
42
- userId: z.ZodOptional<z.ZodUUID>;
43
- contact: z.ZodOptional<z.ZodString>;
44
- documentId: z.ZodOptional<z.ZodString>;
45
- }, z.core.$strip>;
46
- export declare const waiverRecordSchema: z.ZodObject<{
47
- id: z.ZodUUID;
48
- playerId: z.ZodUUID;
49
- signer: z.ZodObject<{
50
- role: z.ZodEnum<{
51
- readonly SELF: "SELF";
52
- readonly GUARDIAN: "GUARDIAN";
53
- }>;
54
- legalName: z.ZodString;
55
- relationship: z.ZodOptional<z.ZodEnum<{
56
- readonly PARENT: "PARENT";
57
- readonly LEGAL_GUARDIAN: "LEGAL_GUARDIAN";
58
- readonly OTHER: "OTHER";
59
- }>>;
60
- playerId: z.ZodOptional<z.ZodUUID>;
61
- userId: z.ZodOptional<z.ZodUUID>;
62
- contact: z.ZodOptional<z.ZodString>;
63
- documentId: z.ZodOptional<z.ZodString>;
64
- }, z.core.$strip>;
65
- context: z.ZodObject<{
66
- type: z.ZodEnum<{
67
- readonly SESSION: "SESSION";
68
- readonly RACING_TEAM: "RACING_TEAM";
69
- }>;
70
- refId: z.ZodString;
71
- }, z.core.$strip>;
72
- templateVersion: z.ZodString;
73
- templateHash: z.ZodString;
74
- documentSnapshot: z.ZodString;
75
- signature: z.ZodOptional<z.ZodString>;
76
- acceptedAt: z.ZodDate;
77
- expiresAt: z.ZodDate;
78
- supersedesWaiverId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
79
- ipAddress: z.ZodOptional<z.ZodString>;
80
- userAgent: z.ZodOptional<z.ZodString>;
81
- createdAt: z.ZodDate;
82
- }, z.core.$strip>;
83
- export declare const signWaiverSchema: z.ZodObject<{
84
- accepted: z.ZodLiteral<true>;
85
- signerRole: z.ZodDefault<z.ZodEnum<{
86
- readonly SELF: "SELF";
87
- readonly GUARDIAN: "GUARDIAN";
88
- }>>;
89
- legalName: z.ZodString;
90
- relationship: z.ZodOptional<z.ZodEnum<{
91
- readonly PARENT: "PARENT";
92
- readonly LEGAL_GUARDIAN: "LEGAL_GUARDIAN";
93
- readonly OTHER: "OTHER";
94
- }>>;
95
- signerPlayerId: z.ZodOptional<z.ZodUUID>;
96
- signerContact: z.ZodOptional<z.ZodString>;
97
- signerDocumentId: z.ZodOptional<z.ZodString>;
98
- context: z.ZodObject<{
99
- type: z.ZodEnum<{
100
- readonly SESSION: "SESSION";
101
- readonly RACING_TEAM: "RACING_TEAM";
102
- }>;
103
- refId: z.ZodString;
104
- }, z.core.$strip>;
105
- templateVersion: z.ZodString;
106
- signature: z.ZodOptional<z.ZodString>;
107
- }, z.core.$strip>;
108
- export declare const filterWaiverSchema: z.ZodObject<{
109
- playerId: z.ZodOptional<z.ZodUUID>;
110
- sessionId: z.ZodOptional<z.ZodString>;
111
- racingTeamId: z.ZodOptional<z.ZodString>;
112
- signerRole: z.ZodOptional<z.ZodEnum<{
113
- readonly SELF: "SELF";
114
- readonly GUARDIAN: "GUARDIAN";
115
- }>>;
116
- }, z.core.$strip>;
@@ -1,68 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filterWaiverSchema = exports.signWaiverSchema = exports.waiverRecordSchema = exports.waiverSignerSchema = exports.waiverContextSchema = exports.waiverTemplateSchema = exports.waiverContextTypeSchema = exports.waiverRelationshipSchema = exports.waiverSignerRoleSchema = void 0;
4
- const zod_1 = require("zod");
5
- const Waiver_const_1 = require("./Waiver.const");
6
- exports.waiverSignerRoleSchema = zod_1.z.enum(Waiver_const_1.WAIVER_SIGNER_ROLE);
7
- exports.waiverRelationshipSchema = zod_1.z.enum(Waiver_const_1.WAIVER_RELATIONSHIP);
8
- exports.waiverContextTypeSchema = zod_1.z.enum(Waiver_const_1.WAIVER_CONTEXT_TYPE);
9
- exports.waiverTemplateSchema = zod_1.z.object({
10
- version: zod_1.z.string().min(1),
11
- title: zod_1.z.string().min(1),
12
- body: zod_1.z.string().min(1),
13
- hash: zod_1.z.string().length(64),
14
- isActive: zod_1.z.boolean().default(false),
15
- createdAt: zod_1.z.date(),
16
- });
17
- exports.waiverContextSchema = zod_1.z.object({
18
- type: exports.waiverContextTypeSchema,
19
- refId: zod_1.z.string().min(1),
20
- });
21
- exports.waiverSignerSchema = zod_1.z.object({
22
- role: exports.waiverSignerRoleSchema,
23
- legalName: zod_1.z.string().min(3).max(120),
24
- relationship: exports.waiverRelationshipSchema.optional(),
25
- playerId: zod_1.z.uuidv4().optional(),
26
- userId: zod_1.z.uuidv4().optional(),
27
- contact: zod_1.z.string().max(60).optional(),
28
- documentId: zod_1.z.string().max(60).optional(),
29
- });
30
- exports.waiverRecordSchema = zod_1.z.object({
31
- id: zod_1.z.uuidv4(),
32
- playerId: zod_1.z.uuidv4(),
33
- signer: exports.waiverSignerSchema,
34
- context: exports.waiverContextSchema,
35
- templateVersion: zod_1.z.string().min(1),
36
- templateHash: zod_1.z.string().length(64),
37
- documentSnapshot: zod_1.z.string().min(1),
38
- signature: zod_1.z.string().optional(),
39
- acceptedAt: zod_1.z.date(),
40
- expiresAt: zod_1.z.date(),
41
- supersedesWaiverId: zod_1.z.uuidv4().nullable().optional(),
42
- ipAddress: zod_1.z.string().max(45).optional(),
43
- userAgent: zod_1.z.string().max(255).optional(),
44
- createdAt: zod_1.z.date(),
45
- });
46
- exports.signWaiverSchema = zod_1.z
47
- .object({
48
- accepted: zod_1.z.literal(true),
49
- signerRole: exports.waiverSignerRoleSchema.default(Waiver_const_1.WAIVER_SIGNER_ROLE.SELF),
50
- legalName: zod_1.z.string().min(3).max(120),
51
- relationship: exports.waiverRelationshipSchema.optional(),
52
- signerPlayerId: zod_1.z.uuidv4().optional(),
53
- signerContact: zod_1.z.string().max(60).optional(),
54
- signerDocumentId: zod_1.z.string().max(60).optional(),
55
- context: exports.waiverContextSchema,
56
- templateVersion: zod_1.z.string().min(1),
57
- signature: zod_1.z.string().optional(),
58
- })
59
- .refine((input) => input.signerRole !== Waiver_const_1.WAIVER_SIGNER_ROLE.GUARDIAN || Boolean(input.relationship), {
60
- message: 'relationship is required when signing as GUARDIAN',
61
- path: ['relationship'],
62
- });
63
- exports.filterWaiverSchema = zod_1.z.object({
64
- playerId: zod_1.z.uuidv4().optional(),
65
- sessionId: zod_1.z.string().optional(),
66
- racingTeamId: zod_1.z.string().optional(),
67
- signerRole: exports.waiverSignerRoleSchema.optional(),
68
- });
@@ -1,11 +0,0 @@
1
- import { z } from 'zod';
2
- import { filterWaiverSchema, signWaiverSchema, waiverContextSchema, waiverContextTypeSchema, waiverRecordSchema, waiverRelationshipSchema, waiverSignerRoleSchema, waiverSignerSchema, waiverTemplateSchema } from './Waiver.schema';
3
- export type WaiverSignerRole = z.infer<typeof waiverSignerRoleSchema>;
4
- export type WaiverRelationship = z.infer<typeof waiverRelationshipSchema>;
5
- export type WaiverContextType = z.infer<typeof waiverContextTypeSchema>;
6
- export type WaiverTemplate = z.infer<typeof waiverTemplateSchema>;
7
- export type WaiverContext = z.infer<typeof waiverContextSchema>;
8
- export type WaiverSigner = z.infer<typeof waiverSignerSchema>;
9
- export type WaiverRecord = z.infer<typeof waiverRecordSchema>;
10
- export type SignWaiverInput = z.infer<typeof signWaiverSchema>;
11
- export type FilterWaiverInput = z.infer<typeof filterWaiverSchema>;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export * from './Waiver.const';
2
- export * from './Waiver.schema';
3
- export * from './Waiver.types';