@tiboli/types 0.0.9 → 0.0.11
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/README.md +117 -0
- package/dist/cjs/index.js +18 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/schemas/book.schema.js +44 -0
- package/dist/cjs/schemas/copy.schema.js +43 -0
- package/dist/cjs/schemas/customer.schema.js +45 -0
- package/dist/cjs/schemas/group.schema.js +43 -0
- package/dist/cjs/schemas/index.js +23 -0
- package/dist/cjs/schemas/loan.schema.js +47 -0
- package/dist/cjs/types/book.type.js +2 -0
- package/dist/cjs/types/copy.type.js +2 -0
- package/dist/cjs/types/customer.type.js +2 -0
- package/dist/cjs/types/group.types.js +2 -0
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/loan.type.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/schemas/book.schema.js.map +1 -0
- package/dist/esm/schemas/copy.schema.js.map +1 -0
- package/dist/esm/schemas/customer.schema.js.map +1 -0
- package/dist/esm/schemas/group.schema.js.map +1 -0
- package/dist/esm/schemas/index.js.map +1 -0
- package/dist/esm/schemas/loan.schema.js.map +1 -0
- package/dist/{types → esm/types}/book.type.js.map +1 -1
- package/dist/{types → esm/types}/copy.type.js.map +1 -1
- package/dist/esm/types/customer.type.js.map +1 -0
- package/dist/{types → esm/types}/group.types.js.map +1 -1
- package/dist/{types → esm/types}/index.js.map +1 -1
- package/dist/{types → esm/types}/loan.type.js.map +1 -1
- package/dist/types/index.d.ts +2 -5
- package/dist/types/types/index.d.ts +5 -0
- package/package.json +19 -13
- package/dist/index.d.ts +0 -2
- package/dist/index.js.map +0 -1
- package/dist/schemas/book.schema.js.map +0 -1
- package/dist/schemas/copy.schema.js.map +0 -1
- package/dist/schemas/customer.schema.js.map +0 -1
- package/dist/schemas/group.schema.js.map +0 -1
- package/dist/schemas/index.js.map +0 -1
- package/dist/schemas/loan.schema.js.map +0 -1
- package/dist/types/customer.type.js.map +0 -1
- /package/dist/{index.js → esm/index.js} +0 -0
- /package/dist/{schemas → esm/schemas}/book.schema.js +0 -0
- /package/dist/{schemas → esm/schemas}/copy.schema.js +0 -0
- /package/dist/{schemas → esm/schemas}/customer.schema.js +0 -0
- /package/dist/{schemas → esm/schemas}/group.schema.js +0 -0
- /package/dist/{schemas → esm/schemas}/index.js +0 -0
- /package/dist/{schemas → esm/schemas}/loan.schema.js +0 -0
- /package/dist/{types → esm/types}/book.type.js +0 -0
- /package/dist/{types → esm/types}/copy.type.js +0 -0
- /package/dist/{types → esm/types}/customer.type.js +0 -0
- /package/dist/{types → esm/types}/group.types.js +0 -0
- /package/dist/{types → esm/types}/index.js +0 -0
- /package/dist/{types → esm/types}/loan.type.js +0 -0
- /package/dist/{schemas → types/schemas}/book.schema.d.ts +0 -0
- /package/dist/{schemas → types/schemas}/copy.schema.d.ts +0 -0
- /package/dist/{schemas → types/schemas}/customer.schema.d.ts +0 -0
- /package/dist/{schemas → types/schemas}/group.schema.d.ts +0 -0
- /package/dist/{schemas → types/schemas}/index.d.ts +0 -0
- /package/dist/{schemas → types/schemas}/loan.schema.d.ts +0 -0
- /package/dist/types/{book.type.d.ts → types/book.type.d.ts} +0 -0
- /package/dist/types/{copy.type.d.ts → types/copy.type.d.ts} +0 -0
- /package/dist/types/{customer.type.d.ts → types/customer.type.d.ts} +0 -0
- /package/dist/types/{group.types.d.ts → types/group.types.d.ts} +0 -0
- /package/dist/types/{loan.type.d.ts → types/loan.type.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -5,3 +5,120 @@ Here you can find all the type definitions for [TiBoLi](https://tiboli.tech4web.
|
|
|
5
5
|
## Contributing
|
|
6
6
|
|
|
7
7
|
If you want to Contribute, make sure to follow the Guidelines highlighted in `CONTRIBUTING.md`
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
|
|
11
|
+
The following Zod schemas define the structure of the core data entities and their corresponding creation and update payloads.
|
|
12
|
+
|
|
13
|
+
### Book
|
|
14
|
+
|
|
15
|
+
Represents a book in the library.
|
|
16
|
+
|
|
17
|
+
| Field | Type | Description |
|
|
18
|
+
| -------- | --------- | ----------------------------- |
|
|
19
|
+
| `id` | `integer` | Unique identifier of the book |
|
|
20
|
+
| `title` | `string` | Title of the book |
|
|
21
|
+
| `author` | `string` | Author of the book |
|
|
22
|
+
|
|
23
|
+
#### Variants
|
|
24
|
+
|
|
25
|
+
* **`BookSchema`** — Complete book object.
|
|
26
|
+
* **`BookCreationSchema`** — Book data for creation. Omits `id`.
|
|
27
|
+
* **`BookUpdateSchema`** — Partial book update. Requires `id`; all other fields are optional.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
### Copy
|
|
32
|
+
|
|
33
|
+
Represents a physical copy of a book.
|
|
34
|
+
|
|
35
|
+
| Field | Type | Description |
|
|
36
|
+
| -------- | --------- | ----------------------------------- |
|
|
37
|
+
| `id` | `integer` | Unique identifier of the copy |
|
|
38
|
+
| `bookId` | `integer` | ID of the book this copy belongs to |
|
|
39
|
+
|
|
40
|
+
#### Variants
|
|
41
|
+
|
|
42
|
+
* **`CopySchema`** — Complete copy object.
|
|
43
|
+
* **`CopyCreationSchema`** — Copy data for creation. Omits `id`.
|
|
44
|
+
* **`CopyUpdateSchema`** — Partial copy update. Requires `id`; all other fields are optional.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
### Customer
|
|
49
|
+
|
|
50
|
+
Represents a customer or borrower in the library.
|
|
51
|
+
|
|
52
|
+
| Field | Type | Description |
|
|
53
|
+
| ---------- | --------- | ----------------------------------- |
|
|
54
|
+
| `id` | `integer` | Unique identifier of the customer |
|
|
55
|
+
| `name` | `string` | First name of the customer |
|
|
56
|
+
| `lastname` | `string` | Last name of the customer |
|
|
57
|
+
| `email` | `email` | Valid email address of the customer |
|
|
58
|
+
|
|
59
|
+
#### Variants
|
|
60
|
+
|
|
61
|
+
* **`CustomerSchema`** — Complete customer object.
|
|
62
|
+
* **`CustomerCreationSchema`** — Customer data for creation. Omits `id`.
|
|
63
|
+
* **`CustomerUpdateSchema`** — Partial customer update. Requires `id`; all other fields are optional.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### Group
|
|
68
|
+
|
|
69
|
+
Represents a group of customers.
|
|
70
|
+
|
|
71
|
+
| Field | Type | Description |
|
|
72
|
+
| ------ | --------- | ------------------------------ |
|
|
73
|
+
| `id` | `integer` | Unique identifier of the group |
|
|
74
|
+
| `name` | `string` | Name of the group |
|
|
75
|
+
|
|
76
|
+
#### Variants
|
|
77
|
+
|
|
78
|
+
* **`GroupSchema`** — Complete group object.
|
|
79
|
+
* **`GroupCreationSchema`** — Group data for creation. Omits `id`.
|
|
80
|
+
* **`GroupUpdateSchema`** — Partial group update. Requires `id`; all other fields are optional.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
### Loan
|
|
85
|
+
|
|
86
|
+
Represents a loan of a physical book copy to a customer.
|
|
87
|
+
|
|
88
|
+
| Field | Type | Description |
|
|
89
|
+
| ------------ | --------- | ---------------------------------------- |
|
|
90
|
+
| `id` | `integer` | Unique identifier of the loan |
|
|
91
|
+
| `copyId` | `integer` | ID of the borrowed book copy |
|
|
92
|
+
| `customerId` | `integer` | ID of the customer who borrowed the copy |
|
|
93
|
+
| `lentDate` | `date` | Date on which the copy was lent |
|
|
94
|
+
| `dueDate` | `date` | Date on which the copy is due |
|
|
95
|
+
| `returnDate` | `date` | Date on which the copy was returned |
|
|
96
|
+
|
|
97
|
+
#### Variants
|
|
98
|
+
|
|
99
|
+
* **`LoanSchema`** — Complete loan object.
|
|
100
|
+
* **`LoanCreationSchema`** — Loan data for creation. Omits `id`.
|
|
101
|
+
* **`LoanUpdateSchema`** — Partial loan update. Requires `id`; all other fields are optional.
|
|
102
|
+
|
|
103
|
+
### Schema Variants
|
|
104
|
+
|
|
105
|
+
All entities follow the same pattern:
|
|
106
|
+
|
|
107
|
+
```text
|
|
108
|
+
EntitySchema
|
|
109
|
+
├── EntityCreationSchema
|
|
110
|
+
│ └── Omits `id`
|
|
111
|
+
└── EntityUpdateSchema
|
|
112
|
+
├── Requires `id`
|
|
113
|
+
└── Makes all other fields optional
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
This allows the schemas to be reused consistently for validating complete entities, creation requests, and partial update requests.
|
|
117
|
+
|
|
118
|
+
### Inferred types
|
|
119
|
+
|
|
120
|
+
Each of the Schemas get's a Type inferred using `z.infer`. The types are named `Attributes` instead of Schemas. For instance.
|
|
121
|
+
|
|
122
|
+
- `EntitySchema` -> `EntityAttributes`
|
|
123
|
+
- `EntityCreationSchema` -> `EntityCreationAttributes`
|
|
124
|
+
|
|
@@ -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("./schemas"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,44 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
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
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.BookUpdateSchema = exports.BookCreationSchema = exports.BookSchema = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
exports.BookSchema = z.object({
|
|
39
|
+
id: z.int(),
|
|
40
|
+
title: z.string(),
|
|
41
|
+
author: z.string(),
|
|
42
|
+
});
|
|
43
|
+
exports.BookCreationSchema = exports.BookSchema.omit({ id: true });
|
|
44
|
+
exports.BookUpdateSchema = exports.BookSchema.partial().required({ id: true });
|
|
@@ -0,0 +1,43 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
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
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.CopyUpdateSchema = exports.CopyCreationSchema = exports.CopySchema = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
exports.CopySchema = z.object({
|
|
39
|
+
id: z.int(),
|
|
40
|
+
bookId: z.int(),
|
|
41
|
+
});
|
|
42
|
+
exports.CopyCreationSchema = exports.CopySchema.omit({ id: true });
|
|
43
|
+
exports.CopyUpdateSchema = exports.CopySchema.partial().required({ id: true });
|
|
@@ -0,0 +1,45 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
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
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.CustomerUpdateSchema = exports.CustomerCreationSchema = exports.CustomerSchema = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
exports.CustomerSchema = z.object({
|
|
39
|
+
id: z.int(),
|
|
40
|
+
name: z.string(),
|
|
41
|
+
lastname: z.string(),
|
|
42
|
+
email: z.email(),
|
|
43
|
+
});
|
|
44
|
+
exports.CustomerCreationSchema = exports.CustomerSchema.omit({ id: true });
|
|
45
|
+
exports.CustomerUpdateSchema = exports.CustomerSchema.partial().required({ id: true });
|
|
@@ -0,0 +1,43 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
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
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.GroupUpdateSchema = exports.GroupCreationSchema = exports.GroupSchema = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
exports.GroupSchema = z.object({
|
|
39
|
+
id: z.int(),
|
|
40
|
+
name: z.string(),
|
|
41
|
+
});
|
|
42
|
+
exports.GroupCreationSchema = exports.GroupSchema.omit({ id: true });
|
|
43
|
+
exports.GroupUpdateSchema = exports.GroupSchema.partial().required({ id: true });
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LoanUpdateSchema = exports.LoanCreationSchema = exports.LoanSchema = exports.GroupUpdateSchema = exports.GroupCreationSchema = exports.GroupSchema = exports.CustomerUpdateSchema = exports.CustomerCreationSchema = exports.CustomerSchema = exports.CopyUpdateSchema = exports.CopyCreationSchema = exports.CopySchema = exports.BookUpdateSchema = exports.BookCreationSchema = exports.BookSchema = void 0;
|
|
4
|
+
var book_schema_1 = require("./book.schema");
|
|
5
|
+
Object.defineProperty(exports, "BookSchema", { enumerable: true, get: function () { return book_schema_1.BookSchema; } });
|
|
6
|
+
Object.defineProperty(exports, "BookCreationSchema", { enumerable: true, get: function () { return book_schema_1.BookCreationSchema; } });
|
|
7
|
+
Object.defineProperty(exports, "BookUpdateSchema", { enumerable: true, get: function () { return book_schema_1.BookUpdateSchema; } });
|
|
8
|
+
var copy_schema_1 = require("./copy.schema");
|
|
9
|
+
Object.defineProperty(exports, "CopySchema", { enumerable: true, get: function () { return copy_schema_1.CopySchema; } });
|
|
10
|
+
Object.defineProperty(exports, "CopyCreationSchema", { enumerable: true, get: function () { return copy_schema_1.CopyCreationSchema; } });
|
|
11
|
+
Object.defineProperty(exports, "CopyUpdateSchema", { enumerable: true, get: function () { return copy_schema_1.CopyUpdateSchema; } });
|
|
12
|
+
var customer_schema_1 = require("./customer.schema");
|
|
13
|
+
Object.defineProperty(exports, "CustomerSchema", { enumerable: true, get: function () { return customer_schema_1.CustomerSchema; } });
|
|
14
|
+
Object.defineProperty(exports, "CustomerCreationSchema", { enumerable: true, get: function () { return customer_schema_1.CustomerCreationSchema; } });
|
|
15
|
+
Object.defineProperty(exports, "CustomerUpdateSchema", { enumerable: true, get: function () { return customer_schema_1.CustomerUpdateSchema; } });
|
|
16
|
+
var group_schema_1 = require("./group.schema");
|
|
17
|
+
Object.defineProperty(exports, "GroupSchema", { enumerable: true, get: function () { return group_schema_1.GroupSchema; } });
|
|
18
|
+
Object.defineProperty(exports, "GroupCreationSchema", { enumerable: true, get: function () { return group_schema_1.GroupCreationSchema; } });
|
|
19
|
+
Object.defineProperty(exports, "GroupUpdateSchema", { enumerable: true, get: function () { return group_schema_1.GroupUpdateSchema; } });
|
|
20
|
+
var loan_schema_1 = require("./loan.schema");
|
|
21
|
+
Object.defineProperty(exports, "LoanSchema", { enumerable: true, get: function () { return loan_schema_1.LoanSchema; } });
|
|
22
|
+
Object.defineProperty(exports, "LoanCreationSchema", { enumerable: true, get: function () { return loan_schema_1.LoanCreationSchema; } });
|
|
23
|
+
Object.defineProperty(exports, "LoanUpdateSchema", { enumerable: true, get: function () { return loan_schema_1.LoanUpdateSchema; } });
|
|
@@ -0,0 +1,47 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
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
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.LoanUpdateSchema = exports.LoanCreationSchema = exports.LoanSchema = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
exports.LoanSchema = z.object({
|
|
39
|
+
id: z.int(),
|
|
40
|
+
copyId: z.int(),
|
|
41
|
+
customerId: z.int(),
|
|
42
|
+
lentDate: z.date(),
|
|
43
|
+
dueDate: z.date(),
|
|
44
|
+
returnDate: z.date(),
|
|
45
|
+
});
|
|
46
|
+
exports.LoanCreationSchema = exports.LoanSchema.omit({ id: true });
|
|
47
|
+
exports.LoanUpdateSchema = exports.LoanSchema.partial().required({ id: true });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"book.schema.js","sourceRoot":"","sources":["../../../src/schemas/book.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy.schema.js","sourceRoot":"","sources":["../../../src/schemas/copy.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CACf,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.schema.js","sourceRoot":"","sources":["../../../src/schemas/customer.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AACxE,MAAM,CAAC,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.schema.js","sourceRoot":"","sources":["../../../src/schemas/group.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loan.schema.js","sourceRoot":"","sources":["../../../src/schemas/loan.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE;IACjB,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"book.type.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"book.type.js","sourceRoot":"","sources":["../../../src/types/book.type.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy.type.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"copy.type.js","sourceRoot":"","sources":["../../../src/types/copy.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.type.js","sourceRoot":"","sources":["../../../src/types/customer.type.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.types.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"group.types.js","sourceRoot":"","sources":["../../../src/types/group.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loan.type.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"loan.type.js","sourceRoot":"","sources":["../../../src/types/loan.type.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export { CustomerAttributes, CustomerCreationAttributes, CustomerUpdateAttributes, } from './customer.type';
|
|
4
|
-
export { GroupAttributes, GroupCreationAttributes, GroupUpdateAttributes } from './group.types';
|
|
5
|
-
export { LoanAttributes, LoanCreationAttributes, LoanUpdateAttributes } from './loan.type';
|
|
1
|
+
export * from './schemas';
|
|
2
|
+
export * from './types';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { BookAttributes, BookCreationAttributes, BookUpdateAttributes } from './book.type';
|
|
2
|
+
export { CopyAttributes, CopyCreationAttributes, CopyUpdateAttributes } from './copy.type';
|
|
3
|
+
export { CustomerAttributes, CustomerCreationAttributes, CustomerUpdateAttributes, } from './customer.type';
|
|
4
|
+
export { GroupAttributes, GroupCreationAttributes, GroupUpdateAttributes } from './group.types';
|
|
5
|
+
export { LoanAttributes, LoanCreationAttributes, LoanUpdateAttributes } from './loan.type';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiboli/types",
|
|
3
3
|
"scope": "@tiboli",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"description": "Typedefinitions for Tiboli",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiboli",
|
|
@@ -12,30 +12,36 @@
|
|
|
12
12
|
],
|
|
13
13
|
"type": "module",
|
|
14
14
|
"private": false,
|
|
15
|
-
"main": "./dist/index.js",
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
15
|
"files": [
|
|
18
16
|
"dist"
|
|
19
17
|
],
|
|
18
|
+
"main": "./dist/cjs/index.js",
|
|
19
|
+
"module": "./dist/esm/index.js",
|
|
20
|
+
"types": "./dist/types/index.d.ts",
|
|
20
21
|
"exports": {
|
|
21
22
|
".": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
23
|
+
"types": "./dist/types/index.d.ts",
|
|
24
|
+
"import": "./dist/esm/index.js",
|
|
25
|
+
"require": "./dist/cjs/index.js"
|
|
25
26
|
},
|
|
26
27
|
"./schemas": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
28
|
+
"types": "./dist/types/schemas/index.d.ts",
|
|
29
|
+
"import": "./dist/esm/schemas/index.js",
|
|
30
|
+
"require": "./dist/cjs/schemas/index.js"
|
|
29
31
|
},
|
|
30
32
|
"./types": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
+
"types": "./dist/types/types/index.d.ts",
|
|
34
|
+
"import": "./dist/esm/types/index.js",
|
|
35
|
+
"require": "./dist/cjs/types/index.js"
|
|
33
36
|
}
|
|
34
37
|
},
|
|
35
38
|
"scripts": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
+
"clean": "rm -rf dist",
|
|
40
|
+
"build:esm": "tsc --project tsconfig.esm.json && tsc-alias -p tsconfig.esm.json",
|
|
41
|
+
"build:cjs": "tsc --project tsconfig.cjs.json && node scripts/rename-cjs.mjs",
|
|
42
|
+
"build": "npm run clean && npm run build:esm && npm run build:cjs",
|
|
43
|
+
"watch": "tsc --project tsconfig.esm.json --watch",
|
|
44
|
+
"start": "node dist/esm/index.js",
|
|
39
45
|
"dev": "tsx watch -r tsconfig-paths/register src",
|
|
40
46
|
"prepare": "husky",
|
|
41
47
|
"lint": "eslint --max-warnings=0 .",
|
package/dist/index.d.ts
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"book.schema.js","sourceRoot":"","sources":["../../src/schemas/book.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"copy.schema.js","sourceRoot":"","sources":["../../src/schemas/copy.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CACf,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customer.schema.js","sourceRoot":"","sources":["../../src/schemas/customer.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AACxE,MAAM,CAAC,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"group.schema.js","sourceRoot":"","sources":["../../src/schemas/group.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loan.schema.js","sourceRoot":"","sources":["../../src/schemas/loan.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE;IACjB,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customer.type.js","sourceRoot":"","sources":["../../src/types/customer.type.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|