@saasmakers/shared 0.2.1 → 0.2.3
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.cjs +3270 -0
- package/dist/index.d.cts +31 -4
- package/dist/index.d.mts +31 -4
- package/dist/index.d.ts +31 -4
- package/dist/index.mjs +3268 -1
- package/package.json +11 -12
package/dist/index.d.cts
CHANGED
|
@@ -99,19 +99,46 @@ declare const LocaleSchema: z.ZodEnum<{
|
|
|
99
99
|
ja: "ja";
|
|
100
100
|
ko: "ko";
|
|
101
101
|
}>;
|
|
102
|
+
declare const CountryNameSchema: z.ZodObject<{
|
|
103
|
+
de: z.ZodString;
|
|
104
|
+
en: z.ZodString;
|
|
105
|
+
es: z.ZodString;
|
|
106
|
+
fr: z.ZodString;
|
|
107
|
+
it: z.ZodString;
|
|
108
|
+
ja: z.ZodString;
|
|
109
|
+
ko: z.ZodString;
|
|
110
|
+
native: z.ZodArray<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
declare const CountrySeedSchema: z.ZodObject<{
|
|
113
|
+
code: z.ZodString;
|
|
114
|
+
name: z.ZodObject<{
|
|
115
|
+
de: z.ZodString;
|
|
116
|
+
en: z.ZodString;
|
|
117
|
+
es: z.ZodString;
|
|
118
|
+
fr: z.ZodString;
|
|
119
|
+
it: z.ZodString;
|
|
120
|
+
ja: z.ZodString;
|
|
121
|
+
ko: z.ZodString;
|
|
122
|
+
native: z.ZodArray<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
}, z.core.$strip>;
|
|
102
125
|
declare const LogLevelSchema: z.ZodEnum<{
|
|
103
|
-
debug: "debug";
|
|
104
126
|
error: "error";
|
|
127
|
+
debug: "debug";
|
|
105
128
|
info: "info";
|
|
106
129
|
warn: "warn";
|
|
107
130
|
}>;
|
|
108
131
|
declare const environments: ("development" | "production" | "test")[];
|
|
109
132
|
declare const locales: ("de" | "en" | "es" | "fr" | "it" | "ja" | "ko")[];
|
|
110
|
-
declare const logLevels: ("
|
|
133
|
+
declare const logLevels: ("error" | "debug" | "info" | "warn")[];
|
|
134
|
+
type CountryName = z.infer<typeof CountryNameSchema>;
|
|
135
|
+
type CountrySeed = z.infer<typeof CountrySeedSchema>;
|
|
111
136
|
type Environment = z.infer<typeof EnvironmentSchema>;
|
|
112
137
|
type Locale = z.infer<typeof LocaleSchema>;
|
|
113
138
|
type LogLevel = z.infer<typeof LogLevelSchema>;
|
|
114
139
|
|
|
140
|
+
declare const countries: CountrySeed[];
|
|
141
|
+
|
|
115
142
|
declare const emojis: EmojiGroupSeed[];
|
|
116
143
|
|
|
117
144
|
type Assert<T extends true> = T
|
|
@@ -122,5 +149,5 @@ type IsEqual<A, B>
|
|
|
122
149
|
? true
|
|
123
150
|
: false
|
|
124
151
|
|
|
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 };
|
|
152
|
+
export { CountryNameSchema, CountrySeedSchema, EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, countries, emojiCategories, emojis, environments, locales, logLevels };
|
|
153
|
+
export type { Assert, CountryName, CountrySeed, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };
|
package/dist/index.d.mts
CHANGED
|
@@ -99,19 +99,46 @@ declare const LocaleSchema: z.ZodEnum<{
|
|
|
99
99
|
ja: "ja";
|
|
100
100
|
ko: "ko";
|
|
101
101
|
}>;
|
|
102
|
+
declare const CountryNameSchema: z.ZodObject<{
|
|
103
|
+
de: z.ZodString;
|
|
104
|
+
en: z.ZodString;
|
|
105
|
+
es: z.ZodString;
|
|
106
|
+
fr: z.ZodString;
|
|
107
|
+
it: z.ZodString;
|
|
108
|
+
ja: z.ZodString;
|
|
109
|
+
ko: z.ZodString;
|
|
110
|
+
native: z.ZodArray<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
declare const CountrySeedSchema: z.ZodObject<{
|
|
113
|
+
code: z.ZodString;
|
|
114
|
+
name: z.ZodObject<{
|
|
115
|
+
de: z.ZodString;
|
|
116
|
+
en: z.ZodString;
|
|
117
|
+
es: z.ZodString;
|
|
118
|
+
fr: z.ZodString;
|
|
119
|
+
it: z.ZodString;
|
|
120
|
+
ja: z.ZodString;
|
|
121
|
+
ko: z.ZodString;
|
|
122
|
+
native: z.ZodArray<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
}, z.core.$strip>;
|
|
102
125
|
declare const LogLevelSchema: z.ZodEnum<{
|
|
103
|
-
debug: "debug";
|
|
104
126
|
error: "error";
|
|
127
|
+
debug: "debug";
|
|
105
128
|
info: "info";
|
|
106
129
|
warn: "warn";
|
|
107
130
|
}>;
|
|
108
131
|
declare const environments: ("development" | "production" | "test")[];
|
|
109
132
|
declare const locales: ("de" | "en" | "es" | "fr" | "it" | "ja" | "ko")[];
|
|
110
|
-
declare const logLevels: ("
|
|
133
|
+
declare const logLevels: ("error" | "debug" | "info" | "warn")[];
|
|
134
|
+
type CountryName = z.infer<typeof CountryNameSchema>;
|
|
135
|
+
type CountrySeed = z.infer<typeof CountrySeedSchema>;
|
|
111
136
|
type Environment = z.infer<typeof EnvironmentSchema>;
|
|
112
137
|
type Locale = z.infer<typeof LocaleSchema>;
|
|
113
138
|
type LogLevel = z.infer<typeof LogLevelSchema>;
|
|
114
139
|
|
|
140
|
+
declare const countries: CountrySeed[];
|
|
141
|
+
|
|
115
142
|
declare const emojis: EmojiGroupSeed[];
|
|
116
143
|
|
|
117
144
|
type Assert<T extends true> = T
|
|
@@ -122,5 +149,5 @@ type IsEqual<A, B>
|
|
|
122
149
|
? true
|
|
123
150
|
: false
|
|
124
151
|
|
|
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 };
|
|
152
|
+
export { CountryNameSchema, CountrySeedSchema, EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, countries, emojiCategories, emojis, environments, locales, logLevels };
|
|
153
|
+
export type { Assert, CountryName, CountrySeed, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };
|
package/dist/index.d.ts
CHANGED
|
@@ -99,19 +99,46 @@ declare const LocaleSchema: z.ZodEnum<{
|
|
|
99
99
|
ja: "ja";
|
|
100
100
|
ko: "ko";
|
|
101
101
|
}>;
|
|
102
|
+
declare const CountryNameSchema: z.ZodObject<{
|
|
103
|
+
de: z.ZodString;
|
|
104
|
+
en: z.ZodString;
|
|
105
|
+
es: z.ZodString;
|
|
106
|
+
fr: z.ZodString;
|
|
107
|
+
it: z.ZodString;
|
|
108
|
+
ja: z.ZodString;
|
|
109
|
+
ko: z.ZodString;
|
|
110
|
+
native: z.ZodArray<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
declare const CountrySeedSchema: z.ZodObject<{
|
|
113
|
+
code: z.ZodString;
|
|
114
|
+
name: z.ZodObject<{
|
|
115
|
+
de: z.ZodString;
|
|
116
|
+
en: z.ZodString;
|
|
117
|
+
es: z.ZodString;
|
|
118
|
+
fr: z.ZodString;
|
|
119
|
+
it: z.ZodString;
|
|
120
|
+
ja: z.ZodString;
|
|
121
|
+
ko: z.ZodString;
|
|
122
|
+
native: z.ZodArray<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
}, z.core.$strip>;
|
|
102
125
|
declare const LogLevelSchema: z.ZodEnum<{
|
|
103
|
-
debug: "debug";
|
|
104
126
|
error: "error";
|
|
127
|
+
debug: "debug";
|
|
105
128
|
info: "info";
|
|
106
129
|
warn: "warn";
|
|
107
130
|
}>;
|
|
108
131
|
declare const environments: ("development" | "production" | "test")[];
|
|
109
132
|
declare const locales: ("de" | "en" | "es" | "fr" | "it" | "ja" | "ko")[];
|
|
110
|
-
declare const logLevels: ("
|
|
133
|
+
declare const logLevels: ("error" | "debug" | "info" | "warn")[];
|
|
134
|
+
type CountryName = z.infer<typeof CountryNameSchema>;
|
|
135
|
+
type CountrySeed = z.infer<typeof CountrySeedSchema>;
|
|
111
136
|
type Environment = z.infer<typeof EnvironmentSchema>;
|
|
112
137
|
type Locale = z.infer<typeof LocaleSchema>;
|
|
113
138
|
type LogLevel = z.infer<typeof LogLevelSchema>;
|
|
114
139
|
|
|
140
|
+
declare const countries: CountrySeed[];
|
|
141
|
+
|
|
115
142
|
declare const emojis: EmojiGroupSeed[];
|
|
116
143
|
|
|
117
144
|
type Assert<T extends true> = T
|
|
@@ -122,5 +149,5 @@ type IsEqual<A, B>
|
|
|
122
149
|
? true
|
|
123
150
|
: false
|
|
124
151
|
|
|
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 };
|
|
152
|
+
export { CountryNameSchema, CountrySeedSchema, EmojiCategorySchema, EmojiGroupSchema, EmojiGroupSeedSchema, EmojiSchema, EnvironmentSchema, LocaleSchema, LogLevelSchema, countries, emojiCategories, emojis, environments, locales, logLevels };
|
|
153
|
+
export type { Assert, CountryName, CountrySeed, Emoji, EmojiCategory, EmojiGroup, EmojiGroupSeed, Environment, IsEqual, Locale, LogLevel };
|