@ttt-productions/q-core 0.1.19 → 0.1.20
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/upload-variables/picture-upload-variables.d.ts +2 -2
- package/dist/upload-variables/sign-hardware-contract-variables.d.ts +1 -1
- package/dist/upload-variables/sign-waiver-variables.d.ts +1 -1
- package/dist/utils/account-status.d.ts +1 -2
- package/dist/utils/account-status.d.ts.map +1 -1
- package/dist/utils/account-status.js.map +1 -1
- package/package.json +3 -3
|
@@ -11,7 +11,7 @@ export type PictureUploadTarget = {
|
|
|
11
11
|
export declare const PictureUploadTargetSchema: z.ZodType<PictureUploadTarget>;
|
|
12
12
|
export declare const PictureUploadVariablesSchema: z.ZodObject<{
|
|
13
13
|
target: z.ZodType<PictureUploadTarget, unknown, z.core.$ZodTypeInternals<PictureUploadTarget, unknown>>;
|
|
14
|
-
file: z.
|
|
14
|
+
file: z.ZodInstanceOf<File>;
|
|
15
15
|
claim: z.ZodOptional<z.ZodObject<{
|
|
16
16
|
kind: z.ZodEnum<{
|
|
17
17
|
file: "file";
|
|
@@ -26,7 +26,7 @@ export declare const PictureUploadVariablesSchema: z.ZodObject<{
|
|
|
26
26
|
}>;
|
|
27
27
|
}, z.core.$strict>>;
|
|
28
28
|
onProgress: z.ZodOptional<z.ZodCustom<(state: import("@ttt-productions/media-schemas").UploadState | null) => void, (state: import("@ttt-productions/media-schemas").UploadState | null) => void>>;
|
|
29
|
-
signal: z.ZodOptional<z.
|
|
29
|
+
signal: z.ZodOptional<z.ZodInstanceOf<AbortSignal>>;
|
|
30
30
|
}, z.core.$strict>;
|
|
31
31
|
export type PictureUploadVariables = z.infer<typeof PictureUploadVariablesSchema>;
|
|
32
32
|
//# sourceMappingURL=picture-upload-variables.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const SignHardwareContractVariablesSchema: z.ZodObject<{
|
|
3
3
|
contractId: z.ZodString;
|
|
4
|
-
signature: z.
|
|
4
|
+
signature: z.ZodInstanceOf<Blob>;
|
|
5
5
|
}, z.core.$strict>;
|
|
6
6
|
export type SignHardwareContractVariables = z.infer<typeof SignHardwareContractVariablesSchema>;
|
|
7
7
|
//# sourceMappingURL=sign-hardware-contract-variables.d.ts.map
|
|
@@ -15,7 +15,7 @@ export declare const SignWaiverVariablesSchema: z.ZodObject<{
|
|
|
15
15
|
leagueId: z.ZodString;
|
|
16
16
|
waiverTemplateId: z.ZodString;
|
|
17
17
|
waiverTemplateVersion: z.ZodNumber;
|
|
18
|
-
signature: z.
|
|
18
|
+
signature: z.ZodInstanceOf<Blob>;
|
|
19
19
|
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20
20
|
kind: z.ZodLiteral<"self">;
|
|
21
21
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-status.d.ts","sourceRoot":"","sources":["../../src/utils/account-status.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"account-status.d.ts","sourceRoot":"","sources":["../../src/utils/account-status.ts"],"names":[],"mappings":"AAOA,wBAAgB,eAAe,CAAC,OAAO,EAAE;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-status.js","sourceRoot":"","sources":["../../src/utils/account-status.ts"],"names":[],"mappings":"AAAA,uGAAuG;AACvG,yGAAyG;AACzG,oGAAoG;AACpG,+EAA+E;AAE/E,OAAO,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"account-status.js","sourceRoot":"","sources":["../../src/utils/account-status.ts"],"names":[],"mappings":"AAAA,uGAAuG;AACvG,yGAAyG;AACzG,oGAAoG;AACpG,+EAA+E;AAE/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,UAAU,eAAe,CAAC,OAAmD;IACjF,OAAO,OAAO,EAAE,UAAU,KAAK,kBAAkB,CAAC;AACpD,CAAC","sourcesContent":["// Whether an account may act as a member: it has finished registration — its profile exists — and that\n// profile's status is exactly `active`. Fail closed: a missing profile, or any other status, is refused.\n// The callable auth assertion refuses every other account before a member callable runs, and a door\n// is offered only to an account this answers true for (ENG-006, FRONTEND-110).\n\nimport { ACTIVE_USER_STATUS } from '../types/unions.js';\n\nexport function isActiveAccount(profile: { userStatus: unknown } | null | undefined): boolean {\n return profile?.userStatus === ACTIVE_USER_STATUS;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttt-productions/q-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "Core types, Firestore path constants, zod schemas, and shared constants for Q-Sports",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@ttt-productions/input-format-core": "^0.1.3",
|
|
81
|
-
"@ttt-productions/media-schemas": "^0.14.
|
|
82
|
-
"@ttt-productions/notification-core": "^0.15.
|
|
81
|
+
"@ttt-productions/media-schemas": "^0.14.13",
|
|
82
|
+
"@ttt-productions/notification-core": "^0.15.21",
|
|
83
83
|
"@ttt-productions/theme-core": "^0.12.15",
|
|
84
84
|
"zod": "^4.4.3"
|
|
85
85
|
},
|