@nomalism-com/types 0.44.0 → 0.44.1
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
|
@@ -3092,7 +3092,6 @@ import joi45 from "joi";
|
|
|
3092
3092
|
var createBodyKeys31 = {
|
|
3093
3093
|
main_persona_name: joi45.string().required(),
|
|
3094
3094
|
main_persona_email: joi45.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3095
|
-
user_account: joi45.string().allow(null, "").optional(),
|
|
3096
3095
|
password: joi45.string().required(),
|
|
3097
3096
|
superuser: joi45.boolean().required(),
|
|
3098
3097
|
default_theme: joi45.boolean().required()
|
|
@@ -3101,7 +3100,6 @@ var createBody32 = joi45.object().keys(createBodyKeys31).messages(messages);
|
|
|
3101
3100
|
var updateStoreOperatorQueryKeys = {
|
|
3102
3101
|
main_persona_name: joi45.string().allow(null, "").optional(),
|
|
3103
3102
|
main_persona_email: joi45.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3104
|
-
user_account: joi45.string().allow(null, "").optional(),
|
|
3105
3103
|
password: joi45.string().allow(null, "").optional(),
|
|
3106
3104
|
pin: joi45.string().optional(),
|
|
3107
3105
|
inactive: joi45.boolean().optional(),
|
package/dist/index.js
CHANGED
|
@@ -3092,7 +3092,6 @@ import joi45 from "joi";
|
|
|
3092
3092
|
var createBodyKeys31 = {
|
|
3093
3093
|
main_persona_name: joi45.string().required(),
|
|
3094
3094
|
main_persona_email: joi45.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3095
|
-
user_account: joi45.string().allow(null, "").optional(),
|
|
3096
3095
|
password: joi45.string().required(),
|
|
3097
3096
|
superuser: joi45.boolean().required(),
|
|
3098
3097
|
default_theme: joi45.boolean().required()
|
|
@@ -3101,7 +3100,6 @@ var createBody32 = joi45.object().keys(createBodyKeys31).messages(messages);
|
|
|
3101
3100
|
var updateStoreOperatorQueryKeys = {
|
|
3102
3101
|
main_persona_name: joi45.string().allow(null, "").optional(),
|
|
3103
3102
|
main_persona_email: joi45.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3104
|
-
user_account: joi45.string().allow(null, "").optional(),
|
|
3105
3103
|
password: joi45.string().allow(null, "").optional(),
|
|
3106
3104
|
pin: joi45.string().optional(),
|
|
3107
3105
|
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.1",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|