@ttt-productions/ttt-core 0.2.16 → 0.2.18
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/schemas/social.d.ts
CHANGED
|
@@ -15,4 +15,53 @@ export declare const UnlikeStreetzPostInputSchema: z.ZodObject<{
|
|
|
15
15
|
postId: string;
|
|
16
16
|
}>;
|
|
17
17
|
export type UnlikeStreetzPostInput = z.infer<typeof UnlikeStreetzPostInputSchema>;
|
|
18
|
+
export declare const FollowUserInputSchema: z.ZodObject<{
|
|
19
|
+
targetUid: z.ZodString;
|
|
20
|
+
}, "strict", z.ZodTypeAny, {
|
|
21
|
+
targetUid: string;
|
|
22
|
+
}, {
|
|
23
|
+
targetUid: string;
|
|
24
|
+
}>;
|
|
25
|
+
export type FollowUserInput = z.infer<typeof FollowUserInputSchema>;
|
|
26
|
+
export declare const UnfollowUserInputSchema: z.ZodObject<{
|
|
27
|
+
targetUid: z.ZodString;
|
|
28
|
+
}, "strict", z.ZodTypeAny, {
|
|
29
|
+
targetUid: string;
|
|
30
|
+
}, {
|
|
31
|
+
targetUid: string;
|
|
32
|
+
}>;
|
|
33
|
+
export type UnfollowUserInput = z.infer<typeof UnfollowUserInputSchema>;
|
|
34
|
+
export declare const AddToMentionHistoryInputSchema: z.ZodObject<{
|
|
35
|
+
mention: z.ZodObject<{
|
|
36
|
+
placeholder: z.ZodString;
|
|
37
|
+
type: z.ZodEnum<["user", "project", "job", "opportunity"]>;
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
text: z.ZodString;
|
|
40
|
+
}, "strict", z.ZodTypeAny, {
|
|
41
|
+
type: "user" | "project" | "job" | "opportunity";
|
|
42
|
+
placeholder: string;
|
|
43
|
+
id: string;
|
|
44
|
+
text: string;
|
|
45
|
+
}, {
|
|
46
|
+
type: "user" | "project" | "job" | "opportunity";
|
|
47
|
+
placeholder: string;
|
|
48
|
+
id: string;
|
|
49
|
+
text: string;
|
|
50
|
+
}>;
|
|
51
|
+
}, "strict", z.ZodTypeAny, {
|
|
52
|
+
mention: {
|
|
53
|
+
type: "user" | "project" | "job" | "opportunity";
|
|
54
|
+
placeholder: string;
|
|
55
|
+
id: string;
|
|
56
|
+
text: string;
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
mention: {
|
|
60
|
+
type: "user" | "project" | "job" | "opportunity";
|
|
61
|
+
placeholder: string;
|
|
62
|
+
id: string;
|
|
63
|
+
text: string;
|
|
64
|
+
};
|
|
65
|
+
}>;
|
|
66
|
+
export type AddToMentionHistoryInput = z.infer<typeof AddToMentionHistoryInputSchema>;
|
|
18
67
|
//# sourceMappingURL=social.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../src/schemas/social.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../src/schemas/social.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;EAE5B,CAAC;AACZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,4BAA4B;;;;;;EAE9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,qBAAqB;;;;;;EAEvB,CAAC;AACZ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,uBAAuB;;;;;;EAEzB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
package/dist/schemas/social.js
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { MentionSchema } from '@ttt-productions/media-contracts';
|
|
3
|
+
import { userIdSchema } from './atoms.js';
|
|
2
4
|
export const LikeStreetzPostInputSchema = z.object({
|
|
3
5
|
postId: z.string().min(1),
|
|
4
6
|
}).strict();
|
|
5
7
|
export const UnlikeStreetzPostInputSchema = z.object({
|
|
6
8
|
postId: z.string().min(1),
|
|
7
9
|
}).strict();
|
|
10
|
+
export const FollowUserInputSchema = z.object({
|
|
11
|
+
targetUid: userIdSchema,
|
|
12
|
+
}).strict();
|
|
13
|
+
export const UnfollowUserInputSchema = z.object({
|
|
14
|
+
targetUid: userIdSchema,
|
|
15
|
+
}).strict();
|
|
16
|
+
export const AddToMentionHistoryInputSchema = z.object({
|
|
17
|
+
mention: MentionSchema,
|
|
18
|
+
}).strict();
|
|
8
19
|
//# sourceMappingURL=social.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social.js","sourceRoot":"","sources":["../../src/schemas/social.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"social.js","sourceRoot":"","sources":["../../src/schemas/social.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC1B,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC1B,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,SAAS,EAAE,YAAY;CACxB,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,YAAY;CACxB,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC,MAAM,EAAE,CAAC"}
|