asv-hlps 1.4.6 → 1.4.7
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/lib/cjs/markets/index.d.ts +2 -0
- package/lib/cjs/markets/index.js +18 -0
- package/lib/cjs/markets/models/Market.d.ts +8 -0
- package/lib/cjs/markets/models/Market.js +2 -0
- package/lib/cjs/markets/models/UMarket.d.ts +11 -0
- package/lib/cjs/markets/models/UMarket.js +2 -0
- package/lib/cjs/markets/models/index.d.ts +2 -0
- package/lib/cjs/markets/models/index.js +18 -0
- package/lib/cjs/markets/products/models/Product.d.ts +39 -0
- package/lib/cjs/markets/products/models/Product.js +2 -0
- package/lib/cjs/markets/products/models/ProductAsset.d.ts +8 -0
- package/lib/cjs/markets/products/models/ProductAsset.js +2 -0
- package/lib/cjs/markets/products/models/ProductCat.d.ts +3 -0
- package/lib/cjs/markets/products/models/ProductCat.js +2 -0
- package/lib/cjs/markets/products/models/ProductCollection.d.ts +3 -0
- package/lib/cjs/markets/products/models/ProductCollection.js +2 -0
- package/lib/cjs/markets/products/models/ProductDepot.d.ts +11 -0
- package/lib/cjs/markets/products/models/ProductDepot.js +2 -0
- package/lib/cjs/markets/products/models/ProductElt.d.ts +3 -0
- package/lib/cjs/markets/products/models/ProductElt.js +2 -0
- package/lib/cjs/markets/products/models/ProductGrp.d.ts +3 -0
- package/lib/cjs/markets/products/models/ProductGrp.js +2 -0
- package/lib/cjs/markets/products/models/ProductImage.d.ts +4 -0
- package/lib/cjs/markets/products/models/ProductImage.js +6 -0
- package/lib/cjs/markets/products/models/ProductIn.d.ts +42 -0
- package/lib/cjs/markets/products/models/ProductIn.js +6 -0
- package/lib/cjs/markets/products/models/ProductState.d.ts +3 -0
- package/lib/cjs/markets/products/models/ProductState.js +2 -0
- package/lib/cjs/markets/products/models/ProductStock.d.ts +6 -0
- package/lib/cjs/markets/products/models/ProductStock.js +2 -0
- package/lib/cjs/markets/products/models/ProductTag.d.ts +3 -0
- package/lib/cjs/markets/products/models/ProductTag.js +2 -0
- package/lib/cjs/markets/products/models/ProductVariant.d.ts +6 -0
- package/lib/cjs/markets/products/models/ProductVariant.js +2 -0
- package/lib/cjs/markets/products/models/index.d.ts +13 -0
- package/lib/cjs/markets/products/models/index.js +29 -0
- package/lib/cjs/markets/shops/index.d.ts +1 -0
- package/lib/cjs/markets/shops/index.js +17 -0
- package/lib/cjs/markets/shops/models/Shop.d.ts +13 -0
- package/lib/cjs/markets/shops/models/Shop.js +2 -0
- package/lib/cjs/markets/users/models/User.d.ts +7 -0
- package/lib/cjs/markets/users/models/User.js +2 -0
- package/lib/cjs/npms/yup.js +17 -7
- package/lib/cjs/shared/models/IIcon.d.ts +4 -0
- package/lib/cjs/shared/models/IIcon.js +6 -0
- package/lib/cjs/shared/models/NaAcIc.d.ts +7 -0
- package/lib/cjs/shared/models/NaAcIc.js +7 -0
- package/lib/cjs/shared/models/NaCoAcIc.d.ts +4 -0
- package/lib/cjs/shared/models/NaCoAcIc.js +7 -0
- package/lib/cjs/users/user.js +17 -7
- package/lib/esm/markets/index.d.ts +2 -0
- package/lib/esm/markets/index.js +2 -0
- package/lib/esm/markets/models/Market.d.ts +8 -0
- package/lib/esm/markets/models/Market.js +1 -0
- package/lib/esm/markets/models/UMarket.d.ts +11 -0
- package/lib/esm/markets/models/UMarket.js +1 -0
- package/lib/esm/markets/models/index.d.ts +2 -0
- package/lib/esm/markets/models/index.js +2 -0
- package/lib/esm/markets/products/models/Product.d.ts +39 -0
- package/lib/esm/markets/products/models/Product.js +1 -0
- package/lib/esm/markets/products/models/ProductAsset.d.ts +8 -0
- package/lib/esm/markets/products/models/ProductAsset.js +1 -0
- package/lib/esm/markets/products/models/ProductCat.d.ts +3 -0
- package/lib/esm/markets/products/models/ProductCat.js +1 -0
- package/lib/esm/markets/products/models/ProductCollection.d.ts +3 -0
- package/lib/esm/markets/products/models/ProductCollection.js +1 -0
- package/lib/esm/markets/products/models/ProductDepot.d.ts +11 -0
- package/lib/esm/markets/products/models/ProductDepot.js +1 -0
- package/lib/esm/markets/products/models/ProductElt.d.ts +3 -0
- package/lib/esm/markets/products/models/ProductElt.js +1 -0
- package/lib/esm/markets/products/models/ProductGrp.d.ts +3 -0
- package/lib/esm/markets/products/models/ProductGrp.js +1 -0
- package/lib/esm/markets/products/models/ProductImage.d.ts +4 -0
- package/lib/esm/markets/products/models/ProductImage.js +2 -0
- package/lib/esm/markets/products/models/ProductIn.d.ts +42 -0
- package/lib/esm/markets/products/models/ProductIn.js +2 -0
- package/lib/esm/markets/products/models/ProductState.d.ts +3 -0
- package/lib/esm/markets/products/models/ProductState.js +1 -0
- package/lib/esm/markets/products/models/ProductStock.d.ts +6 -0
- package/lib/esm/markets/products/models/ProductStock.js +1 -0
- package/lib/esm/markets/products/models/ProductTag.d.ts +3 -0
- package/lib/esm/markets/products/models/ProductTag.js +1 -0
- package/lib/esm/markets/products/models/ProductVariant.d.ts +6 -0
- package/lib/esm/markets/products/models/ProductVariant.js +1 -0
- package/lib/esm/markets/products/models/index.d.ts +13 -0
- package/lib/esm/markets/products/models/index.js +13 -0
- package/lib/esm/markets/shops/index.d.ts +1 -0
- package/lib/esm/markets/shops/index.js +1 -0
- package/lib/esm/markets/shops/models/Shop.d.ts +13 -0
- package/lib/esm/markets/shops/models/Shop.js +1 -0
- package/lib/esm/markets/users/models/User.d.ts +7 -0
- package/lib/esm/markets/users/models/User.js +1 -0
- package/lib/esm/shared/models/IIcon.d.ts +4 -0
- package/lib/esm/shared/models/IIcon.js +2 -0
- package/lib/esm/shared/models/NaAcIc.d.ts +7 -0
- package/lib/esm/shared/models/NaAcIc.js +3 -0
- package/lib/esm/shared/models/NaCoAcIc.d.ts +4 -0
- package/lib/esm/shared/models/NaCoAcIc.js +3 -0
- package/package.json +9 -9
|
@@ -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("./models"), exports);
|
|
18
|
+
__exportStar(require("./products/models"), exports);
|
|
@@ -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("./Market"), exports);
|
|
18
|
+
__exportStar(require("./UMarket"), exports);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Market } from "../../models/Market";
|
|
2
|
+
import { Shop } from "../../shops/models/Shop";
|
|
3
|
+
import { ProductCat } from "./ProductCat";
|
|
4
|
+
import { ProductImage } from "./ProductImage";
|
|
5
|
+
import { ProductIn } from "./ProductIn";
|
|
6
|
+
interface Stock {
|
|
7
|
+
sumIns: number;
|
|
8
|
+
sumOuts: number;
|
|
9
|
+
qtityPerPackaging: number;
|
|
10
|
+
}
|
|
11
|
+
export interface Product {
|
|
12
|
+
capacity: string;
|
|
13
|
+
cat: ProductCat;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
description: string;
|
|
16
|
+
designation: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
iconName: string;
|
|
19
|
+
iconPack: string;
|
|
20
|
+
id: number;
|
|
21
|
+
images: ProductImage[];
|
|
22
|
+
ins: ProductIn[];
|
|
23
|
+
isActive: boolean;
|
|
24
|
+
isAvailable?: boolean;
|
|
25
|
+
isBulk: boolean;
|
|
26
|
+
market: Market;
|
|
27
|
+
price: number;
|
|
28
|
+
publicPrice: number;
|
|
29
|
+
qtityLimit: number;
|
|
30
|
+
qtityUnit: number;
|
|
31
|
+
stock: Stock;
|
|
32
|
+
qtityPerBox: number;
|
|
33
|
+
qtityPerPackaging: number;
|
|
34
|
+
ref: string;
|
|
35
|
+
salePrice: number;
|
|
36
|
+
shop: Shop;
|
|
37
|
+
updatedAt: Date;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import EInOutMotive from "../../../shared/models/EInOutMotive";
|
|
2
|
+
import { Product } from "./Product";
|
|
3
|
+
import { ProductDepot } from "./ProductDepot";
|
|
4
|
+
export declare class ProductIn {
|
|
5
|
+
id: number;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
lot: string;
|
|
8
|
+
qtity: number;
|
|
9
|
+
comment: string;
|
|
10
|
+
isEdit: boolean;
|
|
11
|
+
motive: EInOutMotive;
|
|
12
|
+
authorId: number;
|
|
13
|
+
qtityPerPackaging: number;
|
|
14
|
+
/**
|
|
15
|
+
* remaining qtity
|
|
16
|
+
*/
|
|
17
|
+
qtityIn: number;
|
|
18
|
+
isOutDate: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* expired
|
|
21
|
+
*/
|
|
22
|
+
isOut: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* if true the productIn is created from transfering qtity from another productin
|
|
25
|
+
*/
|
|
26
|
+
fromTransfert: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* indique the qtity waiting to transfert after transfert validation
|
|
29
|
+
*/
|
|
30
|
+
qtityInTransfert: number;
|
|
31
|
+
/**
|
|
32
|
+
* is true if the transfert not validate
|
|
33
|
+
*/
|
|
34
|
+
inTransfert: boolean;
|
|
35
|
+
depotId: number;
|
|
36
|
+
productId: number;
|
|
37
|
+
designation: string;
|
|
38
|
+
salePrice: number;
|
|
39
|
+
publicPrice: number;
|
|
40
|
+
product: Product;
|
|
41
|
+
depot: ProductDepot;
|
|
42
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./Product";
|
|
2
|
+
export * from "./ProductAsset";
|
|
3
|
+
export * from "./ProductCat";
|
|
4
|
+
export * from "./ProductCollection";
|
|
5
|
+
export * from "./ProductDepot";
|
|
6
|
+
export * from "./ProductElt";
|
|
7
|
+
export * from "./ProductGrp";
|
|
8
|
+
export * from "./ProductImage";
|
|
9
|
+
export * from "./ProductIn";
|
|
10
|
+
export * from "./ProductState";
|
|
11
|
+
export * from "./ProductStock";
|
|
12
|
+
export * from "./ProductTag";
|
|
13
|
+
export * from "./ProductVariant";
|
|
@@ -0,0 +1,29 @@
|
|
|
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("./Product"), exports);
|
|
18
|
+
__exportStar(require("./ProductAsset"), exports);
|
|
19
|
+
__exportStar(require("./ProductCat"), exports);
|
|
20
|
+
__exportStar(require("./ProductCollection"), exports);
|
|
21
|
+
__exportStar(require("./ProductDepot"), exports);
|
|
22
|
+
__exportStar(require("./ProductElt"), exports);
|
|
23
|
+
__exportStar(require("./ProductGrp"), exports);
|
|
24
|
+
__exportStar(require("./ProductImage"), exports);
|
|
25
|
+
__exportStar(require("./ProductIn"), exports);
|
|
26
|
+
__exportStar(require("./ProductState"), exports);
|
|
27
|
+
__exportStar(require("./ProductStock"), exports);
|
|
28
|
+
__exportStar(require("./ProductTag"), exports);
|
|
29
|
+
__exportStar(require("./ProductVariant"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models/Shop";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./models/Shop"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UMarket } from "../../models/UMarket";
|
|
2
|
+
import { Product } from "../../products/models/Product";
|
|
3
|
+
export interface Shop {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
logo: string;
|
|
9
|
+
banner: string;
|
|
10
|
+
isActive: boolean;
|
|
11
|
+
products: Product[];
|
|
12
|
+
umarket: UMarket;
|
|
13
|
+
}
|
package/lib/cjs/npms/yup.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
36
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
37
|
return new (P || (P = Promise))(function (resolve, reject) {
|
package/lib/cjs/users/user.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Market } from "../../models/Market";
|
|
2
|
+
import { Shop } from "../../shops/models/Shop";
|
|
3
|
+
import { ProductCat } from "./ProductCat";
|
|
4
|
+
import { ProductImage } from "./ProductImage";
|
|
5
|
+
import { ProductIn } from "./ProductIn";
|
|
6
|
+
interface Stock {
|
|
7
|
+
sumIns: number;
|
|
8
|
+
sumOuts: number;
|
|
9
|
+
qtityPerPackaging: number;
|
|
10
|
+
}
|
|
11
|
+
export interface Product {
|
|
12
|
+
capacity: string;
|
|
13
|
+
cat: ProductCat;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
description: string;
|
|
16
|
+
designation: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
iconName: string;
|
|
19
|
+
iconPack: string;
|
|
20
|
+
id: number;
|
|
21
|
+
images: ProductImage[];
|
|
22
|
+
ins: ProductIn[];
|
|
23
|
+
isActive: boolean;
|
|
24
|
+
isAvailable?: boolean;
|
|
25
|
+
isBulk: boolean;
|
|
26
|
+
market: Market;
|
|
27
|
+
price: number;
|
|
28
|
+
publicPrice: number;
|
|
29
|
+
qtityLimit: number;
|
|
30
|
+
qtityUnit: number;
|
|
31
|
+
stock: Stock;
|
|
32
|
+
qtityPerBox: number;
|
|
33
|
+
qtityPerPackaging: number;
|
|
34
|
+
ref: string;
|
|
35
|
+
salePrice: number;
|
|
36
|
+
shop: Shop;
|
|
37
|
+
updatedAt: Date;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import EInOutMotive from "../../../shared/models/EInOutMotive";
|
|
2
|
+
import { Product } from "./Product";
|
|
3
|
+
import { ProductDepot } from "./ProductDepot";
|
|
4
|
+
export declare class ProductIn {
|
|
5
|
+
id: number;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
lot: string;
|
|
8
|
+
qtity: number;
|
|
9
|
+
comment: string;
|
|
10
|
+
isEdit: boolean;
|
|
11
|
+
motive: EInOutMotive;
|
|
12
|
+
authorId: number;
|
|
13
|
+
qtityPerPackaging: number;
|
|
14
|
+
/**
|
|
15
|
+
* remaining qtity
|
|
16
|
+
*/
|
|
17
|
+
qtityIn: number;
|
|
18
|
+
isOutDate: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* expired
|
|
21
|
+
*/
|
|
22
|
+
isOut: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* if true the productIn is created from transfering qtity from another productin
|
|
25
|
+
*/
|
|
26
|
+
fromTransfert: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* indique the qtity waiting to transfert after transfert validation
|
|
29
|
+
*/
|
|
30
|
+
qtityInTransfert: number;
|
|
31
|
+
/**
|
|
32
|
+
* is true if the transfert not validate
|
|
33
|
+
*/
|
|
34
|
+
inTransfert: boolean;
|
|
35
|
+
depotId: number;
|
|
36
|
+
productId: number;
|
|
37
|
+
designation: string;
|
|
38
|
+
salePrice: number;
|
|
39
|
+
publicPrice: number;
|
|
40
|
+
product: Product;
|
|
41
|
+
depot: ProductDepot;
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./Product";
|
|
2
|
+
export * from "./ProductAsset";
|
|
3
|
+
export * from "./ProductCat";
|
|
4
|
+
export * from "./ProductCollection";
|
|
5
|
+
export * from "./ProductDepot";
|
|
6
|
+
export * from "./ProductElt";
|
|
7
|
+
export * from "./ProductGrp";
|
|
8
|
+
export * from "./ProductImage";
|
|
9
|
+
export * from "./ProductIn";
|
|
10
|
+
export * from "./ProductState";
|
|
11
|
+
export * from "./ProductStock";
|
|
12
|
+
export * from "./ProductTag";
|
|
13
|
+
export * from "./ProductVariant";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./Product";
|
|
2
|
+
export * from "./ProductAsset";
|
|
3
|
+
export * from "./ProductCat";
|
|
4
|
+
export * from "./ProductCollection";
|
|
5
|
+
export * from "./ProductDepot";
|
|
6
|
+
export * from "./ProductElt";
|
|
7
|
+
export * from "./ProductGrp";
|
|
8
|
+
export * from "./ProductImage";
|
|
9
|
+
export * from "./ProductIn";
|
|
10
|
+
export * from "./ProductState";
|
|
11
|
+
export * from "./ProductStock";
|
|
12
|
+
export * from "./ProductTag";
|
|
13
|
+
export * from "./ProductVariant";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models/Shop";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models/Shop";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UMarket } from "../../models/UMarket";
|
|
2
|
+
import { Product } from "../../products/models/Product";
|
|
3
|
+
export interface Shop {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
logo: string;
|
|
9
|
+
banner: string;
|
|
10
|
+
isActive: boolean;
|
|
11
|
+
products: Product[];
|
|
12
|
+
umarket: UMarket;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "asv-hlps",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7",
|
|
4
4
|
"description": "helpers",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -18,24 +18,24 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/bcryptjs": "^2.4.6",
|
|
20
20
|
"@types/express": "^5.0.0",
|
|
21
|
-
"@types/lodash": "^4.17.
|
|
22
|
-
"@types/pdfmake": "^0.2.
|
|
21
|
+
"@types/lodash": "^4.17.14",
|
|
22
|
+
"@types/pdfmake": "^0.2.11",
|
|
23
23
|
"@types/randomatic": "^3.1.5",
|
|
24
|
-
"@types/react": "^
|
|
24
|
+
"@types/react": "^19.0.4"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"axios": "^1.7.
|
|
27
|
+
"axios": "^1.7.9",
|
|
28
28
|
"bcryptjs": "^2.4.3",
|
|
29
29
|
"class-validator": "^0.14.1",
|
|
30
30
|
"classnames": "^2.5.1",
|
|
31
31
|
"dayjs": "^1.11.13",
|
|
32
|
-
"express": "^4.21.
|
|
32
|
+
"express": "^4.21.2",
|
|
33
33
|
"jwt-decode": "^4.0.0",
|
|
34
34
|
"lodash": "^4.17.21",
|
|
35
|
-
"pdfmake": "^0.2.
|
|
35
|
+
"pdfmake": "^0.2.18",
|
|
36
36
|
"randomatic": "^3.1.1",
|
|
37
37
|
"typeorm": "^0.3.20",
|
|
38
|
-
"typescript": "^5.
|
|
39
|
-
"yup": "^1.
|
|
38
|
+
"typescript": "^5.7.3",
|
|
39
|
+
"yup": "^1.6.1"
|
|
40
40
|
}
|
|
41
41
|
}
|