@nomalism-com/types 0.40.46 → 0.40.48
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
|
@@ -4446,7 +4446,13 @@ var senEmailBodyKeys = {
|
|
|
4446
4446
|
retificacao: joi80.boolean().required(),
|
|
4447
4447
|
retificacao_aconselhamento: joi80.boolean().required(),
|
|
4448
4448
|
montagem: joi80.boolean().required(),
|
|
4449
|
-
|
|
4449
|
+
multimedias: joi80.array().items(
|
|
4450
|
+
joi80.object().keys({
|
|
4451
|
+
id: joi80.string().required(),
|
|
4452
|
+
filename: joi80.string().required()
|
|
4453
|
+
})
|
|
4454
|
+
).optional()
|
|
4455
|
+
// REMOVED .allow([]) here
|
|
4450
4456
|
}),
|
|
4451
4457
|
address: joi80.string().optional().allow(""),
|
|
4452
4458
|
email: joi80.string().trim(true).lowercase().email({ tlds: { allow: false } })
|
package/dist/index.js
CHANGED
|
@@ -4446,7 +4446,13 @@ var senEmailBodyKeys = {
|
|
|
4446
4446
|
retificacao: joi80.boolean().required(),
|
|
4447
4447
|
retificacao_aconselhamento: joi80.boolean().required(),
|
|
4448
4448
|
montagem: joi80.boolean().required(),
|
|
4449
|
-
|
|
4449
|
+
multimedias: joi80.array().items(
|
|
4450
|
+
joi80.object().keys({
|
|
4451
|
+
id: joi80.string().required(),
|
|
4452
|
+
filename: joi80.string().required()
|
|
4453
|
+
})
|
|
4454
|
+
).optional()
|
|
4455
|
+
// REMOVED .allow([]) here
|
|
4450
4456
|
}),
|
|
4451
4457
|
address: joi80.string().optional().allow(""),
|
|
4452
4458
|
email: joi80.string().trim(true).lowercase().email({ tlds: { allow: false } })
|
|
@@ -8,11 +8,15 @@ export declare const IProjectInfoTypeEnum: {
|
|
|
8
8
|
professional: 'professional';
|
|
9
9
|
company: 'company';
|
|
10
10
|
};
|
|
11
|
+
export type IMultimedia = {
|
|
12
|
+
id: string;
|
|
13
|
+
filename: string;
|
|
14
|
+
};
|
|
11
15
|
export type IBudgetOptionsType = {
|
|
12
16
|
retificacao: boolean;
|
|
13
17
|
retificacao_aconselhamento: boolean;
|
|
14
18
|
montagem: boolean;
|
|
15
|
-
|
|
19
|
+
multimedias: IMultimedia[];
|
|
16
20
|
};
|
|
17
21
|
export type IProjectInfoType = (typeof IProjectInfoTypeEnum)[keyof typeof IProjectInfoTypeEnum];
|
|
18
22
|
export declare const projectInfoTypes: string[];
|
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.40.
|
|
4
|
+
"version": "0.40.48",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|