@nomalism-com/types 0.44.0 → 0.44.2
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.cjs
CHANGED
|
@@ -3021,7 +3021,6 @@ __export(route_schema_exports42, {
|
|
|
3021
3021
|
});
|
|
3022
3022
|
import joi43 from "joi";
|
|
3023
3023
|
var sessionBodyKeys = {
|
|
3024
|
-
account: joi43.string().required(),
|
|
3025
3024
|
password: joi43.string().required()
|
|
3026
3025
|
};
|
|
3027
3026
|
var sessionBody = joi43.object().keys(sessionBodyKeys).messages(messages);
|
|
@@ -3092,7 +3091,6 @@ import joi45 from "joi";
|
|
|
3092
3091
|
var createBodyKeys31 = {
|
|
3093
3092
|
main_persona_name: joi45.string().required(),
|
|
3094
3093
|
main_persona_email: joi45.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3095
|
-
user_account: joi45.string().allow(null, "").optional(),
|
|
3096
3094
|
password: joi45.string().required(),
|
|
3097
3095
|
superuser: joi45.boolean().required(),
|
|
3098
3096
|
default_theme: joi45.boolean().required()
|
|
@@ -3101,7 +3099,6 @@ var createBody32 = joi45.object().keys(createBodyKeys31).messages(messages);
|
|
|
3101
3099
|
var updateStoreOperatorQueryKeys = {
|
|
3102
3100
|
main_persona_name: joi45.string().allow(null, "").optional(),
|
|
3103
3101
|
main_persona_email: joi45.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3104
|
-
user_account: joi45.string().allow(null, "").optional(),
|
|
3105
3102
|
password: joi45.string().allow(null, "").optional(),
|
|
3106
3103
|
pin: joi45.string().optional(),
|
|
3107
3104
|
inactive: joi45.boolean().optional(),
|
package/dist/index.js
CHANGED
|
@@ -3021,7 +3021,6 @@ __export(route_schema_exports42, {
|
|
|
3021
3021
|
});
|
|
3022
3022
|
import joi43 from "joi";
|
|
3023
3023
|
var sessionBodyKeys = {
|
|
3024
|
-
account: joi43.string().required(),
|
|
3025
3024
|
password: joi43.string().required()
|
|
3026
3025
|
};
|
|
3027
3026
|
var sessionBody = joi43.object().keys(sessionBodyKeys).messages(messages);
|
|
@@ -3092,7 +3091,6 @@ import joi45 from "joi";
|
|
|
3092
3091
|
var createBodyKeys31 = {
|
|
3093
3092
|
main_persona_name: joi45.string().required(),
|
|
3094
3093
|
main_persona_email: joi45.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3095
|
-
user_account: joi45.string().allow(null, "").optional(),
|
|
3096
3094
|
password: joi45.string().required(),
|
|
3097
3095
|
superuser: joi45.boolean().required(),
|
|
3098
3096
|
default_theme: joi45.boolean().required()
|
|
@@ -3101,7 +3099,6 @@ var createBody32 = joi45.object().keys(createBodyKeys31).messages(messages);
|
|
|
3101
3099
|
var updateStoreOperatorQueryKeys = {
|
|
3102
3100
|
main_persona_name: joi45.string().allow(null, "").optional(),
|
|
3103
3101
|
main_persona_email: joi45.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3104
|
-
user_account: joi45.string().allow(null, "").optional(),
|
|
3105
3102
|
password: joi45.string().allow(null, "").optional(),
|
|
3106
3103
|
pin: joi45.string().optional(),
|
|
3107
3104
|
inactive: joi45.boolean().optional(),
|
|
@@ -12,7 +12,6 @@ export interface IFindResponse extends Pick<Entity, 'id' | 'number' | 'pin' | 'i
|
|
|
12
12
|
export interface ICreateRequest {
|
|
13
13
|
main_persona_name: string;
|
|
14
14
|
main_persona_email: string | null;
|
|
15
|
-
user_account: string | null;
|
|
16
15
|
password: string;
|
|
17
16
|
superuser: boolean;
|
|
18
17
|
default_theme: boolean;
|
|
@@ -20,7 +19,6 @@ export interface ICreateRequest {
|
|
|
20
19
|
export interface IUpdateRequest {
|
|
21
20
|
main_persona_name?: string | null;
|
|
22
21
|
main_persona_email?: string | null;
|
|
23
|
-
user_account?: string | null;
|
|
24
22
|
password?: string | null;
|
|
25
23
|
pin?: string;
|
|
26
24
|
inactive?: boolean;
|
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": "0.44.
|
|
4
|
+
"version": "0.44.2",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|