@jackhayes/util-types 0.0.33 → 0.0.35

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 (36) hide show
  1. package/eslint.config.mjs +2 -2
  2. package/package.json +2 -2
  3. package/src/be-content/creator.zod.ts +2 -1
  4. package/src/common/languages.zod.ts +2 -0
  5. package/tsconfig.json +1 -1
  6. package/tsconfig.tsbuildinfo +1 -1
  7. package/dist/be-content/collection.zod.d.ts +0 -8
  8. package/dist/be-content/collection.zod.js +0 -7
  9. package/dist/be-content/collectionItem.zod.d.ts +0 -8
  10. package/dist/be-content/collectionItem.zod.js +0 -7
  11. package/dist/be-content/creator.zod.d.ts +0 -33
  12. package/dist/be-content/creator.zod.js +0 -13
  13. package/dist/be-content/creatorProjectRelation.zod.d.ts +0 -31
  14. package/dist/be-content/creatorProjectRelation.zod.js +0 -8
  15. package/dist/be-content/project.zod.d.ts +0 -698
  16. package/dist/be-content/project.zod.js +0 -22
  17. package/dist/be-content/projectCreator.zod.d.ts +0 -31
  18. package/dist/be-content/projectCreator.zod.js +0 -8
  19. package/dist/be-content/update.zod.d.ts +0 -10
  20. package/dist/be-content/update.zod.js +0 -9
  21. package/dist/be-feed/contentUpdate.zod.d.ts +0 -24
  22. package/dist/be-feed/contentUpdate.zod.js +0 -22
  23. package/dist/be-search/mainSearch.zod.d.ts +0 -38
  24. package/dist/be-search/mainSearch.zod.js +0 -11
  25. package/dist/be-user/subscription.zod.d.ts +0 -9
  26. package/dist/be-user/subscription.zod.js +0 -8
  27. package/dist/common/countries.zod.d.ts +0 -254
  28. package/dist/common/countries.zod.js +0 -503
  29. package/dist/common/creatorTypes.zod.d.ts +0 -57
  30. package/dist/common/creatorTypes.zod.js +0 -6
  31. package/dist/common/languages.zod.d.ts +0 -56
  32. package/dist/common/languages.zod.js +0 -107
  33. package/dist/common/projectTypes.zod.d.ts +0 -37
  34. package/dist/common/projectTypes.zod.js +0 -6
  35. package/dist/index.d.ts +0 -14
  36. package/dist/index.js +0 -14
@@ -1,107 +0,0 @@
1
- import { z } from 'zod';
2
- export const languageCode = z.enum([
3
- 'af', // Afrikaans
4
- 'am', // Amharic
5
- 'ar', // Arabic
6
- 'bg', // Bulgarian
7
- 'bn', // Bengali
8
- 'ca', // Catalan
9
- 'cs', // Czech
10
- 'cy', // Welsh
11
- 'da', // Danish
12
- 'de', // German
13
- 'el', // Greek
14
- 'en', // English
15
- 'eo', // Esperanto
16
- 'es', // Spanish
17
- 'fa', // Persian (Farsi)
18
- 'fi', // Finnish
19
- 'fr', // French
20
- 'ga', // Irish
21
- 'he', // Hebrew
22
- 'hi', // Hindi
23
- 'hr', // Croatian
24
- 'hu', // Hungarian
25
- 'id', // Indonesian
26
- 'is', // Icelandic
27
- 'it', // Italian
28
- 'ja', // Japanese
29
- 'ko', // Korean
30
- 'la', // Latin
31
- 'lb', // Luxembourgish
32
- 'mr', // Marathi
33
- 'ms', // Malay
34
- 'mt', // Maltese
35
- 'nl', // Dutch
36
- 'no', // Norwegian
37
- 'pl', // Polish
38
- 'pt', // Portuguese
39
- 'ro', // Romanian
40
- 'ru', // Russian
41
- 'sk', // Slovak
42
- 'sr', // Serbian
43
- 'sv', // Swedish
44
- 'sw', // Swahili
45
- 'ta', // Tamil
46
- 'te', // Telugu
47
- 'th', // Thai
48
- 'tl', // Filipino (Tagalog)
49
- 'tr', // Turkish
50
- 'uk', // Ukrainian
51
- 'ur', // Urdu
52
- 'vi', // Vietnamese
53
- 'zh', // Chinese
54
- ]);
55
- export const languageNames = {
56
- af: 'Afrikaans',
57
- am: 'Amharic',
58
- ar: 'Arabic',
59
- bg: 'Bulgarian',
60
- bn: 'Bengali',
61
- ca: 'Catalan',
62
- cs: 'Czech',
63
- cy: 'Welsh',
64
- da: 'Danish',
65
- de: 'German',
66
- el: 'Greek',
67
- en: 'English',
68
- eo: 'Esperanto',
69
- es: 'Spanish',
70
- fa: 'Persian (Farsi)',
71
- fi: 'Finnish',
72
- fr: 'French',
73
- ga: 'Irish',
74
- he: 'Hebrew',
75
- hi: 'Hindi',
76
- hr: 'Croatian',
77
- hu: 'Hungarian',
78
- id: 'Indonesian',
79
- is: 'Icelandic',
80
- it: 'Italian',
81
- ja: 'Japanese',
82
- ko: 'Korean',
83
- la: 'Latin',
84
- lb: 'Luxembourgish',
85
- mr: 'Marathi',
86
- ms: 'Malay',
87
- mt: 'Maltese',
88
- nl: 'Dutch',
89
- no: 'Norwegian',
90
- pl: 'Polish',
91
- pt: 'Portuguese',
92
- ro: 'Romanian',
93
- ru: 'Russian',
94
- sk: 'Slovak',
95
- sr: 'Serbian',
96
- sv: 'Swedish',
97
- sw: 'Swahili',
98
- ta: 'Tamil',
99
- te: 'Telugu',
100
- th: 'Thai',
101
- tl: 'Filipino (Tagalog)',
102
- tr: 'Turkish',
103
- uk: 'Ukrainian',
104
- ur: 'Urdu',
105
- vi: 'Vietnamese',
106
- zh: 'Chinese',
107
- };
@@ -1,37 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const projectType: z.ZodEnum<{
3
- film: "film";
4
- video_game: "video_game";
5
- music: "music";
6
- tv: "tv";
7
- }>;
8
- export type ProjectType = z.infer<typeof projectType>;
9
- export declare const filmSubtype: z.ZodEnum<{
10
- "film-short": "film-short";
11
- "film-feature": "film-feature";
12
- "film-documentary": "film-documentary";
13
- "film-animated": "film-animated";
14
- }>;
15
- export type FilmSubtype = z.infer<typeof filmSubtype>;
16
- export declare const videoGameSubtype: z.ZodEnum<{
17
- video_game: "video_game";
18
- }>;
19
- export type VideoGameSubtype = z.infer<typeof videoGameSubtype>;
20
- export declare const musicSubtype: z.ZodEnum<{
21
- "music-album": "music-album";
22
- "music-single": "music-single";
23
- "music-ep": "music-ep";
24
- "music-mixtape": "music-mixtape";
25
- }>;
26
- export type MusicSubtype = z.infer<typeof musicSubtype>;
27
- export declare const tvSubtype: z.ZodEnum<{
28
- "tv-series": "tv-series";
29
- "tv-miniseries": "tv-miniseries";
30
- "tv-movie": "tv-movie";
31
- "tv-documentary": "tv-documentary";
32
- "tv-animated": "tv-animated";
33
- "tv-reality": "tv-reality";
34
- "tv-talk-show": "tv-talk-show";
35
- "tv-anime": "tv-anime";
36
- }>;
37
- export type TvSubtype = z.infer<typeof tvSubtype>;
@@ -1,6 +0,0 @@
1
- import { z } from 'zod';
2
- export const projectType = z.enum(['film', 'video_game', 'music', 'tv']);
3
- export const filmSubtype = z.enum(['film-short', 'film-feature', 'film-documentary', 'film-animated']);
4
- export const videoGameSubtype = z.enum(['video_game']);
5
- export const musicSubtype = z.enum(['music-album', 'music-single', 'music-ep', 'music-mixtape']);
6
- export const tvSubtype = z.enum(['tv-series', 'tv-miniseries', 'tv-movie', 'tv-documentary', 'tv-animated', 'tv-reality', 'tv-talk-show', 'tv-anime']);
package/dist/index.d.ts DELETED
@@ -1,14 +0,0 @@
1
- export * from './be-content/collection.zod.js';
2
- export * from './be-content/collectionItem.zod.js';
3
- export * from './be-content/creator.zod.js';
4
- export * from './be-content/creatorProjectRelation.zod.js';
5
- export * from './be-content/project.zod.js';
6
- export * from './be-content/projectCreator.zod.js';
7
- export * from './be-content/update.zod.js';
8
- export * from './be-feed/contentUpdate.zod.js';
9
- export * from './be-search/mainSearch.zod.js';
10
- export * from './be-user/subscription.zod.js';
11
- export * from './common/countries.zod.js';
12
- export * from './common/languages.zod.js';
13
- export * from './common/creatorTypes.zod.js';
14
- export * from './common/projectTypes.zod.js';
package/dist/index.js DELETED
@@ -1,14 +0,0 @@
1
- export * from './be-content/collection.zod.js';
2
- export * from './be-content/collectionItem.zod.js';
3
- export * from './be-content/creator.zod.js';
4
- export * from './be-content/creatorProjectRelation.zod.js';
5
- export * from './be-content/project.zod.js';
6
- export * from './be-content/projectCreator.zod.js';
7
- export * from './be-content/update.zod.js';
8
- export * from './be-feed/contentUpdate.zod.js';
9
- export * from './be-search/mainSearch.zod.js';
10
- export * from './be-user/subscription.zod.js';
11
- export * from './common/countries.zod.js';
12
- export * from './common/languages.zod.js';
13
- export * from './common/creatorTypes.zod.js';
14
- export * from './common/projectTypes.zod.js';