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

@mcma/data

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcma/data - npm Package Compare versions

Comparing version 0.11.1 to 0.12.0

dist/lib/document-database/query/filter.d.ts

2

dist/lib/document-database/document-database-table-provider.d.ts
import { DocumentDatabaseTable } from "./document-database-table";
export interface DocumentDatabaseTableProvider {
get<TPartitionKey = string, TSortKey = string>(tableName: string): Promise<DocumentDatabaseTable<TPartitionKey, TSortKey>>;
get(tableName: string): Promise<DocumentDatabaseTable>;
}

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

import { DocumentDatabaseQuery } from "./document-database-query";
import { Query } from "./query/query";
import { Document } from "./document";
export declare abstract class DocumentDatabaseTable<TPartitionKey = string, TSortKey = string> {
abstract query<TDocument extends Document = Document>(query: DocumentDatabaseQuery<TDocument, TPartitionKey, TSortKey>): Promise<TDocument[]>;
abstract get<TDocument extends Document = Document>(partitionKey: TPartitionKey, sortKey: TSortKey): Promise<TDocument>;
abstract put<TDocument extends Document = Document>(partitionKey: TPartitionKey, sortKey: TSortKey, resource: TDocument): Promise<TDocument>;
abstract delete(partitionKey: TPartitionKey, sortKey: TSortKey): Promise<void>;
export interface DocumentDatabaseTable {
query<TDocument extends Document = Document>(query: Query<TDocument>): Promise<TDocument[]>;
get<TDocument extends Document = Document>(id: string): Promise<TDocument>;
put<TDocument extends Document = Document>(id: string, resource: TDocument): Promise<TDocument>;
delete(id: string): Promise<void>;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class DocumentDatabaseTable {
}
exports.DocumentDatabaseTable = DocumentDatabaseTable;
export * from "./document";
export * from "./document-database-filter-criteria";
export * from "./document-database-filter-expression";
export * from "./document-database-query";
export * from "./query/operator";
export * from "./query/filter";
export * from "./query/query";
export * from "./query/helpers";
export * from "./document-database-table";
export * from "./document-database-table-provider";
export * from "./document-type";
export * from "./get-filter-expression-from-key-value-pairs";

@@ -6,5 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./document-database-filter-criteria"));
__export(require("./document-database-filter-expression"));
__export(require("./document-database-table"));
__export(require("./get-filter-expression-from-key-value-pairs"));
__export(require("./query/filter"));
__export(require("./query/helpers"));
{
"name": "@mcma/data",
"version": "0.11.1",
"version": "0.12.0",
"description": "Node module with helper utils for dealing with data in the EBU MCMA framework",

@@ -32,6 +32,6 @@ "engines": {

"peerDependencies": {
"@mcma/core": "0.11.1"
"@mcma/core": "0.12.0"
},
"devDependencies": {
"@mcma/core": "0.11.1",
"@mcma/core": "0.12.0",
"@types/node": "^13.7.4",

@@ -38,0 +38,0 @@ "jasmine": "^3.3.1"

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