@customafk/lunas-api-sdk 0.0.26 → 0.0.28
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 +53 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +53 -1
- package/dist/index.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -52,11 +52,34 @@ declare enum ERole {
|
|
|
52
52
|
VIEWER = 'VIEWER',
|
|
53
53
|
USER = 'USER',
|
|
54
54
|
}
|
|
55
|
+
declare enum EProvider {
|
|
56
|
+
BASIC = 'BASIC',
|
|
57
|
+
FACEBOOK = 'FACEBOOK',
|
|
58
|
+
GOOGLE = 'GOOGLE',
|
|
59
|
+
GITHUB = 'GITHUB',
|
|
60
|
+
TWITTER = 'TWITTER',
|
|
61
|
+
}
|
|
62
|
+
declare enum EProductStatus {
|
|
63
|
+
DRAFT = 'draft',
|
|
64
|
+
REVIEW = 'review',
|
|
65
|
+
PUBLISHED = 'published',
|
|
66
|
+
CANCELLED = 'cancelled',
|
|
67
|
+
}
|
|
55
68
|
declare enum EProductInventoryStatus {
|
|
56
69
|
IN_STOCK = 'in_stock',
|
|
57
70
|
OUT_OF_STOCK = 'out_of_stock',
|
|
58
71
|
PREORDER = 'preorder',
|
|
59
72
|
}
|
|
73
|
+
declare enum ECartStatus {
|
|
74
|
+
ACTIVE = 'active',
|
|
75
|
+
COMPLETED = 'completed',
|
|
76
|
+
ABANDONED = 'abandoned',
|
|
77
|
+
EXPIRED = 'expired',
|
|
78
|
+
}
|
|
79
|
+
declare enum ECartType {
|
|
80
|
+
IN_STOCK = 'in_stock',
|
|
81
|
+
ORDER = 'order',
|
|
82
|
+
}
|
|
60
83
|
type TResponsePagination = {
|
|
61
84
|
page: number;
|
|
62
85
|
limit: number;
|
|
@@ -79,6 +102,35 @@ type TResponseMeta = {
|
|
|
79
102
|
path: string;
|
|
80
103
|
pagination?: TResponsePagination;
|
|
81
104
|
};
|
|
105
|
+
type TResponse<T> = T extends string ? {
|
|
106
|
+
success: true;
|
|
107
|
+
statusCode: number;
|
|
108
|
+
data: null;
|
|
109
|
+
message: string;
|
|
110
|
+
error: null;
|
|
111
|
+
meta: TResponseMeta;
|
|
112
|
+
} | {
|
|
113
|
+
success: false;
|
|
114
|
+
statusCode: number;
|
|
115
|
+
data: null;
|
|
116
|
+
message: string;
|
|
117
|
+
error: TResponseError;
|
|
118
|
+
meta: TResponseMeta;
|
|
119
|
+
} : {
|
|
120
|
+
success: true;
|
|
121
|
+
statusCode: number;
|
|
122
|
+
data: T;
|
|
123
|
+
message: null;
|
|
124
|
+
error: null;
|
|
125
|
+
meta: TResponseMeta;
|
|
126
|
+
} | {
|
|
127
|
+
success: false;
|
|
128
|
+
statusCode: number;
|
|
129
|
+
data: null;
|
|
130
|
+
message: string;
|
|
131
|
+
error: TResponseError;
|
|
132
|
+
meta: TResponseMeta;
|
|
133
|
+
};
|
|
82
134
|
//#endregion
|
|
83
135
|
//#region src/utils.d.ts
|
|
84
136
|
declare const _func: () => {
|
|
@@ -3031,5 +3083,5 @@ declare class ClientApi {
|
|
|
3031
3083
|
private _onUnauthorized?;
|
|
3032
3084
|
}
|
|
3033
3085
|
//#endregion
|
|
3034
|
-
export { ClientApi, type TUser };
|
|
3086
|
+
export { ClientApi, type ECartStatus, type ECartType, type ECountry, type EDimensionUnit, type EMediaEntityType, type EMimeType, type EProductInventoryStatus, type EProductStatus, type EProvider, type ERole, type EWeightUnit, type TResponse, type TResponseError, type TUser };
|
|
3035
3087
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":["app","EMediaEntityType","EMimeType","EWeightUnit","EDimensionUnit","ECountry","ERole","EProvider","EProductStatus","EProductInventoryStatus","ECartStatus","ECartType","TResponsePagination","TResponseError","TResponseMeta","TResponse","T","TPayloadJwt","AppType"],"sources":["../../app/src/types.d.ts","../src/utils.ts"],"sourcesContent":["import type { app } from '.';\n\nexport enum EMediaEntityType {\n PRODUCT = 'product',\n EXTRA_PRODUCT = 'extra_product',\n VARIANT = 'variant',\n CATEGORY = 'category',\n BRAND = 'brand',\n BLOG_POST = 'blog_post',\n SERIES = 'series',\n}\n\nexport enum EMimeType {\n IMAGE_WEBP = 'image/webp',\n IMAGE_JPEG = 'image/jpeg',\n IMAGE_JPG = 'image/jpg',\n IMAGE_PNG = 'image/png',\n IMAGE_GIF = 'image/gif',\n IMAGE_AVIF = 'image/avif',\n IMAGE_SVG = 'image/svg+xml',\n}\n\nexport enum EWeightUnit {\n KG = 'kg',\n G = 'g',\n LB = 'lb',\n OZ = 'oz',\n}\n\nexport enum EDimensionUnit {\n CM = 'cm',\n M = 'm',\n INCH = 'inch',\n FT = 'ft',\n}\n\nexport enum ECountry {\n VIETNAM = 'Vietnam',\n USA = 'USA',\n JAPAN = 'Japan',\n KOREA = 'Korea',\n CHINA = 'China',\n TAIWAN = 'Taiwan',\n THAILAND = 'Thailand',\n MALAYSIA = 'Malaysia',\n SINGAPORE = 'Singapore',\n INDONESIA = 'Indonesia',\n}\n\nexport enum ERole {\n SUPER_ADMIN = 'SUPER_ADMIN',\n ADMIN = 'ADMIN',\n MODERATOR = 'MODERATOR',\n STAFF = 'STAFF',\n EDITOR = 'EDITOR',\n VIEWER = 'VIEWER',\n USER = 'USER',\n}\n\nexport enum EProvider {\n BASIC = 'BASIC',\n FACEBOOK = 'FACEBOOK',\n GOOGLE = 'GOOGLE',\n GITHUB = 'GITHUB',\n TWITTER = 'TWITTER',\n}\n\nexport enum EProductStatus {\n DRAFT = 'draft',\n REVIEW = 'review',\n PUBLISHED = 'published',\n CANCELLED = 'cancelled',\n}\n\nexport enum EProductInventoryStatus {\n IN_STOCK = 'in_stock',\n OUT_OF_STOCK = 'out_of_stock',\n PREORDER = 'preorder',\n}\n\nexport enum ECartStatus {\n ACTIVE = 'active',\n COMPLETED = 'completed',\n ABANDONED = 'abandoned',\n EXPIRED = 'expired',\n}\n\nexport enum ECartType {\n IN_STOCK = 'in_stock',\n ORDER = 'order',\n}\n\nexport type TResponsePagination = {\n page: number;\n limit: number;\n total: number;\n totalPages: number;\n hasNextPage: boolean;\n hasPreviousPage: boolean;\n};\n\nexport type TResponseError = {\n statusCode: number;\n message: string;\n reference?: string | null;\n fields?: {\n [key: string]: string[] | string;\n };\n};\n\nexport type TResponseMeta = {\n version: string;\n timestamp: string;\n path: string;\n pagination?: TResponsePagination;\n};\n\nexport type TResponse<T> = T extends string\n ?\n | {\n success: true;\n statusCode: number;\n data: null;\n message: string;\n error: null;\n meta: TResponseMeta;\n }\n | {\n success: false;\n statusCode: number;\n data: null;\n message: string;\n error: TResponseError;\n meta: TResponseMeta;\n }\n :\n | {\n success: true;\n statusCode: number;\n data: T;\n message: null;\n error: null;\n meta: TResponseMeta;\n }\n | {\n success: false;\n statusCode: number;\n data: null;\n message: string;\n error: TResponseError;\n meta: TResponseMeta;\n };\n\nexport type TPayloadJwt = {\n uuid: string;\n role: string;\n};\n\nexport type AppType = typeof app;\n"],"mappings":";;;aAEYC,gBAAAA;EAAZ,OAAYA,GAAAA,SAAAA;EAUZ,aAAYC,GAAS,eAAA;EAUrB,OAAYC,GAAAA,SAAW;EAOvB,QAAYC,GAAAA,UAAc;EAO1B,KAAYC,GAAAA,OAAQ;EAapB,SAAYC,GAAK,WAAA;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":["app","EMediaEntityType","EMimeType","EWeightUnit","EDimensionUnit","ECountry","ERole","EProvider","EProductStatus","EProductInventoryStatus","ECartStatus","ECartType","TResponsePagination","TResponseError","TResponseMeta","TResponse","T","TPayloadJwt","AppType"],"sources":["../../app/src/types.d.ts","../src/utils.ts"],"sourcesContent":["import type { app } from '.';\n\nexport enum EMediaEntityType {\n PRODUCT = 'product',\n EXTRA_PRODUCT = 'extra_product',\n VARIANT = 'variant',\n CATEGORY = 'category',\n BRAND = 'brand',\n BLOG_POST = 'blog_post',\n SERIES = 'series',\n}\n\nexport enum EMimeType {\n IMAGE_WEBP = 'image/webp',\n IMAGE_JPEG = 'image/jpeg',\n IMAGE_JPG = 'image/jpg',\n IMAGE_PNG = 'image/png',\n IMAGE_GIF = 'image/gif',\n IMAGE_AVIF = 'image/avif',\n IMAGE_SVG = 'image/svg+xml',\n}\n\nexport enum EWeightUnit {\n KG = 'kg',\n G = 'g',\n LB = 'lb',\n OZ = 'oz',\n}\n\nexport enum EDimensionUnit {\n CM = 'cm',\n M = 'm',\n INCH = 'inch',\n FT = 'ft',\n}\n\nexport enum ECountry {\n VIETNAM = 'Vietnam',\n USA = 'USA',\n JAPAN = 'Japan',\n KOREA = 'Korea',\n CHINA = 'China',\n TAIWAN = 'Taiwan',\n THAILAND = 'Thailand',\n MALAYSIA = 'Malaysia',\n SINGAPORE = 'Singapore',\n INDONESIA = 'Indonesia',\n}\n\nexport enum ERole {\n SUPER_ADMIN = 'SUPER_ADMIN',\n ADMIN = 'ADMIN',\n MODERATOR = 'MODERATOR',\n STAFF = 'STAFF',\n EDITOR = 'EDITOR',\n VIEWER = 'VIEWER',\n USER = 'USER',\n}\n\nexport enum EProvider {\n BASIC = 'BASIC',\n FACEBOOK = 'FACEBOOK',\n GOOGLE = 'GOOGLE',\n GITHUB = 'GITHUB',\n TWITTER = 'TWITTER',\n}\n\nexport enum EProductStatus {\n DRAFT = 'draft',\n REVIEW = 'review',\n PUBLISHED = 'published',\n CANCELLED = 'cancelled',\n}\n\nexport enum EProductInventoryStatus {\n IN_STOCK = 'in_stock',\n OUT_OF_STOCK = 'out_of_stock',\n PREORDER = 'preorder',\n}\n\nexport enum ECartStatus {\n ACTIVE = 'active',\n COMPLETED = 'completed',\n ABANDONED = 'abandoned',\n EXPIRED = 'expired',\n}\n\nexport enum ECartType {\n IN_STOCK = 'in_stock',\n ORDER = 'order',\n}\n\nexport type TResponsePagination = {\n page: number;\n limit: number;\n total: number;\n totalPages: number;\n hasNextPage: boolean;\n hasPreviousPage: boolean;\n};\n\nexport type TResponseError = {\n statusCode: number;\n message: string;\n reference?: string | null;\n fields?: {\n [key: string]: string[] | string;\n };\n};\n\nexport type TResponseMeta = {\n version: string;\n timestamp: string;\n path: string;\n pagination?: TResponsePagination;\n};\n\nexport type TResponse<T> = T extends string\n ?\n | {\n success: true;\n statusCode: number;\n data: null;\n message: string;\n error: null;\n meta: TResponseMeta;\n }\n | {\n success: false;\n statusCode: number;\n data: null;\n message: string;\n error: TResponseError;\n meta: TResponseMeta;\n }\n :\n | {\n success: true;\n statusCode: number;\n data: T;\n message: null;\n error: null;\n meta: TResponseMeta;\n }\n | {\n success: false;\n statusCode: number;\n data: null;\n message: string;\n error: TResponseError;\n meta: TResponseMeta;\n };\n\nexport type TPayloadJwt = {\n uuid: string;\n role: string;\n};\n\nexport type AppType = typeof app;\n"],"mappings":";;;aAEYC,gBAAAA;EAAZ,OAAYA,GAAAA,SAAAA;EAUZ,aAAYC,GAAS,eAAA;EAUrB,OAAYC,GAAAA,SAAW;EAOvB,QAAYC,GAAAA,UAAc;EAO1B,KAAYC,GAAAA,OAAQ;EAapB,SAAYC,GAAK,WAAA;EAUjB,MAAYC,GAAAA,QAAS;AAQrB;AAaYG,aApEAR,SAAAA;EA2EZ,UAAYS,GAAAA,YAAS;EAKrB,UAAYC,GAAAA,YAAmB;EAS/B,SAAYC,GAAAA,WAAc;EAS1B,SAAYC,GAAAA,WAAa;EAOzB,SAAYC,GAAAA,WAASC;EAAMA,UAAAA,GAAAA,YAAAA;EAQXF,SAAAA,GAAAA,eAAAA;;AAcAE,aArHJb,WAAAA;EAwHIW,EAAAA,GAAAA,IAAAA;EAOCD,CAAAA,GAAAA,GAAAA;EACDC,EAAAA,GAAAA,IAAAA;EAAa,EAAA,GAAA,IAAA;;aAzHjBV,cAAAA;EC1BwB,EAa9B,GAAA,IAAA;;;;;aDoBMC,QAAAA;;;;;;;;;;;;aAaAC,KAAAA;;;;;;;;;aAUAC,SAAAA;;;;;;;a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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAvKE,OAAA,GAAU,kBAAkB;KAErB,KAAA,GAAQ,MAAA,CAAO,KACzB,QAAQ,WAAW;KAGhB,MAAA;;WAEM,KAAK,MAAA,CAAO;;cAGV,SAAA;;;;;eAQS;;0BAGI,wBAAwB;qBAC7B,wBAAwB;4BACjB;kCACM;8DAC4B;;;;;;;;KA6G3B;aAab;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAMA;YAID;;;;mBAQF,YAAY,QAAQ;MACpC,QAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -52,11 +52,34 @@ declare enum ERole {
|
|
|
52
52
|
VIEWER = 'VIEWER',
|
|
53
53
|
USER = 'USER',
|
|
54
54
|
}
|
|
55
|
+
declare enum EProvider {
|
|
56
|
+
BASIC = 'BASIC',
|
|
57
|
+
FACEBOOK = 'FACEBOOK',
|
|
58
|
+
GOOGLE = 'GOOGLE',
|
|
59
|
+
GITHUB = 'GITHUB',
|
|
60
|
+
TWITTER = 'TWITTER',
|
|
61
|
+
}
|
|
62
|
+
declare enum EProductStatus {
|
|
63
|
+
DRAFT = 'draft',
|
|
64
|
+
REVIEW = 'review',
|
|
65
|
+
PUBLISHED = 'published',
|
|
66
|
+
CANCELLED = 'cancelled',
|
|
67
|
+
}
|
|
55
68
|
declare enum EProductInventoryStatus {
|
|
56
69
|
IN_STOCK = 'in_stock',
|
|
57
70
|
OUT_OF_STOCK = 'out_of_stock',
|
|
58
71
|
PREORDER = 'preorder',
|
|
59
72
|
}
|
|
73
|
+
declare enum ECartStatus {
|
|
74
|
+
ACTIVE = 'active',
|
|
75
|
+
COMPLETED = 'completed',
|
|
76
|
+
ABANDONED = 'abandoned',
|
|
77
|
+
EXPIRED = 'expired',
|
|
78
|
+
}
|
|
79
|
+
declare enum ECartType {
|
|
80
|
+
IN_STOCK = 'in_stock',
|
|
81
|
+
ORDER = 'order',
|
|
82
|
+
}
|
|
60
83
|
type TResponsePagination = {
|
|
61
84
|
page: number;
|
|
62
85
|
limit: number;
|
|
@@ -79,6 +102,35 @@ type TResponseMeta = {
|
|
|
79
102
|
path: string;
|
|
80
103
|
pagination?: TResponsePagination;
|
|
81
104
|
};
|
|
105
|
+
type TResponse<T> = T extends string ? {
|
|
106
|
+
success: true;
|
|
107
|
+
statusCode: number;
|
|
108
|
+
data: null;
|
|
109
|
+
message: string;
|
|
110
|
+
error: null;
|
|
111
|
+
meta: TResponseMeta;
|
|
112
|
+
} | {
|
|
113
|
+
success: false;
|
|
114
|
+
statusCode: number;
|
|
115
|
+
data: null;
|
|
116
|
+
message: string;
|
|
117
|
+
error: TResponseError;
|
|
118
|
+
meta: TResponseMeta;
|
|
119
|
+
} : {
|
|
120
|
+
success: true;
|
|
121
|
+
statusCode: number;
|
|
122
|
+
data: T;
|
|
123
|
+
message: null;
|
|
124
|
+
error: null;
|
|
125
|
+
meta: TResponseMeta;
|
|
126
|
+
} | {
|
|
127
|
+
success: false;
|
|
128
|
+
statusCode: number;
|
|
129
|
+
data: null;
|
|
130
|
+
message: string;
|
|
131
|
+
error: TResponseError;
|
|
132
|
+
meta: TResponseMeta;
|
|
133
|
+
};
|
|
82
134
|
//#endregion
|
|
83
135
|
//#region src/utils.d.ts
|
|
84
136
|
declare const _func: () => {
|
|
@@ -3031,5 +3083,5 @@ declare class ClientApi {
|
|
|
3031
3083
|
private _onUnauthorized?;
|
|
3032
3084
|
}
|
|
3033
3085
|
//#endregion
|
|
3034
|
-
export { ClientApi, type TUser };
|
|
3086
|
+
export { ClientApi, type ECartStatus, type ECartType, type ECountry, type EDimensionUnit, type EMediaEntityType, type EMimeType, type EProductInventoryStatus, type EProductStatus, type EProvider, type ERole, type EWeightUnit, type TResponse, type TResponseError, type TUser };
|
|
3035
3087
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":["app","EMediaEntityType","EMimeType","EWeightUnit","EDimensionUnit","ECountry","ERole","EProvider","EProductStatus","EProductInventoryStatus","ECartStatus","ECartType","TResponsePagination","TResponseError","TResponseMeta","TResponse","T","TPayloadJwt","AppType"],"sources":["../../app/src/types.d.ts","../src/utils.ts"],"sourcesContent":["import type { app } from '.';\n\nexport enum EMediaEntityType {\n PRODUCT = 'product',\n EXTRA_PRODUCT = 'extra_product',\n VARIANT = 'variant',\n CATEGORY = 'category',\n BRAND = 'brand',\n BLOG_POST = 'blog_post',\n SERIES = 'series',\n}\n\nexport enum EMimeType {\n IMAGE_WEBP = 'image/webp',\n IMAGE_JPEG = 'image/jpeg',\n IMAGE_JPG = 'image/jpg',\n IMAGE_PNG = 'image/png',\n IMAGE_GIF = 'image/gif',\n IMAGE_AVIF = 'image/avif',\n IMAGE_SVG = 'image/svg+xml',\n}\n\nexport enum EWeightUnit {\n KG = 'kg',\n G = 'g',\n LB = 'lb',\n OZ = 'oz',\n}\n\nexport enum EDimensionUnit {\n CM = 'cm',\n M = 'm',\n INCH = 'inch',\n FT = 'ft',\n}\n\nexport enum ECountry {\n VIETNAM = 'Vietnam',\n USA = 'USA',\n JAPAN = 'Japan',\n KOREA = 'Korea',\n CHINA = 'China',\n TAIWAN = 'Taiwan',\n THAILAND = 'Thailand',\n MALAYSIA = 'Malaysia',\n SINGAPORE = 'Singapore',\n INDONESIA = 'Indonesia',\n}\n\nexport enum ERole {\n SUPER_ADMIN = 'SUPER_ADMIN',\n ADMIN = 'ADMIN',\n MODERATOR = 'MODERATOR',\n STAFF = 'STAFF',\n EDITOR = 'EDITOR',\n VIEWER = 'VIEWER',\n USER = 'USER',\n}\n\nexport enum EProvider {\n BASIC = 'BASIC',\n FACEBOOK = 'FACEBOOK',\n GOOGLE = 'GOOGLE',\n GITHUB = 'GITHUB',\n TWITTER = 'TWITTER',\n}\n\nexport enum EProductStatus {\n DRAFT = 'draft',\n REVIEW = 'review',\n PUBLISHED = 'published',\n CANCELLED = 'cancelled',\n}\n\nexport enum EProductInventoryStatus {\n IN_STOCK = 'in_stock',\n OUT_OF_STOCK = 'out_of_stock',\n PREORDER = 'preorder',\n}\n\nexport enum ECartStatus {\n ACTIVE = 'active',\n COMPLETED = 'completed',\n ABANDONED = 'abandoned',\n EXPIRED = 'expired',\n}\n\nexport enum ECartType {\n IN_STOCK = 'in_stock',\n ORDER = 'order',\n}\n\nexport type TResponsePagination = {\n page: number;\n limit: number;\n total: number;\n totalPages: number;\n hasNextPage: boolean;\n hasPreviousPage: boolean;\n};\n\nexport type TResponseError = {\n statusCode: number;\n message: string;\n reference?: string | null;\n fields?: {\n [key: string]: string[] | string;\n };\n};\n\nexport type TResponseMeta = {\n version: string;\n timestamp: string;\n path: string;\n pagination?: TResponsePagination;\n};\n\nexport type TResponse<T> = T extends string\n ?\n | {\n success: true;\n statusCode: number;\n data: null;\n message: string;\n error: null;\n meta: TResponseMeta;\n }\n | {\n success: false;\n statusCode: number;\n data: null;\n message: string;\n error: TResponseError;\n meta: TResponseMeta;\n }\n :\n | {\n success: true;\n statusCode: number;\n data: T;\n message: null;\n error: null;\n meta: TResponseMeta;\n }\n | {\n success: false;\n statusCode: number;\n data: null;\n message: string;\n error: TResponseError;\n meta: TResponseMeta;\n };\n\nexport type TPayloadJwt = {\n uuid: string;\n role: string;\n};\n\nexport type AppType = typeof app;\n"],"mappings":";;;aAEYC,gBAAAA;EAAZ,OAAYA,GAAAA,SAAAA;EAUZ,aAAYC,GAAS,eAAA;EAUrB,OAAYC,GAAAA,SAAW;EAOvB,QAAYC,GAAAA,UAAc;EAO1B,KAAYC,GAAAA,OAAQ;EAapB,SAAYC,GAAK,WAAA;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["app","EMediaEntityType","EMimeType","EWeightUnit","EDimensionUnit","ECountry","ERole","EProvider","EProductStatus","EProductInventoryStatus","ECartStatus","ECartType","TResponsePagination","TResponseError","TResponseMeta","TResponse","T","TPayloadJwt","AppType"],"sources":["../../app/src/types.d.ts","../src/utils.ts"],"sourcesContent":["import type { app } from '.';\n\nexport enum EMediaEntityType {\n PRODUCT = 'product',\n EXTRA_PRODUCT = 'extra_product',\n VARIANT = 'variant',\n CATEGORY = 'category',\n BRAND = 'brand',\n BLOG_POST = 'blog_post',\n SERIES = 'series',\n}\n\nexport enum EMimeType {\n IMAGE_WEBP = 'image/webp',\n IMAGE_JPEG = 'image/jpeg',\n IMAGE_JPG = 'image/jpg',\n IMAGE_PNG = 'image/png',\n IMAGE_GIF = 'image/gif',\n IMAGE_AVIF = 'image/avif',\n IMAGE_SVG = 'image/svg+xml',\n}\n\nexport enum EWeightUnit {\n KG = 'kg',\n G = 'g',\n LB = 'lb',\n OZ = 'oz',\n}\n\nexport enum EDimensionUnit {\n CM = 'cm',\n M = 'm',\n INCH = 'inch',\n FT = 'ft',\n}\n\nexport enum ECountry {\n VIETNAM = 'Vietnam',\n USA = 'USA',\n JAPAN = 'Japan',\n KOREA = 'Korea',\n CHINA = 'China',\n TAIWAN = 'Taiwan',\n THAILAND = 'Thailand',\n MALAYSIA = 'Malaysia',\n SINGAPORE = 'Singapore',\n INDONESIA = 'Indonesia',\n}\n\nexport enum ERole {\n SUPER_ADMIN = 'SUPER_ADMIN',\n ADMIN = 'ADMIN',\n MODERATOR = 'MODERATOR',\n STAFF = 'STAFF',\n EDITOR = 'EDITOR',\n VIEWER = 'VIEWER',\n USER = 'USER',\n}\n\nexport enum EProvider {\n BASIC = 'BASIC',\n FACEBOOK = 'FACEBOOK',\n GOOGLE = 'GOOGLE',\n GITHUB = 'GITHUB',\n TWITTER = 'TWITTER',\n}\n\nexport enum EProductStatus {\n DRAFT = 'draft',\n REVIEW = 'review',\n PUBLISHED = 'published',\n CANCELLED = 'cancelled',\n}\n\nexport enum EProductInventoryStatus {\n IN_STOCK = 'in_stock',\n OUT_OF_STOCK = 'out_of_stock',\n PREORDER = 'preorder',\n}\n\nexport enum ECartStatus {\n ACTIVE = 'active',\n COMPLETED = 'completed',\n ABANDONED = 'abandoned',\n EXPIRED = 'expired',\n}\n\nexport enum ECartType {\n IN_STOCK = 'in_stock',\n ORDER = 'order',\n}\n\nexport type TResponsePagination = {\n page: number;\n limit: number;\n total: number;\n totalPages: number;\n hasNextPage: boolean;\n hasPreviousPage: boolean;\n};\n\nexport type TResponseError = {\n statusCode: number;\n message: string;\n reference?: string | null;\n fields?: {\n [key: string]: string[] | string;\n };\n};\n\nexport type TResponseMeta = {\n version: string;\n timestamp: string;\n path: string;\n pagination?: TResponsePagination;\n};\n\nexport type TResponse<T> = T extends string\n ?\n | {\n success: true;\n statusCode: number;\n data: null;\n message: string;\n error: null;\n meta: TResponseMeta;\n }\n | {\n success: false;\n statusCode: number;\n data: null;\n message: string;\n error: TResponseError;\n meta: TResponseMeta;\n }\n :\n | {\n success: true;\n statusCode: number;\n data: T;\n message: null;\n error: null;\n meta: TResponseMeta;\n }\n | {\n success: false;\n statusCode: number;\n data: null;\n message: string;\n error: TResponseError;\n meta: TResponseMeta;\n };\n\nexport type TPayloadJwt = {\n uuid: string;\n role: string;\n};\n\nexport type AppType = typeof app;\n"],"mappings":";;;aAEYC,gBAAAA;EAAZ,OAAYA,GAAAA,SAAAA;EAUZ,aAAYC,GAAS,eAAA;EAUrB,OAAYC,GAAAA,SAAW;EAOvB,QAAYC,GAAAA,UAAc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