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.10 to 1.5.11-next.0

2

out/index.d.ts

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

export { QueryBuilder, QueryApi, Condition, ListResult, Predicate, Result, EntityStorageApi, WherePredicate, FilterPredicate } from './storage-adapter';
export { EntityStorageBuilder, EntityStorageBuilderType } from './entity-storage';
export { Value, SortOrder } from './query-interfaces';
export { APIError } from './errors';
export { CustomEntityIndexBuilder } from './entity-storage/query-api';
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.APIError = exports.SortOrder = exports.FilterConditions = exports.WhereConditions = exports.startsWith = exports.GlobalStorage = exports.getStorageInstanceWithQuery = void 0;
exports.CustomEntityIndexBuilder = exports.APIError = exports.SortOrder = exports.EntityStorageBuilder = exports.FilterConditions = exports.WhereConditions = exports.startsWith = exports.GlobalStorage = exports.getStorageInstanceWithQuery = void 0;
const entity_storage_1 = require("./entity-storage");

@@ -26,2 +26,4 @@ const query_api_1 = require("./query-api");

Object.defineProperty(exports, "FilterConditions", { enumerable: true, get: function () { return conditions_2.FilterConditions; } });
var entity_storage_2 = require("./entity-storage");
Object.defineProperty(exports, "EntityStorageBuilder", { enumerable: true, get: function () { return entity_storage_2.EntityStorageBuilder; } });
var query_interfaces_1 = require("./query-interfaces");

@@ -31,1 +33,3 @@ Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return query_interfaces_1.SortOrder; } });

Object.defineProperty(exports, "APIError", { enumerable: true, get: function () { return errors_1.APIError; } });
var query_api_2 = require("./entity-storage/query-api");
Object.defineProperty(exports, "CustomEntityIndexBuilder", { enumerable: true, get: function () { return query_api_2.CustomEntityIndexBuilder; } });

13

out/storage-adapter.d.ts
import { EntityStorageBuilderType } from './entity-storage';
import { BeginsWithClause, BetweenClause, ExistsClause, DoesNotExistClause, FilterOperator, GreaterThanClause, GreaterThanEqualToClause, StartsWith, NotEqualTo, In, LessThanClause, LessThanEqualToClause, ContainsClause, DoesNotContainClause, IsNotEqualToClause, EqualToClause, SortOrder, CustomEntityQueryIndexOptions } from './query-interfaces';
import { BeginsWithClause, BetweenClause, ExistsClause, DoesNotExistClause, GreaterThanClause, GreaterThanEqualToClause, StartsWith, NotEqualTo, In, LessThanClause, LessThanEqualToClause, ContainsClause, DoesNotContainClause, IsNotEqualToClause, EqualToClause } from './query-interfaces';
export interface StorageAdapter {

@@ -34,13 +34,2 @@ get(key: string): Promise<any>;

export type WherePredicate = BetweenClause | BeginsWithClause | EqualToClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause;
export interface CustomEntityQueryBuilder<T> {
index(indexName: string, indexOptions?: CustomEntityQueryIndexOptions): CustomEntityQueryBuilder<T>;
where(condition: WherePredicate): CustomEntityQueryBuilder<T>;
sort(sort: SortOrder): CustomEntityQueryBuilder<T>;
filters(property: string, condition: FilterPredicate): CustomEntityQueryBuilder<T>;
filterOperator(operator: FilterOperator): CustomEntityQueryBuilder<T>;
cursor(cursor: string): CustomEntityQueryBuilder<T>;
limit(limit: number): CustomEntityQueryBuilder<T>;
getMany(): Promise<ListResult<T>>;
getOne(): Promise<Result<T> | undefined>;
}
export interface Result<T = object> {

@@ -47,0 +36,0 @@ key: string;

{
"name": "@forge/storage",
"version": "1.5.10",
"version": "1.5.11-next.0",
"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

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