@nomalism-com/types 0.37.14 → 0.37.16
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
|
@@ -3159,7 +3159,9 @@ var createBodyKeys34 = {
|
|
|
3159
3159
|
main_persona_name: joi48.string().required(),
|
|
3160
3160
|
main_persona_email: joi48.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3161
3161
|
user_account: joi48.string().allow(null, "").optional(),
|
|
3162
|
-
password: joi48.string().required()
|
|
3162
|
+
password: joi48.string().required(),
|
|
3163
|
+
superuser: joi48.boolean().required(),
|
|
3164
|
+
default_theme: joi48.boolean().required()
|
|
3163
3165
|
};
|
|
3164
3166
|
var createBody35 = joi48.object().keys(createBodyKeys34).messages(messages);
|
|
3165
3167
|
var updateStoreOperatorQueryKeys = {
|
|
@@ -3167,7 +3169,9 @@ var updateStoreOperatorQueryKeys = {
|
|
|
3167
3169
|
main_persona_email: joi48.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3168
3170
|
user_account: joi48.string().allow(null, "").optional(),
|
|
3169
3171
|
password: joi48.string().allow(null, "").optional(),
|
|
3170
|
-
inactive: joi48.boolean().optional()
|
|
3172
|
+
inactive: joi48.boolean().optional(),
|
|
3173
|
+
superuser: joi48.boolean().optional(),
|
|
3174
|
+
default_theme: joi48.boolean().optional()
|
|
3171
3175
|
};
|
|
3172
3176
|
var updateStoreOperatorQuery = joi48.object().keys(updateStoreOperatorQueryKeys).messages(messages);
|
|
3173
3177
|
var findWithPaginationQueryKeys19 = {
|
package/dist/index.js
CHANGED
|
@@ -3159,7 +3159,9 @@ var createBodyKeys34 = {
|
|
|
3159
3159
|
main_persona_name: joi48.string().required(),
|
|
3160
3160
|
main_persona_email: joi48.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3161
3161
|
user_account: joi48.string().allow(null, "").optional(),
|
|
3162
|
-
password: joi48.string().required()
|
|
3162
|
+
password: joi48.string().required(),
|
|
3163
|
+
superuser: joi48.boolean().required(),
|
|
3164
|
+
default_theme: joi48.boolean().required()
|
|
3163
3165
|
};
|
|
3164
3166
|
var createBody35 = joi48.object().keys(createBodyKeys34).messages(messages);
|
|
3165
3167
|
var updateStoreOperatorQueryKeys = {
|
|
@@ -3167,7 +3169,9 @@ var updateStoreOperatorQueryKeys = {
|
|
|
3167
3169
|
main_persona_email: joi48.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
|
|
3168
3170
|
user_account: joi48.string().allow(null, "").optional(),
|
|
3169
3171
|
password: joi48.string().allow(null, "").optional(),
|
|
3170
|
-
inactive: joi48.boolean().optional()
|
|
3172
|
+
inactive: joi48.boolean().optional(),
|
|
3173
|
+
superuser: joi48.boolean().optional(),
|
|
3174
|
+
default_theme: joi48.boolean().optional()
|
|
3171
3175
|
};
|
|
3172
3176
|
var updateStoreOperatorQuery = joi48.object().keys(updateStoreOperatorQueryKeys).messages(messages);
|
|
3173
3177
|
var findWithPaginationQueryKeys19 = {
|
|
@@ -14,13 +14,17 @@ export interface ICreateRequest {
|
|
|
14
14
|
main_persona_email: string | null;
|
|
15
15
|
user_account: string | null;
|
|
16
16
|
password: string;
|
|
17
|
+
superuser: boolean;
|
|
18
|
+
default_theme: boolean;
|
|
17
19
|
}
|
|
18
20
|
export interface IUpdateRequest {
|
|
19
|
-
main_persona_name
|
|
20
|
-
main_persona_email
|
|
21
|
-
user_account
|
|
22
|
-
password
|
|
23
|
-
inactive
|
|
21
|
+
main_persona_name?: string | null;
|
|
22
|
+
main_persona_email?: string | null;
|
|
23
|
+
user_account?: string | null;
|
|
24
|
+
password?: string | null;
|
|
25
|
+
inactive?: boolean;
|
|
26
|
+
superuser?: boolean;
|
|
27
|
+
default_theme?: boolean;
|
|
24
28
|
}
|
|
25
29
|
export interface IRepository {
|
|
26
30
|
findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
|
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.37.
|
|
4
|
+
"version": "0.37.16",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|