@molopos/shared 2.0.2 → 2.0.4
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/enum/index.d.ts +26 -0
- package/enum/index.js +30 -1
- package/package.json +1 -1
package/enum/index.d.ts
CHANGED
|
@@ -139,3 +139,29 @@ export declare enum StatusQuoteItemEnum {
|
|
|
139
139
|
Received = "RECEIVED",
|
|
140
140
|
Cancelled = "CANCELLED"
|
|
141
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* Private public enum
|
|
144
|
+
*/
|
|
145
|
+
export declare enum PrivatePublicEnum {
|
|
146
|
+
Private = "PRIVATE",
|
|
147
|
+
Public = "PUBLIC"
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Pages provider enum
|
|
151
|
+
*/
|
|
152
|
+
export declare enum PagesProviderEnum {
|
|
153
|
+
Dashboard = "DASHBOARD",
|
|
154
|
+
PointOfSale = "POINTOFSALE",
|
|
155
|
+
Shop = "SHOP",
|
|
156
|
+
Variant = "VARIANT",
|
|
157
|
+
Catalog = "CATALOG",
|
|
158
|
+
Customer = "CUSTOMER"
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Application section module enum
|
|
162
|
+
*/
|
|
163
|
+
export declare enum ApplicationSectionModuleEnum {
|
|
164
|
+
Quote = "QUOTE",
|
|
165
|
+
Product = "PRODUCT",
|
|
166
|
+
Expense = "EXPENSE"
|
|
167
|
+
}
|
package/enum/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StatusQuoteItemEnum = exports.ContributorRoleEnum = exports.QuoteSignedViewEnum = exports.CurrencyEnum = exports.ExportExtEnum = exports.SortOrderEnum = exports.BooleanStringEnum = exports.TransactionModelEnum = exports.TransactionDirectionEnum = exports.QueryTypeEnum = exports.ProductTypeEnum = exports.PaymentMethodEnum = exports.DiscountTypeEnum = exports.CustomerTypeEnum = void 0;
|
|
3
|
+
exports.ApplicationSectionModuleEnum = exports.PagesProviderEnum = exports.PrivatePublicEnum = exports.StatusQuoteItemEnum = exports.ContributorRoleEnum = exports.QuoteSignedViewEnum = exports.CurrencyEnum = exports.ExportExtEnum = exports.SortOrderEnum = exports.BooleanStringEnum = exports.TransactionModelEnum = exports.TransactionDirectionEnum = exports.QueryTypeEnum = exports.ProductTypeEnum = exports.PaymentMethodEnum = exports.DiscountTypeEnum = exports.CustomerTypeEnum = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Customer type enum
|
|
6
6
|
*/
|
|
@@ -156,3 +156,32 @@ var StatusQuoteItemEnum;
|
|
|
156
156
|
StatusQuoteItemEnum["Received"] = "RECEIVED";
|
|
157
157
|
StatusQuoteItemEnum["Cancelled"] = "CANCELLED";
|
|
158
158
|
})(StatusQuoteItemEnum || (exports.StatusQuoteItemEnum = StatusQuoteItemEnum = {}));
|
|
159
|
+
/**
|
|
160
|
+
* Private public enum
|
|
161
|
+
*/
|
|
162
|
+
var PrivatePublicEnum;
|
|
163
|
+
(function (PrivatePublicEnum) {
|
|
164
|
+
PrivatePublicEnum["Private"] = "PRIVATE";
|
|
165
|
+
PrivatePublicEnum["Public"] = "PUBLIC";
|
|
166
|
+
})(PrivatePublicEnum || (exports.PrivatePublicEnum = PrivatePublicEnum = {}));
|
|
167
|
+
/**
|
|
168
|
+
* Pages provider enum
|
|
169
|
+
*/
|
|
170
|
+
var PagesProviderEnum;
|
|
171
|
+
(function (PagesProviderEnum) {
|
|
172
|
+
PagesProviderEnum["Dashboard"] = "DASHBOARD";
|
|
173
|
+
PagesProviderEnum["PointOfSale"] = "POINTOFSALE";
|
|
174
|
+
PagesProviderEnum["Shop"] = "SHOP";
|
|
175
|
+
PagesProviderEnum["Variant"] = "VARIANT";
|
|
176
|
+
PagesProviderEnum["Catalog"] = "CATALOG";
|
|
177
|
+
PagesProviderEnum["Customer"] = "CUSTOMER";
|
|
178
|
+
})(PagesProviderEnum || (exports.PagesProviderEnum = PagesProviderEnum = {}));
|
|
179
|
+
/**
|
|
180
|
+
* Application section module enum
|
|
181
|
+
*/
|
|
182
|
+
var ApplicationSectionModuleEnum;
|
|
183
|
+
(function (ApplicationSectionModuleEnum) {
|
|
184
|
+
ApplicationSectionModuleEnum["Quote"] = "QUOTE";
|
|
185
|
+
ApplicationSectionModuleEnum["Product"] = "PRODUCT";
|
|
186
|
+
ApplicationSectionModuleEnum["Expense"] = "EXPENSE";
|
|
187
|
+
})(ApplicationSectionModuleEnum || (exports.ApplicationSectionModuleEnum = ApplicationSectionModuleEnum = {}));
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@molopos/shared","publishConfig":{"access":"public"},"version":"2.0.
|
|
1
|
+
{"name":"@molopos/shared","publishConfig":{"access":"public"},"version":"2.0.4","description":"Shared between backend and frontend repos","license":"ISC","repository":{"type":"git","url":"https://github.com/unicubate/molopos-shared.git"},"dependencies":{"date-fns":"^4.1.0","luxon":"^3.7.2"}}
|