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

@forge/storage

Package Overview
Dependencies
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forge/storage - npm Package Compare versions

Comparing version 1.5.5-next.2 to 1.5.5

2

out/entity-storage/storage-builder.d.ts
import { GlobalStorage } from '../global-storage';
import { CustomEntityIndexBuilder } from './query-api';
declare type EntityGlobalStorage = Pick<GlobalStorage, 'setEntity' | 'getEntity' | 'deleteEntity' | 'listCustomEntities'>;
type EntityGlobalStorage = Pick<GlobalStorage, 'setEntity' | 'getEntity' | 'deleteEntity' | 'listCustomEntities'>;
export interface EntityStorageBuilderType<T> {

@@ -5,0 +5,0 @@ query(): CustomEntityIndexBuilder<T>;

@@ -5,4 +5,4 @@ import { RequestInit, Response } from 'node-fetch';

import { DefaultQueryBuilder } from './query-api';
export declare type APIResponse = Pick<Response, 'json' | 'text' | 'arrayBuffer' | 'ok' | 'status' | 'statusText'>;
export declare type FetchMethod = (url: string, init: RequestInit) => Promise<APIResponse>;
export type APIResponse = Pick<Response, 'json' | 'text' | 'arrayBuffer' | 'ok' | 'status' | 'statusText'>;
export type FetchMethod = (url: string, init: RequestInit) => Promise<APIResponse>;
export declare const getStorageInstanceWithQuery: (adapter: GlobalStorage) => {

@@ -9,0 +9,0 @@ get: (key: string) => Promise<any>;

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

export declare type Value = string;
export type Value = string;
export interface StartsWith {

@@ -17,6 +17,6 @@ condition: 'STARTS_WITH';

}
export declare type StartsWithClause = FieldClause & StartsWith;
export declare type NotEqualToClause = FieldClause & NotEqualTo;
export declare type InClause = FieldClause & In;
export declare type WhereClause = StartsWithClause | NotEqualToClause | InClause;
export type StartsWithClause = FieldClause & StartsWith;
export type NotEqualToClause = FieldClause & NotEqualTo;
export type InClause = FieldClause & In;
export type WhereClause = StartsWithClause | NotEqualToClause | InClause;
export interface ListOptions {

@@ -27,3 +27,3 @@ where?: Array<WhereClause>;

}
export declare type CustomEntityQueryValue = string | number | boolean;
export type CustomEntityQueryValue = string | number | boolean;
export interface BetweenClause {

@@ -77,20 +77,20 @@ condition: 'BETWEEN';

}
export declare type FilterOperator = 'or' | 'and';
export type FilterOperator = 'or' | 'and';
export interface FilterPropertyClause {
property: string;
}
export declare type BetweenFilterClause = FilterPropertyClause & BetweenClause;
export declare type BeginsWithFilterClause = FilterPropertyClause & BeginsWithClause;
export declare type ExistsFilterClause = FilterPropertyClause & ExistsClause;
export declare type DoesNotExistFilterClause = FilterPropertyClause & DoesNotExistClause;
export declare type GreaterThanFilterClause = FilterPropertyClause & GreaterThanClause;
export declare type GreaterThanEqualToFilterClause = FilterPropertyClause & GreaterThanEqualToClause;
export declare type LessThanFilterClause = FilterPropertyClause & LessThanClause;
export declare type LessThanEqualToFilterClause = FilterPropertyClause & LessThanEqualToClause;
export declare type ContainsFilterClause = FilterPropertyClause & ContainsClause;
export declare type DoesNotContainFilterClause = FilterPropertyClause & DoesNotContainClause;
export declare type EqualToFilterClause = FilterPropertyClause & EqualToClause;
export declare type IsNotEqualToFilterClause = FilterPropertyClause & IsNotEqualToClause;
export declare type RangeClause = BetweenClause | BeginsWithClause | EqualToClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause;
export declare type FilterClause = BetweenFilterClause | BeginsWithFilterClause | ExistsFilterClause | DoesNotExistFilterClause | GreaterThanFilterClause | GreaterThanEqualToFilterClause | LessThanFilterClause | LessThanEqualToFilterClause | ContainsFilterClause | DoesNotContainFilterClause | EqualToFilterClause | IsNotEqualToFilterClause;
export type BetweenFilterClause = FilterPropertyClause & BetweenClause;
export type BeginsWithFilterClause = FilterPropertyClause & BeginsWithClause;
export type ExistsFilterClause = FilterPropertyClause & ExistsClause;
export type DoesNotExistFilterClause = FilterPropertyClause & DoesNotExistClause;
export type GreaterThanFilterClause = FilterPropertyClause & GreaterThanClause;
export type GreaterThanEqualToFilterClause = FilterPropertyClause & GreaterThanEqualToClause;
export type LessThanFilterClause = FilterPropertyClause & LessThanClause;
export type LessThanEqualToFilterClause = FilterPropertyClause & LessThanEqualToClause;
export type ContainsFilterClause = FilterPropertyClause & ContainsClause;
export type DoesNotContainFilterClause = FilterPropertyClause & DoesNotContainClause;
export type EqualToFilterClause = FilterPropertyClause & EqualToClause;
export type IsNotEqualToFilterClause = FilterPropertyClause & IsNotEqualToClause;
export type RangeClause = BetweenClause | BeginsWithClause | EqualToClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause;
export type FilterClause = BetweenFilterClause | BeginsWithFilterClause | ExistsFilterClause | DoesNotExistFilterClause | GreaterThanFilterClause | GreaterThanEqualToFilterClause | LessThanFilterClause | LessThanEqualToFilterClause | ContainsFilterClause | DoesNotContainFilterClause | EqualToFilterClause | IsNotEqualToFilterClause;
export declare enum SortOrder {

@@ -103,3 +103,3 @@ ASC = "ASC",

}
export declare type CustomEntityPartitionValue = string | number | boolean;
export type CustomEntityPartitionValue = string | number | boolean;
export interface CustomEntityListOptions {

@@ -106,0 +106,0 @@ sort?: SortOrder;

@@ -19,8 +19,8 @@ import { EntityStorageBuilderType } from './entity-storage';

}
export declare type SharedStorageAdapter = StorageAdapter & EntityStorageAdapter;
export type SharedStorageAdapter = StorageAdapter & EntityStorageAdapter;
export interface QueryApi {
query(): QueryBuilder;
}
export declare type Predicate = StartsWith | NotEqualTo | In;
export declare type Condition = Predicate;
export type Predicate = StartsWith | NotEqualTo | In;
export type Condition = Predicate;
export interface QueryBuilder {

@@ -33,4 +33,4 @@ where(field: 'key', condition: Condition): QueryBuilder;

}
export declare type FilterPredicate = BetweenClause | BeginsWithClause | ExistsClause | DoesNotExistClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause | ContainsClause | DoesNotContainClause | EqualToClause | IsNotEqualToClause;
export declare type WherePredicate = BetweenClause | BeginsWithClause | EqualToClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause;
export type FilterPredicate = BetweenClause | BeginsWithClause | ExistsClause | DoesNotExistClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause | ContainsClause | DoesNotContainClause | EqualToClause | IsNotEqualToClause;
export type WherePredicate = BetweenClause | BeginsWithClause | EqualToClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause;
export interface CustomEntityQueryBuilder<T> {

@@ -37,0 +37,0 @@ index(indexName: string, indexOptions?: CustomEntityQueryIndexOptions): CustomEntityQueryBuilder<T>;

{
"name": "@forge/storage",
"version": "1.5.5-next.2",
"version": "1.5.5",
"description": "Forge Storage methods",

@@ -5,0 +5,0 @@ "author": "Atlassian",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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