synunu-libs 1.0.5 → 1.0.6

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.
@@ -1,2 +1,3 @@
1
- export * from "./permission.constants";
1
+ export * from "./permission.constant";
2
+ export * from "./patterns.constant";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./permission.constants"), exports);
17
+ __exportStar(require("./permission.constant"), exports);
18
+ __exportStar(require("./patterns.constant"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,sDAAoC"}
@@ -0,0 +1,80 @@
1
+ export declare const MESSAGE_PATTERNS: {
2
+ readonly MEMBERSHIP: {
3
+ readonly FIND_ALL: `${string}_find_all`;
4
+ readonly FIND_BY_ID: `${string}_find_by_id`;
5
+ readonly CREATE: `${string}_create`;
6
+ readonly UPDATE: `${string}_update`;
7
+ readonly DELETE: `${string}_delete`;
8
+ };
9
+ readonly ROLE: {
10
+ readonly FIND_ALL: `${string}_find_all`;
11
+ readonly FIND_BY_ID: `${string}_find_by_id`;
12
+ readonly CREATE: `${string}_create`;
13
+ readonly UPDATE: `${string}_update`;
14
+ readonly DELETE: `${string}_delete`;
15
+ };
16
+ readonly USER: {
17
+ readonly FIND_ALL: `${string}_find_all`;
18
+ readonly FIND_BY_ID: `${string}_find_by_id`;
19
+ readonly CREATE: `${string}_create`;
20
+ readonly UPDATE: `${string}_update`;
21
+ readonly DELETE: `${string}_delete`;
22
+ };
23
+ readonly BRANCH: {
24
+ readonly FIND_ALL: `${string}_find_all`;
25
+ readonly FIND_BY_ID: `${string}_find_by_id`;
26
+ readonly CREATE: `${string}_create`;
27
+ readonly UPDATE: `${string}_update`;
28
+ readonly DELETE: `${string}_delete`;
29
+ };
30
+ readonly ORGANIZATION: {
31
+ readonly FIND_ALL: `${string}_find_all`;
32
+ readonly FIND_BY_ID: `${string}_find_by_id`;
33
+ readonly CREATE: `${string}_create`;
34
+ readonly UPDATE: `${string}_update`;
35
+ readonly DELETE: `${string}_delete`;
36
+ };
37
+ readonly MENU: {
38
+ readonly FIND_ALL: `${string}_find_all`;
39
+ readonly FIND_BY_ID: `${string}_find_by_id`;
40
+ readonly CREATE: `${string}_create`;
41
+ readonly UPDATE: `${string}_update`;
42
+ readonly DELETE: `${string}_delete`;
43
+ };
44
+ readonly PERMISSION: {
45
+ readonly FIND_ALL: `${string}_find_all`;
46
+ readonly FIND_BY_ID: `${string}_find_by_id`;
47
+ readonly CREATE: `${string}_create`;
48
+ readonly UPDATE: `${string}_update`;
49
+ readonly DELETE: `${string}_delete`;
50
+ };
51
+ readonly PRODUCT: {
52
+ readonly FIND_ALL: `${string}_find_all`;
53
+ readonly FIND_BY_ID: `${string}_find_by_id`;
54
+ readonly CREATE: `${string}_create`;
55
+ readonly UPDATE: `${string}_update`;
56
+ readonly DELETE: `${string}_delete`;
57
+ };
58
+ readonly CATEGORY: {
59
+ readonly FIND_ALL: `${string}_find_all`;
60
+ readonly FIND_BY_ID: `${string}_find_by_id`;
61
+ readonly CREATE: `${string}_create`;
62
+ readonly UPDATE: `${string}_update`;
63
+ readonly DELETE: `${string}_delete`;
64
+ };
65
+ readonly SHOP: {
66
+ readonly FIND_ALL: `${string}_find_all`;
67
+ readonly FIND_BY_ID: `${string}_find_by_id`;
68
+ readonly CREATE: `${string}_create`;
69
+ readonly UPDATE: `${string}_update`;
70
+ readonly DELETE: `${string}_delete`;
71
+ };
72
+ readonly SETTING: {
73
+ readonly FIND_ALL: `${string}_find_all`;
74
+ readonly FIND_BY_ID: `${string}_find_by_id`;
75
+ readonly CREATE: `${string}_create`;
76
+ readonly UPDATE: `${string}_update`;
77
+ readonly DELETE: `${string}_delete`;
78
+ };
79
+ };
80
+ //# sourceMappingURL=patterns.constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DnB,CAAC"}
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MESSAGE_PATTERNS = void 0;
4
+ function crudPatterns(module, extra) {
5
+ const base = {
6
+ FIND_ALL: `${module}_find_all`,
7
+ FIND_BY_ID: `${module}_find_by_id`,
8
+ CREATE: `${module}_create`,
9
+ UPDATE: `${module}_update`,
10
+ DELETE: `${module}_delete`,
11
+ };
12
+ return extra ? { ...base, ...extra } : base;
13
+ }
14
+ exports.MESSAGE_PATTERNS = {
15
+ // 🔹 Membership
16
+ MEMBERSHIP: crudPatterns("membership", {
17
+ ASSIGN_ROLE: "membership_assign_role",
18
+ REMOVE_ROLE: "membership_remove_role",
19
+ FIND_BY_USER_ID: "membership_find_by_user_id",
20
+ FIND_BY_ROLE_ID: "membership_find_by_role_id",
21
+ }),
22
+ // 🔹 Role
23
+ ROLE: crudPatterns("role", {
24
+ FIND_BY_NAME: "role_find_by_name",
25
+ }),
26
+ // 🔹 User
27
+ USER: crudPatterns("user", {
28
+ FIND_BY_EMAIL: "user_find_by_email",
29
+ FIND_BY_USERNAME: "user_find_by_username",
30
+ CHANGE_PASSWORD: "user_change_password",
31
+ }),
32
+ // 🔹 Branch
33
+ BRANCH: crudPatterns("branch"),
34
+ // 🔹 Organization
35
+ ORGANIZATION: crudPatterns("organization", {
36
+ FIND_BY_CODE: "organization_find_by_code",
37
+ FIND_BY_NAME: "organization_find_by_name",
38
+ }),
39
+ // 🔹 Menu
40
+ MENU: crudPatterns("menu", {
41
+ FIND_BY_SLUG: "menu_find_by_slug",
42
+ FIND_TREE: "menu_find_tree",
43
+ }),
44
+ // 🔹 Permission
45
+ PERMISSION: crudPatterns("permission", {
46
+ FIND_BY_KEY: "permission_find_by_key",
47
+ FIND_BY_MODULE: "permission_find_by_module",
48
+ }),
49
+ // 🔹 Product (nếu có module quản lý hàng hóa)
50
+ PRODUCT: crudPatterns("product", {
51
+ FIND_BY_SKU: "product_find_by_sku",
52
+ FIND_BY_CATEGORY: "product_find_by_category",
53
+ }),
54
+ // 🔹 Category
55
+ CATEGORY: crudPatterns("category", {
56
+ FIND_TREE: "category_find_tree",
57
+ }),
58
+ // 🔹 Shop (nếu phần mềm dạng Sapo)
59
+ SHOP: crudPatterns("shop", {
60
+ FIND_BY_OWNER: "shop_find_by_owner",
61
+ }),
62
+ // 🔹 Setting / Config
63
+ SETTING: crudPatterns("setting", {
64
+ FIND_BY_KEY: "setting_find_by_key",
65
+ UPDATE_VALUE: "setting_update_value",
66
+ }),
67
+ };
68
+ //# sourceMappingURL=patterns.constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patterns.constant.js","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,YAAY,CACnB,MAAc,EACd,KAAwB;IAExB,MAAM,IAAI,GAAG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S,EAAE;QAC/B,WAAW,EAAE,qBAAqB;QAClC,gBAAgB,EAAE,0BAA0B;KAC7C,CAAC;IAEF,cAAc;IACd,QAAQ,EAAE,YAAY,CAAC,UAAU,EAAE;QACjC,SAAS,EAAE,oBAAoB;KAChC,CAAC;IAEF,mCAAmC;IACnC,IAAI,EAAE,YAAY,CAAC,MAAM,EAAE;QACzB,aAAa,EAAE,oBAAoB;KACpC,CAAC;IAEF,sBAAsB;IACtB,OAAO,EAAE,YAAY,CAAC,SAAS,EAAE;QAC/B,WAAW,EAAE,qBAAqB;QAClC,YAAY,EAAE,sBAAsB;KACrC,CAAC;CACM,CAAC"}
@@ -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.constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.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.constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/const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C5D,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synunu-libs",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Shared DTOs, constants, and utilities for Synunu microservices",