@wavy/util 0.0.2 → 0.0.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/main.d.ts +3 -3
- package/dist/main.js +3 -3
- package/package.json +2 -2
package/dist/main.d.ts
CHANGED
|
@@ -747,10 +747,10 @@ declare const TaskStatus: z.ZodEnum<{
|
|
|
747
747
|
}>;
|
|
748
748
|
type TaskStatus = z.infer<typeof TaskStatus>;
|
|
749
749
|
|
|
750
|
-
declare const
|
|
750
|
+
declare const Currencies: z.ZodEnum<{
|
|
751
751
|
JMD: "JMD";
|
|
752
752
|
}>;
|
|
753
|
-
type
|
|
753
|
+
type Currency = z.infer<typeof Currencies>;
|
|
754
754
|
|
|
755
755
|
type UnsubscribeFunction = () => void;
|
|
756
756
|
type KeysWithType<O extends object, T> = {
|
|
@@ -821,4 +821,4 @@ type AddPrefix<T, P extends string> = {
|
|
|
821
821
|
[Key in keyof T extends string ? `${P}${Capitalize<keyof T>}` : keyof T]: Key extends keyof T ? T[Key] : Key extends `${P}${infer Prop}` ? Uncapitalize<Prop> extends keyof T ? T[Uncapitalize<Prop>] : never : never;
|
|
822
822
|
};
|
|
823
823
|
|
|
824
|
-
export { type AddPrefix, Address, type AuthProviderType, AuthProviders, type CastArray, type CastFn, Email, ErrorCode, ErrorMessage, FILE_MIME_TYPES, type FileAlias, FileAliases, FileDetails, type FlatDictionary, type FlattenDictionary, type KeysWithType, type KeysWithoutType, type KnownFileAlias, KnownFileAliases, type MDSADelim, type MultiDimStringArrayId, Name, type NoUndefinedField, type NonFunction, type OmitType, type Partialize, PersonIdentity, PhoneNumber, type Prettify, type PropertyToString, type RemovePrefix, type RemoveSuffix, type ReplaceProperty, type ReplaceReturnType, type RevertMultiDimStringArrayId, type RevertStringArrayId, type SafeExclude, type SafeExtract, type SafeOmit, type SmartFn, type Split, type SplitMDSA, type StringArrayId, SuccessMessage, TaskLog, type TaskResult, TaskStatus,
|
|
824
|
+
export { type AddPrefix, Address, type AuthProviderType, AuthProviders, type CastArray, type CastFn, Currencies, type Currency, Email, ErrorCode, ErrorMessage, FILE_MIME_TYPES, type FileAlias, FileAliases, FileDetails, type FlatDictionary, type FlattenDictionary, type KeysWithType, type KeysWithoutType, type KnownFileAlias, KnownFileAliases, type MDSADelim, type MultiDimStringArrayId, Name, type NoUndefinedField, type NonFunction, type OmitType, type Partialize, PersonIdentity, PhoneNumber, type Prettify, type PropertyToString, type RemovePrefix, type RemoveSuffix, type ReplaceProperty, type ReplaceReturnType, type RevertMultiDimStringArrayId, type RevertStringArrayId, type SafeExclude, type SafeExtract, type SafeOmit, type SmartFn, type Split, type SplitMDSA, type StringArrayId, SuccessMessage, TaskLog, type TaskResult, TaskStatus, type TypeOrGetType, type UnionToIntersection, type UnsubscribeFunction, UserModel, type WithExpiryDate, type WithMultiDimArray, type WithStringArray, addressKeys, nameKeys };
|
package/dist/main.js
CHANGED
|
@@ -108,12 +108,13 @@ var SuccessMessage = z5.object({
|
|
|
108
108
|
});
|
|
109
109
|
var TaskStatus = z5.enum(["success", "pending", "error"]);
|
|
110
110
|
|
|
111
|
-
// src/schemas/
|
|
111
|
+
// src/schemas/Billing.ts
|
|
112
112
|
import * as z6 from "zod";
|
|
113
|
-
var
|
|
113
|
+
var Currencies = z6.enum(["JMD"]);
|
|
114
114
|
export {
|
|
115
115
|
Address,
|
|
116
116
|
AuthProviders,
|
|
117
|
+
Currencies,
|
|
117
118
|
Email,
|
|
118
119
|
ErrorCode,
|
|
119
120
|
ErrorMessage,
|
|
@@ -127,7 +128,6 @@ export {
|
|
|
127
128
|
SuccessMessage,
|
|
128
129
|
TaskLog,
|
|
129
130
|
TaskStatus,
|
|
130
|
-
TransactionCurrency,
|
|
131
131
|
UserModel,
|
|
132
132
|
addressKeys,
|
|
133
133
|
nameKeys
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavy/util",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Yay, utils!",
|
|
5
5
|
"main": "./dist/main.js",
|
|
6
6
|
"types": "./dist/main.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "tsup",
|
|
10
|
-
"publisher": "npm run build && npm version patch && npm publish
|
|
10
|
+
"publisher": "npm run build && npm version patch && npm publish && echo \"✨ Successfully published package! ✨\""
|
|
11
11
|
},
|
|
12
12
|
"keywords": [
|
|
13
13
|
"types"
|