Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kuzzle-sdk

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kuzzle-sdk - npm Package Compare versions

Comparing version 7.10.7 to 7.10.8

2

dist/kuzzle.js.LICENSE.txt

@@ -1,1 +0,1 @@

/*! Kuzzle Javascript SDK version 7.10.7 */
/*! Kuzzle Javascript SDK version 7.10.8 */
{
"name": "kuzzle-sdk",
"version": "7.10.7",
"version": "7.10.8",
"description": "Official Javascript SDK for Kuzzle",

@@ -41,9 +41,9 @@ "author": "The Kuzzle Team <support@kuzzle.io>",

"min-req-promise": "^1.0.1",
"ws": "^8.8.1"
"ws": "^8.13.0"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@types/node": "^18.7.14",
"babel-loader": "^8.2.5",
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@types/node": "^18.15.11",
"babel-loader": "^8.3.0",
"buffer": "^6.0.3",

@@ -56,3 +56,3 @@ "codecov": "^3.8.3",

"lolex": "^6.0.0",
"mocha": "10.0.0",
"mocha": "10.2.0",
"mock-require": "^3.0.3",

@@ -65,9 +65,9 @@ "nyc": "^15.1.0",

"should-sinon": "0.0.6",
"sinon": "^14.0.0",
"sinon": "^14.0.2",
"stream-http": "^3.2.0",
"ts-morph": "^15.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.2",
"typescript": "^4.9.5",
"url": "^0.11.0",
"webpack": "^5.74.0",
"webpack": "^5.79.0",
"webpack-cli": "^4.10.0"

@@ -74,0 +74,0 @@ },

@@ -323,3 +323,3 @@ import { BaseController } from "./Base";

}
export declare type ArgsAuthControllerCheckRights = ArgsDefault;
export type ArgsAuthControllerCheckRights = ArgsDefault;
export interface ArgsAuthControllerDeleteApiKey extends ArgsDefault {

@@ -333,15 +333,15 @@ refresh?: "wait_for" | "false";

}
export declare type ArgsAuthControllerCheckToken = ArgsDefault;
export declare type ArgsAuthControllerCreateMyCredentials = ArgsDefault;
export declare type ArgsAuthControllerCredentialsExist = ArgsDefault;
export declare type ArgsAuthControllerDeleteMyCredentials = ArgsDefault;
export declare type ArgsAuthControllerGetCurrentUser = ArgsDefault;
export declare type ArgsAuthControllerGetMyCredentials = ArgsDefault;
export declare type ArgsAuthControllerGetMyRights = ArgsDefault;
export declare type ArgsAuthControllerGetStrategies = ArgsDefault;
export declare type ArgsAuthControllerUpdateMyCredentials = ArgsDefault;
export declare type ArgsAuthControllerUpdateSelf = ArgsDefault;
export declare type ArgsAuthControllerValidateMyCredentials = ArgsDefault;
export type ArgsAuthControllerCheckToken = ArgsDefault;
export type ArgsAuthControllerCreateMyCredentials = ArgsDefault;
export type ArgsAuthControllerCredentialsExist = ArgsDefault;
export type ArgsAuthControllerDeleteMyCredentials = ArgsDefault;
export type ArgsAuthControllerGetCurrentUser = ArgsDefault;
export type ArgsAuthControllerGetMyCredentials = ArgsDefault;
export type ArgsAuthControllerGetMyRights = ArgsDefault;
export type ArgsAuthControllerGetStrategies = ArgsDefault;
export type ArgsAuthControllerUpdateMyCredentials = ArgsDefault;
export type ArgsAuthControllerUpdateSelf = ArgsDefault;
export type ArgsAuthControllerValidateMyCredentials = ArgsDefault;
export interface ArgsAuthControllerRefreshToken extends ArgsDefault {
expiresIn?: number | string;
}

@@ -170,3 +170,3 @@ import { BaseController } from "./Base";

}
export declare type ArgsBulkControllerImport = ArgsDefault;
export type ArgsBulkControllerImport = ArgsDefault;
export interface ArgsBulkControllerUpdateByQuery extends ArgsDefault {

@@ -173,0 +173,0 @@ refresh?: "wait_for" | "false";

@@ -228,10 +228,10 @@ import { BaseController } from "./Base";

}
export declare type ArgsCollectionControllerCreate = ArgsDefault;
export declare type ArgsCollectionControllerDeleteSpecifications = ArgsDefault;
export declare type ArgsCollectionControllerExists = ArgsDefault;
export declare type ArgsCollectionControllerRefresh = ArgsDefault;
export type ArgsCollectionControllerCreate = ArgsDefault;
export type ArgsCollectionControllerDeleteSpecifications = ArgsDefault;
export type ArgsCollectionControllerExists = ArgsDefault;
export type ArgsCollectionControllerRefresh = ArgsDefault;
export interface ArgsCollectionControllerGetMapping extends ArgsDefault {
includeKuzzleMeta?: boolean;
}
export declare type ArgsCollectionControllerGetSpecifications = ArgsDefault;
export type ArgsCollectionControllerGetSpecifications = ArgsDefault;
export interface ArgsCollectionControllerList extends ArgsDefault {

@@ -246,7 +246,7 @@ from?: number;

}
export declare type ArgsCollectionControllerTruncate = ArgsDefault;
export declare type ArgsCollectionControllerUpdate = ArgsDefault;
export declare type ArgsCollectionControllerUpdateMapping = ArgsDefault;
export declare type ArgsCollectionControllerUpdateSpecifications = ArgsDefault;
export declare type ArgsCollectionControllerValidateSpecifications = ArgsDefault;
export declare type ArgsCollectionControllerDelete = ArgsDefault;
export type ArgsCollectionControllerTruncate = ArgsDefault;
export type ArgsCollectionControllerUpdate = ArgsDefault;
export type ArgsCollectionControllerUpdateMapping = ArgsDefault;
export type ArgsCollectionControllerUpdateSpecifications = ArgsDefault;
export type ArgsCollectionControllerValidateSpecifications = ArgsDefault;
export type ArgsCollectionControllerDelete = ArgsDefault;

@@ -416,3 +416,3 @@ import { BaseController } from "./Base";

}
export declare type ArgsDocumentControllerCount = ArgsDefault;
export type ArgsDocumentControllerCount = ArgsDefault;
export interface ArgsDocumentControllerCreate extends ArgsDefault {

@@ -513,2 +513,2 @@ refresh?: "wait_for" | "false";

}
export declare type ArgsDocumentControllerValidate = ArgsDefault;
export type ArgsDocumentControllerValidate = ArgsDefault;

@@ -72,7 +72,7 @@ import { BaseController } from "./Base";

}
export declare type ArgsIndexControllerCreate = ArgsDefault;
export declare type ArgsIndexControllerDelete = ArgsDefault;
export declare type ArgsIndexControllerExists = ArgsDefault;
export declare type ArgsIndexControllerList = ArgsDefault;
export declare type ArgsIndexControllerMDelete = ArgsDefault;
export declare type ArgsIndexControllerStats = ArgsDefault;
export type ArgsIndexControllerCreate = ArgsDefault;
export type ArgsIndexControllerDelete = ArgsDefault;
export type ArgsIndexControllerExists = ArgsDefault;
export type ArgsIndexControllerList = ArgsDefault;
export type ArgsIndexControllerMDelete = ArgsDefault;
export type ArgsIndexControllerStats = ArgsDefault;

@@ -123,3 +123,3 @@ import { BaseController } from "./Base";

}
export declare type ArgsRealtimeControllerCount = ArgsDefault;
export type ArgsRealtimeControllerCount = ArgsDefault;
export interface ArgsRealtimeControllerPublish extends ArgsDefault {

@@ -134,2 +134,2 @@ _id?: string;

}
export declare type ArgsRealtimeControllerUnsubscribe = ArgsDefault;
export type ArgsRealtimeControllerUnsubscribe = ArgsDefault;

@@ -102,3 +102,3 @@ import { BaseController } from "./Base";

}
export declare type ArgsSecurityControllerCheckRights = ArgsDefault;
export type ArgsSecurityControllerCheckRights = ArgsDefault;
export interface ArgsSecurityControllerDeleteApiKey extends ArgsDefault {

@@ -112,53 +112,53 @@ refresh?: "wait_for" | "false";

}
export declare type ArgsSecurityControllerCreateCredentials = ArgsDefault;
export type ArgsSecurityControllerCreateCredentials = ArgsDefault;
export interface ArgsSecurityControllerCreateFirstAdmin extends ArgsDefault {
reset?: boolean;
}
export declare type ArgsSecurityControllerCreateOrReplaceProfile = ArgsDefault;
export type ArgsSecurityControllerCreateOrReplaceProfile = ArgsDefault;
export interface ArgsSecurityControllerCreateOrReplaceRole extends ArgsDefault {
force?: boolean;
}
export declare type ArgsSecurityControllerCreateProfile = ArgsDefault;
export declare type ArgsSecurityControllerCreateRestrictedUser = ArgsDefault;
export type ArgsSecurityControllerCreateProfile = ArgsDefault;
export type ArgsSecurityControllerCreateRestrictedUser = ArgsDefault;
export interface ArgsSecurityControllerCreateRole extends ArgsDefault {
force?: boolean;
}
export declare type ArgsSecurityControllerCreateUser = ArgsDefault;
export declare type ArgsSecurityControllerDeleteCredentials = ArgsDefault;
export declare type ArgsSecurityControllerDeleteProfile = ArgsDefault;
export declare type ArgsSecurityControllerDeleteRole = ArgsDefault;
export declare type ArgsSecurityControllerDeleteUser = ArgsDefault;
export declare type ArgsSecurityControllerGetAllCredentialFields = ArgsDefault;
export declare type ArgsSecurityControllerGetCredentialFields = ArgsDefault;
export declare type ArgsSecurityControllerGetCredentials = ArgsDefault;
export declare type ArgsSecurityControllerGetCredentialsById = ArgsDefault;
export declare type ArgsSecurityControllerGetProfile = ArgsDefault;
export declare type ArgsSecurityControllerGetProfileMapping = ArgsDefault;
export declare type ArgsSecurityControllerGetProfileRights = ArgsDefault;
export declare type ArgsSecurityControllerGetRole = ArgsDefault;
export declare type ArgsSecurityControllerGetRoleMapping = ArgsDefault;
export declare type ArgsSecurityControllerGetUser = ArgsDefault;
export declare type ArgsSecurityControllerGetUserMapping = ArgsDefault;
export declare type ArgsSecurityControllerGetUserRights = ArgsDefault;
export declare type ArgsSecurityControllerGetUserStrategies = ArgsDefault;
export declare type ArgsSecurityControllerHasCredentials = ArgsDefault;
export declare type ArgsSecurityControllerMDeleteProfiles = ArgsDefault;
export declare type ArgsSecurityControllerMDeleteRoles = ArgsDefault;
export declare type ArgsSecurityControllerMDeleteUsers = ArgsDefault;
export declare type ArgsSecurityControllerMGetProfiles = ArgsDefault;
export declare type ArgsSecurityControllerMGetUsers = ArgsDefault;
export declare type ArgsSecurityControllerMGetRoles = ArgsDefault;
export declare type ArgsSecurityControllerReplaceUser = ArgsDefault;
export declare type ArgsSecurityControllerSearchProfiles = ArgsDefault;
export declare type ArgsSecurityControllerSearchRoles = ArgsDefault;
export declare type ArgsSecurityControllerSearchUsers = ArgsDefault;
export declare type ArgsSecurityControllerUpdateCredentials = ArgsDefault;
export declare type ArgsSecurityControllerUpdateProfile = ArgsDefault;
export declare type ArgsSecurityControllerUpdateProfileMapping = ArgsDefault;
export type ArgsSecurityControllerCreateUser = ArgsDefault;
export type ArgsSecurityControllerDeleteCredentials = ArgsDefault;
export type ArgsSecurityControllerDeleteProfile = ArgsDefault;
export type ArgsSecurityControllerDeleteRole = ArgsDefault;
export type ArgsSecurityControllerDeleteUser = ArgsDefault;
export type ArgsSecurityControllerGetAllCredentialFields = ArgsDefault;
export type ArgsSecurityControllerGetCredentialFields = ArgsDefault;
export type ArgsSecurityControllerGetCredentials = ArgsDefault;
export type ArgsSecurityControllerGetCredentialsById = ArgsDefault;
export type ArgsSecurityControllerGetProfile = ArgsDefault;
export type ArgsSecurityControllerGetProfileMapping = ArgsDefault;
export type ArgsSecurityControllerGetProfileRights = ArgsDefault;
export type ArgsSecurityControllerGetRole = ArgsDefault;
export type ArgsSecurityControllerGetRoleMapping = ArgsDefault;
export type ArgsSecurityControllerGetUser = ArgsDefault;
export type ArgsSecurityControllerGetUserMapping = ArgsDefault;
export type ArgsSecurityControllerGetUserRights = ArgsDefault;
export type ArgsSecurityControllerGetUserStrategies = ArgsDefault;
export type ArgsSecurityControllerHasCredentials = ArgsDefault;
export type ArgsSecurityControllerMDeleteProfiles = ArgsDefault;
export type ArgsSecurityControllerMDeleteRoles = ArgsDefault;
export type ArgsSecurityControllerMDeleteUsers = ArgsDefault;
export type ArgsSecurityControllerMGetProfiles = ArgsDefault;
export type ArgsSecurityControllerMGetUsers = ArgsDefault;
export type ArgsSecurityControllerMGetRoles = ArgsDefault;
export type ArgsSecurityControllerReplaceUser = ArgsDefault;
export type ArgsSecurityControllerSearchProfiles = ArgsDefault;
export type ArgsSecurityControllerSearchRoles = ArgsDefault;
export type ArgsSecurityControllerSearchUsers = ArgsDefault;
export type ArgsSecurityControllerUpdateCredentials = ArgsDefault;
export type ArgsSecurityControllerUpdateProfile = ArgsDefault;
export type ArgsSecurityControllerUpdateProfileMapping = ArgsDefault;
export interface ArgsSecurityControllerUpdateRole extends ArgsDefault {
force?: boolean;
}
export declare type ArgsSecurityControllerUpdateRoleMapping = ArgsDefault;
export declare type ArgsSecurityControllerUpdateUser = ArgsDefault;
export declare type ArgsSecurityControllerUpdateUserMapping = ArgsDefault;
export declare type ArgsSecurityControllerValidateCredentials = ArgsDefault;
export type ArgsSecurityControllerUpdateRoleMapping = ArgsDefault;
export type ArgsSecurityControllerUpdateUser = ArgsDefault;
export type ArgsSecurityControllerUpdateUserMapping = ArgsDefault;
export type ArgsSecurityControllerValidateCredentials = ArgsDefault;

@@ -71,8 +71,8 @@ import { BaseController } from "./Base";

}
export declare type ArgsServerControllerAdminExists = ArgsDefault;
export declare type ArgsServerControllerGetAllStats = ArgsDefault;
export declare type ArgsServerControllerGetConfig = ArgsDefault;
export declare type ArgsServerControllerGetLastStats = ArgsDefault;
export declare type ArgsServerControllerGetStats = ArgsDefault;
export declare type ArgsServerControllerInfo = ArgsDefault;
export declare type ArgsServerControllerNow = ArgsDefault;
export type ArgsServerControllerAdminExists = ArgsDefault;
export type ArgsServerControllerGetAllStats = ArgsDefault;
export type ArgsServerControllerGetConfig = ArgsDefault;
export type ArgsServerControllerGetLastStats = ArgsDefault;
export type ArgsServerControllerGetStats = ArgsDefault;
export type ArgsServerControllerInfo = ArgsDefault;
export type ArgsServerControllerNow = ArgsDefault;

@@ -6,3 +6,3 @@ import { JSONObject } from "../../types";

*/
export declare type DocumentsBuffer = {
export type DocumentsBuffer = {
documents: Array<{

@@ -22,3 +22,3 @@ _id: string;

*/
export declare type IndexBuffer = Map<string, Map<string, DocumentsBuffer>>;
export type IndexBuffer = Map<string, Map<string, DocumentsBuffer>>;
/**

@@ -25,0 +25,0 @@ * @internal

@@ -19,18 +19,2 @@ "use strict";

class BatchWriter {
constructor(sdk, { interval = 10, maxWriteBufferSize = 200, maxReadBufferSize = 200 } = {}) {
// Buffers
this.buffers = {
create: new BatchBuffer_1.BatchBuffer(),
createOrReplace: new BatchBuffer_1.BatchBuffer(),
delete: new BatchBuffer_1.BatchBuffer(),
exists: new BatchBuffer_1.BatchBuffer(),
get: new BatchBuffer_1.BatchBuffer(),
replace: new BatchBuffer_1.BatchBuffer(),
update: new BatchBuffer_1.BatchBuffer(),
};
this.sdk = sdk;
this.interval = interval;
this.maxWriteBufferSize = maxWriteBufferSize;
this.maxReadBufferSize = maxReadBufferSize;
}
get addCreate() {

@@ -58,2 +42,18 @@ // @todo implements the send of buffer if approaching the limit

}
constructor(sdk, { interval = 10, maxWriteBufferSize = 200, maxReadBufferSize = 200 } = {}) {
// Buffers
this.buffers = {
create: new BatchBuffer_1.BatchBuffer(),
createOrReplace: new BatchBuffer_1.BatchBuffer(),
delete: new BatchBuffer_1.BatchBuffer(),
exists: new BatchBuffer_1.BatchBuffer(),
get: new BatchBuffer_1.BatchBuffer(),
replace: new BatchBuffer_1.BatchBuffer(),
update: new BatchBuffer_1.BatchBuffer(),
};
this.sdk = sdk;
this.interval = interval;
this.maxWriteBufferSize = maxWriteBufferSize;
this.maxReadBufferSize = maxReadBufferSize;
}
/**

@@ -60,0 +60,0 @@ * Execute API actions with documents stored in the buffers.

@@ -1,8 +0,8 @@

declare type ListenerFunction = (...args: unknown[]) => unknown;
export declare type PublicKuzzleEvents = "callbackError" | "connected" | "discarded" | "disconnected" | "loginAttempt" | "logoutAttempt" | "networkError" | "offlineQueuePush" | "offlineQueuePop" | "queryError" | "reAuthenticated" | "reconnected" | "reconnectionError" | "tokenExpired";
declare type PrivateKuzzleEvents = "connect" | "reconnect" | "disconnect" | "offlineQueuePush" | "websocketRenewalStart" | "websocketRenewalDone";
type ListenerFunction = (...args: unknown[]) => unknown;
export type PublicKuzzleEvents = "callbackError" | "connected" | "discarded" | "disconnected" | "loginAttempt" | "logoutAttempt" | "networkError" | "offlineQueuePush" | "offlineQueuePop" | "queryError" | "reAuthenticated" | "reconnected" | "reconnectionError" | "tokenExpired";
type PrivateKuzzleEvents = "connect" | "reconnect" | "disconnect" | "offlineQueuePush" | "websocketRenewalStart" | "websocketRenewalDone";
/**
* For internal use only
*/
export declare type PrivateAndPublicSDKEvents = PublicKuzzleEvents | PrivateKuzzleEvents;
export type PrivateAndPublicSDKEvents = PublicKuzzleEvents | PrivateKuzzleEvents;
/**

@@ -9,0 +9,0 @@ * @todo proper TS conversion

@@ -6,3 +6,3 @@ import { Kuzzle } from "../Kuzzle";

import { ArgsDocumentControllerGet, ArgsDocumentControllerMGet, ArgsDocumentControllerSearch } from "../controllers/Document";
export declare type ObserverOptions = {
export type ObserverOptions = {
/**

@@ -9,0 +9,0 @@ * Refresh delay in ms when the SDK is using the HTTP protocol.

@@ -13,11 +13,2 @@ "use strict";

class ObservedDocuments extends Set {
constructor(index, collection) {
super();
/**
* Room ID for the realtime subscription on the collection of observed documents
*/
this.roomId = null;
this.index = index;
this.collection = collection;
}
/**

@@ -37,2 +28,11 @@ * Gets documents IDs

}
constructor(index, collection) {
super();
/**
* Room ID for the realtime subscription on the collection of observed documents
*/
this.roomId = null;
this.index = index;
this.collection = collection;
}
}

@@ -39,0 +39,0 @@ /**

@@ -9,2 +9,5 @@ "use strict";

class KuzzleAbstractProtocol extends KuzzleEventEmitter_1.KuzzleEventEmitter {
get sslConnection() {
return this._ssl;
}
constructor(host, options = {}, name = undefined) {

@@ -42,5 +45,2 @@ super();

}
get sslConnection() {
return this._ssl;
}
/**

@@ -47,0 +47,0 @@ * Kuzzle server host or IP.

@@ -6,3 +6,3 @@ /**

*/
export declare type ApiKey = {
export type ApiKey = {
/**

@@ -9,0 +9,0 @@ * ApiKey unique ID

@@ -20,3 +20,3 @@ /**

*/
export declare type HttpRoutes = {
export type HttpRoutes = {
/**

@@ -23,0 +23,0 @@ * Controller name

/**
* An interface representing an object with string key and any value
*/
export declare type JSONObject = Record<PropertyKey, any>;
export type JSONObject = Record<PropertyKey, any>;

@@ -59,2 +59,12 @@ import { JSONObject } from "./JSONObject";

_score: number;
/**
* Document index
* Present only in the case of a multi search
*/
index?: string;
/**
* Document collection
* Present only in the case of a multi search
*/
collection?: string;
}
import { JSONObject } from "./JSONObject";
declare type PropertyObject = {
type PropertyObject = {
properties?: MappingsProperties;
};
declare type PropertyDynamic = {
type PropertyDynamic = {
/**

@@ -13,3 +13,3 @@ * Dynamic mapping policy

};
declare type PropertyType = {
type PropertyType = {
[name: string]: {

@@ -19,3 +19,3 @@ type?: string;

};
export declare type MappingsProperties = PropertyObject | PropertyDynamic | PropertyType;
export type MappingsProperties = PropertyObject | PropertyDynamic | PropertyType;
/**

@@ -40,3 +40,3 @@ * Collection mappings definition

*/
export declare type CollectionMappings = {
export type CollectionMappings = {
/**

@@ -43,0 +43,0 @@ * Collection metadata

import { KDocumentContentGeneric } from "./KDocument";
export declare type mCreateRequest<TKDocumentContent extends KDocumentContentGeneric> = Array<{
export type mCreateRequest<TKDocumentContent extends KDocumentContentGeneric> = Array<{
/**

@@ -12,3 +12,3 @@ * Document unique identifier

}>;
export declare type mCreateOrReplaceRequest<TKDocumentContent extends KDocumentContentGeneric> = Array<{
export type mCreateOrReplaceRequest<TKDocumentContent extends KDocumentContentGeneric> = Array<{
/**

@@ -23,5 +23,5 @@ * Document unique identifier

}>;
export declare type mReplaceRequest<TKDocumentContent extends KDocumentContentGeneric> = mCreateOrReplaceRequest<TKDocumentContent>;
export declare type mUpdateRequest<TKDocumentContent extends KDocumentContentGeneric> = mCreateOrReplaceRequest<TKDocumentContent>;
export declare type mUpsertRequest<TKDocumentContent extends KDocumentContentGeneric> = Array<{
export type mReplaceRequest<TKDocumentContent extends KDocumentContentGeneric> = mCreateOrReplaceRequest<TKDocumentContent>;
export type mUpdateRequest<TKDocumentContent extends KDocumentContentGeneric> = mCreateOrReplaceRequest<TKDocumentContent>;
export type mUpsertRequest<TKDocumentContent extends KDocumentContentGeneric> = Array<{
/**

@@ -40,2 +40,2 @@ * Document unique identifier

}>;
export declare type mDeleteRequest = string[];
export type mDeleteRequest = string[];
import { JSONObject } from "./JSONObject";
declare type mResponseErrors = Array<{
type mResponseErrors = Array<{
/**

@@ -19,3 +19,3 @@ * Original document that caused the error

}>;
export declare type mCreateResponse = {
export type mCreateResponse = {
/**

@@ -47,5 +47,5 @@ * Array of succeeded operations

};
export declare type mCreateOrReplaceResponse = mCreateResponse;
export declare type mUpsertResponse = mCreateResponse;
export declare type mReplaceResponse = {
export type mCreateOrReplaceResponse = mCreateResponse;
export type mUpsertResponse = mCreateResponse;
export type mReplaceResponse = {
/**

@@ -73,4 +73,4 @@ * Array of succeeded operations

};
export declare type mUpdateResponse = mReplaceResponse;
export declare type mDeleteResponse = {
export type mUpdateResponse = mReplaceResponse;
export type mDeleteResponse = {
/**

@@ -77,0 +77,0 @@ * IDs of deleted documents

@@ -6,3 +6,3 @@ import { JSONObject } from "./JSONObject";

*/
export declare type NotificationType = "document" | "user" | "TokenExpired";
export type NotificationType = "document" | "user" | "TokenExpired";
export interface BaseNotification {

@@ -96,2 +96,2 @@ /**

*/
export declare type Notification = DocumentNotification | UserNotification | ServerNotification;
export type Notification = DocumentNotification | UserNotification | ServerNotification;

@@ -18,3 +18,3 @@ /**

*/
export declare type ProfilePolicy = {
export type ProfilePolicy = {
/**

@@ -21,0 +21,0 @@ * Role unique ID used by this policy

@@ -24,3 +24,3 @@ /**

*/
export declare type RoleRightsDefinition = {
export type RoleRightsDefinition = {
/**

@@ -27,0 +27,0 @@ * API controller name

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc