rategame-shared 1.1.289 → 1.1.291
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.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/support.d.ts +4 -0
- package/dist/models/support.js +2 -0
- package/dist/schemas/support.d.ts +43 -0
- package/dist/schemas/support.js +13 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from "./schemas/team";
|
|
|
5
5
|
export * from "./schemas/notification";
|
|
6
6
|
export * from "./schemas/chat";
|
|
7
7
|
export * from "./schemas/feedback";
|
|
8
|
+
export * from "./schemas/support";
|
|
8
9
|
export * from "./schemas/list";
|
|
9
10
|
export * from "./schemas/moderation";
|
|
10
11
|
export * from "./schemas/userEvent";
|
|
@@ -18,6 +19,7 @@ export * from "./models/team";
|
|
|
18
19
|
export * from "./models/notification";
|
|
19
20
|
export * from "./models/chat";
|
|
20
21
|
export * from "./models/feedback";
|
|
22
|
+
export * from "./models/support";
|
|
21
23
|
export * from "./models/list";
|
|
22
24
|
export * from "./models/moderation";
|
|
23
25
|
export * from "./models/userEvent";
|
package/dist/index.js
CHANGED
|
@@ -21,6 +21,7 @@ __exportStar(require("./schemas/team"), exports);
|
|
|
21
21
|
__exportStar(require("./schemas/notification"), exports);
|
|
22
22
|
__exportStar(require("./schemas/chat"), exports);
|
|
23
23
|
__exportStar(require("./schemas/feedback"), exports);
|
|
24
|
+
__exportStar(require("./schemas/support"), exports);
|
|
24
25
|
__exportStar(require("./schemas/list"), exports);
|
|
25
26
|
__exportStar(require("./schemas/moderation"), exports);
|
|
26
27
|
__exportStar(require("./schemas/userEvent"), exports);
|
|
@@ -34,6 +35,7 @@ __exportStar(require("./models/team"), exports);
|
|
|
34
35
|
__exportStar(require("./models/notification"), exports);
|
|
35
36
|
__exportStar(require("./models/chat"), exports);
|
|
36
37
|
__exportStar(require("./models/feedback"), exports);
|
|
38
|
+
__exportStar(require("./models/support"), exports);
|
|
37
39
|
__exportStar(require("./models/list"), exports);
|
|
38
40
|
__exportStar(require("./models/moderation"), exports);
|
|
39
41
|
__exportStar(require("./models/userEvent"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const supportSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
subject: z.ZodString;
|
|
7
|
+
message: z.ZodString;
|
|
8
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
message: string;
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
email: string;
|
|
14
|
+
subject: string;
|
|
15
|
+
createdAt?: number | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
message: string;
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
email: string;
|
|
21
|
+
subject: string;
|
|
22
|
+
createdAt?: number | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const supportCreateSchema: z.ZodObject<Omit<{
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
email: z.ZodString;
|
|
28
|
+
subject: z.ZodString;
|
|
29
|
+
message: z.ZodString;
|
|
30
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
}, "id">, "strip", z.ZodTypeAny, {
|
|
32
|
+
message: string;
|
|
33
|
+
name: string;
|
|
34
|
+
email: string;
|
|
35
|
+
subject: string;
|
|
36
|
+
createdAt?: number | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
message: string;
|
|
39
|
+
name: string;
|
|
40
|
+
email: string;
|
|
41
|
+
subject: string;
|
|
42
|
+
createdAt?: number | undefined;
|
|
43
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.supportCreateSchema = exports.supportSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.supportSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.string(),
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
email: zod_1.z.string().email(),
|
|
9
|
+
subject: zod_1.z.string(),
|
|
10
|
+
message: zod_1.z.string(),
|
|
11
|
+
createdAt: zod_1.z.number().optional(),
|
|
12
|
+
});
|
|
13
|
+
exports.supportCreateSchema = exports.supportSchema.omit({ id: true });
|