@contember/engine-content-api 1.3.0-alpha.8 → 1.3.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/ExecutionContainer.d.ts +3 -3
- package/dist/src/ExecutionContainer.d.ts.map +1 -1
- package/dist/src/acl/Authorizator.d.ts +1 -1
- package/dist/src/acl/Authorizator.d.ts.map +1 -1
- package/dist/src/extensions/EntityFieldsProvider.d.ts +1 -1
- package/dist/src/extensions/EntityFieldsProvider.d.ts.map +1 -1
- package/dist/src/input-validation/InputValidator.d.ts +1 -1
- package/dist/src/input-validation/InputValidator.d.ts.map +1 -1
- package/dist/src/input-validation/ValidationContext.js +1 -2
- package/dist/src/input-validation/ValidationContext.js.map +1 -1
- package/dist/src/input-validation/ValidationPath.d.ts +1 -1
- package/dist/src/input-validation/ValidationPath.d.ts.map +1 -1
- package/dist/src/input-validation/dependencies/DependencyCollector.d.ts +1 -1
- package/dist/src/input-validation/dependencies/DependencyCollector.d.ts.map +1 -1
- package/dist/src/input-validation/preValidation/CreateInputPreValidationProcessor.d.ts +1 -1
- package/dist/src/input-validation/preValidation/CreateInputPreValidationProcessor.d.ts.map +1 -1
- package/dist/src/input-validation/preValidation/UpdateInputPreValidationProcessor.d.ts +1 -1
- package/dist/src/input-validation/preValidation/UpdateInputPreValidationProcessor.d.ts.map +1 -1
- package/dist/src/inputProcessing/UniqueWhereExpander.d.ts +1 -1
- package/dist/src/inputProcessing/UniqueWhereExpander.d.ts.map +1 -1
- package/dist/src/introspection/content-schema.types.d.ts +22 -22
- package/dist/src/introspection/content-schema.types.d.ts.map +1 -1
- package/dist/src/introspection/content-schema.types.js +3 -3
- package/dist/src/introspection/content-schema.types.js.map +1 -1
- package/dist/src/mapper/ColumnValue.d.ts +2 -2
- package/dist/src/mapper/ColumnValue.d.ts.map +1 -1
- package/dist/src/mapper/DataManipulationBuilder.d.ts +1 -1
- package/dist/src/mapper/DataManipulationBuilder.d.ts.map +1 -1
- package/dist/src/mapper/EventManager.d.ts +4 -4
- package/dist/src/mapper/EventManager.d.ts.map +1 -1
- package/dist/src/mapper/JunctionTableManager.d.ts +2 -2
- package/dist/src/mapper/JunctionTableManager.d.ts.map +1 -1
- package/dist/src/mapper/MapperFactory.d.ts +1 -1
- package/dist/src/mapper/MapperFactory.d.ts.map +1 -1
- package/dist/src/mapper/Result.d.ts +5 -5
- package/dist/src/mapper/Result.d.ts.map +1 -1
- package/dist/src/mapper/Result.js +6 -6
- package/dist/src/mapper/Result.js.map +1 -1
- package/dist/src/mapper/delete/DeleteExecutor.d.ts.map +1 -1
- package/dist/src/mapper/delete/DeleteExecutor.js +3 -0
- package/dist/src/mapper/delete/DeleteExecutor.js.map +1 -1
- package/dist/src/mapper/delete/helpers.d.ts +3 -3
- package/dist/src/mapper/delete/helpers.d.ts.map +1 -1
- package/dist/src/mapper/relations/ManyHasManyInputProcessor.d.ts +1 -1
- package/dist/src/mapper/relations/ManyHasManyInputProcessor.d.ts.map +1 -1
- package/dist/src/mapper/select/Path.js +3 -3
- package/dist/src/mapper/select/Path.js.map +1 -1
- package/dist/src/mapper/select/RelationFetcher.d.ts +6 -6
- package/dist/src/mapper/select/RelationFetcher.d.ts.map +1 -1
- package/dist/src/mapper/select/SelectExecutionHandler.d.ts +2 -2
- package/dist/src/mapper/select/SelectExecutionHandler.d.ts.map +1 -1
- package/dist/src/mapper/select/SelectHydrator.d.ts +7 -7
- package/dist/src/mapper/select/SelectHydrator.d.ts.map +1 -1
- package/dist/src/mapper/select/WhereBuilder.d.ts +1 -1
- package/dist/src/mapper/select/WhereBuilder.d.ts.map +1 -1
- package/dist/src/mapper/types.d.ts +1 -1
- package/dist/src/mapper/types.d.ts.map +1 -1
- package/dist/src/resolvers/GraphQlQueryAstFactory.d.ts +1 -1
- package/dist/src/resolvers/GraphQlQueryAstFactory.d.ts.map +1 -1
- package/dist/src/resolvers/MutationResolver.d.ts +2 -2
- package/dist/src/resolvers/MutationResolver.d.ts.map +1 -1
- package/dist/src/schema/ColumnTypeResolver.d.ts +1 -1
- package/dist/src/schema/ColumnTypeResolver.d.ts.map +1 -1
- package/dist/src/schema/MutationProvider.d.ts +1 -1
- package/dist/src/schema/MutationProvider.d.ts.map +1 -1
- package/dist/src/schema/ValidationQueriesProvider.d.ts +1 -1
- package/dist/src/schema/ValidationQueriesProvider.d.ts.map +1 -1
- package/dist/src/schema/mutations/EntityInputProvider.js +1 -1
- package/dist/src/schema/mutations/EntityInputProvider.js.map +1 -1
- package/dist/src/tsconfig.tsbuildinfo +1 -1
- package/dist/src/utils/Interface.d.ts +1 -1
- package/dist/src/utils/Interface.d.ts.map +1 -1
- package/dist/src/utils/object.d.ts +2 -2
- package/dist/src/utils/object.d.ts.map +1 -1
- package/dist/src/utils/uniqueWhereFields.d.ts +1 -1
- package/dist/src/utils/uniqueWhereFields.d.ts.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/delete/restrictOnDelete.test.js +64 -0
- package/dist/tests/cases/integration/graphQlRequests/delete/restrictOnDelete.test.js.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/conditions.test.js +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/conditions.test.js.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/optionalAssert.test.js +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/optionalAssert.test.js.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/requiredWhen.test.js +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/requiredWhen.test.js.map +1 -1
- package/dist/tests/cases/integration/graphQlSchema/model.js +2 -3
- package/dist/tests/cases/integration/graphQlSchema/model.js.map +1 -1
- package/dist/tests/src/utils.d.ts +1 -1
- package/dist/tests/src/utils.d.ts.map +1 -1
- package/dist/tests/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -14
- package/src/mapper/delete/DeleteExecutor.ts +4 -0
- package/tests/cases/integration/graphQlRequests/delete/restrictOnDelete.test.ts +54 -1
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-allowed.gql +0 -420
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-create-only.gql +0 -229
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-predicate.gql +0 -112
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-predicate2.gql +0 -112
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-restricted-create.gql +0 -309
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-restricted-delete.gql +0 -402
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-restricted-update.gql +0 -338
- package/dist/tests/cases/integration/graphQlSchema/schema-acl.gql +0 -221
- package/dist/tests/cases/integration/graphQlSchema/schema-aliased-type.gql +0 -226
- package/dist/tests/cases/integration/graphQlSchema/schema-basic.gql +0 -841
- package/dist/tests/cases/integration/graphQlSchema/schema-bug-66.gql +0 -540
- package/dist/tests/cases/integration/graphQlSchema/schema-custom-primary.gql +0 -851
- package/dist/tests/cases/integration/graphQlSchema/schema-has-many-reduction.gql +0 -453
- package/dist/tests/cases/integration/graphQlSchema/schema-new-builder.gql +0 -912
- package/dist/tests/cases/integration/graphQlSchema/schema-view-entity.gql +0 -112
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
type Query {
|
|
2
|
-
getAuthor(by: AuthorUniqueWhere!, filter: AuthorWhere): Author
|
|
3
|
-
listAuthor(filter: AuthorWhere, orderBy: [AuthorOrderBy!], offset: Int, limit: Int): [Author!]!
|
|
4
|
-
paginateAuthor(filter: AuthorWhere, orderBy: [AuthorOrderBy!], skip: Int, first: Int): AuthorConnection!
|
|
5
|
-
transaction: QueryTransaction
|
|
6
|
-
_info: Info
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type Author {
|
|
10
|
-
_meta: AuthorMeta
|
|
11
|
-
id: UUID!
|
|
12
|
-
name: String
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
type AuthorMeta {
|
|
16
|
-
id: FieldMeta
|
|
17
|
-
name: FieldMeta
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
type FieldMeta {
|
|
21
|
-
readable: Boolean
|
|
22
|
-
updatable: Boolean
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
scalar UUID
|
|
26
|
-
|
|
27
|
-
input AuthorUniqueWhere {
|
|
28
|
-
id: UUID
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
input AuthorWhere {
|
|
32
|
-
id: UUIDCondition
|
|
33
|
-
name: StringCondition
|
|
34
|
-
and: [AuthorWhere]
|
|
35
|
-
or: [AuthorWhere]
|
|
36
|
-
not: AuthorWhere
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
input UUIDCondition {
|
|
40
|
-
and: [UUIDCondition!]
|
|
41
|
-
or: [UUIDCondition!]
|
|
42
|
-
not: UUIDCondition
|
|
43
|
-
null: Boolean
|
|
44
|
-
isNull: Boolean
|
|
45
|
-
eq: UUID
|
|
46
|
-
notEq: UUID
|
|
47
|
-
in: [UUID!]
|
|
48
|
-
notIn: [UUID!]
|
|
49
|
-
lt: UUID
|
|
50
|
-
lte: UUID
|
|
51
|
-
gt: UUID
|
|
52
|
-
gte: UUID
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
input StringCondition {
|
|
56
|
-
and: [StringCondition!]
|
|
57
|
-
or: [StringCondition!]
|
|
58
|
-
not: StringCondition
|
|
59
|
-
null: Boolean
|
|
60
|
-
isNull: Boolean
|
|
61
|
-
eq: String
|
|
62
|
-
notEq: String
|
|
63
|
-
in: [String!]
|
|
64
|
-
notIn: [String!]
|
|
65
|
-
lt: String
|
|
66
|
-
lte: String
|
|
67
|
-
gt: String
|
|
68
|
-
gte: String
|
|
69
|
-
contains: String
|
|
70
|
-
startsWith: String
|
|
71
|
-
endsWith: String
|
|
72
|
-
containsCI: String
|
|
73
|
-
startsWithCI: String
|
|
74
|
-
endsWithCI: String
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
input AuthorOrderBy {
|
|
78
|
-
_random: Boolean
|
|
79
|
-
_randomSeeded: Int
|
|
80
|
-
id: OrderDirection
|
|
81
|
-
name: OrderDirection
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
enum OrderDirection {
|
|
85
|
-
asc
|
|
86
|
-
desc
|
|
87
|
-
ascNullsFirst
|
|
88
|
-
descNullsLast
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
type AuthorConnection {
|
|
92
|
-
pageInfo: PageInfo!
|
|
93
|
-
edges: [AuthorEdge!]!
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
type PageInfo {
|
|
97
|
-
totalCount: Int!
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
type AuthorEdge {
|
|
101
|
-
node: Author!
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
type QueryTransaction {
|
|
105
|
-
getAuthor(by: AuthorUniqueWhere!, filter: AuthorWhere): Author
|
|
106
|
-
listAuthor(filter: AuthorWhere, orderBy: [AuthorOrderBy!], offset: Int, limit: Int): [Author!]!
|
|
107
|
-
paginateAuthor(filter: AuthorWhere, orderBy: [AuthorOrderBy!], skip: Int, first: Int): AuthorConnection!
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
type Info {
|
|
111
|
-
description: String
|
|
112
|
-
}
|