@saasmakers/shared 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -16,6 +16,7 @@ declare const EmojiSchema: z.ZodObject<{
16
16
  character: z.ZodString;
17
17
  id: z.ZodString;
18
18
  keywords: z.ZodRecord<z.ZodEnum<{
19
+ id: "id";
19
20
  de: "de";
20
21
  en: "en";
21
22
  es: "es";
@@ -23,6 +24,11 @@ declare const EmojiSchema: z.ZodObject<{
23
24
  it: "it";
24
25
  ja: "ja";
25
26
  ko: "ko";
27
+ nl: "nl";
28
+ pl: "pl";
29
+ pt: "pt";
30
+ "pt-BR": "pt-BR";
31
+ vi: "vi";
26
32
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
27
33
  }, z.core.$strip>;
28
34
  declare const EmojiGroupSchema: z.ZodObject<{
@@ -42,6 +48,7 @@ declare const EmojiGroupSchema: z.ZodObject<{
42
48
  character: z.ZodString;
43
49
  id: z.ZodString;
44
50
  keywords: z.ZodRecord<z.ZodEnum<{
51
+ id: "id";
45
52
  de: "de";
46
53
  en: "en";
47
54
  es: "es";
@@ -49,6 +56,11 @@ declare const EmojiGroupSchema: z.ZodObject<{
49
56
  it: "it";
50
57
  ja: "ja";
51
58
  ko: "ko";
59
+ nl: "nl";
60
+ pl: "pl";
61
+ pt: "pt";
62
+ "pt-BR": "pt-BR";
63
+ vi: "vi";
52
64
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
53
65
  }, z.core.$strip>>;
54
66
  }, z.core.$strip>;
@@ -69,6 +81,7 @@ declare const EmojiGroupSeedSchema: z.ZodObject<{
69
81
  character: z.ZodString;
70
82
  id: z.ZodString;
71
83
  keywords: z.ZodRecord<z.ZodEnum<{
84
+ id: "id";
72
85
  de: "de";
73
86
  en: "en";
74
87
  es: "es";
@@ -76,6 +89,11 @@ declare const EmojiGroupSeedSchema: z.ZodObject<{
76
89
  it: "it";
77
90
  ja: "ja";
78
91
  ko: "ko";
92
+ nl: "nl";
93
+ pl: "pl";
94
+ pt: "pt";
95
+ "pt-BR": "pt-BR";
96
+ vi: "vi";
79
97
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
80
98
  }, z.core.$strip>>;
81
99
  }, z.core.$strip>;
@@ -91,6 +109,7 @@ declare const EnvironmentSchema: z.ZodEnum<{
91
109
  test: "test";
92
110
  }>;
93
111
  declare const LocaleSchema: z.ZodEnum<{
112
+ id: "id";
94
113
  de: "de";
95
114
  en: "en";
96
115
  es: "es";
@@ -98,20 +117,64 @@ declare const LocaleSchema: z.ZodEnum<{
98
117
  it: "it";
99
118
  ja: "ja";
100
119
  ko: "ko";
120
+ nl: "nl";
121
+ pl: "pl";
122
+ pt: "pt";
123
+ "pt-BR": "pt-BR";
124
+ vi: "vi";
101
125
  }>;
126
+ declare const CountryNameSchema: z.ZodObject<{
127
+ de: z.ZodString;
128
+ en: z.ZodString;
129
+ es: z.ZodString;
130
+ fr: z.ZodString;
131
+ it: z.ZodString;
132
+ ja: z.ZodString;
133
+ ko: z.ZodString;
134
+ nl: z.ZodString;
135
+ pl: z.ZodString;
136
+ pt: z.ZodString;
137
+ 'pt-BR': z.ZodString;
138
+ id: z.ZodString;
139
+ vi: z.ZodString;
140
+ native: z.ZodArray<z.ZodString>;
141
+ }, z.core.$strip>;
142
+ declare const CountrySeedSchema: z.ZodObject<{
143
+ code: z.ZodString;
144
+ name: z.ZodObject<{
145
+ de: z.ZodString;
146
+ en: z.ZodString;
147
+ es: z.ZodString;
148
+ fr: z.ZodString;
149
+ it: z.ZodString;
150
+ ja: z.ZodString;
151
+ ko: z.ZodString;
152
+ nl: z.ZodString;
153
+ pl: z.ZodString;
154
+ pt: z.ZodString;
155
+ 'pt-BR': z.ZodString;
156
+ id: z.ZodString;
157
+ vi: z.ZodString;
158
+ native: z.ZodArray<z.ZodString>;
159
+ }, z.core.$strip>;
160
+ }, z.core.$strip>;
102
161
  declare const LogLevelSchema: z.ZodEnum<{
103
- debug: "debug";
104
162
  error: "error";
163
+ debug: "debug";
105
164
  info: "info";
106
165
  warn: "warn";
107
166
  }>;
108
167
  declare const environments: ("development" | "production" | "test")[];
109
- declare const locales: ("de" | "en" | "es" | "fr" | "it" | "ja" | "ko")[];
110
- declare const logLevels: ("debug" | "error" | "info" | "warn")[];
168
+ declare const locales: ("id" | "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "nl" | "pl" | "pt" | "pt-BR" | "vi")[];
169
+ declare const logLevels: ("error" | "debug" | "info" | "warn")[];
170
+ type CountryName = z.infer<typeof CountryNameSchema>;
171
+ type CountrySeed = z.infer<typeof CountrySeedSchema>;
111
172
  type Environment = z.infer<typeof EnvironmentSchema>;
112
173
  type Locale = z.infer<typeof LocaleSchema>;
113
174
  type LogLevel = z.infer<typeof LogLevelSchema>;
114
175
 
176
+ declare const countries: CountrySeed[];
177
+
115
178
  declare const emojis: EmojiGroupSeed[];
116
179
 
117
180
  type Assert<T extends true> = T
@@ -122,5 +185,5 @@ type IsEqual<A, B>
122
185
  ? true
123
186
  : false
124
187
 
125
- export { EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, emojiCategories, emojis, environments, locales, logLevels };
126
- export type { Assert, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };
188
+ export { CountryNameSchema, CountrySeedSchema, EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, countries, emojiCategories, emojis, environments, locales, logLevels };
189
+ export type { Assert, CountryName, CountrySeed, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };
package/dist/index.d.mts CHANGED
@@ -16,6 +16,7 @@ declare const EmojiSchema: z.ZodObject<{
16
16
  character: z.ZodString;
17
17
  id: z.ZodString;
18
18
  keywords: z.ZodRecord<z.ZodEnum<{
19
+ id: "id";
19
20
  de: "de";
20
21
  en: "en";
21
22
  es: "es";
@@ -23,6 +24,11 @@ declare const EmojiSchema: z.ZodObject<{
23
24
  it: "it";
24
25
  ja: "ja";
25
26
  ko: "ko";
27
+ nl: "nl";
28
+ pl: "pl";
29
+ pt: "pt";
30
+ "pt-BR": "pt-BR";
31
+ vi: "vi";
26
32
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
27
33
  }, z.core.$strip>;
28
34
  declare const EmojiGroupSchema: z.ZodObject<{
@@ -42,6 +48,7 @@ declare const EmojiGroupSchema: z.ZodObject<{
42
48
  character: z.ZodString;
43
49
  id: z.ZodString;
44
50
  keywords: z.ZodRecord<z.ZodEnum<{
51
+ id: "id";
45
52
  de: "de";
46
53
  en: "en";
47
54
  es: "es";
@@ -49,6 +56,11 @@ declare const EmojiGroupSchema: z.ZodObject<{
49
56
  it: "it";
50
57
  ja: "ja";
51
58
  ko: "ko";
59
+ nl: "nl";
60
+ pl: "pl";
61
+ pt: "pt";
62
+ "pt-BR": "pt-BR";
63
+ vi: "vi";
52
64
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
53
65
  }, z.core.$strip>>;
54
66
  }, z.core.$strip>;
@@ -69,6 +81,7 @@ declare const EmojiGroupSeedSchema: z.ZodObject<{
69
81
  character: z.ZodString;
70
82
  id: z.ZodString;
71
83
  keywords: z.ZodRecord<z.ZodEnum<{
84
+ id: "id";
72
85
  de: "de";
73
86
  en: "en";
74
87
  es: "es";
@@ -76,6 +89,11 @@ declare const EmojiGroupSeedSchema: z.ZodObject<{
76
89
  it: "it";
77
90
  ja: "ja";
78
91
  ko: "ko";
92
+ nl: "nl";
93
+ pl: "pl";
94
+ pt: "pt";
95
+ "pt-BR": "pt-BR";
96
+ vi: "vi";
79
97
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
80
98
  }, z.core.$strip>>;
81
99
  }, z.core.$strip>;
@@ -91,6 +109,7 @@ declare const EnvironmentSchema: z.ZodEnum<{
91
109
  test: "test";
92
110
  }>;
93
111
  declare const LocaleSchema: z.ZodEnum<{
112
+ id: "id";
94
113
  de: "de";
95
114
  en: "en";
96
115
  es: "es";
@@ -98,20 +117,64 @@ declare const LocaleSchema: z.ZodEnum<{
98
117
  it: "it";
99
118
  ja: "ja";
100
119
  ko: "ko";
120
+ nl: "nl";
121
+ pl: "pl";
122
+ pt: "pt";
123
+ "pt-BR": "pt-BR";
124
+ vi: "vi";
101
125
  }>;
126
+ declare const CountryNameSchema: z.ZodObject<{
127
+ de: z.ZodString;
128
+ en: z.ZodString;
129
+ es: z.ZodString;
130
+ fr: z.ZodString;
131
+ it: z.ZodString;
132
+ ja: z.ZodString;
133
+ ko: z.ZodString;
134
+ nl: z.ZodString;
135
+ pl: z.ZodString;
136
+ pt: z.ZodString;
137
+ 'pt-BR': z.ZodString;
138
+ id: z.ZodString;
139
+ vi: z.ZodString;
140
+ native: z.ZodArray<z.ZodString>;
141
+ }, z.core.$strip>;
142
+ declare const CountrySeedSchema: z.ZodObject<{
143
+ code: z.ZodString;
144
+ name: z.ZodObject<{
145
+ de: z.ZodString;
146
+ en: z.ZodString;
147
+ es: z.ZodString;
148
+ fr: z.ZodString;
149
+ it: z.ZodString;
150
+ ja: z.ZodString;
151
+ ko: z.ZodString;
152
+ nl: z.ZodString;
153
+ pl: z.ZodString;
154
+ pt: z.ZodString;
155
+ 'pt-BR': z.ZodString;
156
+ id: z.ZodString;
157
+ vi: z.ZodString;
158
+ native: z.ZodArray<z.ZodString>;
159
+ }, z.core.$strip>;
160
+ }, z.core.$strip>;
102
161
  declare const LogLevelSchema: z.ZodEnum<{
103
- debug: "debug";
104
162
  error: "error";
163
+ debug: "debug";
105
164
  info: "info";
106
165
  warn: "warn";
107
166
  }>;
108
167
  declare const environments: ("development" | "production" | "test")[];
109
- declare const locales: ("de" | "en" | "es" | "fr" | "it" | "ja" | "ko")[];
110
- declare const logLevels: ("debug" | "error" | "info" | "warn")[];
168
+ declare const locales: ("id" | "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "nl" | "pl" | "pt" | "pt-BR" | "vi")[];
169
+ declare const logLevels: ("error" | "debug" | "info" | "warn")[];
170
+ type CountryName = z.infer<typeof CountryNameSchema>;
171
+ type CountrySeed = z.infer<typeof CountrySeedSchema>;
111
172
  type Environment = z.infer<typeof EnvironmentSchema>;
112
173
  type Locale = z.infer<typeof LocaleSchema>;
113
174
  type LogLevel = z.infer<typeof LogLevelSchema>;
114
175
 
176
+ declare const countries: CountrySeed[];
177
+
115
178
  declare const emojis: EmojiGroupSeed[];
116
179
 
117
180
  type Assert<T extends true> = T
@@ -122,5 +185,5 @@ type IsEqual<A, B>
122
185
  ? true
123
186
  : false
124
187
 
125
- export { EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, emojiCategories, emojis, environments, locales, logLevels };
126
- export type { Assert, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };
188
+ export { CountryNameSchema, CountrySeedSchema, EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, countries, emojiCategories, emojis, environments, locales, logLevels };
189
+ export type { Assert, CountryName, CountrySeed, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ declare const EmojiSchema: z.ZodObject<{
16
16
  character: z.ZodString;
17
17
  id: z.ZodString;
18
18
  keywords: z.ZodRecord<z.ZodEnum<{
19
+ id: "id";
19
20
  de: "de";
20
21
  en: "en";
21
22
  es: "es";
@@ -23,6 +24,11 @@ declare const EmojiSchema: z.ZodObject<{
23
24
  it: "it";
24
25
  ja: "ja";
25
26
  ko: "ko";
27
+ nl: "nl";
28
+ pl: "pl";
29
+ pt: "pt";
30
+ "pt-BR": "pt-BR";
31
+ vi: "vi";
26
32
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
27
33
  }, z.core.$strip>;
28
34
  declare const EmojiGroupSchema: z.ZodObject<{
@@ -42,6 +48,7 @@ declare const EmojiGroupSchema: z.ZodObject<{
42
48
  character: z.ZodString;
43
49
  id: z.ZodString;
44
50
  keywords: z.ZodRecord<z.ZodEnum<{
51
+ id: "id";
45
52
  de: "de";
46
53
  en: "en";
47
54
  es: "es";
@@ -49,6 +56,11 @@ declare const EmojiGroupSchema: z.ZodObject<{
49
56
  it: "it";
50
57
  ja: "ja";
51
58
  ko: "ko";
59
+ nl: "nl";
60
+ pl: "pl";
61
+ pt: "pt";
62
+ "pt-BR": "pt-BR";
63
+ vi: "vi";
52
64
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
53
65
  }, z.core.$strip>>;
54
66
  }, z.core.$strip>;
@@ -69,6 +81,7 @@ declare const EmojiGroupSeedSchema: z.ZodObject<{
69
81
  character: z.ZodString;
70
82
  id: z.ZodString;
71
83
  keywords: z.ZodRecord<z.ZodEnum<{
84
+ id: "id";
72
85
  de: "de";
73
86
  en: "en";
74
87
  es: "es";
@@ -76,6 +89,11 @@ declare const EmojiGroupSeedSchema: z.ZodObject<{
76
89
  it: "it";
77
90
  ja: "ja";
78
91
  ko: "ko";
92
+ nl: "nl";
93
+ pl: "pl";
94
+ pt: "pt";
95
+ "pt-BR": "pt-BR";
96
+ vi: "vi";
79
97
  }>, z.ZodTuple<[z.ZodString], z.ZodString>>;
80
98
  }, z.core.$strip>>;
81
99
  }, z.core.$strip>;
@@ -91,6 +109,7 @@ declare const EnvironmentSchema: z.ZodEnum<{
91
109
  test: "test";
92
110
  }>;
93
111
  declare const LocaleSchema: z.ZodEnum<{
112
+ id: "id";
94
113
  de: "de";
95
114
  en: "en";
96
115
  es: "es";
@@ -98,20 +117,64 @@ declare const LocaleSchema: z.ZodEnum<{
98
117
  it: "it";
99
118
  ja: "ja";
100
119
  ko: "ko";
120
+ nl: "nl";
121
+ pl: "pl";
122
+ pt: "pt";
123
+ "pt-BR": "pt-BR";
124
+ vi: "vi";
101
125
  }>;
126
+ declare const CountryNameSchema: z.ZodObject<{
127
+ de: z.ZodString;
128
+ en: z.ZodString;
129
+ es: z.ZodString;
130
+ fr: z.ZodString;
131
+ it: z.ZodString;
132
+ ja: z.ZodString;
133
+ ko: z.ZodString;
134
+ nl: z.ZodString;
135
+ pl: z.ZodString;
136
+ pt: z.ZodString;
137
+ 'pt-BR': z.ZodString;
138
+ id: z.ZodString;
139
+ vi: z.ZodString;
140
+ native: z.ZodArray<z.ZodString>;
141
+ }, z.core.$strip>;
142
+ declare const CountrySeedSchema: z.ZodObject<{
143
+ code: z.ZodString;
144
+ name: z.ZodObject<{
145
+ de: z.ZodString;
146
+ en: z.ZodString;
147
+ es: z.ZodString;
148
+ fr: z.ZodString;
149
+ it: z.ZodString;
150
+ ja: z.ZodString;
151
+ ko: z.ZodString;
152
+ nl: z.ZodString;
153
+ pl: z.ZodString;
154
+ pt: z.ZodString;
155
+ 'pt-BR': z.ZodString;
156
+ id: z.ZodString;
157
+ vi: z.ZodString;
158
+ native: z.ZodArray<z.ZodString>;
159
+ }, z.core.$strip>;
160
+ }, z.core.$strip>;
102
161
  declare const LogLevelSchema: z.ZodEnum<{
103
- debug: "debug";
104
162
  error: "error";
163
+ debug: "debug";
105
164
  info: "info";
106
165
  warn: "warn";
107
166
  }>;
108
167
  declare const environments: ("development" | "production" | "test")[];
109
- declare const locales: ("de" | "en" | "es" | "fr" | "it" | "ja" | "ko")[];
110
- declare const logLevels: ("debug" | "error" | "info" | "warn")[];
168
+ declare const locales: ("id" | "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "nl" | "pl" | "pt" | "pt-BR" | "vi")[];
169
+ declare const logLevels: ("error" | "debug" | "info" | "warn")[];
170
+ type CountryName = z.infer<typeof CountryNameSchema>;
171
+ type CountrySeed = z.infer<typeof CountrySeedSchema>;
111
172
  type Environment = z.infer<typeof EnvironmentSchema>;
112
173
  type Locale = z.infer<typeof LocaleSchema>;
113
174
  type LogLevel = z.infer<typeof LogLevelSchema>;
114
175
 
176
+ declare const countries: CountrySeed[];
177
+
115
178
  declare const emojis: EmojiGroupSeed[];
116
179
 
117
180
  type Assert<T extends true> = T
@@ -122,5 +185,5 @@ type IsEqual<A, B>
122
185
  ? true
123
186
  : false
124
187
 
125
- export { EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, emojiCategories, emojis, environments, locales, logLevels };
126
- export type { Assert, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };
188
+ export { CountryNameSchema, CountrySeedSchema, EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, countries, emojiCategories, emojis, environments, locales, logLevels };
189
+ export type { Assert, CountryName, CountrySeed, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };