@nomalism-com/types 1.3.41 → 1.3.43
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/index.js
CHANGED
|
@@ -1999,15 +1999,11 @@ __export(route_schema_exports18, {
|
|
|
1999
1999
|
updateBody: () => updateBody10
|
|
2000
2000
|
});
|
|
2001
2001
|
var createBodyKeys11 = {
|
|
2002
|
-
name: joi10.string().required()
|
|
2003
|
-
document_set_id: joi10.number().integer().allow(null).optional(),
|
|
2004
|
-
active_by_default: joi10.boolean().default(false).optional()
|
|
2002
|
+
name: joi10.string().required()
|
|
2005
2003
|
};
|
|
2006
2004
|
var createBody12 = joi10.object().keys(createBodyKeys11).messages(messages);
|
|
2007
2005
|
var updateBodyKeys10 = {
|
|
2008
|
-
name: joi10.string()
|
|
2009
|
-
document_set_id: joi10.number().integer().allow(null).optional(),
|
|
2010
|
-
active_by_default: joi10.boolean().optional()
|
|
2006
|
+
name: joi10.string()
|
|
2011
2007
|
};
|
|
2012
2008
|
var updateBody10 = joi10.object().keys(updateBodyKeys10).messages(messages);
|
|
2013
2009
|
|
|
@@ -3,14 +3,10 @@ import { DocumentSet } from '../../../shared/entities/stock';
|
|
|
3
3
|
export type Entity = DocumentSet;
|
|
4
4
|
export declare const Route = "document_set";
|
|
5
5
|
export interface ICreateRequest {
|
|
6
|
-
document_set_id: number | null;
|
|
7
6
|
name: string;
|
|
8
|
-
active_by_default: boolean;
|
|
9
7
|
}
|
|
10
8
|
export interface IUpdateRequest {
|
|
11
|
-
document_set_id?: number | null;
|
|
12
9
|
name?: string;
|
|
13
|
-
active_by_default?: boolean;
|
|
14
10
|
}
|
|
15
11
|
export interface IRepository {
|
|
16
12
|
findById(selector: IShared.IFindByIdRequest): Promise<Entity | null>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.43",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@swc/core": "^1.15.43",
|
|
30
30
|
"@types/node": "^24.13.2",
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^8.62.
|
|
32
|
-
"@typescript-eslint/parser": "^8.62.
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "^8.62.1",
|
|
32
|
+
"@typescript-eslint/parser": "^8.62.1",
|
|
33
33
|
"eslint": "^9.39.4",
|
|
34
34
|
"eslint-config-prettier": "^10.1.8",
|
|
35
35
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
36
36
|
"eslint-plugin-prettier": "^5.5.6",
|
|
37
|
-
"prettier": "^3.9.
|
|
37
|
+
"prettier": "^3.9.4",
|
|
38
38
|
"tsup": "^8.5.1"
|
|
39
39
|
},
|
|
40
40
|
"repository": {
|