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

@contember/client

Package Overview
Dependencies
Maintainers
5
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/client - npm Package Compare versions

Comparing version 1.1.0-alpha.2 to 1.1.0-alpha.3

55

dist/development/index.js

@@ -1,6 +0,14 @@

import * as index$1 from "./crudQueryBuilder/index.js";
export { index$1 as CrudQueryBuilder };
import * as index from "./graphQlBuilder/index.js";
export { index as GraphQlBuilder };
import { GraphQlLiteral } from "./graphQlBuilder/GraphQlLiteral.js";
export { GraphQlLiteral } from "./graphQlBuilder/GraphQlLiteral.js";
import { ObjectBuilder } from "./graphQlBuilder/ObjectBuilder.js";
import { QueryCompiler } from "./graphQlBuilder/QueryCompiler.js";
import { QueryBuilder } from "./graphQlBuilder/QueryBuilder.js";
import { RootObjectBuilder } from "./graphQlBuilder/RootObjectBuilder.js";
import { CrudQueryBuilder as CrudQueryBuilder$1 } from "./crudQueryBuilder/CrudQueryBuilder.js";
import { ReadBuilder } from "./crudQueryBuilder/ReadBuilder.js";
import { WriteBuilder } from "./crudQueryBuilder/WriteBuilder.js";
import { WriteDataBuilder } from "./crudQueryBuilder/WriteDataBuilder.js";
import { WriteManyRelationBuilder } from "./crudQueryBuilder/WriteManyRelationBuilder.js";
import { WriteOneRelationBuilder } from "./crudQueryBuilder/WriteOneRelationBuilder.js";
import { WriteOperation } from "./crudQueryBuilder/types.js";
export { FileUploadError } from "./content/upload/FileUploadError.js";

@@ -16,2 +24,41 @@ export { GenerateUploadUrlMutationBuilder } from "./content/upload/GenerateUploadUrlMutationBuilder.js";

export { getTenantErrorMessage, tenantErrorMessages } from "./tenant/tenantErrorMessages.js";
var GraphQlBuilder;
((GraphQlBuilder2) => {
GraphQlBuilder2.GraphqlLiteral = GraphQlLiteral;
GraphQlBuilder2.GraphQlLiteral = GraphQlLiteral;
GraphQlBuilder2.ObjectBuilder = ObjectBuilder;
GraphQlBuilder2.QueryCompiler = QueryCompiler;
GraphQlBuilder2.QueryBuilder = QueryBuilder;
GraphQlBuilder2.RootObjectBuilder = RootObjectBuilder;
})(GraphQlBuilder || (GraphQlBuilder = {}));
var CrudQueryBuilder;
((_CrudQueryBuilder) => {
_CrudQueryBuilder.CrudQueryBuilder = CrudQueryBuilder$1;
_CrudQueryBuilder.ReadBuilder = ReadBuilder;
_CrudQueryBuilder.WriteBuilder = WriteBuilder;
_CrudQueryBuilder.WriteDataBuilder = WriteDataBuilder;
_CrudQueryBuilder.WriteManyRelationBuilder = WriteManyRelationBuilder;
_CrudQueryBuilder.WriteOneRelationBuilder = WriteOneRelationBuilder;
_CrudQueryBuilder.WriteOperation = WriteOperation;
_CrudQueryBuilder.CreateMutationArguments = void 0;
_CrudQueryBuilder.CreateMutationFields = void 0;
_CrudQueryBuilder.DeleteMutationArguments = void 0;
_CrudQueryBuilder.DeleteMutationFields = void 0;
_CrudQueryBuilder.GetQueryArguments = void 0;
_CrudQueryBuilder.HasManyArguments = void 0;
_CrudQueryBuilder.HasOneArguments = void 0;
_CrudQueryBuilder.ListQueryArguments = void 0;
_CrudQueryBuilder.Mutations = void 0;
_CrudQueryBuilder.OrderDirection = void 0;
_CrudQueryBuilder.PaginateQueryArguments = void 0;
_CrudQueryBuilder.Queries = void 0;
_CrudQueryBuilder.ReadArguments = void 0;
_CrudQueryBuilder.ReductionArguments = void 0;
_CrudQueryBuilder.UpdateMutationArguments = void 0;
_CrudQueryBuilder.UpdateMutationFields = void 0;
_CrudQueryBuilder.WriteArguments = void 0;
_CrudQueryBuilder.WriteFields = void 0;
_CrudQueryBuilder.WriteRelationOps = void 0;
})(CrudQueryBuilder || (CrudQueryBuilder = {}));
export { CrudQueryBuilder, GraphQlBuilder };
//# sourceMappingURL=index.js.map

@@ -1,6 +0,14 @@

import * as index$1 from "./crudQueryBuilder/index.js";
export { index$1 as CrudQueryBuilder };
import * as index from "./graphQlBuilder/index.js";
export { index as GraphQlBuilder };
import { GraphQlLiteral } from "./graphQlBuilder/GraphQlLiteral.js";
export { GraphQlLiteral } from "./graphQlBuilder/GraphQlLiteral.js";
import { ObjectBuilder } from "./graphQlBuilder/ObjectBuilder.js";
import { QueryCompiler } from "./graphQlBuilder/QueryCompiler.js";
import { QueryBuilder } from "./graphQlBuilder/QueryBuilder.js";
import { RootObjectBuilder } from "./graphQlBuilder/RootObjectBuilder.js";
import { CrudQueryBuilder as CrudQueryBuilder$1 } from "./crudQueryBuilder/CrudQueryBuilder.js";
import { ReadBuilder } from "./crudQueryBuilder/ReadBuilder.js";
import { WriteBuilder } from "./crudQueryBuilder/WriteBuilder.js";
import { WriteDataBuilder } from "./crudQueryBuilder/WriteDataBuilder.js";
import { WriteManyRelationBuilder } from "./crudQueryBuilder/WriteManyRelationBuilder.js";
import { WriteOneRelationBuilder } from "./crudQueryBuilder/WriteOneRelationBuilder.js";
import { WriteOperation } from "./crudQueryBuilder/types.js";
export { FileUploadError } from "./content/upload/FileUploadError.js";

@@ -16,2 +24,41 @@ export { GenerateUploadUrlMutationBuilder } from "./content/upload/GenerateUploadUrlMutationBuilder.js";

export { getTenantErrorMessage, tenantErrorMessages } from "./tenant/tenantErrorMessages.js";
var GraphQlBuilder;
((GraphQlBuilder2) => {
GraphQlBuilder2.GraphqlLiteral = GraphQlLiteral;
GraphQlBuilder2.GraphQlLiteral = GraphQlLiteral;
GraphQlBuilder2.ObjectBuilder = ObjectBuilder;
GraphQlBuilder2.QueryCompiler = QueryCompiler;
GraphQlBuilder2.QueryBuilder = QueryBuilder;
GraphQlBuilder2.RootObjectBuilder = RootObjectBuilder;
})(GraphQlBuilder || (GraphQlBuilder = {}));
var CrudQueryBuilder;
((_CrudQueryBuilder) => {
_CrudQueryBuilder.CrudQueryBuilder = CrudQueryBuilder$1;
_CrudQueryBuilder.ReadBuilder = ReadBuilder;
_CrudQueryBuilder.WriteBuilder = WriteBuilder;
_CrudQueryBuilder.WriteDataBuilder = WriteDataBuilder;
_CrudQueryBuilder.WriteManyRelationBuilder = WriteManyRelationBuilder;
_CrudQueryBuilder.WriteOneRelationBuilder = WriteOneRelationBuilder;
_CrudQueryBuilder.WriteOperation = WriteOperation;
_CrudQueryBuilder.CreateMutationArguments = void 0;
_CrudQueryBuilder.CreateMutationFields = void 0;
_CrudQueryBuilder.DeleteMutationArguments = void 0;
_CrudQueryBuilder.DeleteMutationFields = void 0;
_CrudQueryBuilder.GetQueryArguments = void 0;
_CrudQueryBuilder.HasManyArguments = void 0;
_CrudQueryBuilder.HasOneArguments = void 0;
_CrudQueryBuilder.ListQueryArguments = void 0;
_CrudQueryBuilder.Mutations = void 0;
_CrudQueryBuilder.OrderDirection = void 0;
_CrudQueryBuilder.PaginateQueryArguments = void 0;
_CrudQueryBuilder.Queries = void 0;
_CrudQueryBuilder.ReadArguments = void 0;
_CrudQueryBuilder.ReductionArguments = void 0;
_CrudQueryBuilder.UpdateMutationArguments = void 0;
_CrudQueryBuilder.UpdateMutationFields = void 0;
_CrudQueryBuilder.WriteArguments = void 0;
_CrudQueryBuilder.WriteFields = void 0;
_CrudQueryBuilder.WriteRelationOps = void 0;
})(CrudQueryBuilder || (CrudQueryBuilder = {}));
export { CrudQueryBuilder, GraphQlBuilder };
//# sourceMappingURL=index.js.map

4

dist/types/crudQueryBuilder/types.d.ts

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

import type { GraphQlBuilder } from '../index';
import { GraphQlLiteral } from '../graphQlBuilder';
export declare type Mutations = 'create' | 'update' | 'delete';

@@ -23,3 +23,3 @@ export declare type Queries = 'get' | 'list' | 'paginate';

}
export declare type OrderDirection = GraphQlBuilder.GraphQlLiteral<'asc'> | GraphQlBuilder.GraphQlLiteral<'desc'>;
export declare type OrderDirection = GraphQlLiteral<'asc'> | GraphQlLiteral<'desc'>;
export declare namespace WriteOperation {

@@ -26,0 +26,0 @@ interface Operation {

@@ -1,5 +0,40 @@

import * as CrudQueryBuilder from './crudQueryBuilder';
import * as GraphQlBuilder from './graphQlBuilder';
import * as CrudQueryBuilderTmp from './crudQueryBuilder';
import * as GraphQlBuilderTmp from './graphQlBuilder';
export { GraphQlLiteral } from './graphQlBuilder';
export { GraphQlBuilder, CrudQueryBuilder };
export declare namespace GraphQlBuilder {
export import GraphqlLiteral = GraphQlBuilderTmp.GraphQlLiteral;
export import GraphQlLiteral = GraphQlBuilderTmp.GraphQlLiteral;
export import ObjectBuilder = GraphQlBuilderTmp.ObjectBuilder;
export import QueryCompiler = GraphQlBuilderTmp.QueryCompiler;
export import QueryBuilder = GraphQlBuilderTmp.QueryBuilder;
export import RootObjectBuilder = GraphQlBuilderTmp.RootObjectBuilder;
}
export declare namespace CrudQueryBuilder {
export import CrudQueryBuilder = CrudQueryBuilderTmp.CrudQueryBuilder;
export import ReadBuilder = CrudQueryBuilderTmp.ReadBuilder;
export import WriteBuilder = CrudQueryBuilderTmp.WriteBuilder;
export import WriteDataBuilder = CrudQueryBuilderTmp.WriteDataBuilder;
export import WriteManyRelationBuilder = CrudQueryBuilderTmp.WriteManyRelationBuilder;
export import WriteOneRelationBuilder = CrudQueryBuilderTmp.WriteOneRelationBuilder;
export import WriteOperation = CrudQueryBuilderTmp.WriteOperation;
export import CreateMutationArguments = CrudQueryBuilderTmp.CreateMutationArguments;
export import CreateMutationFields = CrudQueryBuilderTmp.CreateMutationFields;
export import DeleteMutationArguments = CrudQueryBuilderTmp.DeleteMutationArguments;
export import DeleteMutationFields = CrudQueryBuilderTmp.DeleteMutationFields;
export import GetQueryArguments = CrudQueryBuilderTmp.GetQueryArguments;
export import HasManyArguments = CrudQueryBuilderTmp.HasManyArguments;
export import HasOneArguments = CrudQueryBuilderTmp.HasOneArguments;
export import ListQueryArguments = CrudQueryBuilderTmp.ListQueryArguments;
export import Mutations = CrudQueryBuilderTmp.Mutations;
export import OrderDirection = CrudQueryBuilderTmp.OrderDirection;
export import PaginateQueryArguments = CrudQueryBuilderTmp.PaginateQueryArguments;
export import Queries = CrudQueryBuilderTmp.Queries;
export import ReadArguments = CrudQueryBuilderTmp.ReadArguments;
export import ReductionArguments = CrudQueryBuilderTmp.ReductionArguments;
export import UpdateMutationArguments = CrudQueryBuilderTmp.UpdateMutationArguments;
export import UpdateMutationFields = CrudQueryBuilderTmp.UpdateMutationFields;
export import WriteArguments = CrudQueryBuilderTmp.WriteArguments;
export import WriteFields = CrudQueryBuilderTmp.WriteFields;
export import WriteRelationOps = CrudQueryBuilderTmp.WriteRelationOps;
}
export * from './content';

@@ -6,0 +41,0 @@ export * from './graphQlClient';

{
"name": "@contember/client",
"license": "Apache-2.0",
"version": "1.1.0-alpha.2",
"version": "1.1.0-alpha.3",
"main": "./dist/production/index.js",

@@ -28,4 +28,6 @@ "exports": {

"build:js:prod": "vite build --mode production",
"ae:build": "api-extractor run --local",
"ae:test": "api-extractor run",
"test": "vitest"
}
}

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

import type { GraphQlBuilder } from '../index'
import { GraphQlLiteral } from '../graphQlBuilder'

@@ -47,3 +47,3 @@ export type Mutations = 'create' | 'update' | 'delete'

export type OrderDirection = GraphQlBuilder.GraphQlLiteral<'asc'> | GraphQlBuilder.GraphQlLiteral<'desc'>
export type OrderDirection = GraphQlLiteral<'asc'> | GraphQlLiteral<'desc'>

@@ -50,0 +50,0 @@ // TODO Silly enums because TS does not support enum extension 🙄

@@ -1,6 +0,44 @@

import * as CrudQueryBuilder from './crudQueryBuilder'
import * as GraphQlBuilder from './graphQlBuilder'
import * as CrudQueryBuilderTmp from './crudQueryBuilder'
import * as GraphQlBuilderTmp from './graphQlBuilder'
export { GraphQlLiteral } from './graphQlBuilder'
export { GraphQlBuilder, CrudQueryBuilder }
export namespace GraphQlBuilder {
export import GraphqlLiteral = GraphQlBuilderTmp.GraphQlLiteral
export import GraphQlLiteral = GraphQlBuilderTmp.GraphQlLiteral
export import ObjectBuilder = GraphQlBuilderTmp.ObjectBuilder
export import QueryCompiler = GraphQlBuilderTmp.QueryCompiler
export import QueryBuilder = GraphQlBuilderTmp.QueryBuilder
export import RootObjectBuilder = GraphQlBuilderTmp.RootObjectBuilder
}
export namespace CrudQueryBuilder {
export import CrudQueryBuilder = CrudQueryBuilderTmp.CrudQueryBuilder
export import ReadBuilder = CrudQueryBuilderTmp.ReadBuilder
export import WriteBuilder = CrudQueryBuilderTmp.WriteBuilder
export import WriteDataBuilder = CrudQueryBuilderTmp.WriteDataBuilder
export import WriteManyRelationBuilder = CrudQueryBuilderTmp.WriteManyRelationBuilder
export import WriteOneRelationBuilder = CrudQueryBuilderTmp.WriteOneRelationBuilder
export import WriteOperation = CrudQueryBuilderTmp.WriteOperation
export import CreateMutationArguments = CrudQueryBuilderTmp.CreateMutationArguments
export import CreateMutationFields = CrudQueryBuilderTmp.CreateMutationFields
export import DeleteMutationArguments = CrudQueryBuilderTmp.DeleteMutationArguments
export import DeleteMutationFields = CrudQueryBuilderTmp.DeleteMutationFields
export import GetQueryArguments = CrudQueryBuilderTmp.GetQueryArguments
export import HasManyArguments = CrudQueryBuilderTmp.HasManyArguments
export import HasOneArguments = CrudQueryBuilderTmp.HasOneArguments
export import ListQueryArguments = CrudQueryBuilderTmp.ListQueryArguments
export import Mutations = CrudQueryBuilderTmp.Mutations
export import OrderDirection = CrudQueryBuilderTmp.OrderDirection
export import PaginateQueryArguments = CrudQueryBuilderTmp.PaginateQueryArguments
export import Queries = CrudQueryBuilderTmp.Queries
export import ReadArguments = CrudQueryBuilderTmp.ReadArguments
export import ReductionArguments = CrudQueryBuilderTmp.ReductionArguments
export import UpdateMutationArguments = CrudQueryBuilderTmp.UpdateMutationArguments
export import UpdateMutationFields = CrudQueryBuilderTmp.UpdateMutationFields
export import WriteArguments = CrudQueryBuilderTmp.WriteArguments
export import WriteFields = CrudQueryBuilderTmp.WriteFields
export import WriteRelationOps = CrudQueryBuilderTmp.WriteRelationOps
}
export * from './content'

@@ -7,0 +45,0 @@ export * from './graphQlClient'

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

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