@ibiliaze/global-vars 1.243.0 → 1.244.0
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.
|
@@ -8,6 +8,24 @@ export declare const itemRoleDefs: <TId, TDate>() => readonly [{
|
|
|
8
8
|
items: ItemBase<TId, TDate>[];
|
|
9
9
|
count: number;
|
|
10
10
|
};
|
|
11
|
+
readonly response_400: {
|
|
12
|
+
message: string;
|
|
13
|
+
};
|
|
14
|
+
readonly response_500: {
|
|
15
|
+
message: string;
|
|
16
|
+
error: string;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
readonly method: "delete";
|
|
20
|
+
readonly path: "/item/all";
|
|
21
|
+
readonly role: "deleteItems";
|
|
22
|
+
readonly name: "Delete items";
|
|
23
|
+
readonly response_200: {
|
|
24
|
+
message: string;
|
|
25
|
+
};
|
|
26
|
+
readonly response_400: {
|
|
27
|
+
message: string;
|
|
28
|
+
};
|
|
11
29
|
readonly response_500: {
|
|
12
30
|
message: string;
|
|
13
31
|
error: string;
|
|
@@ -9,6 +9,16 @@ const itemRoleDefs = () => {
|
|
|
9
9
|
role: 'getItems',
|
|
10
10
|
name: 'Get items',
|
|
11
11
|
response_200: {},
|
|
12
|
+
response_400: {},
|
|
13
|
+
response_500: {},
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
method: 'delete',
|
|
17
|
+
path: '/item/all',
|
|
18
|
+
role: 'deleteItems',
|
|
19
|
+
name: 'Delete items',
|
|
20
|
+
response_200: {},
|
|
21
|
+
response_400: {},
|
|
12
22
|
response_500: {},
|
|
13
23
|
},
|
|
14
24
|
];
|
|
@@ -495,6 +495,24 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
495
495
|
items: import("./inputsDefault").ItemBase<TId_5, TDate_5>[];
|
|
496
496
|
count: number;
|
|
497
497
|
};
|
|
498
|
+
readonly response_400: {
|
|
499
|
+
message: string;
|
|
500
|
+
};
|
|
501
|
+
readonly response_500: {
|
|
502
|
+
message: string;
|
|
503
|
+
error: string;
|
|
504
|
+
};
|
|
505
|
+
}, {
|
|
506
|
+
readonly method: "delete";
|
|
507
|
+
readonly path: "/item/all";
|
|
508
|
+
readonly role: "deleteItems";
|
|
509
|
+
readonly name: "Delete items";
|
|
510
|
+
readonly response_200: {
|
|
511
|
+
message: string;
|
|
512
|
+
};
|
|
513
|
+
readonly response_400: {
|
|
514
|
+
message: string;
|
|
515
|
+
};
|
|
498
516
|
readonly response_500: {
|
|
499
517
|
message: string;
|
|
500
518
|
error: string;
|
|
@@ -3102,6 +3120,24 @@ declare const allApis: readonly [{
|
|
|
3102
3120
|
items: import("./inputsDefault").ItemBase<TId_4, TDate_4>[];
|
|
3103
3121
|
count: number;
|
|
3104
3122
|
};
|
|
3123
|
+
readonly response_400: {
|
|
3124
|
+
message: string;
|
|
3125
|
+
};
|
|
3126
|
+
readonly response_500: {
|
|
3127
|
+
message: string;
|
|
3128
|
+
error: string;
|
|
3129
|
+
};
|
|
3130
|
+
}, {
|
|
3131
|
+
readonly method: "delete";
|
|
3132
|
+
readonly path: "/item/all";
|
|
3133
|
+
readonly role: "deleteItems";
|
|
3134
|
+
readonly name: "Delete items";
|
|
3135
|
+
readonly response_200: {
|
|
3136
|
+
message: string;
|
|
3137
|
+
};
|
|
3138
|
+
readonly response_400: {
|
|
3139
|
+
message: string;
|
|
3140
|
+
};
|
|
3105
3141
|
readonly response_500: {
|
|
3106
3142
|
message: string;
|
|
3107
3143
|
error: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiliaze/global-vars",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.244.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsc",
|
|
24
24
|
"pub": "npm publish --access public",
|
|
25
|
-
"git": "git add .; git commit -m 'changes'; git tag -a v1.
|
|
25
|
+
"git": "git add .; git commit -m 'changes'; git tag -a v1.244.0 -m 'v1.244.0'; git push origin v1.244.0; git push",
|
|
26
26
|
"push": "npm run build; npm run git; npm run pub"
|
|
27
27
|
},
|
|
28
28
|
"author": "Ibi Hasanli",
|