New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contember/client

Package Overview
Dependencies
Maintainers
5
Versions
210
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.0 to 1.1.0-alpha.1

2

dist/development/crudQueryBuilder/ErrorsRelationBuilder.js
class ErrorsRelationBuilder {
static errorsRelation(objectBuilder) {
return objectBuilder.object("errors", (builder) => builder.field("type").field("message").object("path", (builder2) => builder2.field("__typename").inlineFragment("_FieldPathFragment", (builder3) => builder3.field("field")).inlineFragment("_IndexPathFragment", (builder3) => builder3.field("index").field("alias"))));
return objectBuilder.object("errors", (builder) => builder.field("type").field("message").object("path", (builder2) => builder2.inlineFragment("_FieldPathFragment", (builder3) => builder3.field("field")).inlineFragment("_IndexPathFragment", (builder3) => builder3.field("index").field("alias"))));
}

@@ -5,0 +5,0 @@ }

class ValidationRelationBuilder {
static validationRelation(objectBuilder) {
return objectBuilder.object("validation", (builder) => builder.field("valid").object("errors", (builder2) => builder2.object("path", (builder3) => builder3.field("__typename").inlineFragment("_FieldPathFragment", (builder4) => builder4.field("field")).inlineFragment("_IndexPathFragment", (builder4) => builder4.field("index").field("alias"))).object("message", (builder3) => builder3.field("text"))));
return objectBuilder.object("validation", (builder) => builder.field("valid").object("errors", (builder2) => builder2.object("path", (builder3) => builder3.inlineFragment("_FieldPathFragment", (builder4) => builder4.field("field")).inlineFragment("_IndexPathFragment", (builder4) => builder4.field("index").field("alias"))).object("message", (builder3) => builder3.field("text"))));
}

@@ -5,0 +5,0 @@ }

@@ -40,3 +40,3 @@ import { GraphQlLiteral } from "./GraphQlLiteral.js";

formatObjectBody(builder) {
const result = [];
const result = ["__typename"];
for (const fieldName of builder.fields) {

@@ -43,0 +43,0 @@ result.push(fieldName);

class ErrorsRelationBuilder {
static errorsRelation(objectBuilder) {
return objectBuilder.object("errors", (builder) => builder.field("type").field("message").object("path", (builder2) => builder2.field("__typename").inlineFragment("_FieldPathFragment", (builder3) => builder3.field("field")).inlineFragment("_IndexPathFragment", (builder3) => builder3.field("index").field("alias"))));
return objectBuilder.object("errors", (builder) => builder.field("type").field("message").object("path", (builder2) => builder2.inlineFragment("_FieldPathFragment", (builder3) => builder3.field("field")).inlineFragment("_IndexPathFragment", (builder3) => builder3.field("index").field("alias"))));
}

@@ -5,0 +5,0 @@ }

class ValidationRelationBuilder {
static validationRelation(objectBuilder) {
return objectBuilder.object("validation", (builder) => builder.field("valid").object("errors", (builder2) => builder2.object("path", (builder3) => builder3.field("__typename").inlineFragment("_FieldPathFragment", (builder4) => builder4.field("field")).inlineFragment("_IndexPathFragment", (builder4) => builder4.field("index").field("alias"))).object("message", (builder3) => builder3.field("text"))));
return objectBuilder.object("validation", (builder) => builder.field("valid").object("errors", (builder2) => builder2.object("path", (builder3) => builder3.inlineFragment("_FieldPathFragment", (builder4) => builder4.field("field")).inlineFragment("_IndexPathFragment", (builder4) => builder4.field("index").field("alias"))).object("message", (builder3) => builder3.field("text"))));
}

@@ -5,0 +5,0 @@ }

@@ -40,3 +40,3 @@ import { GraphQlLiteral } from "./GraphQlLiteral.js";

formatObjectBody(builder) {
const result = [];
const result = ["__typename"];
for (const fieldName of builder.fields) {

@@ -43,0 +43,0 @@ result.push(fieldName);

import type { RelationFilter } from './RelationFilter';
export interface TreeFilter {
entity: string;
id: string;
id: string | number;
relations: RelationFilter[];
}
//# sourceMappingURL=TreeFilter.d.ts.map
{
"name": "@contember/client",
"license": "Apache-2.0",
"version": "1.1.0-alpha.0",
"version": "1.1.0-alpha.1",
"main": "./dist/production/index.js",

@@ -6,0 +6,0 @@ "exports": {

@@ -11,3 +11,2 @@ import type { ObjectBuilder } from '../graphQlBuilder'

builder
.field('__typename')
.inlineFragment('_FieldPathFragment', builder => builder.field('field'))

@@ -14,0 +13,0 @@ .inlineFragment('_IndexPathFragment', builder => builder.field('index').field('alias')),

@@ -10,3 +10,2 @@ import type { ObjectBuilder } from '../graphQlBuilder'

builder
.field('__typename')
.inlineFragment('_FieldPathFragment', builder => builder.field('field'))

@@ -13,0 +12,0 @@ .inlineFragment('_IndexPathFragment', builder => builder.field('index').field('alias')),

@@ -52,3 +52,3 @@ import { GraphQlLiteral } from './GraphQlLiteral'

private formatObjectBody(builder: ObjectBuilder): string[] {
const result = []
const result = ['__typename']
for (const fieldName of builder.fields) {

@@ -55,0 +55,0 @@ result.push(fieldName)

@@ -5,4 +5,4 @@ import type { RelationFilter } from './RelationFilter'

entity: string
id: string
id: string | number
relations: RelationFilter[]
}

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

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