@ttt-productions/ttt-core 0.6.7 → 0.7.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 (294) hide show
  1. package/dist/constants/business.d.ts +57 -57
  2. package/dist/constants/business.d.ts.map +1 -1
  3. package/dist/constants/business.js +71 -71
  4. package/dist/constants/business.js.map +1 -1
  5. package/dist/constants/options.d.ts +22 -22
  6. package/dist/constants/options.d.ts.map +1 -1
  7. package/dist/constants/options.js +28 -28
  8. package/dist/constants/options.js.map +1 -1
  9. package/dist/constants/pagination.d.ts +18 -18
  10. package/dist/constants/pagination.d.ts.map +1 -1
  11. package/dist/constants/pagination.js +20 -20
  12. package/dist/constants/pagination.js.map +1 -1
  13. package/dist/constants/retention.d.ts +5 -5
  14. package/dist/constants/retention.d.ts.map +1 -1
  15. package/dist/constants/retention.js +6 -6
  16. package/dist/constants/retention.js.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/media/atoms.d.ts +9 -9
  22. package/dist/media/atoms.d.ts.map +1 -1
  23. package/dist/media/atoms.js +3 -3
  24. package/dist/media/atoms.js.map +1 -1
  25. package/dist/media/domain-events.d.ts +701 -701
  26. package/dist/media/domain-events.d.ts.map +1 -1
  27. package/dist/media/domain-events.js +145 -145
  28. package/dist/media/domain-events.js.map +1 -1
  29. package/dist/media/file-origin.d.ts +1 -1
  30. package/dist/media/file-origin.d.ts.map +1 -1
  31. package/dist/media/file-origin.js +16 -16
  32. package/dist/media/file-origin.js.map +1 -1
  33. package/dist/media/hall-library-target-fields.d.ts +13 -0
  34. package/dist/media/hall-library-target-fields.d.ts.map +1 -0
  35. package/dist/media/hall-library-target-fields.js +21 -0
  36. package/dist/media/hall-library-target-fields.js.map +1 -0
  37. package/dist/media/index.d.ts +2 -2
  38. package/dist/media/index.d.ts.map +1 -1
  39. package/dist/media/index.js +2 -2
  40. package/dist/media/index.js.map +1 -1
  41. package/dist/media/pending-media.d.ts +5774 -5774
  42. package/dist/media/start-upload.d.ts +3 -3
  43. package/dist/media/target-info.d.ts +150 -150
  44. package/dist/media/target-info.d.ts.map +1 -1
  45. package/dist/media/target-info.js +80 -80
  46. package/dist/media/target-info.js.map +1 -1
  47. package/dist/media/ttt-media-specs.js +16 -16
  48. package/dist/media/ttt-media-specs.js.map +1 -1
  49. package/dist/media/upload-tray-display.js +16 -16
  50. package/dist/media/upload-tray-display.js.map +1 -1
  51. package/dist/paths/collection-groups.d.ts +7 -7
  52. package/dist/paths/collection-groups.js +7 -7
  53. package/dist/paths/collection-groups.js.map +1 -1
  54. package/dist/paths/collection-refs.d.ts +14 -14
  55. package/dist/paths/collection-refs.d.ts.map +1 -1
  56. package/dist/paths/collection-refs.js +20 -20
  57. package/dist/paths/collection-refs.js.map +1 -1
  58. package/dist/paths/collections.d.ts +31 -31
  59. package/dist/paths/collections.d.ts.map +1 -1
  60. package/dist/paths/collections.js +34 -34
  61. package/dist/paths/collections.js.map +1 -1
  62. package/dist/paths/path-builders.d.ts +31 -31
  63. package/dist/paths/path-builders.d.ts.map +1 -1
  64. package/dist/paths/path-builders.js +42 -42
  65. package/dist/paths/path-builders.js.map +1 -1
  66. package/dist/permissions/guild-standing-assignment-policy.d.ts +17 -0
  67. package/dist/permissions/guild-standing-assignment-policy.d.ts.map +1 -0
  68. package/dist/permissions/guild-standing-assignment-policy.js +36 -0
  69. package/dist/permissions/guild-standing-assignment-policy.js.map +1 -0
  70. package/dist/permissions/index.d.ts +2 -2
  71. package/dist/permissions/index.d.ts.map +1 -1
  72. package/dist/permissions/index.js +2 -2
  73. package/dist/permissions/index.js.map +1 -1
  74. package/dist/permissions/work-project-permissions.d.ts +284 -0
  75. package/dist/permissions/work-project-permissions.d.ts.map +1 -0
  76. package/dist/permissions/work-project-permissions.js +294 -0
  77. package/dist/permissions/work-project-permissions.js.map +1 -0
  78. package/dist/schemas/{system-message-actions.d.ts → admin-dispatch-actions.d.ts} +15 -15
  79. package/dist/schemas/admin-dispatch-actions.d.ts.map +1 -0
  80. package/dist/schemas/{system-message-actions.js → admin-dispatch-actions.js} +7 -7
  81. package/dist/schemas/admin-dispatch-actions.js.map +1 -0
  82. package/dist/schemas/admin.d.ts +7 -7
  83. package/dist/schemas/admin.js +4 -4
  84. package/dist/schemas/admin.js.map +1 -1
  85. package/dist/schemas/atoms.d.ts +13 -12
  86. package/dist/schemas/atoms.d.ts.map +1 -1
  87. package/dist/schemas/atoms.js +13 -12
  88. package/dist/schemas/atoms.js.map +1 -1
  89. package/dist/schemas/auditions.d.ts +10 -0
  90. package/dist/schemas/auditions.d.ts.map +1 -0
  91. package/dist/schemas/auditions.js +6 -0
  92. package/dist/schemas/auditions.js.map +1 -0
  93. package/dist/schemas/chat.d.ts +47 -47
  94. package/dist/schemas/chat.d.ts.map +1 -1
  95. package/dist/schemas/chat.js +18 -18
  96. package/dist/schemas/chat.js.map +1 -1
  97. package/dist/schemas/commissions.d.ts +56 -0
  98. package/dist/schemas/commissions.d.ts.map +1 -0
  99. package/dist/schemas/commissions.js +29 -0
  100. package/dist/schemas/commissions.js.map +1 -0
  101. package/dist/schemas/craft-skills.d.ts +24 -0
  102. package/dist/schemas/craft-skills.d.ts.map +1 -0
  103. package/dist/schemas/craft-skills.js +11 -0
  104. package/dist/schemas/craft-skills.js.map +1 -0
  105. package/dist/schemas/{library.d.ts → hall-library.d.ts} +78 -78
  106. package/dist/schemas/hall-library.d.ts.map +1 -0
  107. package/dist/schemas/hall-library.js +86 -0
  108. package/dist/schemas/hall-library.js.map +1 -0
  109. package/dist/schemas/index.d.ts +7 -7
  110. package/dist/schemas/index.d.ts.map +1 -1
  111. package/dist/schemas/index.js +7 -7
  112. package/dist/schemas/index.js.map +1 -1
  113. package/dist/schemas/payments.js +2 -2
  114. package/dist/schemas/payments.js.map +1 -1
  115. package/dist/schemas/social.d.ts +16 -16
  116. package/dist/schemas/social.d.ts.map +1 -1
  117. package/dist/schemas/social.js +3 -3
  118. package/dist/schemas/social.js.map +1 -1
  119. package/dist/schemas/{share-operation.d.ts → stake-share-operation.d.ts} +25 -25
  120. package/dist/schemas/stake-share-operation.d.ts.map +1 -0
  121. package/dist/schemas/stake-share-operation.js +83 -0
  122. package/dist/schemas/stake-share-operation.js.map +1 -0
  123. package/dist/schemas/users.d.ts +4 -4
  124. package/dist/schemas/users.d.ts.map +1 -1
  125. package/dist/schemas/users.js +2 -2
  126. package/dist/schemas/users.js.map +1 -1
  127. package/dist/schemas/utility.d.ts +14 -14
  128. package/dist/schemas/utility.d.ts.map +1 -1
  129. package/dist/schemas/utility.js +5 -5
  130. package/dist/schemas/utility.js.map +1 -1
  131. package/dist/schemas/voting.d.ts +10 -10
  132. package/dist/schemas/voting.d.ts.map +1 -1
  133. package/dist/schemas/voting.js +4 -4
  134. package/dist/schemas/voting.js.map +1 -1
  135. package/dist/schemas/work-project-management.d.ts +454 -0
  136. package/dist/schemas/work-project-management.d.ts.map +1 -0
  137. package/dist/schemas/work-project-management.js +98 -0
  138. package/dist/schemas/work-project-management.js.map +1 -0
  139. package/dist/ttt-keys.d.ts +68 -0
  140. package/dist/ttt-keys.d.ts.map +1 -0
  141. package/dist/ttt-keys.js +24 -0
  142. package/dist/ttt-keys.js.map +1 -0
  143. package/dist/types/admin.d.ts +1 -1
  144. package/dist/types/admin.d.ts.map +1 -1
  145. package/dist/types/audit.d.ts +1 -1
  146. package/dist/types/audit.d.ts.map +1 -1
  147. package/dist/types/commissions.d.ts +84 -0
  148. package/dist/types/commissions.d.ts.map +1 -0
  149. package/dist/types/commissions.js +3 -0
  150. package/dist/types/commissions.js.map +1 -0
  151. package/dist/types/content.d.ts +37 -37
  152. package/dist/types/content.d.ts.map +1 -1
  153. package/dist/types/content.js +4 -4
  154. package/dist/types/content.js.map +1 -1
  155. package/dist/types/index.d.ts +3 -3
  156. package/dist/types/index.d.ts.map +1 -1
  157. package/dist/types/index.js +2 -2
  158. package/dist/types/index.js.map +1 -1
  159. package/dist/types/messaging.d.ts +16 -16
  160. package/dist/types/messaging.d.ts.map +1 -1
  161. package/dist/types/messaging.js +1 -1
  162. package/dist/types/messaging.js.map +1 -1
  163. package/dist/types/publicUser.d.ts +1 -1
  164. package/dist/types/publicUser.d.ts.map +1 -1
  165. package/dist/types/social.d.ts +13 -13
  166. package/dist/types/social.d.ts.map +1 -1
  167. package/dist/types/user.d.ts +17 -17
  168. package/dist/types/user.d.ts.map +1 -1
  169. package/dist/types/work-project.d.ts +85 -0
  170. package/dist/types/work-project.d.ts.map +1 -0
  171. package/dist/types/work-project.js +2 -0
  172. package/dist/types/work-project.js.map +1 -0
  173. package/dist/upload-variables/{apply-to-job-variables.d.ts → apply-to-commission-variables.d.ts} +6 -6
  174. package/dist/upload-variables/apply-to-commission-variables.d.ts.map +1 -0
  175. package/dist/upload-variables/apply-to-commission-variables.js +16 -0
  176. package/dist/upload-variables/apply-to-commission-variables.js.map +1 -0
  177. package/dist/upload-variables/{create-admin-opportunity-variables.d.ts → create-admin-audition-variables.d.ts} +9 -9
  178. package/dist/upload-variables/create-admin-audition-variables.d.ts.map +1 -0
  179. package/dist/upload-variables/{create-admin-opportunity-variables.js → create-admin-audition-variables.js} +4 -4
  180. package/dist/upload-variables/create-admin-audition-variables.js.map +1 -0
  181. package/dist/upload-variables/{create-opportunity-reply-variables.d.ts → create-audition-entry-variables.d.ts} +6 -6
  182. package/dist/upload-variables/create-audition-entry-variables.d.ts.map +1 -0
  183. package/dist/upload-variables/{create-opportunity-reply-variables.js → create-audition-entry-variables.js} +3 -3
  184. package/dist/upload-variables/create-audition-entry-variables.js.map +1 -0
  185. package/dist/upload-variables/{create-job-variables.d.ts → create-commission-variables.d.ts} +19 -19
  186. package/dist/upload-variables/create-commission-variables.d.ts.map +1 -0
  187. package/dist/upload-variables/{create-job-variables.js → create-commission-variables.js} +6 -6
  188. package/dist/upload-variables/create-commission-variables.js.map +1 -0
  189. package/dist/upload-variables/{create-project-opportunity-variables.d.ts → create-work-project-audition-variables.d.ts} +9 -9
  190. package/dist/upload-variables/create-work-project-audition-variables.d.ts.map +1 -0
  191. package/dist/upload-variables/{create-project-opportunity-variables.js → create-work-project-audition-variables.js} +4 -4
  192. package/dist/upload-variables/create-work-project-audition-variables.js.map +1 -0
  193. package/dist/upload-variables/index.d.ts +10 -10
  194. package/dist/upload-variables/index.d.ts.map +1 -1
  195. package/dist/upload-variables/index.js +10 -10
  196. package/dist/upload-variables/index.js.map +1 -1
  197. package/dist/upload-variables/{streetz-post-variables.d.ts → square-streetz-post-variables.d.ts} +8 -8
  198. package/dist/upload-variables/square-streetz-post-variables.d.ts.map +1 -0
  199. package/dist/upload-variables/{streetz-post-variables.js → square-streetz-post-variables.js} +2 -2
  200. package/dist/upload-variables/square-streetz-post-variables.js.map +1 -0
  201. package/dist/upload-variables/update-chapter-media-variables.d.ts +3 -3
  202. package/dist/upload-variables/update-chapter-media-variables.js +1 -1
  203. package/dist/upload-variables/update-chapter-media-variables.js.map +1 -1
  204. package/dist/upload-variables/{update-show-media-variables.d.ts → update-episode-media-variables.d.ts} +9 -9
  205. package/dist/upload-variables/update-episode-media-variables.d.ts.map +1 -0
  206. package/dist/upload-variables/{update-show-media-variables.js → update-episode-media-variables.js} +4 -4
  207. package/dist/upload-variables/update-episode-media-variables.js.map +1 -0
  208. package/dist/upload-variables/update-tale-cover-photo-variables.d.ts +3 -3
  209. package/dist/upload-variables/update-tale-cover-photo-variables.js +1 -1
  210. package/dist/upload-variables/update-tale-cover-photo-variables.js.map +1 -1
  211. package/dist/upload-variables/update-television-cover-photo-variables.d.ts +3 -3
  212. package/dist/upload-variables/update-television-cover-photo-variables.js +1 -1
  213. package/dist/upload-variables/update-television-cover-photo-variables.js.map +1 -1
  214. package/dist/upload-variables/{update-song-media-variables.d.ts → update-track-media-variables.d.ts} +9 -9
  215. package/dist/upload-variables/update-track-media-variables.d.ts.map +1 -0
  216. package/dist/upload-variables/{update-song-media-variables.js → update-track-media-variables.js} +4 -4
  217. package/dist/upload-variables/update-track-media-variables.js.map +1 -0
  218. package/dist/upload-variables/update-tune-cover-photo-variables.d.ts +3 -3
  219. package/dist/upload-variables/update-tune-cover-photo-variables.js +1 -1
  220. package/dist/upload-variables/update-tune-cover-photo-variables.js.map +1 -1
  221. package/dist/upload-variables/{upload-skill-variables.d.ts → upload-craft-skill-variables.d.ts} +3 -3
  222. package/dist/upload-variables/upload-craft-skill-variables.d.ts.map +1 -0
  223. package/dist/upload-variables/{upload-skill-variables.js → upload-craft-skill-variables.js} +2 -2
  224. package/dist/upload-variables/upload-craft-skill-variables.js.map +1 -0
  225. package/dist/upload-variables/{upload-project-file-variables.d.ts → upload-work-asset-variables.d.ts} +10 -10
  226. package/dist/upload-variables/upload-work-asset-variables.d.ts.map +1 -0
  227. package/dist/upload-variables/{upload-project-file-variables.js → upload-work-asset-variables.js} +4 -4
  228. package/dist/upload-variables/upload-work-asset-variables.js.map +1 -0
  229. package/package.json +6 -1
  230. package/dist/media/library-target-fields.d.ts +0 -13
  231. package/dist/media/library-target-fields.d.ts.map +0 -1
  232. package/dist/media/library-target-fields.js +0 -21
  233. package/dist/media/library-target-fields.js.map +0 -1
  234. package/dist/permissions/project-permissions.d.ts +0 -264
  235. package/dist/permissions/project-permissions.d.ts.map +0 -1
  236. package/dist/permissions/project-permissions.js +0 -268
  237. package/dist/permissions/project-permissions.js.map +0 -1
  238. package/dist/permissions/role-assignment-policy.d.ts +0 -17
  239. package/dist/permissions/role-assignment-policy.d.ts.map +0 -1
  240. package/dist/permissions/role-assignment-policy.js +0 -32
  241. package/dist/permissions/role-assignment-policy.js.map +0 -1
  242. package/dist/schemas/jobs.d.ts +0 -56
  243. package/dist/schemas/jobs.d.ts.map +0 -1
  244. package/dist/schemas/jobs.js +0 -29
  245. package/dist/schemas/jobs.js.map +0 -1
  246. package/dist/schemas/library.d.ts.map +0 -1
  247. package/dist/schemas/library.js +0 -86
  248. package/dist/schemas/library.js.map +0 -1
  249. package/dist/schemas/opportunities.d.ts +0 -10
  250. package/dist/schemas/opportunities.d.ts.map +0 -1
  251. package/dist/schemas/opportunities.js +0 -6
  252. package/dist/schemas/opportunities.js.map +0 -1
  253. package/dist/schemas/project-management.d.ts +0 -454
  254. package/dist/schemas/project-management.d.ts.map +0 -1
  255. package/dist/schemas/project-management.js +0 -98
  256. package/dist/schemas/project-management.js.map +0 -1
  257. package/dist/schemas/share-operation.d.ts.map +0 -1
  258. package/dist/schemas/share-operation.js +0 -91
  259. package/dist/schemas/share-operation.js.map +0 -1
  260. package/dist/schemas/skills.d.ts +0 -24
  261. package/dist/schemas/skills.d.ts.map +0 -1
  262. package/dist/schemas/skills.js +0 -11
  263. package/dist/schemas/skills.js.map +0 -1
  264. package/dist/schemas/system-message-actions.d.ts.map +0 -1
  265. package/dist/schemas/system-message-actions.js.map +0 -1
  266. package/dist/types/jobs.d.ts +0 -84
  267. package/dist/types/jobs.d.ts.map +0 -1
  268. package/dist/types/jobs.js +0 -3
  269. package/dist/types/jobs.js.map +0 -1
  270. package/dist/types/project.d.ts +0 -85
  271. package/dist/types/project.d.ts.map +0 -1
  272. package/dist/types/project.js +0 -2
  273. package/dist/types/project.js.map +0 -1
  274. package/dist/upload-variables/apply-to-job-variables.d.ts.map +0 -1
  275. package/dist/upload-variables/apply-to-job-variables.js +0 -16
  276. package/dist/upload-variables/apply-to-job-variables.js.map +0 -1
  277. package/dist/upload-variables/create-admin-opportunity-variables.d.ts.map +0 -1
  278. package/dist/upload-variables/create-admin-opportunity-variables.js.map +0 -1
  279. package/dist/upload-variables/create-job-variables.d.ts.map +0 -1
  280. package/dist/upload-variables/create-job-variables.js.map +0 -1
  281. package/dist/upload-variables/create-opportunity-reply-variables.d.ts.map +0 -1
  282. package/dist/upload-variables/create-opportunity-reply-variables.js.map +0 -1
  283. package/dist/upload-variables/create-project-opportunity-variables.d.ts.map +0 -1
  284. package/dist/upload-variables/create-project-opportunity-variables.js.map +0 -1
  285. package/dist/upload-variables/streetz-post-variables.d.ts.map +0 -1
  286. package/dist/upload-variables/streetz-post-variables.js.map +0 -1
  287. package/dist/upload-variables/update-show-media-variables.d.ts.map +0 -1
  288. package/dist/upload-variables/update-show-media-variables.js.map +0 -1
  289. package/dist/upload-variables/update-song-media-variables.d.ts.map +0 -1
  290. package/dist/upload-variables/update-song-media-variables.js.map +0 -1
  291. package/dist/upload-variables/upload-project-file-variables.d.ts.map +0 -1
  292. package/dist/upload-variables/upload-project-file-variables.js.map +0 -1
  293. package/dist/upload-variables/upload-skill-variables.d.ts.map +0 -1
  294. package/dist/upload-variables/upload-skill-variables.js.map +0 -1
@@ -1,7 +1,7 @@
1
- /** The absolute maximum number of shares a project can have. */
2
- export declare const MAX_PROJECT_SHARES = 1000;
3
- /** The maximum character length for a Streetz post created on behalf of a project. */
4
- export declare const MAX_STREETZ_DESCRIPTION_LENGTH = 150;
1
+ /** The absolute maximum number of stakes a workProject can have. */
2
+ export declare const MAX_WORK_PROJECT_STAKE_SHARES = 1000;
3
+ /** The maximum character length for a SquareStreetz post created on behalf of a workProject. */
4
+ export declare const MAX_SQUARE_STREETZ_DESCRIPTION_LENGTH = 150;
5
5
  export declare const TASK_PRIORITY: {
6
6
  readonly CRITICAL: 4;
7
7
  readonly HIGH: 3;
@@ -29,26 +29,26 @@ export declare const USERNAME_MIN_LENGTH = 3;
29
29
  export declare const USERNAME_MAX_LENGTH = 20;
30
30
  /** Allowed characters in a user display name: letters and numbers only. */
31
31
  export declare const USERNAME_REGEX: RegExp;
32
- /** Maximum number of skills a user can upload to their profile. */
33
- export declare const SKILL_LIMIT = 8;
34
- /** Maximum number of tags allowed per skill. */
35
- export declare const MAX_SKILL_TAGS = 5;
32
+ /** Maximum number of craft-skills a user can upload to their profile. */
33
+ export declare const CRAFT_SKILL_LIMIT = 8;
34
+ /** Maximum number of tags allowed per craftSkill. */
35
+ export declare const MAX_CRAFT_SKILL_TAGS = 5;
36
36
  /** Maximum number of recent mentions kept in the user's mention-history hook. */
37
37
  export declare const MAX_HISTORY_ITEMS = 10;
38
38
  /** Maximum number of results returned by the search hook. */
39
39
  export declare const SEARCH_RESULT_LIMIT = 6;
40
- /** Maximum length for a project title. */
41
- export declare const MAX_PROJECT_TITLE_LENGTH = 150;
42
- /** Maximum length for a project description. */
43
- export declare const MAX_PROJECT_DESCRIPTION_LENGTH = 300;
44
- /** Maximum number of files attached to a project. */
45
- export declare const MAX_PROJECT_FILES = 5;
46
- /** Maximum file size for project file attachments, in bytes (5MB). */
47
- export declare const MAX_PROJECT_FILE_SIZE: number;
40
+ /** Maximum length for a workProject title. */
41
+ export declare const MAX_WORK_PROJECT_TITLE_LENGTH = 150;
42
+ /** Maximum length for a workProject description. */
43
+ export declare const MAX_WORK_PROJECT_DESCRIPTION_LENGTH = 300;
44
+ /** Maximum number of files attached to a workProject. */
45
+ export declare const MAX_WORK_ASSETS = 5;
46
+ /** Maximum file size for workProject file attachments, in bytes (5MB). */
47
+ export declare const MAX_WORK_ASSET_FILE_SIZE: number;
48
48
  /** Allowed characters in titles: letters, numbers, spaces. */
49
49
  export declare const TITLE_PATTERN: RegExp;
50
- /** Maximum number of opportunities a single project can have open at once. */
51
- export declare const MAX_PROJECT_OPPORTUNITIES = 3;
50
+ /** Maximum number of auditions a single workProject can have open at once. */
51
+ export declare const MAX_WORK_PROJECT_AUDITIONS = 3;
52
52
  export declare const MAX_TALE_TITLE_LENGTH = 150;
53
53
  export declare const MAX_TALE_DESCRIPTION_LENGTH = 300;
54
54
  export declare const MAX_TUNE_TITLE_LENGTH = 150;
@@ -61,44 +61,44 @@ export declare const MAX_CHAPTERS = 10;
61
61
  export declare const MAX_CHAPTER_TITLE_LENGTH = 150;
62
62
  /** Maximum length for chapter body content. */
63
63
  export declare const MAX_CHAPTER_CONTENT_LENGTH = 2500;
64
- /** Maximum number of songs a Tunes project can have. */
65
- export declare const MAX_SONGS = 10;
66
- /** Maximum length for a song title. */
67
- export declare const MAX_SONG_TITLE_LENGTH = 150;
68
- /** Maximum length for a song description. */
69
- export declare const MAX_SONG_DESCRIPTION_LENGTH = 300;
70
- /** Maximum number of shows a Television project can have. */
71
- export declare const MAX_SHOWS = 10;
72
- /** Maximum length for a show title. */
73
- export declare const MAX_SHOW_TITLE_LENGTH = 150;
74
- /** Maximum length for a show description. */
75
- export declare const MAX_SHOW_DESCRIPTION_LENGTH = 300;
76
- /** Maximum number of open jobs a project can have. */
77
- export declare const MAX_JOBS = 5;
78
- /** Maximum number of applicants saved to a job. */
79
- export declare const MAX_SAVED_APPLICANTS = 5;
80
- /** Maximum length for a job title. */
81
- export declare const MAX_JOB_TITLE_LENGTH = 150;
82
- /** Maximum length for a job description / cover letter. */
83
- export declare const MAX_JOB_DESCRIPTION_LENGTH = 400;
84
- /** Maximum length for an opportunity title. */
85
- export declare const MAX_OPPORTUNITY_TITLE_LENGTH = 150;
86
- /** Maximum length for an opportunity description. */
87
- export declare const MAX_OPPORTUNITY_DESCRIPTION_LENGTH = 1000;
88
- /** Maximum length for a Streetz post. */
64
+ /** Maximum number of tracks a Tunes workProject can have. */
65
+ export declare const MAX_TUNE_TRACKS = 10;
66
+ /** Maximum length for a track title. */
67
+ export declare const MAX_TUNE_TRACK_TITLE_LENGTH = 150;
68
+ /** Maximum length for a track description. */
69
+ export declare const MAX_TUNE_TRACK_DESCRIPTION_LENGTH = 300;
70
+ /** Maximum number of episodes a Television workProject can have. */
71
+ export declare const MAX_TELEVISION_EPISODES = 10;
72
+ /** Maximum length for an episode title. */
73
+ export declare const MAX_TELEVISION_EPISODE_TITLE_LENGTH = 150;
74
+ /** Maximum length for an episode description. */
75
+ export declare const MAX_TELEVISION_EPISODE_DESCRIPTION_LENGTH = 300;
76
+ /** Maximum number of open commissions a workProject can have. */
77
+ export declare const MAX_COMMISSION_LISTINGS = 5;
78
+ /** Maximum number of proposal artisans saved to a commission. */
79
+ export declare const MAX_SAVED_PROPOSAL_ARTISANS = 5;
80
+ /** Maximum length for a commission title. */
81
+ export declare const MAX_COMMISSION_TITLE_LENGTH = 150;
82
+ /** Maximum length for a commission description / cover letter. */
83
+ export declare const MAX_COMMISSION_DESCRIPTION_LENGTH = 400;
84
+ /** Maximum length for an audition title. */
85
+ export declare const MAX_AUDITION_TITLE_LENGTH = 150;
86
+ /** Maximum length for an audition description. */
87
+ export declare const MAX_AUDITION_DESCRIPTION_LENGTH = 1000;
88
+ /** Maximum length for a SquareStreetz post. */
89
89
  export declare const MAX_POST_LENGTH = 500;
90
- /** Maximum number of mentions allowed in a single Streetz post. */
90
+ /** Maximum number of mentions allowed in a single SquareStreetz post. */
91
91
  export declare const MAX_MENTIONS = 3;
92
92
  /** Maximum characters of a mention's display name shown before truncation. */
93
93
  export declare const MAX_MENTION_DISPLAY_LENGTH = 30;
94
- /** Maximum length for a project-invite message. */
95
- export declare const MAX_INVITE_MESSAGE_LENGTH = 500;
96
- /** Maximum length for a donation message. */
97
- export declare const MAX_DONATION_MESSAGE_LENGTH = 500;
98
- /** Maximum length for an admin-message subject line. */
99
- export declare const MAX_ADMIN_MESSAGE_SUBJECT_LENGTH = 100;
100
- /** Maximum length for the initial body text of an admin message. */
101
- export declare const MAX_ADMIN_MESSAGE_INITIAL_TEXT_LENGTH = 1000;
94
+ /** Maximum length for a guild-invite message. */
95
+ export declare const MAX_GUILD_INVITE_MESSAGE_LENGTH = 500;
96
+ /** Maximum length for a pledgePayment message. */
97
+ export declare const MAX_PLEDGE_PAYMENT_MESSAGE_LENGTH = 500;
98
+ /** Maximum length for an admin-dispatch subject line. */
99
+ export declare const MAX_ADMIN_DISPATCH_SUBJECT_LENGTH = 100;
100
+ /** Maximum length for the initial body text of an admin dispatch. */
101
+ export declare const MAX_ADMIN_DISPATCH_INITIAL_TEXT_LENGTH = 1000;
102
102
  /** Maximum length for a content-violation appeal message. */
103
103
  export declare const MAX_APPEAL_MESSAGE_LENGTH = 1000;
104
104
  /** Maximum length for a feedback suggestion. */
@@ -112,11 +112,11 @@ export declare const MAX_FEEDBACK_SUBMITTERS = 100;
112
112
  * component. Adding a new type here is the single source of truth — no
113
113
  * mirroring in callers required.
114
114
  */
115
- export declare const FEEDBACK_TYPES: readonly ["professionSuggestions", "skillTagSuggestions", "talesCategorySuggestions", "tunesCategorySuggestions", "televisionCategorySuggestions"];
115
+ export declare const FEEDBACK_TYPES: readonly ["tradeProfessionSuggestions", "craftSkillTagSuggestions", "talesCategorySuggestions", "tunesCategorySuggestions", "televisionCategorySuggestions"];
116
116
  /** Union of canonical feedback types. */
117
117
  export type FeedbackType = (typeof FEEDBACK_TYPES)[number];
118
- /** Maximum number of items submitted in a single library-review submission. */
119
- export declare const MAX_LIBRARY_SUBMIT_BATCH = 50;
118
+ /** Maximum number of items submitted in a single hallLibrary-review submission. */
119
+ export declare const MAX_HALL_LIBRARY_SUBMIT_BATCH = 50;
120
120
  /** Admin task lifecycle statuses. */
121
121
  export declare const ADMIN_TASK_STATUS: {
122
122
  readonly PENDING: "pending";
@@ -125,11 +125,11 @@ export declare const ADMIN_TASK_STATUS: {
125
125
  readonly COMPLETED: "completed";
126
126
  };
127
127
  /**
128
- * Maximum donation amount accepted by the Stripe checkout flow, in cents
128
+ * Maximum pledgePayment amount accepted by the Stripe checkout flow, in cents
129
129
  * (USD). $500,000.00. Well below Stripe's hard per-charge ceiling, but
130
130
  * high enough that legitimate large gifts pass without friction. Anything
131
131
  * above this is rejected by the schema before a Stripe session is created
132
132
  * or any rate-limit / audit-event side effects are incurred.
133
133
  */
134
- export declare const MAX_DONATION_AMOUNT_CENTS = 50000000;
134
+ export declare const MAX_PLEDGE_PAYMENT_AMOUNT_CENTS = 50000000;
135
135
  //# sourceMappingURL=business.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../src/constants/business.ts"],"names":[],"mappings":"AAEA,gEAAgE;AAChE,eAAO,MAAM,kBAAkB,OAAO,CAAC;AAEvC,sFAAsF;AACtF,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAIlD,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;A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MAAM,+BAA+B,WAAa,CAAC"}
@@ -1,8 +1,8 @@
1
1
  // Business rule constants shared between frontend and backend
2
- /** The absolute maximum number of shares a project can have. */
3
- export const MAX_PROJECT_SHARES = 1000;
4
- /** The maximum character length for a Streetz post created on behalf of a project. */
5
- export const MAX_STREETZ_DESCRIPTION_LENGTH = 150;
2
+ /** The absolute maximum number of stakes a workProject can have. */
3
+ export const MAX_WORK_PROJECT_STAKE_SHARES = 1000;
4
+ /** The maximum character length for a SquareStreetz post created on behalf of a workProject. */
5
+ export const MAX_SQUARE_STREETZ_DESCRIPTION_LENGTH = 150;
6
6
  // --- Admin Task Priority System ---
7
7
  export const TASK_PRIORITY = {
8
8
  CRITICAL: 4,
@@ -34,86 +34,86 @@ export const USERNAME_MAX_LENGTH = 20;
34
34
  /** Allowed characters in a user display name: letters and numbers only. */
35
35
  export const USERNAME_REGEX = /^[a-zA-Z0-9]+$/;
36
36
  // --- User Profile Skills ---
37
- /** Maximum number of skills a user can upload to their profile. */
38
- export const SKILL_LIMIT = 8;
39
- /** Maximum number of tags allowed per skill. */
40
- export const MAX_SKILL_TAGS = 5;
37
+ /** Maximum number of craft-skills a user can upload to their profile. */
38
+ export const CRAFT_SKILL_LIMIT = 8;
39
+ /** Maximum number of tags allowed per craftSkill. */
40
+ export const MAX_CRAFT_SKILL_TAGS = 5;
41
41
  // --- Mention History ---
42
42
  /** Maximum number of recent mentions kept in the user's mention-history hook. */
43
43
  export const MAX_HISTORY_ITEMS = 10;
44
44
  // --- Search ---
45
45
  /** Maximum number of results returned by the search hook. */
46
46
  export const SEARCH_RESULT_LIMIT = 6;
47
- // --- Project Titles & Descriptions ---
48
- /** Maximum length for a project title. */
49
- export const MAX_PROJECT_TITLE_LENGTH = 150;
50
- /** Maximum length for a project description. */
51
- export const MAX_PROJECT_DESCRIPTION_LENGTH = 300;
52
- /** Maximum number of files attached to a project. */
53
- export const MAX_PROJECT_FILES = 5;
54
- /** Maximum file size for project file attachments, in bytes (5MB). */
55
- export const MAX_PROJECT_FILE_SIZE = 5 * 1024 * 1024;
47
+ // --- WorkProject Titles & Descriptions ---
48
+ /** Maximum length for a workProject title. */
49
+ export const MAX_WORK_PROJECT_TITLE_LENGTH = 150;
50
+ /** Maximum length for a workProject description. */
51
+ export const MAX_WORK_PROJECT_DESCRIPTION_LENGTH = 300;
52
+ /** Maximum number of files attached to a workProject. */
53
+ export const MAX_WORK_ASSETS = 5;
54
+ /** Maximum file size for workProject file attachments, in bytes (5MB). */
55
+ export const MAX_WORK_ASSET_FILE_SIZE = 5 * 1024 * 1024;
56
56
  /** Allowed characters in titles: letters, numbers, spaces. */
57
57
  export const TITLE_PATTERN = /^[a-zA-Z0-9 ]+$/;
58
- /** Maximum number of opportunities a single project can have open at once. */
59
- export const MAX_PROJECT_OPPORTUNITIES = 3;
60
- // --- Project Subtypes (Tales / Tunes / Television) ---
58
+ /** Maximum number of auditions a single workProject can have open at once. */
59
+ export const MAX_WORK_PROJECT_AUDITIONS = 3;
60
+ // --- WorkProject Subtypes (Tales / Tunes / Television) ---
61
61
  // Length aliases — kept as named exports so call sites read clearly.
62
- export const MAX_TALE_TITLE_LENGTH = MAX_PROJECT_TITLE_LENGTH;
63
- export const MAX_TALE_DESCRIPTION_LENGTH = MAX_PROJECT_DESCRIPTION_LENGTH;
64
- export const MAX_TUNE_TITLE_LENGTH = MAX_PROJECT_TITLE_LENGTH;
65
- export const MAX_TUNE_DESCRIPTION_LENGTH = MAX_PROJECT_DESCRIPTION_LENGTH;
66
- export const MAX_TELEVISION_TITLE_LENGTH = MAX_PROJECT_TITLE_LENGTH;
67
- export const MAX_TELEVISION_DESCRIPTION_LENGTH = MAX_PROJECT_DESCRIPTION_LENGTH;
62
+ export const MAX_TALE_TITLE_LENGTH = MAX_WORK_PROJECT_TITLE_LENGTH;
63
+ export const MAX_TALE_DESCRIPTION_LENGTH = MAX_WORK_PROJECT_DESCRIPTION_LENGTH;
64
+ export const MAX_TUNE_TITLE_LENGTH = MAX_WORK_PROJECT_TITLE_LENGTH;
65
+ export const MAX_TUNE_DESCRIPTION_LENGTH = MAX_WORK_PROJECT_DESCRIPTION_LENGTH;
66
+ export const MAX_TELEVISION_TITLE_LENGTH = MAX_WORK_PROJECT_TITLE_LENGTH;
67
+ export const MAX_TELEVISION_DESCRIPTION_LENGTH = MAX_WORK_PROJECT_DESCRIPTION_LENGTH;
68
68
  /** Maximum number of chapters a Tale can have. */
69
69
  export const MAX_CHAPTERS = 10;
70
70
  /** Maximum length for a chapter title. */
71
- export const MAX_CHAPTER_TITLE_LENGTH = MAX_PROJECT_TITLE_LENGTH;
71
+ export const MAX_CHAPTER_TITLE_LENGTH = MAX_WORK_PROJECT_TITLE_LENGTH;
72
72
  /** Maximum length for chapter body content. */
73
73
  export const MAX_CHAPTER_CONTENT_LENGTH = 2500;
74
- /** Maximum number of songs a Tunes project can have. */
75
- export const MAX_SONGS = 10;
76
- /** Maximum length for a song title. */
77
- export const MAX_SONG_TITLE_LENGTH = MAX_PROJECT_TITLE_LENGTH;
78
- /** Maximum length for a song description. */
79
- export const MAX_SONG_DESCRIPTION_LENGTH = MAX_PROJECT_DESCRIPTION_LENGTH;
80
- /** Maximum number of shows a Television project can have. */
81
- export const MAX_SHOWS = 10;
82
- /** Maximum length for a show title. */
83
- export const MAX_SHOW_TITLE_LENGTH = MAX_PROJECT_TITLE_LENGTH;
84
- /** Maximum length for a show description. */
85
- export const MAX_SHOW_DESCRIPTION_LENGTH = MAX_PROJECT_DESCRIPTION_LENGTH;
86
- // --- Job Board & Applications ---
87
- /** Maximum number of open jobs a project can have. */
88
- export const MAX_JOBS = 5;
89
- /** Maximum number of applicants saved to a job. */
90
- export const MAX_SAVED_APPLICANTS = 5;
91
- /** Maximum length for a job title. */
92
- export const MAX_JOB_TITLE_LENGTH = MAX_PROJECT_TITLE_LENGTH;
93
- /** Maximum length for a job description / cover letter. */
94
- export const MAX_JOB_DESCRIPTION_LENGTH = 400;
95
- // --- Opportunities ---
96
- /** Maximum length for an opportunity title. */
97
- export const MAX_OPPORTUNITY_TITLE_LENGTH = 150;
98
- /** Maximum length for an opportunity description. */
99
- export const MAX_OPPORTUNITY_DESCRIPTION_LENGTH = 1000;
100
- // --- Streetz (Social Feed) ---
101
- /** Maximum length for a Streetz post. */
74
+ /** Maximum number of tracks a Tunes workProject can have. */
75
+ export const MAX_TUNE_TRACKS = 10;
76
+ /** Maximum length for a track title. */
77
+ export const MAX_TUNE_TRACK_TITLE_LENGTH = MAX_WORK_PROJECT_TITLE_LENGTH;
78
+ /** Maximum length for a track description. */
79
+ export const MAX_TUNE_TRACK_DESCRIPTION_LENGTH = MAX_WORK_PROJECT_DESCRIPTION_LENGTH;
80
+ /** Maximum number of episodes a Television workProject can have. */
81
+ export const MAX_TELEVISION_EPISODES = 10;
82
+ /** Maximum length for an episode title. */
83
+ export const MAX_TELEVISION_EPISODE_TITLE_LENGTH = MAX_WORK_PROJECT_TITLE_LENGTH;
84
+ /** Maximum length for an episode description. */
85
+ export const MAX_TELEVISION_EPISODE_DESCRIPTION_LENGTH = MAX_WORK_PROJECT_DESCRIPTION_LENGTH;
86
+ // --- Commission Board & Applications ---
87
+ /** Maximum number of open commissions a workProject can have. */
88
+ export const MAX_COMMISSION_LISTINGS = 5;
89
+ /** Maximum number of proposal artisans saved to a commission. */
90
+ export const MAX_SAVED_PROPOSAL_ARTISANS = 5;
91
+ /** Maximum length for a commission title. */
92
+ export const MAX_COMMISSION_TITLE_LENGTH = MAX_WORK_PROJECT_TITLE_LENGTH;
93
+ /** Maximum length for a commission description / cover letter. */
94
+ export const MAX_COMMISSION_DESCRIPTION_LENGTH = 400;
95
+ // --- Auditions ---
96
+ /** Maximum length for an audition title. */
97
+ export const MAX_AUDITION_TITLE_LENGTH = 150;
98
+ /** Maximum length for an audition description. */
99
+ export const MAX_AUDITION_DESCRIPTION_LENGTH = 1000;
100
+ // --- SquareStreetz (Social Feed) ---
101
+ /** Maximum length for a SquareStreetz post. */
102
102
  export const MAX_POST_LENGTH = 500;
103
- /** Maximum number of mentions allowed in a single Streetz post. */
103
+ /** Maximum number of mentions allowed in a single SquareStreetz post. */
104
104
  export const MAX_MENTIONS = 3;
105
105
  /** Maximum characters of a mention's display name shown before truncation. */
106
106
  export const MAX_MENTION_DISPLAY_LENGTH = 30;
107
107
  // --- Messages & Invites ---
108
- /** Maximum length for a project-invite message. */
109
- export const MAX_INVITE_MESSAGE_LENGTH = 500;
110
- /** Maximum length for a donation message. */
111
- export const MAX_DONATION_MESSAGE_LENGTH = 500;
112
- // --- Admin Messages ---
113
- /** Maximum length for an admin-message subject line. */
114
- export const MAX_ADMIN_MESSAGE_SUBJECT_LENGTH = 100;
115
- /** Maximum length for the initial body text of an admin message. */
116
- export const MAX_ADMIN_MESSAGE_INITIAL_TEXT_LENGTH = 1000;
108
+ /** Maximum length for a guild-invite message. */
109
+ export const MAX_GUILD_INVITE_MESSAGE_LENGTH = 500;
110
+ /** Maximum length for a pledgePayment message. */
111
+ export const MAX_PLEDGE_PAYMENT_MESSAGE_LENGTH = 500;
112
+ // --- Admin Dispatches ---
113
+ /** Maximum length for an admin-dispatch subject line. */
114
+ export const MAX_ADMIN_DISPATCH_SUBJECT_LENGTH = 100;
115
+ /** Maximum length for the initial body text of an admin dispatch. */
116
+ export const MAX_ADMIN_DISPATCH_INITIAL_TEXT_LENGTH = 1000;
117
117
  // --- Content Moderation Workflow ---
118
118
  /** Maximum length for a content-violation appeal message. */
119
119
  export const MAX_APPEAL_MESSAGE_LENGTH = 1000;
@@ -129,14 +129,14 @@ export const MAX_FEEDBACK_SUBMITTERS = 100;
129
129
  * mirroring in callers required.
130
130
  */
131
131
  export const FEEDBACK_TYPES = [
132
- 'professionSuggestions',
133
- 'skillTagSuggestions',
132
+ 'tradeProfessionSuggestions',
133
+ 'craftSkillTagSuggestions',
134
134
  'talesCategorySuggestions',
135
135
  'tunesCategorySuggestions',
136
136
  'televisionCategorySuggestions',
137
137
  ];
138
- /** Maximum number of items submitted in a single library-review submission. */
139
- export const MAX_LIBRARY_SUBMIT_BATCH = 50;
138
+ /** Maximum number of items submitted in a single hallLibrary-review submission. */
139
+ export const MAX_HALL_LIBRARY_SUBMIT_BATCH = 50;
140
140
  // --- Admin Tasks ---
141
141
  /** Admin task lifecycle statuses. */
142
142
  export const ADMIN_TASK_STATUS = {
@@ -147,11 +147,11 @@ export const ADMIN_TASK_STATUS = {
147
147
  };
148
148
  // --- Payments ---
149
149
  /**
150
- * Maximum donation amount accepted by the Stripe checkout flow, in cents
150
+ * Maximum pledgePayment amount accepted by the Stripe checkout flow, in cents
151
151
  * (USD). $500,000.00. Well below Stripe's hard per-charge ceiling, but
152
152
  * high enough that legitimate large gifts pass without friction. Anything
153
153
  * above this is rejected by the schema before a Stripe session is created
154
154
  * or any rate-limit / audit-event side effects are incurred.
155
155
  */
156
- export const MAX_DONATION_AMOUNT_CENTS = 50_000_000;
156
+ export const MAX_PLEDGE_PAYMENT_AMOUNT_CENTS = 50_000_000;
157
157
  //# sourceMappingURL=business.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"business.js","sourceRoot":"","sources":["../../src/constants/business.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAE9D,gEAAgE;AAChE,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAEvC,sFAAsF;AACtF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAC;AAElD,qCAAqC;AAErC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,QAAQ,EAAE,CAAC;IACX,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,GAAG,EAAE,CAAC;CACE,CAAC;AAIX,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,QAAQ;IACX,CAAC,EAAE,KAAK;CACA,CAAC;AAEX,sBAAsB;AAEtB,sDAAsD;AACtD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAEnC,w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MAAM,sCAAsC,GAAG,IAAI,CAAC;AAE3D,sCAAsC;AAEtC,6DAA6D;AAC7D,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,CAAC;AAE9C,gDAAgD;AAChD,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAC;AAElD,6EAA6E;AAC7E,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,4BAA4B;IAC5B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,+BAA+B;CACvB,CAAC;AAKX,mFAAmF;AACnF,MAAM,CAAC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAEhD,sBAAsB;AAEtB,qCAAqC;AACrC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,YAAY;IACzB,UAAU,EAAE,WAAW;IACvB,SAAS,EAAE,WAAW;CACd,CAAC;AAEX,mBAAmB;AAEnB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,UAAU,CAAC"}
@@ -1,26 +1,26 @@
1
- import type { LibraryItemType, ProjectType } from '../types/content.js';
2
- /** Profession options for user profiles, sorted alphabetically. */
3
- export declare const PROFESSION_OPTIONS: string[];
4
- /** Skill tag options for skill uploads, sorted alphabetically. */
5
- export declare const SKILL_TAG_OPTIONS: string[];
6
- /** Categories shown for each project type. */
7
- export declare const PROJECT_SPECIFIC_CATEGORIES: {
1
+ import type { HallWingType, WorkProjectType } from '../types/content.js';
2
+ /** Trade options for user profiles, sorted alphabetically. */
3
+ export declare const TRADE_PROFESSION_OPTIONS: string[];
4
+ /** Craft tag options for craftSkill uploads, sorted alphabetically. */
5
+ export declare const CRAFT_SKILL_TAG_OPTIONS: string[];
6
+ /** Genres shown for each workProject type. */
7
+ export declare const WORK_PROJECT_SPECIFIC_GENRES: {
8
8
  readonly Tales: string[];
9
9
  readonly Tunes: string[];
10
10
  readonly Television: string[];
11
11
  };
12
- /** Library type display info. Used in dropdowns and badges. */
13
- export declare const LIBRARY_TYPES: Record<LibraryItemType, {
12
+ /** HallLibrary type display info. Used in dropdowns and badges. */
13
+ export declare const HALL_WING_TYPES: Record<HallWingType, {
14
14
  label: string;
15
15
  description: string;
16
16
  }>;
17
- /** Project type display info. Used in dropdowns and headers. */
18
- export declare const PROJECT_TYPES: Record<ProjectType, {
17
+ /** WorkProject type display info. Used in dropdowns and headers. */
18
+ export declare const WORK_PROJECT_TYPES: Record<WorkProjectType, {
19
19
  label: string;
20
20
  description: string;
21
21
  }>;
22
- /** Sort options shown on the opportunity feeds, keyed by feed type. */
23
- export declare const OPPORTUNITY_SORT_OPTIONS: {
22
+ /** Sort options shown on the audition feeds, keyed by feed type. */
23
+ export declare const AUDITION_SORT_OPTIONS: {
24
24
  readonly default: {
25
25
  readonly newest: {
26
26
  readonly label: "Newest First";
@@ -33,7 +33,7 @@ export declare const OPPORTUNITY_SORT_OPTIONS: {
33
33
  readonly direction: "asc";
34
34
  };
35
35
  };
36
- readonly SystemInput: {
36
+ readonly platformAudition: {
37
37
  readonly newest: {
38
38
  readonly label: "Newest First";
39
39
  readonly field: "createdOn";
@@ -45,7 +45,7 @@ export declare const OPPORTUNITY_SORT_OPTIONS: {
45
45
  readonly direction: "asc";
46
46
  };
47
47
  };
48
- readonly SponsoredProjects: {
48
+ readonly sponsoredAudition: {
49
49
  readonly newest: {
50
50
  readonly label: "Newest First";
51
51
  readonly field: "createdOn";
@@ -58,16 +58,16 @@ export declare const OPPORTUNITY_SORT_OPTIONS: {
58
58
  };
59
59
  readonly highestPrice: {
60
60
  readonly label: "Highest Price";
61
- readonly field: "projectAmountUSD";
61
+ readonly field: "sponsoredAuditionAmountUSD";
62
62
  readonly direction: "desc";
63
63
  };
64
64
  readonly lowestPrice: {
65
65
  readonly label: "Lowest Price";
66
- readonly field: "projectAmountUSD";
66
+ readonly field: "sponsoredAuditionAmountUSD";
67
67
  readonly direction: "asc";
68
68
  };
69
69
  };
70
- readonly ProjectInput: {
70
+ readonly workAudition: {
71
71
  readonly newest: {
72
72
  readonly label: "Newest First";
73
73
  readonly field: "createdOn";
@@ -80,18 +80,18 @@ export declare const OPPORTUNITY_SORT_OPTIONS: {
80
80
  };
81
81
  readonly highestShares: {
82
82
  readonly label: "Highest Shares";
83
- readonly field: "sharesOffered";
83
+ readonly field: "stakeSharesOffered";
84
84
  readonly direction: "desc";
85
85
  };
86
86
  readonly lowestShares: {
87
87
  readonly label: "Lowest Shares";
88
- readonly field: "sharesOffered";
88
+ readonly field: "stakeSharesOffered";
89
89
  readonly direction: "asc";
90
90
  };
91
91
  };
92
92
  };
93
- /** Sort options shown on the library feed. */
94
- export declare const LIBRARY_SORT_OPTIONS: Record<string, {
93
+ /** Sort options shown on the hallLibrary feed. */
94
+ export declare const HALL_LIBRARY_SORT_OPTIONS: Record<string, {
95
95
  label: string;
96
96
  field: string;
97
97
  direction: 'asc' | 'desc';
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/constants/options.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAQxE,mEAAmE;AACnE,eAAO,MAAM,kBAAkB,UAavB,CAAC;AAET,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,UA6BtB,CAAC;AAIT,8CAA8C;AAC9C,eAAO,MAAM,2BAA2B;;;;CAqC9B,CAAC;AAIX,+DAA+D;AAC/D,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,eAAe,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAazF,CAAC;AAEF,gEAAgE;AAChE,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,WAAW,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAA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S,EAAE,KAAK,GAAG,MAAM,CAAA;CAAE,CAM5D,CAAC"}
@@ -1,10 +1,10 @@
1
1
  // UI option lists shared between frontend and backend admin tooling.
2
- // --- Project Roles ---
3
- // Project role IDs, labels, and assignment policy live in ../permissions/.
4
- // Keep role picker UIs backed by PROJECT_ROLES instead of a duplicated option map.
5
- // --- Profession & Skill Options ---
6
- /** Profession options for user profiles, sorted alphabetically. */
7
- export const PROFESSION_OPTIONS = [
2
+ // --- WorkProject Guild Standings ---
3
+ // WorkProject guild-standing IDs, labels, and assignment policy live in ../permissions/.
4
+ // Keep guild-standing picker UIs backed by GUILD_STANDINGS instead of a duplicated option map.
5
+ // --- Trade & Craft Options ---
6
+ /** Trade options for user profiles, sorted alphabetically. */
7
+ export const TRADE_PROFESSION_OPTIONS = [
8
8
  'Actor',
9
9
  'Animator',
10
10
  'Artist',
@@ -18,8 +18,8 @@ export const PROFESSION_OPTIONS = [
18
18
  'Sound Designer',
19
19
  'Writer',
20
20
  ].sort();
21
- /** Skill tag options for skill uploads, sorted alphabetically. */
22
- export const SKILL_TAG_OPTIONS = [
21
+ /** Craft tag options for craftSkill uploads, sorted alphabetically. */
22
+ export const CRAFT_SKILL_TAG_OPTIONS = [
23
23
  'Abstract',
24
24
  'Action',
25
25
  'Adventure',
@@ -49,9 +49,9 @@ export const SKILL_TAG_OPTIONS = [
49
49
  'VocalPerformance',
50
50
  'VoiceOver',
51
51
  ].sort();
52
- // --- Project-Specific Categories ---
53
- /** Categories shown for each project type. */
54
- export const PROJECT_SPECIFIC_CATEGORIES = {
52
+ // --- WorkProject-Specific Genres ---
53
+ /** Genres shown for each workProject type. */
54
+ export const WORK_PROJECT_SPECIFIC_GENRES = {
55
55
  Tales: [
56
56
  'Adventure',
57
57
  'Comedy',
@@ -89,9 +89,9 @@ export const PROJECT_SPECIFIC_CATEGORIES = {
89
89
  'Thriller',
90
90
  ].sort(),
91
91
  };
92
- // --- Library / Project Type Display Maps ---
93
- /** Library type display info. Used in dropdowns and badges. */
94
- export const LIBRARY_TYPES = {
92
+ // --- HallLibrary / WorkProject Type Display Maps ---
93
+ /** HallLibrary type display info. Used in dropdowns and badges. */
94
+ export const HALL_WING_TYPES = {
95
95
  entertainment: {
96
96
  label: 'Entertainment',
97
97
  description: 'Fun and engaging content',
@@ -105,8 +105,8 @@ export const LIBRARY_TYPES = {
105
105
  description: 'Current events and political content',
106
106
  },
107
107
  };
108
- /** Project type display info. Used in dropdowns and headers. */
109
- export const PROJECT_TYPES = {
108
+ /** WorkProject type display info. Used in dropdowns and headers. */
109
+ export const WORK_PROJECT_TYPES = {
110
110
  Tales: {
111
111
  label: 'Tales',
112
112
  description: 'Stories and narratives',
@@ -121,34 +121,34 @@ export const PROJECT_TYPES = {
121
121
  },
122
122
  };
123
123
  // --- Sort Options ---
124
- /** Sort options shown on the opportunity feeds, keyed by feed type. */
125
- export const OPPORTUNITY_SORT_OPTIONS = {
124
+ /** Sort options shown on the audition feeds, keyed by feed type. */
125
+ export const AUDITION_SORT_OPTIONS = {
126
126
  default: {
127
127
  newest: { label: 'Newest First', field: 'createdOn', direction: 'desc' },
128
128
  endingSoon: { label: 'Ending Soon', field: 'openTill', direction: 'asc' },
129
129
  },
130
- SystemInput: {
130
+ platformAudition: {
131
131
  newest: { label: 'Newest First', field: 'createdOn', direction: 'desc' },
132
132
  endingSoon: { label: 'Ending Soon', field: 'openTill', direction: 'asc' },
133
133
  },
134
- SponsoredProjects: {
134
+ sponsoredAudition: {
135
135
  newest: { label: 'Newest First', field: 'createdOn', direction: 'desc' },
136
136
  endingSoon: { label: 'Ending Soon', field: 'openTill', direction: 'asc' },
137
- highestPrice: { label: 'Highest Price', field: 'projectAmountUSD', direction: 'desc' },
138
- lowestPrice: { label: 'Lowest Price', field: 'projectAmountUSD', direction: 'asc' },
137
+ highestPrice: { label: 'Highest Price', field: 'sponsoredAuditionAmountUSD', direction: 'desc' },
138
+ lowestPrice: { label: 'Lowest Price', field: 'sponsoredAuditionAmountUSD', direction: 'asc' },
139
139
  },
140
- ProjectInput: {
140
+ workAudition: {
141
141
  newest: { label: 'Newest First', field: 'createdOn', direction: 'desc' },
142
142
  endingSoon: { label: 'Ending Soon', field: 'openTill', direction: 'asc' },
143
- highestShares: { label: 'Highest Shares', field: 'sharesOffered', direction: 'desc' },
144
- lowestShares: { label: 'Lowest Shares', field: 'sharesOffered', direction: 'asc' },
143
+ highestShares: { label: 'Highest Shares', field: 'stakeSharesOffered', direction: 'desc' },
144
+ lowestShares: { label: 'Lowest Shares', field: 'stakeSharesOffered', direction: 'asc' },
145
145
  },
146
146
  };
147
- /** Sort options shown on the library feed. */
148
- export const LIBRARY_SORT_OPTIONS = {
147
+ /** Sort options shown on the hallLibrary feed. */
148
+ export const HALL_LIBRARY_SORT_OPTIONS = {
149
149
  newest: { label: 'Newest First', field: 'createdOn', direction: 'desc' },
150
150
  oldest: { label: 'Oldest First', field: 'createdOn', direction: 'asc' },
151
- most_donated: { label: 'Most Donated', field: 'totalDonations', direction: 'desc' },
151
+ most_pledged: { label: 'Most Pledged', field: 'totalPledgePayments', direction: 'desc' },
152
152
  most_viewed: { label: 'Most Viewed', field: 'viewCount', direction: 'desc' },
153
153
  };
154
154
  //# sourceMappingURL=options.js.map