🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@nomalism-com/types

Package Overview
Dependencies
Maintainers
2
Versions
3538
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nomalism-com/types - npm Package Compare versions

Comparing version
0.46.42
to
0.46.43
+5
-1
dist/modules/sms/allowedDevice/interfaces.d.ts

@@ -10,2 +10,6 @@ import { AllowedDevice } from '../../../shared/entities/sms';

export type IUpdateRequest = Pick<Entity, 'name' | 'allow_app' | 'allow_sms' | 'allow_ticket'>;
export interface ICreateResponse {
name: string;
allowed: boolean;
}
export interface IRepository {

@@ -15,3 +19,3 @@ find(): Promise<IEntity[]>;

findByKey(key: string): Promise<IEntity>;
create(data: ICreateRequest): Promise<string>;
create(data: ICreateRequest): Promise<ICreateResponse>;
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;

@@ -18,0 +22,0 @@ deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;

+1
-1
{
"name": "@nomalism-com/types",
"description": "A nomalism package with all necessary types and validations for developing APIs",
"version": "0.46.42",
"version": "0.46.43",
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",

@@ -6,0 +6,0 @@ "license": "UNLICENSED",