@ttt-productions/ttt-core 0.2.13 → 0.2.15

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 (75) hide show
  1. package/dist/constants/chat.d.ts +12 -0
  2. package/dist/constants/chat.d.ts.map +1 -0
  3. package/dist/constants/chat.js +12 -0
  4. package/dist/constants/chat.js.map +1 -0
  5. package/dist/constants/index.d.ts +1 -0
  6. package/dist/constants/index.d.ts.map +1 -1
  7. package/dist/constants/index.js +1 -0
  8. package/dist/constants/index.js.map +1 -1
  9. package/dist/schemas/admin.d.ts +44 -0
  10. package/dist/schemas/admin.d.ts.map +1 -0
  11. package/dist/schemas/admin.js +24 -0
  12. package/dist/schemas/admin.js.map +1 -0
  13. package/dist/schemas/atoms.d.ts +24 -0
  14. package/dist/schemas/atoms.d.ts.map +1 -0
  15. package/dist/schemas/atoms.js +29 -0
  16. package/dist/schemas/atoms.js.map +1 -0
  17. package/dist/schemas/chat.d.ts +294 -0
  18. package/dist/schemas/chat.d.ts.map +1 -0
  19. package/dist/schemas/chat.js +75 -0
  20. package/dist/schemas/chat.js.map +1 -0
  21. package/dist/schemas/index.d.ts +16 -0
  22. package/dist/schemas/index.d.ts.map +1 -0
  23. package/dist/schemas/index.js +16 -0
  24. package/dist/schemas/index.js.map +1 -0
  25. package/dist/schemas/jobs.d.ts +57 -0
  26. package/dist/schemas/jobs.d.ts.map +1 -0
  27. package/dist/schemas/jobs.js +23 -0
  28. package/dist/schemas/jobs.js.map +1 -0
  29. package/dist/schemas/library.d.ts +240 -0
  30. package/dist/schemas/library.d.ts.map +1 -0
  31. package/dist/schemas/library.js +88 -0
  32. package/dist/schemas/library.js.map +1 -0
  33. package/dist/schemas/opportunities.d.ts +10 -0
  34. package/dist/schemas/opportunities.d.ts.map +1 -0
  35. package/dist/schemas/opportunities.js +6 -0
  36. package/dist/schemas/opportunities.js.map +1 -0
  37. package/dist/schemas/payments.d.ts +13 -0
  38. package/dist/schemas/payments.d.ts.map +1 -0
  39. package/dist/schemas/payments.js +6 -0
  40. package/dist/schemas/payments.js.map +1 -0
  41. package/dist/schemas/project-management.d.ts +195 -0
  42. package/dist/schemas/project-management.d.ts.map +1 -0
  43. package/dist/schemas/project-management.js +65 -0
  44. package/dist/schemas/project-management.js.map +1 -0
  45. package/dist/schemas/share-operation.d.ts +376 -0
  46. package/dist/schemas/share-operation.d.ts.map +1 -0
  47. package/dist/schemas/share-operation.js +61 -0
  48. package/dist/schemas/share-operation.js.map +1 -0
  49. package/dist/schemas/skills.d.ts +24 -0
  50. package/dist/schemas/skills.d.ts.map +1 -0
  51. package/dist/schemas/skills.js +11 -0
  52. package/dist/schemas/skills.js.map +1 -0
  53. package/dist/schemas/social.d.ts +18 -0
  54. package/dist/schemas/social.d.ts.map +1 -0
  55. package/dist/schemas/social.js +8 -0
  56. package/dist/schemas/social.js.map +1 -0
  57. package/dist/schemas/system-message-actions.d.ts +38 -0
  58. package/dist/schemas/system-message-actions.d.ts.map +1 -0
  59. package/dist/schemas/system-message-actions.js +17 -0
  60. package/dist/schemas/system-message-actions.js.map +1 -0
  61. package/dist/schemas/users.d.ts +60 -0
  62. package/dist/schemas/users.d.ts.map +1 -0
  63. package/dist/schemas/users.js +25 -0
  64. package/dist/schemas/users.js.map +1 -0
  65. package/dist/schemas/utility.d.ts +45 -0
  66. package/dist/schemas/utility.d.ts.map +1 -0
  67. package/dist/schemas/utility.js +20 -0
  68. package/dist/schemas/utility.js.map +1 -0
  69. package/dist/schemas/voting.d.ts +26 -0
  70. package/dist/schemas/voting.d.ts.map +1 -0
  71. package/dist/schemas/voting.js +11 -0
  72. package/dist/schemas/voting.js.map +1 -0
  73. package/dist/types/project.d.ts +1 -11
  74. package/dist/types/project.d.ts.map +1 -1
  75. package/package.json +7 -2
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Chat-related constants shared between ttt-core (schemas) and chat-core (UI/runtime).
3
+ *
4
+ * These live here so ttt-core's schemas/chat.ts and schemas/system-message-actions.ts
5
+ * can use them without depending on chat-core (which would create a circular package
6
+ * dependency — chat-core already depends on ttt-core).
7
+ *
8
+ * chat-core re-exports these constants from its public surface so existing chat-core
9
+ * consumers see no change.
10
+ */
11
+ export declare const MAX_CHAT_MESSAGE_LENGTH = 4000;
12
+ //# sourceMappingURL=chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/constants/chat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,OAAO,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Chat-related constants shared between ttt-core (schemas) and chat-core (UI/runtime).
3
+ *
4
+ * These live here so ttt-core's schemas/chat.ts and schemas/system-message-actions.ts
5
+ * can use them without depending on chat-core (which would create a circular package
6
+ * dependency — chat-core already depends on ttt-core).
7
+ *
8
+ * chat-core re-exports these constants from its public surface so existing chat-core
9
+ * consumers see no change.
10
+ */
11
+ export const MAX_CHAT_MESSAGE_LENGTH = 4000;
12
+ //# sourceMappingURL=chat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/constants/chat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './business.js';
2
+ export * from './chat.js';
2
3
  export * from './moderation.js';
3
4
  export * from './options.js';
4
5
  export * from './pagination.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './business.js';
2
+ export * from './chat.js';
2
3
  export * from './moderation.js';
3
4
  export * from './options.js';
4
5
  export * from './pagination.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,44 @@
1
+ import { z } from 'zod';
2
+ import type { AdminTaskType } from '../types/admin.js';
3
+ export declare const CheckoutNextImportantTaskInputSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
4
+ export type CheckoutNextImportantTaskInput = z.infer<typeof CheckoutNextImportantTaskInputSchema>;
5
+ export declare const GetContentViolationInputSchema: z.ZodObject<{
6
+ violationId: z.ZodString;
7
+ }, "strict", z.ZodTypeAny, {
8
+ violationId: string;
9
+ }, {
10
+ violationId: string;
11
+ }>;
12
+ export type GetContentViolationInput = z.infer<typeof GetContentViolationInputSchema>;
13
+ export declare const MarkWorkLaterInputSchema: z.ZodObject<{
14
+ taskId: z.ZodString;
15
+ taskType: z.ZodEnum<[AdminTaskType, ...AdminTaskType[]]>;
16
+ extendHours: z.ZodUnion<[z.ZodLiteral<24>, z.ZodLiteral<48>]>;
17
+ }, "strict", z.ZodTypeAny, {
18
+ taskId: string;
19
+ taskType: AdminTaskType;
20
+ extendHours: 24 | 48;
21
+ }, {
22
+ taskId: string;
23
+ taskType: AdminTaskType;
24
+ extendHours: 24 | 48;
25
+ }>;
26
+ export type MarkWorkLaterInput = z.infer<typeof MarkWorkLaterInputSchema>;
27
+ export declare const ReviewContentAppealInputSchema: z.ZodObject<{
28
+ violationId: z.ZodString;
29
+ taskId: z.ZodString;
30
+ decision: z.ZodEnum<["approved", "denied"]>;
31
+ adminNotes: z.ZodString;
32
+ }, "strict", z.ZodTypeAny, {
33
+ violationId: string;
34
+ taskId: string;
35
+ decision: "approved" | "denied";
36
+ adminNotes: string;
37
+ }, {
38
+ violationId: string;
39
+ taskId: string;
40
+ decision: "approved" | "denied";
41
+ adminNotes: string;
42
+ }>;
43
+ export type ReviewContentAppealInput = z.infer<typeof ReviewContentAppealInputSchema>;
44
+ //# sourceMappingURL=admin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../src/schemas/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AASvD,eAAO,MAAM,oCAAoC,iDAAwB,CAAC;AAC1E,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG,eAAO,MAAM,8BAA8B;;;;;;EAEhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAI1B,CAAC;AACZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;EAKhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ import { violationIdSchema, taskIdSchema } from './atoms.js';
3
+ const ADMIN_TASK_TYPES = [
4
+ 'systemMessage',
5
+ 'libraryReview',
6
+ 'userReport',
7
+ 'content-appeal',
8
+ ];
9
+ export const CheckoutNextImportantTaskInputSchema = z.object({}).strict();
10
+ export const GetContentViolationInputSchema = z.object({
11
+ violationId: violationIdSchema,
12
+ }).strict();
13
+ export const MarkWorkLaterInputSchema = z.object({
14
+ taskId: taskIdSchema,
15
+ taskType: z.enum(ADMIN_TASK_TYPES),
16
+ extendHours: z.union([z.literal(24), z.literal(48)]),
17
+ }).strict();
18
+ export const ReviewContentAppealInputSchema = z.object({
19
+ violationId: violationIdSchema,
20
+ taskId: taskIdSchema,
21
+ decision: z.enum(['approved', 'denied']),
22
+ adminNotes: z.string().max(2000),
23
+ }).strict();
24
+ //# sourceMappingURL=admin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../src/schemas/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG7D,MAAM,gBAAgB,GAAwC;IAC5D,eAAe;IACf,eAAe;IACf,YAAY;IACZ,gBAAgB;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;AAG1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,WAAW,EAAE,iBAAiB;CAC/B,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,YAAY;IACpB,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IAClC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;CACrD,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,WAAW,EAAE,iBAAiB;IAC9B,MAAM,EAAE,YAAY;IACpB,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;CACjC,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ export declare const projectIdSchema: z.ZodString;
3
+ export declare const userIdSchema: z.ZodString;
4
+ export declare const inviteIdSchema: z.ZodString;
5
+ export declare const violationIdSchema: z.ZodString;
6
+ export declare const opportunityIdSchema: z.ZodString;
7
+ export declare const jobIdSchema: z.ZodString;
8
+ export declare const replyIdSchema: z.ZodString;
9
+ export declare const channelIdSchema: z.ZodString;
10
+ export declare const taleIdSchema: z.ZodString;
11
+ export declare const tuneIdSchema: z.ZodString;
12
+ export declare const televisionIdSchema: z.ZodString;
13
+ export declare const chapterIdSchema: z.ZodString;
14
+ export declare const songIdSchema: z.ZodString;
15
+ export declare const showIdSchema: z.ZodString;
16
+ export declare const skillIdSchema: z.ZodString;
17
+ export declare const taskIdSchema: z.ZodString;
18
+ export declare const messageIdSchema: z.ZodString;
19
+ export declare const libraryIdSchema: z.ZodString;
20
+ export declare const itemIdSchema: z.ZodString;
21
+ export declare const addRemoveActionSchema: z.ZodEnum<["add", "remove"]>;
22
+ export declare const projectTypeSchema: z.ZodEnum<["Tales", "Tunes", "Television"]>;
23
+ export declare const titleSchema: z.ZodString;
24
+ //# sourceMappingURL=atoms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atoms.d.ts","sourceRoot":"","sources":["../../src/schemas/atoms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,eAAe,aAAoB,CAAC;AACjD,eAAO,MAAM,YAAY,aAAoB,CAAC;AAC9C,eAAO,MAAM,cAAc,aAAoB,CAAC;AAChD,eAAO,MAAM,iBAAiB,aAAoB,CAAC;AACnD,eAAO,MAAM,mBAAmB,aAAoB,CAAC;AACrD,eAAO,MAAM,WAAW,aAAoB,CAAC;AAC7C,eAAO,MAAM,aAAa,aAAoB,CAAC;AAC/C,eAAO,MAAM,eAAe,aAAoB,CAAC;AACjD,eAAO,MAAM,YAAY,aAAoB,CAAC;AAC9C,eAAO,MAAM,YAAY,aAAoB,CAAC;AAC9C,eAAO,MAAM,kBAAkB,aAAoB,CAAC;AACpD,eAAO,MAAM,eAAe,aAAoB,CAAC;AACjD,eAAO,MAAM,YAAY,aAAoB,CAAC;AAC9C,eAAO,MAAM,YAAY,aAAoB,CAAC;AAC9C,eAAO,MAAM,aAAa,aAAoB,CAAC;AAC/C,eAAO,MAAM,YAAY,aAAoB,CAAC;AAC9C,eAAO,MAAM,eAAe,aAAoB,CAAC;AACjD,eAAO,MAAM,eAAe,aAAoB,CAAC;AACjD,eAAO,MAAM,YAAY,aAAoB,CAAC;AAG9C,eAAO,MAAM,qBAAqB,8BAA4B,CAAC;AAC/D,eAAO,MAAM,iBAAiB,6CAA2C,CAAC;AAG1E,eAAO,MAAM,WAAW,aAA6B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { z } from 'zod';
2
+ // ID atoms — every callable input that includes an ID field uses one of these.
3
+ // Kept as separate constants (not aliases of a generic `idSchema`) so consumers
4
+ // reading a callable's schema can see exactly which entity the field refers to.
5
+ export const projectIdSchema = z.string().min(1);
6
+ export const userIdSchema = z.string().min(1);
7
+ export const inviteIdSchema = z.string().min(1);
8
+ export const violationIdSchema = z.string().min(1);
9
+ export const opportunityIdSchema = z.string().min(1);
10
+ export const jobIdSchema = z.string().min(1);
11
+ export const replyIdSchema = z.string().min(1);
12
+ export const channelIdSchema = z.string().min(1);
13
+ export const taleIdSchema = z.string().min(1);
14
+ export const tuneIdSchema = z.string().min(1);
15
+ export const televisionIdSchema = z.string().min(1);
16
+ export const chapterIdSchema = z.string().min(1);
17
+ export const songIdSchema = z.string().min(1);
18
+ export const showIdSchema = z.string().min(1);
19
+ export const skillIdSchema = z.string().min(1);
20
+ export const taskIdSchema = z.string().min(1);
21
+ export const messageIdSchema = z.string().min(1);
22
+ export const libraryIdSchema = z.string().min(1);
23
+ export const itemIdSchema = z.string().min(1);
24
+ // Action / enum atoms.
25
+ export const addRemoveActionSchema = z.enum(['add', 'remove']);
26
+ export const projectTypeSchema = z.enum(['Tales', 'Tunes', 'Television']);
27
+ // String shape atoms.
28
+ export const titleSchema = z.string().min(1).max(200);
29
+ //# sourceMappingURL=atoms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atoms.js","sourceRoot":"","sources":["../../src/schemas/atoms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+EAA+E;AAC/E,gFAAgF;AAChF,gFAAgF;AAChF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACjD,MAAM,CAAC,MAAM,Y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C,CAAC;AAC9C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAC/C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAC9C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACjD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACjD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE9C,uBAAuB;AACvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC/D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;AAE1E,sBAAsB;AACtB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC"}
@@ -0,0 +1,294 @@
1
+ import { z } from 'zod';
2
+ export declare const ArchiveChatChannelInputSchema: z.ZodObject<{
3
+ projectId: z.ZodString;
4
+ channelId: z.ZodString;
5
+ }, "strict", z.ZodTypeAny, {
6
+ projectId: string;
7
+ channelId: string;
8
+ }, {
9
+ projectId: string;
10
+ channelId: string;
11
+ }>;
12
+ export type ArchiveChatChannelInput = z.infer<typeof ArchiveChatChannelInputSchema>;
13
+ export declare const CreateChatChannelInputSchema: z.ZodObject<{
14
+ projectId: z.ZodString;
15
+ channelName: z.ZodString;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ requiredRoles: z.ZodArray<z.ZodString, "many">;
18
+ allowedUserIds: z.ZodArray<z.ZodString, "many">;
19
+ }, "strict", z.ZodTypeAny, {
20
+ projectId: string;
21
+ channelName: string;
22
+ requiredRoles: string[];
23
+ allowedUserIds: string[];
24
+ description?: string | undefined;
25
+ }, {
26
+ projectId: string;
27
+ channelName: string;
28
+ requiredRoles: string[];
29
+ allowedUserIds: string[];
30
+ description?: string | undefined;
31
+ }>;
32
+ export type CreateChatChannelInput = z.infer<typeof CreateChatChannelInputSchema>;
33
+ export declare const SendChatMessageInputSchema: z.ZodDiscriminatedUnion<"threadKind", [z.ZodObject<{
34
+ threadKind: z.ZodLiteral<"projectChannel">;
35
+ projectId: z.ZodString;
36
+ channelId: z.ZodString;
37
+ text: z.ZodString;
38
+ replyTo: z.ZodOptional<z.ZodObject<{
39
+ messageId: z.ZodString;
40
+ senderId: z.ZodString;
41
+ messagePreview: z.ZodString;
42
+ }, "strict", z.ZodTypeAny, {
43
+ messageId: string;
44
+ senderId: string;
45
+ messagePreview: string;
46
+ }, {
47
+ messageId: string;
48
+ senderId: string;
49
+ messagePreview: string;
50
+ }>>;
51
+ attachment: z.ZodOptional<z.ZodObject<{
52
+ id: z.ZodString;
53
+ name: z.ZodString;
54
+ type: z.ZodEnum<["image", "video", "audio", "text"]>;
55
+ size: z.ZodNumber;
56
+ url: z.ZodString;
57
+ storagePath: z.ZodString;
58
+ }, "strict", z.ZodTypeAny, {
59
+ type: "video" | "image" | "audio" | "text";
60
+ id: string;
61
+ name: string;
62
+ size: number;
63
+ url: string;
64
+ storagePath: string;
65
+ }, {
66
+ type: "video" | "image" | "audio" | "text";
67
+ id: string;
68
+ name: string;
69
+ size: number;
70
+ url: string;
71
+ storagePath: string;
72
+ }>>;
73
+ }, "strict", z.ZodTypeAny, {
74
+ projectId: string;
75
+ text: string;
76
+ channelId: string;
77
+ threadKind: "projectChannel";
78
+ replyTo?: {
79
+ messageId: string;
80
+ senderId: string;
81
+ messagePreview: string;
82
+ } | undefined;
83
+ attachment?: {
84
+ type: "video" | "image" | "audio" | "text";
85
+ id: string;
86
+ name: string;
87
+ size: number;
88
+ url: string;
89
+ storagePath: string;
90
+ } | undefined;
91
+ }, {
92
+ projectId: string;
93
+ text: string;
94
+ channelId: string;
95
+ threadKind: "projectChannel";
96
+ replyTo?: {
97
+ messageId: string;
98
+ senderId: string;
99
+ messagePreview: string;
100
+ } | undefined;
101
+ attachment?: {
102
+ type: "video" | "image" | "audio" | "text";
103
+ id: string;
104
+ name: string;
105
+ size: number;
106
+ url: string;
107
+ storagePath: string;
108
+ } | undefined;
109
+ }>, z.ZodObject<{
110
+ threadKind: z.ZodLiteral<"projectInvite">;
111
+ inviteId: z.ZodString;
112
+ text: z.ZodString;
113
+ replyTo: z.ZodOptional<z.ZodObject<{
114
+ messageId: z.ZodString;
115
+ senderId: z.ZodString;
116
+ messagePreview: z.ZodString;
117
+ }, "strict", z.ZodTypeAny, {
118
+ messageId: string;
119
+ senderId: string;
120
+ messagePreview: string;
121
+ }, {
122
+ messageId: string;
123
+ senderId: string;
124
+ messagePreview: string;
125
+ }>>;
126
+ attachment: z.ZodOptional<z.ZodObject<{
127
+ id: z.ZodString;
128
+ name: z.ZodString;
129
+ type: z.ZodEnum<["image", "video", "audio", "text"]>;
130
+ size: z.ZodNumber;
131
+ url: z.ZodString;
132
+ storagePath: z.ZodString;
133
+ }, "strict", z.ZodTypeAny, {
134
+ type: "video" | "image" | "audio" | "text";
135
+ id: string;
136
+ name: string;
137
+ size: number;
138
+ url: string;
139
+ storagePath: string;
140
+ }, {
141
+ type: "video" | "image" | "audio" | "text";
142
+ id: string;
143
+ name: string;
144
+ size: number;
145
+ url: string;
146
+ storagePath: string;
147
+ }>>;
148
+ }, "strict", z.ZodTypeAny, {
149
+ text: string;
150
+ threadKind: "projectInvite";
151
+ inviteId: string;
152
+ replyTo?: {
153
+ messageId: string;
154
+ senderId: string;
155
+ messagePreview: string;
156
+ } | undefined;
157
+ attachment?: {
158
+ type: "video" | "image" | "audio" | "text";
159
+ id: string;
160
+ name: string;
161
+ size: number;
162
+ url: string;
163
+ storagePath: string;
164
+ } | undefined;
165
+ }, {
166
+ text: string;
167
+ threadKind: "projectInvite";
168
+ inviteId: string;
169
+ replyTo?: {
170
+ messageId: string;
171
+ senderId: string;
172
+ messagePreview: string;
173
+ } | undefined;
174
+ attachment?: {
175
+ type: "video" | "image" | "audio" | "text";
176
+ id: string;
177
+ name: string;
178
+ size: number;
179
+ url: string;
180
+ storagePath: string;
181
+ } | undefined;
182
+ }>, z.ZodObject<{
183
+ threadKind: z.ZodLiteral<"adminSupport">;
184
+ adminMessageId: z.ZodString;
185
+ isUserReply: z.ZodBoolean;
186
+ text: z.ZodString;
187
+ replyTo: z.ZodOptional<z.ZodObject<{
188
+ messageId: z.ZodString;
189
+ senderId: z.ZodString;
190
+ messagePreview: z.ZodString;
191
+ }, "strict", z.ZodTypeAny, {
192
+ messageId: string;
193
+ senderId: string;
194
+ messagePreview: string;
195
+ }, {
196
+ messageId: string;
197
+ senderId: string;
198
+ messagePreview: string;
199
+ }>>;
200
+ attachment: z.ZodOptional<z.ZodObject<{
201
+ id: z.ZodString;
202
+ name: z.ZodString;
203
+ type: z.ZodEnum<["image", "video", "audio", "text"]>;
204
+ size: z.ZodNumber;
205
+ url: z.ZodString;
206
+ storagePath: z.ZodString;
207
+ }, "strict", z.ZodTypeAny, {
208
+ type: "video" | "image" | "audio" | "text";
209
+ id: string;
210
+ name: string;
211
+ size: number;
212
+ url: string;
213
+ storagePath: string;
214
+ }, {
215
+ type: "video" | "image" | "audio" | "text";
216
+ id: string;
217
+ name: string;
218
+ size: number;
219
+ url: string;
220
+ storagePath: string;
221
+ }>>;
222
+ }, "strict", z.ZodTypeAny, {
223
+ text: string;
224
+ threadKind: "adminSupport";
225
+ adminMessageId: string;
226
+ isUserReply: boolean;
227
+ replyTo?: {
228
+ messageId: string;
229
+ senderId: string;
230
+ messagePreview: string;
231
+ } | undefined;
232
+ attachment?: {
233
+ type: "video" | "image" | "audio" | "text";
234
+ id: string;
235
+ name: string;
236
+ size: number;
237
+ url: string;
238
+ storagePath: string;
239
+ } | undefined;
240
+ }, {
241
+ text: string;
242
+ threadKind: "adminSupport";
243
+ adminMessageId: string;
244
+ isUserReply: boolean;
245
+ replyTo?: {
246
+ messageId: string;
247
+ senderId: string;
248
+ messagePreview: string;
249
+ } | undefined;
250
+ attachment?: {
251
+ type: "video" | "image" | "audio" | "text";
252
+ id: string;
253
+ name: string;
254
+ size: number;
255
+ url: string;
256
+ storagePath: string;
257
+ } | undefined;
258
+ }>]>;
259
+ export type SendChatMessageInput = z.infer<typeof SendChatMessageInputSchema>;
260
+ export declare const StartAdminSupportThreadInputSchema: z.ZodObject<{
261
+ subject: z.ZodString;
262
+ initialMessage: z.ZodString;
263
+ }, "strict", z.ZodTypeAny, {
264
+ subject: string;
265
+ initialMessage: string;
266
+ }, {
267
+ subject: string;
268
+ initialMessage: string;
269
+ }>;
270
+ export type StartAdminSupportThreadInput = z.infer<typeof StartAdminSupportThreadInputSchema>;
271
+ export declare const UpdateChatChannelInputSchema: z.ZodObject<{
272
+ projectId: z.ZodString;
273
+ channelId: z.ZodString;
274
+ channelName: z.ZodOptional<z.ZodString>;
275
+ description: z.ZodOptional<z.ZodString>;
276
+ requiredRoles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
277
+ allowedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
278
+ }, "strict", z.ZodTypeAny, {
279
+ projectId: string;
280
+ channelId: string;
281
+ channelName?: string | undefined;
282
+ description?: string | undefined;
283
+ requiredRoles?: string[] | undefined;
284
+ allowedUserIds?: string[] | undefined;
285
+ }, {
286
+ projectId: string;
287
+ channelId: string;
288
+ channelName?: string | undefined;
289
+ description?: string | undefined;
290
+ requiredRoles?: string[] | undefined;
291
+ allowedUserIds?: string[] | undefined;
292
+ }>;
293
+ export type UpdateChatChannelInput = z.infer<typeof UpdateChatChannelInputSchema>;
294
+ //# sourceMappingURL=chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/schemas/chat.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,6BAA6B;;;;;;;;;EAG/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwBrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,kCAAkC;;;;;;;;;EAGpC,CAAC;AACZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;EAO9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -0,0 +1,75 @@
1
+ // ---------------------------------------------------------------------------
2
+ // TODO(chat-core): ReplyToSchema and ChatAttachmentSchema are parked here
3
+ // temporarily. They describe ChatMessage-shaped data and rightfully belong
4
+ // in @ttt-productions/chat-core, but chat-core does not yet have a Zod
5
+ // surface. Move them when chat-core grows one.
6
+ //
7
+ // See:
8
+ // - docs/design/architectural-preferences.md (Section 2)
9
+ // - the chat architecture review backlog
10
+ // ---------------------------------------------------------------------------
11
+ import { z } from 'zod';
12
+ import { projectIdSchema, channelIdSchema, inviteIdSchema, messageIdSchema, } from './atoms.js';
13
+ import { MAX_CHAT_MESSAGE_LENGTH } from '../constants/chat.js';
14
+ const ReplyToSchema = z.object({
15
+ messageId: messageIdSchema,
16
+ senderId: z.string().min(1),
17
+ messagePreview: z.string(),
18
+ }).strict();
19
+ const ChatAttachmentSchema = z.object({
20
+ id: z.string().min(1),
21
+ name: z.string(),
22
+ type: z.enum(['image', 'video', 'audio', 'text']),
23
+ size: z.number(),
24
+ url: z.string(),
25
+ storagePath: z.string(),
26
+ }).strict();
27
+ export const ArchiveChatChannelInputSchema = z.object({
28
+ projectId: projectIdSchema,
29
+ channelId: channelIdSchema,
30
+ }).strict();
31
+ export const CreateChatChannelInputSchema = z.object({
32
+ projectId: projectIdSchema,
33
+ channelName: z.string().min(1).max(100),
34
+ description: z.string().max(500).optional(),
35
+ requiredRoles: z.array(z.string()),
36
+ allowedUserIds: z.array(z.string()),
37
+ }).strict();
38
+ export const SendChatMessageInputSchema = z.discriminatedUnion('threadKind', [
39
+ z.object({
40
+ threadKind: z.literal('projectChannel'),
41
+ projectId: projectIdSchema,
42
+ channelId: channelIdSchema,
43
+ text: z.string().max(MAX_CHAT_MESSAGE_LENGTH),
44
+ replyTo: ReplyToSchema.optional(),
45
+ attachment: ChatAttachmentSchema.optional(),
46
+ }).strict(),
47
+ z.object({
48
+ threadKind: z.literal('projectInvite'),
49
+ inviteId: inviteIdSchema,
50
+ text: z.string().max(MAX_CHAT_MESSAGE_LENGTH),
51
+ replyTo: ReplyToSchema.optional(),
52
+ attachment: ChatAttachmentSchema.optional(),
53
+ }).strict(),
54
+ z.object({
55
+ threadKind: z.literal('adminSupport'),
56
+ adminMessageId: messageIdSchema,
57
+ isUserReply: z.boolean(),
58
+ text: z.string().max(MAX_CHAT_MESSAGE_LENGTH),
59
+ replyTo: ReplyToSchema.optional(),
60
+ attachment: ChatAttachmentSchema.optional(),
61
+ }).strict(),
62
+ ]);
63
+ export const StartAdminSupportThreadInputSchema = z.object({
64
+ subject: z.string().min(1).max(MAX_CHAT_MESSAGE_LENGTH),
65
+ initialMessage: z.string().min(1).max(MAX_CHAT_MESSAGE_LENGTH),
66
+ }).strict();
67
+ export const UpdateChatChannelInputSchema = z.object({
68
+ projectId: projectIdSchema,
69
+ channelId: channelIdSchema,
70
+ channelName: z.string().min(1).max(100).optional(),
71
+ description: z.string().max(500).optional(),
72
+ requiredRoles: z.array(z.string()).optional(),
73
+ allowedUserIds: z.array(z.string()).optional(),
74
+ }).strict();
75
+ //# sourceMappingURL=chat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/schemas/chat.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,0EAA0E;AAC1E,2EAA2E;AAC3E,uEAAuE;AACvE,+CAA+C;AAC/C,EAAE;AACF,OAAO;AACP,2DAA2D;AAC3D,2CAA2C;AAC3C,8EAA8E;AAE9E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,SAAS,EAAE,eAAe;IAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,oBAA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,MAAM,CAAC;IACnD,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,eAAe;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAClD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC3C,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -0,0 +1,16 @@
1
+ export * from './atoms.js';
2
+ export * from './share-operation.js';
3
+ export * from './admin.js';
4
+ export * from './chat.js';
5
+ export * from './jobs.js';
6
+ export * from './library.js';
7
+ export * from './opportunities.js';
8
+ export * from './payments.js';
9
+ export * from './project-management.js';
10
+ export * from './skills.js';
11
+ export * from './social.js';
12
+ export * from './system-message-actions.js';
13
+ export * from './users.js';
14
+ export * from './utility.js';
15
+ export * from './voting.js';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,16 @@
1
+ export * from './atoms.js';
2
+ export * from './share-operation.js';
3
+ export * from './admin.js';
4
+ export * from './chat.js';
5
+ export * from './jobs.js';
6
+ export * from './library.js';
7
+ export * from './opportunities.js';
8
+ export * from './payments.js';
9
+ export * from './project-management.js';
10
+ export * from './skills.js';
11
+ export * from './social.js';
12
+ export * from './system-message-actions.js';
13
+ export * from './users.js';
14
+ export * from './utility.js';
15
+ export * from './voting.js';
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}