@nomalism-com/types 0.46.39 → 0.46.40
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
|
@@ -6037,10 +6037,6 @@ var updateBody57 = joi121.object().keys(updateBodyKeys55).messages(messages);
|
|
|
6037
6037
|
|
|
6038
6038
|
// src/modules/sms/allowedDevice/interfaces.ts
|
|
6039
6039
|
var interfaces_exports65 = {};
|
|
6040
|
-
__export(interfaces_exports65, {
|
|
6041
|
-
Route: () => Route135
|
|
6042
|
-
});
|
|
6043
|
-
var Route135 = "allowed_device";
|
|
6044
6040
|
|
|
6045
6041
|
// src/modules/sms/allowedDevice/route.schema.ts
|
|
6046
6042
|
var route_schema_exports121 = {};
|
package/dist/index.js
CHANGED
|
@@ -6037,10 +6037,6 @@ var updateBody57 = joi121.object().keys(updateBodyKeys55).messages(messages);
|
|
|
6037
6037
|
|
|
6038
6038
|
// src/modules/sms/allowedDevice/interfaces.ts
|
|
6039
6039
|
var interfaces_exports65 = {};
|
|
6040
|
-
__export(interfaces_exports65, {
|
|
6041
|
-
Route: () => Route135
|
|
6042
|
-
});
|
|
6043
|
-
var Route135 = "allowed_device";
|
|
6044
6040
|
|
|
6045
6041
|
// src/modules/sms/allowedDevice/route.schema.ts
|
|
6046
6042
|
var route_schema_exports121 = {};
|
|
@@ -5,11 +5,10 @@ export declare const Route = "allowed_device";
|
|
|
5
5
|
export interface IEntity extends Entity {
|
|
6
6
|
}
|
|
7
7
|
export type ICreateRequest = Pick<Entity, 'key' | 'apk_name'>;
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
8
|
+
export type apkType = 'sms' | 'ticket' | 'app';
|
|
9
|
+
export type IUpdateRequest = {
|
|
10
|
+
[K in apkType as `allow_${K}`]?: boolean;
|
|
11
|
+
};
|
|
13
12
|
export interface IRepository {
|
|
14
13
|
find(): Promise<IEntity[]>;
|
|
15
14
|
findById(id: string): Promise<IEntity>;
|
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.46.
|
|
4
|
+
"version": "0.46.40",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|