@nomalism-com/types
Advanced tools
@@ -7,3 +7,3 @@ import { AllowedDevice } from '../../../shared/entities/sms'; | ||
| } | ||
| export type ICreateRequest = Pick<Entity, 'key' | 'apk_name'>; | ||
| export type ICreateRequest = Pick<Entity, 'key'>; | ||
| export type apkType = 'sms' | 'ticket' | 'app'; | ||
@@ -13,3 +13,3 @@ export type IUpdateRequest = Pick<Entity, 'name' | 'allow_app' | 'allow_sms' | 'allow_ticket'>; | ||
| name: string; | ||
| allowed: boolean; | ||
| allowed: apkType[]; | ||
| } | ||
@@ -16,0 +16,0 @@ export interface IRepository { |
@@ -39,3 +39,2 @@ import { ISmsSenderStats } from '../../modules/sms/smsSender/interfaces'; | ||
| key: string; | ||
| apk_name: string; | ||
| name: string | null; | ||
@@ -42,0 +41,0 @@ allow_app: boolean; |
+1
-1
| { | ||
| "name": "@nomalism-com/types", | ||
| "description": "A nomalism package with all necessary types and validations for developing APIs", | ||
| "version": "0.46.43", | ||
| "version": "0.46.44", | ||
| "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)", | ||
@@ -6,0 +6,0 @@ "license": "UNLICENSED", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
829852
-0.01%21178
-0.01%