synunu-libs 1.0.0
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/constants/index.d.ts +2 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/index.js +18 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/permission.constants.d.ts +168 -0
- package/dist/constants/permission.constants.d.ts.map +1 -0
- package/dist/constants/permission.constants.js +79 -0
- package/dist/constants/permission.constants.js.map +1 -0
- package/dist/dto/index.d.ts +2 -0
- package/dist/dto/index.d.ts.map +1 -0
- package/dist/dto/index.js +18 -0
- package/dist/dto/index.js.map +1 -0
- package/dist/dto/user.dto.d.ts +6 -0
- package/dist/dto/user.dto.d.ts.map +1 -0
- package/dist/dto/user.dto.js +7 -0
- package/dist/dto/user.dto.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +18 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/time.util.d.ts +2 -0
- package/dist/utils/time.util.d.ts.map +1 -0
- package/dist/utils/time.util.js +7 -0
- package/dist/utils/time.util.js.map +1 -0
- package/package.json +22 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./permission.constants"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
export declare const PERMISSIONS: {
|
|
2
|
+
readonly ADMIN: {
|
|
3
|
+
readonly ALL: "admin:*";
|
|
4
|
+
};
|
|
5
|
+
readonly SALES: {
|
|
6
|
+
readonly ORDERS: {
|
|
7
|
+
readonly READ: `${string}:read`;
|
|
8
|
+
readonly CREATE: `${string}:create`;
|
|
9
|
+
readonly UPDATE: `${string}:update`;
|
|
10
|
+
readonly DELETE: `${string}:delete`;
|
|
11
|
+
};
|
|
12
|
+
readonly DRAFT_ORDERS: {
|
|
13
|
+
readonly READ: `${string}:read`;
|
|
14
|
+
readonly CREATE: `${string}:create`;
|
|
15
|
+
readonly UPDATE: `${string}:update`;
|
|
16
|
+
readonly DELETE: `${string}:delete`;
|
|
17
|
+
};
|
|
18
|
+
readonly RETURNS: {
|
|
19
|
+
readonly READ: `${string}:read`;
|
|
20
|
+
readonly CREATE: `${string}:create`;
|
|
21
|
+
readonly UPDATE: `${string}:update`;
|
|
22
|
+
readonly DELETE: `${string}:delete`;
|
|
23
|
+
};
|
|
24
|
+
readonly FULFILLMENT_HANDOVERS: {
|
|
25
|
+
readonly READ: `${string}:read`;
|
|
26
|
+
readonly CREATE: `${string}:create`;
|
|
27
|
+
readonly UPDATE: `${string}:update`;
|
|
28
|
+
readonly DELETE: `${string}:delete`;
|
|
29
|
+
};
|
|
30
|
+
readonly STOCK_TRANSFERS: {
|
|
31
|
+
readonly READ: `${string}:read`;
|
|
32
|
+
readonly CREATE: `${string}:create`;
|
|
33
|
+
readonly UPDATE: `${string}:update`;
|
|
34
|
+
readonly DELETE: `${string}:delete`;
|
|
35
|
+
};
|
|
36
|
+
readonly PURCHASE_ORDERS: "purchase_orders";
|
|
37
|
+
readonly SUPPLIER_RETURNS: "supplier_returns";
|
|
38
|
+
readonly SHIPMENTS: "shipments";
|
|
39
|
+
};
|
|
40
|
+
readonly CATALOG: {
|
|
41
|
+
readonly PRODUCTS: {
|
|
42
|
+
readonly READ: `${string}:read`;
|
|
43
|
+
readonly CREATE: `${string}:create`;
|
|
44
|
+
readonly UPDATE: `${string}:update`;
|
|
45
|
+
readonly DELETE: `${string}:delete`;
|
|
46
|
+
};
|
|
47
|
+
readonly INVENTORIES: {
|
|
48
|
+
readonly READ: `${string}:read`;
|
|
49
|
+
readonly CREATE: `${string}:create`;
|
|
50
|
+
readonly UPDATE: `${string}:update`;
|
|
51
|
+
readonly DELETE: `${string}:delete`;
|
|
52
|
+
};
|
|
53
|
+
readonly MENUS: {
|
|
54
|
+
readonly READ: `${string}:read`;
|
|
55
|
+
readonly CREATE: `${string}:create`;
|
|
56
|
+
readonly UPDATE: `${string}:update`;
|
|
57
|
+
readonly DELETE: `${string}:delete`;
|
|
58
|
+
};
|
|
59
|
+
readonly COLLECTIONS: "collections";
|
|
60
|
+
readonly SUPPLIERS: "suppliers";
|
|
61
|
+
readonly OPTIONS: {
|
|
62
|
+
readonly READ: `${string}:read`;
|
|
63
|
+
readonly CREATE: `${string}:create`;
|
|
64
|
+
readonly UPDATE: `${string}:update`;
|
|
65
|
+
readonly DELETE: `${string}:delete`;
|
|
66
|
+
};
|
|
67
|
+
readonly VARIANTS: {
|
|
68
|
+
readonly READ: `${string}:read`;
|
|
69
|
+
readonly CREATE: `${string}:create`;
|
|
70
|
+
readonly UPDATE: `${string}:update`;
|
|
71
|
+
readonly DELETE: `${string}:delete`;
|
|
72
|
+
};
|
|
73
|
+
readonly PRODUCTIMAGES: {
|
|
74
|
+
readonly READ: `${string}:read`;
|
|
75
|
+
readonly CREATE: `${string}:create`;
|
|
76
|
+
readonly UPDATE: `${string}:update`;
|
|
77
|
+
readonly DELETE: `${string}:delete`;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
readonly CUSTOMERS: {
|
|
81
|
+
readonly CUSTOMERS: {
|
|
82
|
+
readonly READ: `${string}:read`;
|
|
83
|
+
readonly CREATE: `${string}:create`;
|
|
84
|
+
readonly UPDATE: `${string}:update`;
|
|
85
|
+
readonly DELETE: `${string}:delete`;
|
|
86
|
+
};
|
|
87
|
+
readonly VOUCHERS: {
|
|
88
|
+
readonly READ: "vouchers:read";
|
|
89
|
+
readonly WRITE: "vouchers:write";
|
|
90
|
+
};
|
|
91
|
+
readonly REASONS: {
|
|
92
|
+
readonly READ: "reasons:read";
|
|
93
|
+
readonly WRITE: "reasons:write";
|
|
94
|
+
};
|
|
95
|
+
readonly CARRIERS: {
|
|
96
|
+
readonly READ: `${string}:read`;
|
|
97
|
+
readonly CREATE: `${string}:create`;
|
|
98
|
+
readonly UPDATE: `${string}:update`;
|
|
99
|
+
readonly DELETE: `${string}:delete`;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
readonly REPORTING: {
|
|
103
|
+
readonly DASHBOARD: "dashboard";
|
|
104
|
+
readonly REPORTS: {
|
|
105
|
+
readonly SALE: "reports:sale";
|
|
106
|
+
readonly CUSTOMER: "reports:customer";
|
|
107
|
+
readonly INVENTORY: "reports:inventory";
|
|
108
|
+
readonly VISIT: "reports:visit";
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
readonly SETTINGS: {
|
|
112
|
+
readonly THEMES: "themes";
|
|
113
|
+
readonly PAGES: "pages";
|
|
114
|
+
readonly LINKS: "links";
|
|
115
|
+
readonly DOMAINS: "domains";
|
|
116
|
+
readonly WEBSITE: "website_settings";
|
|
117
|
+
readonly STORE: "store_settings";
|
|
118
|
+
readonly LOCATION: "location_settings";
|
|
119
|
+
readonly TAX: "tax_settings";
|
|
120
|
+
readonly SHIPPING_METHOD: "shipping_method_settings";
|
|
121
|
+
readonly SHIPPING: "shipping_settings";
|
|
122
|
+
readonly PAYMENT: "payment_settings";
|
|
123
|
+
readonly PLANS: "plans_settings";
|
|
124
|
+
readonly CHECKOUT: "checkout_settings";
|
|
125
|
+
readonly USER_PERMISSIONS: "user_permissions";
|
|
126
|
+
readonly NOTIFICATIONS: "notifications";
|
|
127
|
+
readonly FILES: "files";
|
|
128
|
+
readonly APPLICATIONS: {
|
|
129
|
+
readonly READ: `${string}:read`;
|
|
130
|
+
readonly CREATE: `${string}:create`;
|
|
131
|
+
readonly UPDATE: `${string}:update`;
|
|
132
|
+
readonly DELETE: `${string}:delete`;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
readonly SYSTEM: {
|
|
136
|
+
readonly USERS: {
|
|
137
|
+
readonly READ: `${string}:read`;
|
|
138
|
+
readonly CREATE: `${string}:create`;
|
|
139
|
+
readonly UPDATE: `${string}:update`;
|
|
140
|
+
readonly DELETE: `${string}:delete`;
|
|
141
|
+
};
|
|
142
|
+
readonly ROLES: {
|
|
143
|
+
readonly READ: `${string}:read`;
|
|
144
|
+
readonly CREATE: `${string}:create`;
|
|
145
|
+
readonly UPDATE: `${string}:update`;
|
|
146
|
+
readonly DELETE: `${string}:delete`;
|
|
147
|
+
};
|
|
148
|
+
readonly MEMBERSHIPS: {
|
|
149
|
+
readonly READ: `${string}:read`;
|
|
150
|
+
readonly CREATE: `${string}:create`;
|
|
151
|
+
readonly UPDATE: `${string}:update`;
|
|
152
|
+
readonly DELETE: `${string}:delete`;
|
|
153
|
+
};
|
|
154
|
+
readonly ORGANIZATIONS: {
|
|
155
|
+
readonly READ: `${string}:read`;
|
|
156
|
+
readonly CREATE: `${string}:create`;
|
|
157
|
+
readonly UPDATE: `${string}:update`;
|
|
158
|
+
readonly DELETE: `${string}:delete`;
|
|
159
|
+
};
|
|
160
|
+
readonly BRANCHES: {
|
|
161
|
+
readonly READ: `${string}:read`;
|
|
162
|
+
readonly CREATE: `${string}:create`;
|
|
163
|
+
readonly UPDATE: `${string}:update`;
|
|
164
|
+
readonly DELETE: `${string}:delete`;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
//# sourceMappingURL=permission.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission.constants.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constants.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsEd,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PERMISSIONS = void 0;
|
|
4
|
+
function crudPermissions(module, extra) {
|
|
5
|
+
const base = {
|
|
6
|
+
READ: `${module}:read`,
|
|
7
|
+
CREATE: `${module}:create`,
|
|
8
|
+
UPDATE: `${module}:update`,
|
|
9
|
+
DELETE: `${module}:delete`,
|
|
10
|
+
};
|
|
11
|
+
return extra ? { ...base, ...extra } : base;
|
|
12
|
+
}
|
|
13
|
+
exports.PERMISSIONS = {
|
|
14
|
+
ADMIN: {
|
|
15
|
+
ALL: "admin:*",
|
|
16
|
+
},
|
|
17
|
+
SALES: {
|
|
18
|
+
ORDERS: crudPermissions("orders"),
|
|
19
|
+
DRAFT_ORDERS: crudPermissions("draft_orders"),
|
|
20
|
+
RETURNS: crudPermissions("returns"),
|
|
21
|
+
FULFILLMENT_HANDOVERS: crudPermissions("fulfillment_handovers"),
|
|
22
|
+
STOCK_TRANSFERS: crudPermissions("stock_transfers"),
|
|
23
|
+
PURCHASE_ORDERS: "purchase_orders",
|
|
24
|
+
SUPPLIER_RETURNS: "supplier_returns",
|
|
25
|
+
SHIPMENTS: "shipments",
|
|
26
|
+
},
|
|
27
|
+
CATALOG: {
|
|
28
|
+
PRODUCTS: crudPermissions("products"),
|
|
29
|
+
INVENTORIES: crudPermissions("inventories"),
|
|
30
|
+
MENUS: crudPermissions("inventories"),
|
|
31
|
+
COLLECTIONS: "collections",
|
|
32
|
+
SUPPLIERS: "suppliers",
|
|
33
|
+
OPTIONS: crudPermissions("options"),
|
|
34
|
+
VARIANTS: crudPermissions("variants"),
|
|
35
|
+
PRODUCTIMAGES: crudPermissions("productimages"),
|
|
36
|
+
},
|
|
37
|
+
CUSTOMERS: {
|
|
38
|
+
CUSTOMERS: crudPermissions("customers"),
|
|
39
|
+
VOUCHERS: { READ: "vouchers:read", WRITE: "vouchers:write" },
|
|
40
|
+
REASONS: { READ: "reasons:read", WRITE: "reasons:write" },
|
|
41
|
+
CARRIERS: crudPermissions("carriers"),
|
|
42
|
+
},
|
|
43
|
+
REPORTING: {
|
|
44
|
+
DASHBOARD: "dashboard",
|
|
45
|
+
REPORTS: {
|
|
46
|
+
SALE: "reports:sale",
|
|
47
|
+
CUSTOMER: "reports:customer",
|
|
48
|
+
INVENTORY: "reports:inventory",
|
|
49
|
+
VISIT: "reports:visit",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
SETTINGS: {
|
|
53
|
+
THEMES: "themes",
|
|
54
|
+
PAGES: "pages",
|
|
55
|
+
LINKS: "links",
|
|
56
|
+
DOMAINS: "domains",
|
|
57
|
+
WEBSITE: "website_settings",
|
|
58
|
+
STORE: "store_settings",
|
|
59
|
+
LOCATION: "location_settings",
|
|
60
|
+
TAX: "tax_settings",
|
|
61
|
+
SHIPPING_METHOD: "shipping_method_settings",
|
|
62
|
+
SHIPPING: "shipping_settings",
|
|
63
|
+
PAYMENT: "payment_settings",
|
|
64
|
+
PLANS: "plans_settings",
|
|
65
|
+
CHECKOUT: "checkout_settings",
|
|
66
|
+
USER_PERMISSIONS: "user_permissions",
|
|
67
|
+
NOTIFICATIONS: "notifications",
|
|
68
|
+
FILES: "files",
|
|
69
|
+
APPLICATIONS: crudPermissions("applications"),
|
|
70
|
+
},
|
|
71
|
+
SYSTEM: {
|
|
72
|
+
USERS: crudPermissions("users"),
|
|
73
|
+
ROLES: crudPermissions("roles"),
|
|
74
|
+
MEMBERSHIPS: crudPermissions("memberships"),
|
|
75
|
+
ORGANIZATIONS: crudPermissions("organizations"),
|
|
76
|
+
BRANCHES: crudPermissions("branches"),
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=permission.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission.constants.js","sourceRoot":"","sources":["../../src/constants/permission.constants.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC9C,CAAC;AAEY,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE;QACL,GAAG,EAAE,SAAS;KACf;IAED,KAAK,EAAE;QACL,MAAM,EAAE,eAAe,CAAC,QAAQ,CAAC;QACjC,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;QAC7C,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC;QACnC,qBAAqB,EAAE,eAAe,CAAC,uBAAuB,CAAC;QAC/D,eAAe,EAAE,eAAe,CAAC,iBAAiB,CAAC;QACnD,eAAe,EAAE,iBAAiB;QAClC,gBAAgB,EAAE,kBAAkB;QACpC,SAAS,EAAE,WAAW;KACvB;IAED,OAAO,EAAE;QACP,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;QACrC,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC;QAC3C,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC;QACrC,WAAW,EAAE,aAAa;QAC1B,SAAS,EAAE,WAAW;QACtB,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC;QACnC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;QACrC,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC;KAChD;IAED,SAAS,EAAE;QACT,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC;QACvC,QAAQ,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,gBAAgB,EAAE;QAC5D,OAAO,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE;QACzD,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;IAED,SAAS,EAAE;QACT,SAAS,EAAE,WAAW;QACtB,OAAO,EAAE;YACP,IAAI,EAAE,cAAc;YACpB,QAAQ,EAAE,kBAAkB;YAC5B,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,eAAe;SACvB;KACF;IAED,QAAQ,EAAE;QACR,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,GAAG,EAAE,cAAc;QACnB,eAAe,EAAE,0BAA0B;QAC3C,QAAQ,EAAE,mBAAmB;QAC7B,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,gBAAgB,EAAE,kBAAkB;QACpC,aAAa,EAAE,eAAe;QAC9B,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,MAAM,EAAE;QACN,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC;QAC3C,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC;QAC/C,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;CACO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./user.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.dto.d.ts","sourceRoot":"","sources":["../../src/dto/user.dto.ts"],"names":[],"mappings":"AAAA,qBAAa,OAAO;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../src/dto/user.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,OAAO;CAInB;AAJD,0BAIC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// src/index.ts
|
|
18
|
+
__exportStar(require("./dto"), exports);
|
|
19
|
+
__exportStar(require("./constants"), exports);
|
|
20
|
+
__exportStar(require("./utils"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,eAAe;AACf,wCAAsB;AACtB,8CAA4B;AAC5B,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./time.util"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time.util.d.ts","sourceRoot":"","sources":["../../src/utils/time.util.ts"],"names":[],"mappings":"AAAA,wBAAsB,KAAK,CAAC,EAAE,SAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAEpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time.util.js","sourceRoot":"","sources":["../../src/utils/time.util.ts"],"names":[],"mappings":";;AAAA,sBAEC;AAFM,KAAK,UAAU,KAAK,CAAC,EAAE,GAAG,IAAI;IACnC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AAC3D,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "synunu-libs",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"description": "Shared DTOs, constants, and utilities for Synunu microservices",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"clean": "rimraf dist"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/**/*"
|
|
13
|
+
],
|
|
14
|
+
"author": "synunu team",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"typescript": "^5.6.0"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@nestjs/common": "^10.0.0"
|
|
21
|
+
}
|
|
22
|
+
}
|