@contember/client-content 1.3.0-alpha.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/types/ContentClient.d.ts +18 -0
- package/dist/types/ContentClient.d.ts.map +1 -0
- package/dist/types/ContentQueryBuilder.d.ts +25 -0
- package/dist/types/ContentQueryBuilder.d.ts.map +1 -0
- package/dist/types/TypedContentQueryBuilder.d.ts +21 -0
- package/dist/types/TypedContentQueryBuilder.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/nodes/ContentEntitySelection.d.ts +51 -0
- package/dist/types/nodes/ContentEntitySelection.d.ts.map +1 -0
- package/dist/types/nodes/ContentOperation.d.ts +30 -0
- package/dist/types/nodes/ContentOperation.d.ts.map +1 -0
- package/dist/types/nodes/TypedEntitySelection.d.ts +42 -0
- package/dist/types/nodes/TypedEntitySelection.d.ts.map +1 -0
- package/dist/types/nodes/index.d.ts +4 -0
- package/dist/types/nodes/index.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/dist/types/types/Input.d.ts +141 -0
- package/dist/types/types/Input.d.ts.map +1 -0
- package/dist/types/types/Result.d.ts +39 -0
- package/dist/types/types/Result.d.ts.map +1 -0
- package/dist/types/types/Schema.d.ts +43 -0
- package/dist/types/types/Schema.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +4 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/utils/ContentOperationSet.d.ts +13 -0
- package/dist/types/utils/ContentOperationSet.d.ts.map +1 -0
- package/dist/types/utils/createListArgs.d.ts +9 -0
- package/dist/types/utils/createListArgs.d.ts.map +1 -0
- package/dist/types/utils/createMutationOperationSet.d.ts +4 -0
- package/dist/types/utils/createMutationOperationSet.d.ts.map +1 -0
- package/dist/types/utils/createQueryOperationSet.d.ts +4 -0
- package/dist/types/utils/createQueryOperationSet.d.ts.map +1 -0
- package/dist/types/utils/createTypedArgs.d.ts +3 -0
- package/dist/types/utils/createTypedArgs.d.ts.map +1 -0
- package/dist/types/utils/mutationFragments.d.ts +3 -0
- package/dist/types/utils/mutationFragments.d.ts.map +1 -0
- package/package.json +48 -0
- package/src/ContentClient.ts +42 -0
- package/src/ContentQueryBuilder.ts +200 -0
- package/src/TypedContentQueryBuilder.ts +76 -0
- package/src/index.ts +5 -0
- package/src/nodes/ContentEntitySelection.ts +240 -0
- package/src/nodes/ContentOperation.ts +23 -0
- package/src/nodes/TypedEntitySelection.ts +107 -0
- package/src/nodes/index.ts +3 -0
- package/src/tsconfig.json +14 -0
- package/src/types/Input.ts +213 -0
- package/src/types/Result.ts +43 -0
- package/src/types/Schema.ts +49 -0
- package/src/types/index.ts +3 -0
- package/src/utils/ContentOperationSet.ts +11 -0
- package/src/utils/createListArgs.ts +23 -0
- package/src/utils/createMutationOperationSet.ts +42 -0
- package/src/utils/createQueryOperationSet.ts +20 -0
- package/src/utils/createTypedArgs.ts +15 -0
- package/src/utils/mutationFragments.ts +52 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GraphQlClientRequestOptions } from '@contember/graphql-client';
|
|
2
|
+
import { ContentMutation, ContentQuery } from './nodes';
|
|
3
|
+
export type QueryExecutorOptions = GraphQlClientRequestOptions;
|
|
4
|
+
export type QueryExecutor = <T = unknown>(query: string, options: GraphQlClientRequestOptions) => Promise<T>;
|
|
5
|
+
export declare class ContentClient {
|
|
6
|
+
private readonly executor;
|
|
7
|
+
constructor(executor: QueryExecutor);
|
|
8
|
+
query<Value>(query: ContentQuery<Value>, options?: QueryExecutorOptions): Promise<Value>;
|
|
9
|
+
query<Values extends Record<string, any>>(queries: {
|
|
10
|
+
[K in keyof Values]: ContentQuery<Values[K]>;
|
|
11
|
+
}, options?: QueryExecutorOptions): Promise<Values>;
|
|
12
|
+
mutate<Value>(mutation: ContentMutation<Value>, options?: QueryExecutorOptions): Promise<Value>;
|
|
13
|
+
mutate<Value>(mutations: ContentMutation<Value>[], options?: QueryExecutorOptions): Promise<Value[]>;
|
|
14
|
+
mutate<Values extends Record<string, any>>(mutations: {
|
|
15
|
+
[K in keyof Values]: ContentMutation<Values[K]> | ContentQuery<Values[K]>;
|
|
16
|
+
}, options?: QueryExecutorOptions): Promise<Values>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=ContentClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentClient.d.ts","sourceRoot":"","sources":["../../src/ContentClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAA;AAEvE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAKvD,MAAM,MAAM,oBAAoB,GAAG,2BAA2B,CAAA;AAE9D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,2BAA2B,KAAK,OAAO,CAAC,CAAC,CAAC,CAAA;AAE5G,qBAAa,aAAa;IAExB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,aAAa;IAK5B,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC;IACxF,KAAK,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE;SAAE,CAAC,IAAI,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;KAAC,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;IASnJ,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAI,OAAO,CAAC,KAAK,CAAC;IAChG,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IACrG,MAAM,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,SAAS,EAAE;SAAG,CAAC,IAAI,MAAM,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;KAAE,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAUlM"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ContentClientInput, MutationResult, SchemaNames, TransactionResult } from './types';
|
|
2
|
+
import { ContentEntitySelection, ContentEntitySelectionCallback, ContentMutation, ContentQuery } from './nodes';
|
|
3
|
+
import { Input } from '@contember/schema';
|
|
4
|
+
export type EntitySelectionOrCallback = ContentEntitySelection | ContentEntitySelectionCallback;
|
|
5
|
+
export type MutationTransactionOptions = {
|
|
6
|
+
deferForeignKeyConstraints?: boolean;
|
|
7
|
+
deferUniqueConstraints?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare class ContentQueryBuilder {
|
|
10
|
+
private readonly schema;
|
|
11
|
+
constructor(schema: SchemaNames);
|
|
12
|
+
fragment(name: string, fieldsCallback?: ContentEntitySelectionCallback): ContentEntitySelection;
|
|
13
|
+
count(name: string, args: Pick<ContentClientInput.AnyListQueryInput, 'filter'>): ContentQuery<number>;
|
|
14
|
+
list(name: string, args: ContentClientInput.AnyListQueryInput, fields: EntitySelectionOrCallback): ContentQuery<any[]>;
|
|
15
|
+
get(name: string, args: Input.UniqueQueryInput, fields: EntitySelectionOrCallback): ContentQuery<Record<string, unknown> | null>;
|
|
16
|
+
create(name: string, args: Input.CreateInput, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult>;
|
|
17
|
+
update(name: string, args: Input.UpdateInput, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult>;
|
|
18
|
+
upsert(name: string, args: Input.UpsertInput, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult>;
|
|
19
|
+
delete(name: string, args: Input.UniqueQueryInput, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult>;
|
|
20
|
+
transaction(input: Record<string, ContentMutation<any> | ContentQuery<any>> | ContentMutation<any> | ContentMutation<any>[], options?: MutationTransactionOptions): ContentMutation<TransactionResult<any>>;
|
|
21
|
+
private createMutationSelection;
|
|
22
|
+
private resolveSelectionSet;
|
|
23
|
+
private createContext;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=ContentQueryBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentQueryBuilder.d.ts","sourceRoot":"","sources":["../../src/ContentQueryBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAC5F,OAAO,EACN,sBAAsB,EACtB,8BAA8B,EAE9B,eAAe,EAEf,YAAY,EACZ,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAIzC,MAAM,MAAM,yBAAyB,GAClC,sBAAsB,GACtB,8BAA8B,CAAA;AAEjC,MAAM,MAAM,0BAA0B,GAAG;IACxC,0BAA0B,CAAC,EAAE,OAAO,CAAA;IACpC,sBAAsB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA;AAED,qBAAa,mBAAmB;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,WAAW;IAIzC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,8BAA8B,GAAG,sBAAsB;IAY/F,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,kBAAk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C,mBAAmB;IAO3B,OAAO,CAAC,aAAa;CAYrB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ContentClientInput, MutationResult, SchemaTypeLike, TransactionResult } from './types';
|
|
2
|
+
import { ContentMutation, ContentQuery, TypedEntitySelection, TypedEntitySelectionCallback } from './nodes';
|
|
3
|
+
import { MutationTransactionOptions } from './ContentQueryBuilder';
|
|
4
|
+
export type TypedContentEntitySelectionOrCallback<TSchema extends SchemaTypeLike, TEntityName extends keyof TSchema['entities'] & string, TValue> = TypedEntitySelection<TSchema, TEntityName, TSchema['entities'][TEntityName], TValue> | TypedEntitySelectionCallback<TSchema, TEntityName, TSchema['entities'][TEntityName], TValue>;
|
|
5
|
+
export interface TypedContentQueryBuilder<TSchema extends SchemaTypeLike> {
|
|
6
|
+
fragment<EntityName extends keyof TSchema['entities'] & string>(name: EntityName): TypedEntitySelection<TSchema, EntityName, TSchema['entities'][EntityName], {}>;
|
|
7
|
+
fragment<EntityName extends keyof TSchema['entities'] & string, TFields>(name: EntityName, fieldsCallback: TypedEntitySelectionCallback<TSchema, EntityName, TSchema['entities'][EntityName], TFields>): TypedEntitySelection<TSchema, EntityName, TSchema['entities'][EntityName], TFields>;
|
|
8
|
+
count<EntityName extends keyof TSchema['entities'] & string>(name: EntityName, args: Pick<ContentClientInput.ListQueryInput<TSchema['entities'][EntityName]>, 'filter'>): ContentQuery<number>;
|
|
9
|
+
list<EntityName extends keyof TSchema['entities'] & string, TValue>(name: EntityName, args: ContentClientInput.ListQueryInput<TSchema['entities'][EntityName]>, fields: TypedContentEntitySelectionOrCallback<TSchema, EntityName, TValue>): ContentQuery<TValue[]>;
|
|
10
|
+
get<EntityName extends keyof TSchema['entities'] & string, TValue>(name: EntityName, args: ContentClientInput.UniqueQueryInput<TSchema['entities'][EntityName]>, fields: TypedContentEntitySelectionOrCallback<TSchema, EntityName, TValue>): ContentQuery<TValue | null>;
|
|
11
|
+
create<EntityName extends keyof TSchema['entities'] & string, TValue>(name: EntityName, args: ContentClientInput.CreateInput<TSchema['entities'][EntityName]>, fields?: TypedContentEntitySelectionOrCallback<TSchema, EntityName, TValue>): ContentMutation<MutationResult<TValue>>;
|
|
12
|
+
update<EntityName extends keyof TSchema['entities'] & string, TValue>(name: EntityName, args: ContentClientInput.UpdateInput<TSchema['entities'][EntityName]>, fields?: TypedContentEntitySelectionOrCallback<TSchema, EntityName, TValue>): ContentMutation<MutationResult<TValue>>;
|
|
13
|
+
upsert<EntityName extends keyof TSchema['entities'] & string, TValue>(name: EntityName, args: ContentClientInput.UpsertInput<TSchema['entities'][EntityName]>, fields?: TypedContentEntitySelectionOrCallback<TSchema, EntityName, TValue>): ContentMutation<MutationResult<TValue>>;
|
|
14
|
+
delete<EntityName extends keyof TSchema['entities'] & string, TValue>(name: EntityName, args: ContentClientInput.UniqueQueryInput<TSchema['entities'][EntityName]>, fields?: TypedContentEntitySelectionOrCallback<TSchema, EntityName, TValue>): ContentMutation<MutationResult<TValue>>;
|
|
15
|
+
transaction<Value>(mutation: ContentMutation<Value>, options?: MutationTransactionOptions): ContentMutation<TransactionResult<Value>>;
|
|
16
|
+
transaction<Value>(mutations: ContentMutation<Value>[], options?: MutationTransactionOptions): ContentMutation<TransactionResult<Value[]>>;
|
|
17
|
+
transaction<Values extends Record<string, any>>(mutations: {
|
|
18
|
+
[K in keyof Values]: ContentMutation<Values[K]> | ContentQuery<Values[K]>;
|
|
19
|
+
}, options?: MutationTransactionOptions): ContentMutation<TransactionResult<Values>>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=TypedContentQueryBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypedContentQueryBuilder.d.ts","sourceRoot":"","sources":["../../src/TypedContentQueryBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAC/F,OAAO,EAAE,eAAe,EA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AAC,IAAI,MAAM,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;KAAE,EACxF,OAAO,CAAC,EAAE,0BAA0B,GAClC,eAAe,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;CAC7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ContentClientInput, SchemaEntityNames, SchemaNames } from '../types';
|
|
2
|
+
import { Input } from '@contember/schema';
|
|
3
|
+
import { GraphQlSelectionSet } from '@contember/graphql-builder';
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export type ContentEntitySelectionContext<Name extends string> = {
|
|
8
|
+
entity: SchemaEntityNames<Name>;
|
|
9
|
+
schema: SchemaNames;
|
|
10
|
+
};
|
|
11
|
+
export type ContentEntitySelectionCallback = (select: ContentEntitySelection) => ContentEntitySelection;
|
|
12
|
+
export type EntitySelectionCommonInput<Alias extends string | null = string | null> = {
|
|
13
|
+
as?: Alias;
|
|
14
|
+
};
|
|
15
|
+
export type EntitySelectionManyArgs<Alias extends string | null = string | null> = ContentClientInput.AnyListQueryInput & EntitySelectionCommonInput<Alias>;
|
|
16
|
+
export type EntitySelectionManyByArgs<Alias extends string | null = string | null> = {
|
|
17
|
+
by: Input.UniqueWhere;
|
|
18
|
+
filter?: Input.Where;
|
|
19
|
+
} & EntitySelectionCommonInput<Alias>;
|
|
20
|
+
export type EntitySelectionOneArgs<Alias extends string | null = string | null> = {
|
|
21
|
+
filter?: Input.Where;
|
|
22
|
+
} & EntitySelectionCommonInput<Alias>;
|
|
23
|
+
export type EntitySelectionColumnArgs<Alias extends string | null = string | null> = EntitySelectionCommonInput<Alias>;
|
|
24
|
+
export type EntitySelectionAnyArgs = EntitySelectionColumnArgs | EntitySelectionManyArgs | EntitySelectionManyByArgs | EntitySelectionOneArgs;
|
|
25
|
+
export type ContentEntitySelectionOrCallback = ContentEntitySelectionCallback | ContentEntitySelection;
|
|
26
|
+
export declare class ContentEntitySelection {
|
|
27
|
+
/** @internal */
|
|
28
|
+
readonly context: ContentEntitySelectionContext<string>;
|
|
29
|
+
/** @internal */
|
|
30
|
+
readonly selectionSet: GraphQlSelectionSet;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
constructor(
|
|
35
|
+
/** @internal */
|
|
36
|
+
context: ContentEntitySelectionContext<string>,
|
|
37
|
+
/** @internal */
|
|
38
|
+
selectionSet: GraphQlSelectionSet);
|
|
39
|
+
$(field: string, args?: EntitySelectionColumnArgs): ContentEntitySelection;
|
|
40
|
+
$(field: string, args: EntitySelectionManyArgs, selection: ContentEntitySelectionOrCallback): ContentEntitySelection;
|
|
41
|
+
$(field: string, args: EntitySelectionManyByArgs, selection: ContentEntitySelectionOrCallback): ContentEntitySelection;
|
|
42
|
+
$(field: string, args: EntitySelectionOneArgs, selection: ContentEntitySelectionOrCallback): ContentEntitySelection;
|
|
43
|
+
$(field: string, selection: ContentEntitySelectionOrCallback): ContentEntitySelection;
|
|
44
|
+
$$(): ContentEntitySelection;
|
|
45
|
+
private _column;
|
|
46
|
+
private _many;
|
|
47
|
+
private _manyBy;
|
|
48
|
+
private _one;
|
|
49
|
+
private withField;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=ContentEntitySelection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentEntitySelection.d.ts","sourceRoot":"","sources":["../../../src/nodes/ContentEntitySelection.ts"],"names":[],"mappings":"AACA,O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C,KAAK,CAAC,CAAA;AAEtH,MAAM,MAAM,sBAAsB,GAC/B,yBAAyB,GACzB,uBAAuB,GACvB,yBAAyB,GACzB,sBAAsB,CAAA;AAEzB,MAAM,MAAM,gCAAgC,GAAG,8BAA8B,GAAG,sBAAsB,CAAA;AAGtG,qBAAa,sBAAsB;IAMjC,gBAAgB;aACA,OAAO,EAAE,6BAA6B,CAAC,MAAM,CAAC;IAC9D,gBAAgB;aACA,YAAY,EAAE,mBAAmB;IAPlD;;OAEG;;IAEF,gBAAgB;IACA,OAAO,EAAE,6BAA6B,CAAC,MAAM,CAAC;IAC9D,gBAAgB;IACA,YAAY,EAAE,mBAAmB;IAKlD,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,yBAAyB,GAAG,sBAAsB;IAC1E,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,SAAS,EAAE,gCAAgC,GAAG,sBAAsB;IACpH,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,SAAS,EAAE,gCAAgC,GAAG,sBAAsB;IACtH,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,SAAS,EAAE,gCAAgC,GAAG,sBAAsB;IACnH,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,gCAAgC,GAAG,sBAAsB;IAsCrF,EAAE,IAAI,sBAAsB;IAS5B,OAAO,CAAC,OAAO;IAmBf,OAAO,CAAC,KAAK;IAiCb,OAAO,CAAC,OAAO;IA8Cf,OAAO,CAAC,IAAI;IAwCZ,OAAO,CAAC,SAAS;CAMjB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { GraphQlFieldTypedArgs, GraphQlSelectionSet } from '@contember/graphql-builder';
|
|
2
|
+
export declare class ContentOperation<TValue, TType extends 'query' | 'mutation'> {
|
|
3
|
+
/** @internal */
|
|
4
|
+
readonly type: TType;
|
|
5
|
+
/** @internal */
|
|
6
|
+
readonly fieldName: string;
|
|
7
|
+
/** @internal */
|
|
8
|
+
readonly args: GraphQlFieldTypedArgs;
|
|
9
|
+
/** @internal */
|
|
10
|
+
readonly selection?: GraphQlSelectionSet | undefined;
|
|
11
|
+
/** @internal */
|
|
12
|
+
readonly parse: (value: any) => TValue;
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
constructor(
|
|
17
|
+
/** @internal */
|
|
18
|
+
type: TType,
|
|
19
|
+
/** @internal */
|
|
20
|
+
fieldName: string,
|
|
21
|
+
/** @internal */
|
|
22
|
+
args?: GraphQlFieldTypedArgs,
|
|
23
|
+
/** @internal */
|
|
24
|
+
selection?: GraphQlSelectionSet | undefined,
|
|
25
|
+
/** @internal */
|
|
26
|
+
parse?: (value: any) => TValue);
|
|
27
|
+
}
|
|
28
|
+
export type ContentQuery<TValue> = ContentOperation<TValue, 'query'>;
|
|
29
|
+
export type ContentMutation<TValue> = ContentOperation<TValue, 'mutation'>;
|
|
30
|
+
//# sourceMappingURL=ContentOperation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentOperation.d.ts","sourceRoot":"","sources":["../../../src/nodes/ContentOperation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAEvF,qBAAa,gBAAgB,CAAC,MAAM,EAAE,KAAK,SAAS,OAAO,GAAG,UAAU;IAKtE,gBAAgB;aACA,IAAI,EAAE,KAAK;IAC3B,gBAAgB;aACA,SAAS,EAAE,MAAM;IACjC,gBAAgB;aACA,IAAI,EAAE,qBAAqB;IAC3C,gBAAgB;aACA,SAAS,CAAC;IAC1B,gBAAgB;aACA,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,MAAM;IAb9C;;OAEG;;IAEF,gBAAgB;IACA,IAAI,EAAE,KAAK;IAC3B,gBAAgB;IACA,SAAS,EAAE,MAAM;IACjC,gBAAgB;IACA,IAAI,GAAE,qBAA0B;IAChD,gBAAgB;IACA,SAAS,CAAC,iCAAqB;IAC/C,gBAAgB;IACA,KAAK,GAAE,CAAC,KAAK,EAAE,GAAG,KAAK,MAA2B;CAGnE;AAED,MAAM,MAAM,YAAY,CAAC,MAAM,IAAI,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,MAAM,eAAe,CAAC,MAAM,IAAI,gBAAgB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EntityTypeLike, SchemaTypeLike } from '../types/Schema';
|
|
2
|
+
import { ContentClientInput } from '../types';
|
|
3
|
+
export type TypedEntitySelectionCallback<TSchema extends SchemaTypeLike, EntityName extends string, TEntity extends EntityTypeLike, TValue> = (select: TypedEntitySelection<TSchema, EntityName, TEntity, {}>) => TypedEntitySelection<TSchema, EntityName, TEntity, TValue>;
|
|
4
|
+
export interface TypedEntitySelection<TSchema extends SchemaTypeLike, TEntityName extends string, TEntity extends EntityTypeLike, TValue> {
|
|
5
|
+
$$(): TypedEntitySelection<TSchema, TEntityName, TEntity, TValue & {
|
|
6
|
+
[key in keyof TEntity['columns']]: TEntity['columns'][key];
|
|
7
|
+
}>;
|
|
8
|
+
$<TKey extends (keyof TEntity['columns']) & string, TAlias extends string | null = null>(name: TKey, args?: {
|
|
9
|
+
as?: TAlias;
|
|
10
|
+
}): TypedEntitySelection<TSchema, TEntityName, TEntity, TValue & {
|
|
11
|
+
[key in TAlias extends null ? TKey : TAlias]: TEntity['columns'][key];
|
|
12
|
+
}>;
|
|
13
|
+
$<TNestedValue, TNestedKey extends keyof TEntity['hasMany'] & string, TAlias extends string | null = null>(name: TNestedKey, args: ContentClientInput.HasManyRelationInput<TEntity['hasMany'][TNestedKey]> & {
|
|
14
|
+
as?: TAlias;
|
|
15
|
+
}, fields: TypedEntitySelectionCallback<TSchema, TEntity['hasMany'][TNestedKey]['name'], TEntity['hasMany'][TNestedKey], TNestedValue> | TypedEntitySelection<TSchema, TEntity['hasMany'][TNestedKey]['name'], TEntity['hasMany'][TNestedKey], TNestedValue>): TypedEntitySelection<TSchema, TEntityName, TEntity, TValue & {
|
|
16
|
+
[key in TAlias extends null ? TNestedKey : TAlias]: TNestedValue[];
|
|
17
|
+
}>;
|
|
18
|
+
$<TNestedValue, TNestedKey extends keyof TEntity['hasMany'] & string, TAlias extends string | null = null>(name: TNestedKey, fields: TypedEntitySelectionCallback<TSchema, TEntity['hasMany'][TNestedKey]['name'], TEntity['hasMany'][TNestedKey], TNestedValue> | TypedEntitySelection<TSchema, TEntity['hasMany'][TNestedKey]['name'], TEntity['hasMany'][TNestedKey], TNestedValue>): TypedEntitySelection<TSchema, TEntityName, TEntity, TValue & {
|
|
19
|
+
[key in TAlias extends null ? TNestedKey : TAlias]: TNestedValue[];
|
|
20
|
+
}>;
|
|
21
|
+
$<TNestedValue, TNestedKey extends keyof TEntity['hasManyBy'] & string, TAlias extends string | null = null>(name: TNestedKey, args: ContentClientInput.HasManyByRelationInput<TEntity['hasManyBy'][TNestedKey]['entity'], TEntity['hasManyBy'][TNestedKey]['by']> & {
|
|
22
|
+
as?: TAlias;
|
|
23
|
+
}, fields: TypedEntitySelectionCallback<TSchema, TEntity['hasManyBy'][TNestedKey]['entity']['name'], TEntity['hasManyBy'][TNestedKey]['entity'], TNestedValue> | TypedEntitySelection<TSchema, TEntity['hasManyBy'][TNestedKey]['entity']['name'], TEntity['hasManyBy'][TNestedKey]['entity'], TNestedValue>): TypedEntitySelection<TSchema, TEntityName, TEntity, TValue & {
|
|
24
|
+
[key in TAlias extends null ? TNestedKey : TAlias]: null | TNestedValue;
|
|
25
|
+
}>;
|
|
26
|
+
$<TNestedValue, TNestedKey extends keyof TEntity['hasManyBy'] & string, TAlias extends string | null = null>(name: TNestedKey, fields: TypedEntitySelectionCallback<TSchema, TEntity['hasManyBy'][TNestedKey]['entity']['name'], TEntity['hasManyBy'][TNestedKey]['entity'], TNestedValue> | TypedEntitySelection<TSchema, TEntity['hasManyBy'][TNestedKey]['entity']['name'], TEntity['hasManyBy'][TNestedKey]['entity'], TNestedValue>): TypedEntitySelection<TSchema, TEntityName, TEntity, TValue & {
|
|
27
|
+
[key in TAlias extends null ? TNestedKey : TAlias]: null | TNestedValue;
|
|
28
|
+
}>;
|
|
29
|
+
$<TNestedValue extends {
|
|
30
|
+
[K in string]: unknown;
|
|
31
|
+
}, TNestedKey extends keyof TEntity['hasOne'] & string, TAlias extends string | null = null>(name: TNestedKey, args: ContentClientInput.HasOneRelationInput<TEntity['hasOne'][TNestedKey]> & {
|
|
32
|
+
as?: TAlias;
|
|
33
|
+
}, fields: TypedEntitySelectionCallback<TSchema, TEntity['hasOne'][TNestedKey]['name'], TEntity['hasOne'][TNestedKey], TNestedValue> | TypedEntitySelection<TSchema, TEntity['hasOne'][TNestedKey]['name'], TEntity['hasOne'][TNestedKey], TNestedValue>): TypedEntitySelection<TSchema, TEntityName, TEntity, TValue & {
|
|
34
|
+
[key in TAlias extends null ? TNestedKey : TAlias]: TNestedValue | null;
|
|
35
|
+
}>;
|
|
36
|
+
$<TNestedValue extends {
|
|
37
|
+
[K in string]: unknown;
|
|
38
|
+
}, TNestedKey extends keyof TEntity['hasOne'] & string, TAlias extends string | null = null>(name: TNestedKey, fields: TypedEntitySelectionCallback<TSchema, TEntity['hasOne'][TNestedKey]['name'], TEntity['hasOne'][TNestedKey], TNestedValue> | TypedEntitySelection<TSchema, TEntity['hasOne'][TNestedKey]['name'], TEntity['hasOne'][TNestedKey], TNestedValue>): TypedEntitySelection<TSchema, TEntityName, TEntity, TValue & {
|
|
39
|
+
[key in TAlias extends null ? TNestedKey : TAlias]: TNestedValue | null;
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=TypedEntitySelection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"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ules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/ts5.0/global.d.ts","../../../../node_modules/@types/react/node_modules/csstype/index.d.ts","../../../../node_modules/@types/prop-types/index.d.ts","../../../../node_modules/@types/scheduler/tracing.d.ts","../../../../node_modules/@types/react/ts5.0/index.d.ts","../../../../node_modules/@types/react/ts5.0/jsx-runtime.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlFragmentSpread.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlInlineFragment.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/value.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/input.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/json.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/acl.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/actions.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/model.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/result.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/validation.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/settings.d.ts","../../../../node_modules/@contember/schema/dist/src/ProjectRole.d.ts","../../../../node_modules/@contember/schema/dist/src/index.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlField.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlFragment.d.ts","../../../graphql-builder/dist/types/nodes/index.d.ts","../../../graphql-builder/dist/types/GraphQlQueryPrinter.d.ts","../../../graphql-builder/dist/types/index.d.ts","../../src/utils/mutationFragments.ts","../../../graphql-client/dist/types/GraphQlClientRequestOptions.d.ts","../../../graphql-client/dist/types/GraphQlClient.d.ts","../../../graphql-client/dist/types/GraphQlClientError.d.ts","../../../graphql-client/dist/types/index.d.ts","../../src/types/Schema.ts","../../src/types/Input.ts","../../src/types/Result.ts","../../src/types/index.ts","../../src/utils/createListArgs.ts","../../src/nodes/ContentEntitySelection.ts","../../src/nodes/ContentOperation.ts","../../src/nodes/TypedEntitySelection.ts","../../src/nodes/index.ts","../../src/utils/ContentOperationSet.ts","../../src/utils/createMutationOperationSet.ts","../../src/utils/createQueryOperationSet.ts","../../src/ContentClient.ts","../../src/utils/createTypedArgs.ts","../../src/ContentQueryBuilder.ts","../../src/TypedContentQueryBuilder.ts","../../src/index.ts","../../../../node_modules/vite/types/hmrPayload.d.ts","../../../../node_modules/vite/types/customEvent.d.ts","../../../../node_modules/vite/types/hot.d.ts","../../../../node_modules/vite/types/importGlob.d.ts","../../../../node_modules/vite/types/importMeta.d.ts","../../../../node_modules/vite/client.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"49a253ec027e56c55c7450a0c331cfe96212b3d1cc215b1710ba94a083404cf3","affectsGlobalScope":true},"1c29793071152b207c01ea1954e343be9a44d85234447b2b236acae9e709a383","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"278fe30e638dad09488d130287c728f99f61cb315ed86b70c36040e4311f9cf5","affectsGlobalScope":true},"af7fd2870746deed40e130fc0a3966de74e8f52a97ec114d0fbb35876ab05ca9","34e5c5b2be8aa1b3f75ccd21529ae8b9163f510dbdabae4caae3fec3010cc33b","45fb3525f5c652416e54f91bd8378464d41e22b0ccc108de7db918cf8e92ffd3","3ae62be455efcb1874e7fd1f30f2bb83144757d2f349ceb0c6523bb9f7f7a860","be0f711ade459d8e51739f8544a565bc7d2ea56a9dda7ef6d5edd9d864737276","b1296831e111197bd9ebd73f0d15ad0fe2e11fcc51a6302edb23ffd93794db36","5610e8177b34fa50394973f3faba06fd5268b1264a2f4f7daaa71fee1194a94d","4dc29833bfcaa8597097a99fd486d72a0de9c38bb7a6dcd1dadb70e1b9c17282","9869fe612661e4bb3a63b339b3a0d0cdbb6c9e85dd4a59209c86383179e3fbd9","f42116e2e8ad600dc90bdf8ceade9dcf593c35812d8aaba9c03a3f1dbb87330e","dff2fee737ebe5174f549c9f28e114c0cabac4b5fe4e364654465ba528979ba4","86c9954d4c0c270f2952a8695b90fbf4a58210deae10911be98b6c31b84cc8db","466df547af9cf3861658b08baf3ecbd41c0eaad2101378fadfa54ab24db103e6","66b37de2f4b108cf4467570730a30cac8aa7d9ec94a0e335825c9192c1188094","e2402a646d4471b0985495b6bfca6c9c731d335195bf206e8c982d8ca362692f","08d34fcbf615950f6d3dd6858437159f0c0af08d5af645ec415ebfeaeacf3bd0","13ce162c8088b92a985e41a2ddf61cbb191101c280214a74dd9e8d2fd3c9c905","33a492825bcebd5ef9d6e5dd0e2caf8af102ff57cc28353acdfa1cf5c5039e66","4b47e095287cc1351b5fa9c5112d1d2d255bd8916ce76347225837b244e97ed5",{"version":"455a08fab96b932e98609df4cdf283f4e73267a61649f586f2ecd3daa6fd9467","signature":"016e695348eb662b9adead21973e3da689bbff9c65811491644e2ed594fca800"},"8c56ed339fb7ea09a933aae91daa038e669730da6b6d422275d0a7e5293b46a7","711255f9dda18a35389ec1e3fa8ebe6e906e67902550afad96b0ac6c5a5de327","4d023a0827a63ad5e6b498f92830d79e40e6fd487ed6b7c6fc2528eb9b3c0937","e17fbde86ef68adc663fff12c63cce11175482b3f108afd90fa3c11754afe6c6",{"version":"67b72bf4a4743058cd6cd80c632d8d918bd70d72cb4f6a02ac99e5ed9c4ff9e8","signature":"aae8862b104ce076ea1b097bc886c37b33a338efeb9960157f4725fdb5a5862b"},{"version":"4e3c8dd85c6200aebadbd5cb08cf75ed7fca6cea5726b5b1d6454d8da1911417","signature":"b7025319b06c10e491ff4cbbb948f5b4d1f9b6d80b06dce44d344593045ac899"},{"version":"48efacca2f03c964cafd13eabcd5ca0e61c06cbdf2aa02f7bf1cbdea4a9a0dc6","signature":"f289c5204b0819632486cefeec845a20a7a9c769180fb6bede63b0d7f24839d2"},{"version":"e094ee9f701b35c8089fa4bf0708ca687f9a98d8a3b04ace0769ec76b6e06d68","signature":"feaceef383869ce3addd7d620c89fa6ff1d5753f7b451cffb1e926998df2b5e4"},{"version":"1ce34a0f5a33f3ec3d13879fa6a2c573eba987beef0c44dedd271e1f6127d038","signature":"072aa9647706bfec733119a60c7c6c1184ef8bedd0f11a32d0553b2b939c9f2d"},{"version":"aa2a2bc669516f05a7c0fbb47d0f67bd25f18140b5cbdcbfbcb2fc1d390844cf","signature":"f104ff2c22b3c0919c63450b8b77fa227d183a47eed6ef54203ec40678674cb5"},{"version":"acb7dbfa3ccf09b7f56bcfc1c027f5a774fe6454d2089d39e789c8e251885a06","signature":"06c1e22ce1921cfd383c800f9e191972c5dfaca8996cca54d85c4b4cb41db49d"},{"version":"7cca51c7aa8f5c0d4199ef5e4e72f5e517efc33057ca0bdc0dde5d3f8c10440b","signature":"217866763d14f5c35e7613c29767c4b12debbfe01eec434a79ff7444fadedbbc"},{"version":"af5f7c439c7cf5c91cc7b734dd5994c187f853e8ce4d5e37fc193625099418c5","signature":"6c7327831239ec38e57c18eb15c5b191aa258ada0528de8dc93092efcba20896"},{"version":"a6481312c14c551004515f78ecb8b766ef32d74f1db6e5961875e419e937453d","signature":"0cd8eca2ce06522c71d3b9eb3ca87f6641f1ca48ee143c424eb0a6ca5946e444"},{"version":"2f8ef76dcd86e19af088905c3c014c898804e216db510091784717474db2dcee","signature":"d29f4556a53aa2660b9bbfe2d93770781740b6e9274e16ea13b38dcec35ce42e"},{"version":"5d0650fd8b5826f32bd9d97bb9e31fa62738ec20bb673fffd1fc8e34e9700375","signature":"b8373beeb8e2f6ffb2ed25801fa5366661bac945fc2e3b43c40a22b609992b8a"},{"version":"6ea973243738cdeeaeac00b6b07adb1d35ca97c790658d858689ad564d23c51c","signature":"e7b0c0a56182e6d1305533878c0d1de75f49cda0f3982c4c79f1652b50b130d6"},{"version":"4aae859123123ed6d4745fe16fb27f13192735eb12952cbabfe9fbc8f1eddc6b","signature":"5f64acae0d67819d1fccb6663c89df4ef8b38461ebfbe45824d780ab928cdb47"},{"version":"377808bacc85aedf3c1d1dad9354f46733107be0ff01accd32b7048592880eb0","signature":"ea924fbabda99a62bb4cde7f6a01048597027815366db11bff03c08ed576fed8"},{"version":"9edc6523ce772fcf5ed7af49675b623982c113473c6884c85487f41546da9185","signature":"5e8c7ad4619cc15007aa5bc3f4e1a30cb01540c14beaa609fb8d17d21acaceba"},{"version":"ebc1c42c3c87594615b879a8dd9503908a09023b2f11e0876f489b46f34509cb","signature":"f202558a35a4093e2eb6a5a2aa9f517f883dc3b949a350c9b36906f8c1a3e20a"},"bcb6ea18f23dae2c48459d7b86d3adccd6898f824fcbf9da08b935f559896580","0aa7220845f5f3902fe043f646f9d9218bd7dd6c4046e8471580866ea6b03aa2","4d5fb5d6b35f731b2ae4d9d7c592d48e91d6de531dd130628edf4eba16add893","739c2c46edc112421fc023c24b4898b1f413f792bb6a02b40ba182c648e56c2f",{"version":"df93bb67d5ae7be3d599323de42e12cb8da59f0b490c3186ae91d493632b5e36","affectsGlobalScope":true},{"version":"f8b8b34c4f7651c9f7b126af8affda4139a0499e62e74f0f8dc2be36e9f14b59","affectsGlobalScope":true}],"root":[86,[91,107]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useDefineForClassFields":true},"fileIdsList":[[70,71,72,73,74,75,76,77,78,79],[71,72],[72],[70],[71],[62,63,64,65],[66],[112],[108],[109],[110,111],[67,85,86,90,99,101,102],[67,80,85,94,95,99,101,104],[67,94,99,105],[67,94,99,103,105,106],[67,80,85,94,95],[67,85],[67,91,94],[67,96,97,98],[67,80,91],[67,80],[67,91,92,93],[67,85,94],[67,85,99,100],[80,83],[83,84],[68,69,80],[81],[68,69,81,82],[87],[87,88,89],[90,99],[80,94,99],[94,99,105],[94,99,103,105,106],[80,85,94],[85],[91,94],[96,97,98],[80,91],[80],[91,92,93],[85,94],[99,100]],"referencedMap":[[80,1],[73,2],[74,3],[71,4],[75,5],[76,4],[77,3],[66,6],[67,7],[113,8],[109,9],[110,10],[112,11],[103,12],[105,13],[106,14],[107,15],[96,16],[97,17],[98,18],[99,19],[92,20],[93,21],[91,21],[94,22],[100,17],[95,23],[101,24],[102,24],[104,17],[86,17],[84,25],[85,26],[81,27],[82,28],[69,28],[83,29],[88,30],[90,31]],"exportedModulesMap":[[80,1],[73,2],[74,3],[71,4],[75,5],[76,4],[77,3],[66,6],[67,7],[113,8],[109,9],[110,10],[112,11],[103,32],[105,33],[106,34],[107,35],[96,36],[97,37],[98,38],[99,39],[92,40],[93,41],[91,41],[94,42],[100,37],[95,43],[101,44],[102,44],[104,37],[86,37],[84,25],[85,26],[81,27],[82,28],[69,28],[83,29],[88,30],[90,31]],"semanticDiagnosticsPerFile":[79,80,73,74,71,72,75,76,78,77,70,64,63,62,66,67,65,60,61,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,10,1,11,59,113,109,108,110,111,112,103,105,106,107,96,97,98,99,92,93,91,94,100,95,101,102,104,86,84,85,81,82,68,69,83,88,89,87,90],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { Input, JSONObject } from '@contember/schema';
|
|
2
|
+
import { EntityTypeLike } from './Schema';
|
|
3
|
+
export declare namespace ContentClientInput {
|
|
4
|
+
type ConnectRelationInput<TEntity extends EntityTypeLike> = {
|
|
5
|
+
readonly connect: UniqueWhere<TEntity>;
|
|
6
|
+
};
|
|
7
|
+
type CreateRelationInput<TEntity extends EntityTypeLike> = {
|
|
8
|
+
readonly create: CreateDataInput<TEntity>;
|
|
9
|
+
};
|
|
10
|
+
type ConnectOrCreateInput<TEntity extends EntityTypeLike> = {
|
|
11
|
+
readonly connect: UniqueWhere<TEntity>;
|
|
12
|
+
readonly create: CreateDataInput<TEntity>;
|
|
13
|
+
};
|
|
14
|
+
type ConnectOrCreateRelationInput<TEntity extends EntityTypeLike> = {
|
|
15
|
+
readonly connectOrCreate: ConnectOrCreateInput<TEntity>;
|
|
16
|
+
};
|
|
17
|
+
type DisconnectSpecifiedRelationInput<TEntity extends EntityTypeLike> = {
|
|
18
|
+
readonly disconnect: UniqueWhere<TEntity>;
|
|
19
|
+
};
|
|
20
|
+
type DeleteSpecifiedRelationInput<TEntity extends EntityTypeLike> = {
|
|
21
|
+
readonly delete: UniqueWhere<TEntity>;
|
|
22
|
+
};
|
|
23
|
+
type UpdateSpecifiedRelationInput<TEntity extends EntityTypeLike> = {
|
|
24
|
+
readonly update: {
|
|
25
|
+
readonly by: UniqueWhere<TEntity>;
|
|
26
|
+
readonly data: UpdateDataInput<TEntity>;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type UpsertSpecifiedRelationInput<TEntity extends EntityTypeLike> = {
|
|
30
|
+
readonly upsert: {
|
|
31
|
+
readonly by: UniqueWhere<TEntity>;
|
|
32
|
+
readonly update: UpdateDataInput<TEntity>;
|
|
33
|
+
readonly create: CreateDataInput<TEntity>;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type DisconnectRelationInput = {
|
|
37
|
+
readonly disconnect: true;
|
|
38
|
+
};
|
|
39
|
+
type UpdateRelationInput<TEntity extends EntityTypeLike> = {
|
|
40
|
+
readonly update: UpdateDataInput<TEntity>;
|
|
41
|
+
};
|
|
42
|
+
type DeleteRelationInput = {
|
|
43
|
+
readonly delete: true;
|
|
44
|
+
};
|
|
45
|
+
type UpsertRelationInput<TEntity extends EntityTypeLike> = {
|
|
46
|
+
readonly upsert: {
|
|
47
|
+
readonly update: UpdateDataInput<TEntity>;
|
|
48
|
+
readonly create: CreateDataInput<TEntity>;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
type CreateDataInput<TEntity extends EntityTypeLike> = {
|
|
52
|
+
readonly [key in keyof TEntity['columns']]?: TEntity['columns'][key]['tsType'];
|
|
53
|
+
} & {
|
|
54
|
+
readonly [key in keyof TEntity['hasMany']]?: CreateManyRelationInput<TEntity['hasMany'][key]>;
|
|
55
|
+
} & {
|
|
56
|
+
readonly [key in keyof TEntity['hasOne']]?: CreateOneRelationInput<TEntity['hasOne'][key]>;
|
|
57
|
+
};
|
|
58
|
+
type CreateOneRelationInput<TEntity extends EntityTypeLike> = ConnectRelationInput<TEntity> | CreateRelationInput<TEntity> | ConnectOrCreateRelationInput<TEntity>;
|
|
59
|
+
type CreateManyRelationInput<TEntity extends EntityTypeLike> = readonly CreateOneRelationInput<TEntity>[];
|
|
60
|
+
type UpdateDataInput<TEntity extends EntityTypeLike> = {
|
|
61
|
+
readonly [key in keyof TEntity['columns']]?: TEntity['columns'][key]['tsType'];
|
|
62
|
+
} & {
|
|
63
|
+
readonly [key in keyof TEntity['hasMany']]?: UpdateManyRelationInput<TEntity['hasMany'][key]>;
|
|
64
|
+
} & {
|
|
65
|
+
readonly [key in keyof TEntity['hasOne']]?: UpdateOneRelationInput<TEntity['hasOne'][key]>;
|
|
66
|
+
};
|
|
67
|
+
type UpdateInput<TEntity extends EntityTypeLike> = {
|
|
68
|
+
readonly by: UniqueWhere<TEntity>;
|
|
69
|
+
readonly filter?: Where<TEntity>;
|
|
70
|
+
readonly data: UpdateDataInput<TEntity>;
|
|
71
|
+
};
|
|
72
|
+
type UpsertInput<TEntity extends EntityTypeLike> = {
|
|
73
|
+
readonly by: UniqueWhere<TEntity>;
|
|
74
|
+
readonly filter?: Where<TEntity>;
|
|
75
|
+
readonly update: UpdateDataInput<TEntity>;
|
|
76
|
+
readonly create: CreateDataInput<TEntity>;
|
|
77
|
+
};
|
|
78
|
+
type CreateInput<TEntity extends EntityTypeLike> = {
|
|
79
|
+
readonly data: CreateDataInput<TEntity>;
|
|
80
|
+
};
|
|
81
|
+
type DeleteInput<TEntity extends EntityTypeLike> = {
|
|
82
|
+
readonly by: UniqueWhere<TEntity>;
|
|
83
|
+
readonly filter?: Where<TEntity>;
|
|
84
|
+
};
|
|
85
|
+
type UniqueQueryInput<TEntity extends EntityTypeLike> = {
|
|
86
|
+
readonly by: UniqueWhere<TEntity>;
|
|
87
|
+
readonly filter?: Where<TEntity>;
|
|
88
|
+
};
|
|
89
|
+
type ListQueryInput<TEntity extends EntityTypeLike> = {
|
|
90
|
+
readonly filter?: Where<TEntity>;
|
|
91
|
+
readonly orderBy?: readonly OrderBy<TEntity>[];
|
|
92
|
+
readonly offset?: number;
|
|
93
|
+
readonly limit?: number;
|
|
94
|
+
};
|
|
95
|
+
type PaginationQueryInput<TEntity extends EntityTypeLike> = {
|
|
96
|
+
readonly filter?: Where<TEntity>;
|
|
97
|
+
readonly orderBy?: readonly OrderBy<TEntity>[];
|
|
98
|
+
readonly skip?: number;
|
|
99
|
+
readonly first?: number;
|
|
100
|
+
};
|
|
101
|
+
type HasOneRelationInput<TEntity extends EntityTypeLike> = {
|
|
102
|
+
readonly filter?: Where<TEntity>;
|
|
103
|
+
};
|
|
104
|
+
type HasManyByRelationInput<TEntity extends EntityTypeLike, TUnique extends JSONObject> = {
|
|
105
|
+
readonly by: TUnique;
|
|
106
|
+
readonly filter?: Where<TEntity>;
|
|
107
|
+
};
|
|
108
|
+
type HasManyRelationInput<TEntity extends EntityTypeLike> = ListQueryInput<TEntity>;
|
|
109
|
+
type HasManyRelationPaginateInput<TEntity extends EntityTypeLike> = PaginationQueryInput<TEntity>;
|
|
110
|
+
type UpdateOneRelationInput<TEntity extends EntityTypeLike> = CreateRelationInput<TEntity> | ConnectRelationInput<TEntity> | ConnectOrCreateRelationInput<TEntity> | DeleteRelationInput | DisconnectRelationInput | UpdateRelationInput<TEntity> | UpsertRelationInput<TEntity>;
|
|
111
|
+
type UpdateManyRelationInputItem<TEntity extends EntityTypeLike> = CreateRelationInput<TEntity> | ConnectRelationInput<TEntity> | ConnectOrCreateRelationInput<TEntity> | DeleteSpecifiedRelationInput<TEntity> | DisconnectSpecifiedRelationInput<TEntity> | UpdateSpecifiedRelationInput<TEntity> | UpsertSpecifiedRelationInput<TEntity>;
|
|
112
|
+
type UpdateManyRelationInput<TEntity extends EntityTypeLike> = Array<UpdateManyRelationInputItem<TEntity>>;
|
|
113
|
+
type FieldOrderBy<TEntity extends EntityTypeLike> = {
|
|
114
|
+
readonly [key in keyof TEntity['columns']]?: `${Input.OrderDirection}` | null;
|
|
115
|
+
} & {
|
|
116
|
+
readonly [key in keyof TEntity['hasMany']]?: FieldOrderBy<TEntity['hasMany'][key]> | null;
|
|
117
|
+
} & {
|
|
118
|
+
readonly [key in keyof TEntity['hasOne']]?: FieldOrderBy<TEntity['hasOne'][key]> | null;
|
|
119
|
+
};
|
|
120
|
+
type OrderBy<TEntity extends EntityTypeLike> = {
|
|
121
|
+
readonly _random?: boolean;
|
|
122
|
+
readonly _randomSeeded?: number;
|
|
123
|
+
} & FieldOrderBy<TEntity>;
|
|
124
|
+
type UniqueWhere<TEntity extends EntityTypeLike> = TEntity['unique'];
|
|
125
|
+
type Where<TEntity extends EntityTypeLike> = {
|
|
126
|
+
readonly and?: (readonly (Where<TEntity>)[]) | null;
|
|
127
|
+
readonly or?: (readonly (Where<TEntity>)[]) | null;
|
|
128
|
+
readonly not?: Where<TEntity> | null;
|
|
129
|
+
} & {
|
|
130
|
+
readonly [key in keyof TEntity['columns']]?: Input.Condition<TEntity['columns'][key]> | null;
|
|
131
|
+
} & {
|
|
132
|
+
readonly [key in keyof TEntity['hasMany']]?: Where<TEntity['hasMany'][key]> | null;
|
|
133
|
+
} & {
|
|
134
|
+
readonly [key in keyof TEntity['hasOne']]?: Where<TEntity['hasOne'][key]> | null;
|
|
135
|
+
};
|
|
136
|
+
type AnyOrderBy = Input.OrderBy<`${Input.OrderDirection}`>[];
|
|
137
|
+
type AnyListQueryInput = Omit<Input.ListQueryInput, 'orderBy'> & {
|
|
138
|
+
readonly orderBy?: AnyOrderBy;
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/types/Input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,yBAAiB,kBAAkB,CAAC;IACnC,KAAY,oBAAoB,CAAC,OAAO,SAAS,cAAc,IAAI;QAClE,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;KACtC,CAAA;IAED,KAAY,mBAAmB,CAAC,OAAO,SAAS,cAAc,IAAI;QACjE,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;KACzC,CAAA;IAED,KAAY,oBAAoB,CAAC,OAAO,SAAS,cAAc,IAAI;QAClE,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;QACtC,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;KACzC,CAAA;IAED,KAAY,4BAA4B,CAAC,OAAO,SAAS,cAAc,IAAI;QAC1E,QAAQ,CAAC,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAA;KACvD,CAAA;IAED,KAAY,gCAAgC,CAAC,OAAO,SAAS,cAAc,IAAI;QAC9E,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;KACzC,CAAA;IAED,KAAY,4BAA4B,CAAC,OAAO,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CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QAClD,QAAQ,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;KACpC,GACC;QACD,QAAQ,EAAE,GAAG,IAAI,MAAM,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;KAC5F,GACC;QACD,QAAQ,EAAE,GAAG,IAAI,MAAM,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;KAClF,GACC;QACD,QAAQ,EAAE,GAAG,IAAI,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;KAChF,CAAA;IAGF,KAAY,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,cAAc,EAAE,CAAC,EAAE,CAAA;IACnE,KAAY,iBAAiB,GAC1B,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,GACrC;QAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,CAAA;KAAE,CAAA;CACpC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Result } from '@contember/schema';
|
|
2
|
+
export type TransactionResult<V> = {
|
|
3
|
+
readonly ok: boolean;
|
|
4
|
+
readonly errorMessage: string | null;
|
|
5
|
+
readonly errors: MutationError[];
|
|
6
|
+
readonly validation: ValidationResult;
|
|
7
|
+
readonly data: V;
|
|
8
|
+
};
|
|
9
|
+
export type MutationResult<Value = unknown> = {
|
|
10
|
+
readonly ok: boolean;
|
|
11
|
+
readonly errorMessage: string | null;
|
|
12
|
+
readonly errors: MutationError[];
|
|
13
|
+
readonly node: Value | null;
|
|
14
|
+
readonly validation?: ValidationResult;
|
|
15
|
+
};
|
|
16
|
+
export type ValidationResult = {
|
|
17
|
+
readonly valid: boolean;
|
|
18
|
+
readonly errors: ValidationError[];
|
|
19
|
+
};
|
|
20
|
+
export type ValidationError = {
|
|
21
|
+
readonly path: Path;
|
|
22
|
+
readonly message: {
|
|
23
|
+
text: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type MutationError = {
|
|
27
|
+
readonly paths: Path[];
|
|
28
|
+
readonly message: string;
|
|
29
|
+
readonly type: Result.ExecutionErrorType;
|
|
30
|
+
};
|
|
31
|
+
export type Path = Array<FieldPath | IndexPath>;
|
|
32
|
+
export type FieldPath = {
|
|
33
|
+
readonly field: string;
|
|
34
|
+
};
|
|
35
|
+
export type IndexPath = {
|
|
36
|
+
readonly index: number;
|
|
37
|
+
readonly alias: string | null;
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=Result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Result.d.ts","sourceRoot":"","sources":["../../../src/types/Result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IAClC,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IACpC,QAAQ,CAAC,MAAM,EAAE,aAAa,EAAE,CAAA;IAChC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAA;IACrC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,cAAc,CAAC,KAAK,GAAG,OAAO,IAAI;IAC7C,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IACpC,QAAQ,CAAC,MAAM,EAAE,aAAa,EAAE,CAAA;IAChC,QAAQ,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC7B,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;IACnB,QAAQ,CAAC,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC3B,QAAQ,CAAC,KAAK,EAAE,IAAI,EAAE,CAAA;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,IAAI,GAAG,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC,CAAA;AAE/C,MAAM,MAAM,SAAS,GAAG;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,SAAS,GAAG;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { JSONObject } from '@contember/schema';
|
|
2
|
+
export type SchemaEntityNames<Name extends string> = {
|
|
3
|
+
readonly name: Name;
|
|
4
|
+
readonly scalars: string[];
|
|
5
|
+
readonly fields: {
|
|
6
|
+
readonly [fieldName: string]: {
|
|
7
|
+
readonly type: 'column';
|
|
8
|
+
} | {
|
|
9
|
+
readonly type: 'many' | 'one';
|
|
10
|
+
readonly entity: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type SchemaNames = {
|
|
15
|
+
entities: {
|
|
16
|
+
[entityName: string]: SchemaEntityNames<string>;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export type EntityTypeLike = {
|
|
20
|
+
name: string;
|
|
21
|
+
unique: JSONObject;
|
|
22
|
+
columns: {
|
|
23
|
+
[columnName: string]: any;
|
|
24
|
+
};
|
|
25
|
+
hasOne: {
|
|
26
|
+
[relationName: string]: EntityTypeLike;
|
|
27
|
+
};
|
|
28
|
+
hasMany: {
|
|
29
|
+
[relationName: string]: EntityTypeLike;
|
|
30
|
+
};
|
|
31
|
+
hasManyBy: {
|
|
32
|
+
[relationName: string]: {
|
|
33
|
+
entity: EntityTypeLike;
|
|
34
|
+
by: JSONObject;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export type SchemaTypeLike = {
|
|
39
|
+
entities: {
|
|
40
|
+
[entityName: string]: EntityTypeLike;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/types/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,MAAM,MAAM,iBAAiB,CAAC,IAAI,SAAS,MAAM,IAAI;IACpD,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;IACnB,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,CAAA;IAC1B,QAAQ,CAAC,MAAM,EAAE;QAChB,QAAQ,EAAE,SAAS,EAAE,MAAM,GACxB;YACD,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAA;SACvB,GACC;YACD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAA;YAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;SACvB,CAAA;KACF,CAAA;CACD,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE;QACT,CAAC,UAAU,EAAE,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAA;KAC/C,CAAA;CACD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,OAAO,EAAE;QACR,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,CAAA;KACzB,CAAA;IACD,MAAM,EAAE;QACP,CAAC,YAAY,EAAE,MAAM,GAAG,cAAc,CAAA;KACtC,CAAA;IACD,OAAO,EAAE;QACR,CAAC,YAAY,EAAE,MAAM,GAAG,cAAc,CAAA;KACtC,CAAA;IACD,SAAS,EAAE;QACV,CAAC,YAAY,EAAE,MAAM,GAAG;YACvB,MAAM,EAAE,cAAc,CAAA;YACtB,EAAE,EAAE,UAAU,CAAA;SACd,CAAA;KACD,CAAA;CACD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B,QAAQ,EAAE;QACT,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,CAAA;KACpC,CAAA;CACD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GraphQlSelectionSet } from '@contember/graphql-builder';
|
|
2
|
+
export declare class ContentOperationSet<TValue> {
|
|
3
|
+
/** @internal */
|
|
4
|
+
readonly selection: GraphQlSelectionSet;
|
|
5
|
+
/** @internal */
|
|
6
|
+
readonly parse: (value: any) => TValue;
|
|
7
|
+
constructor(
|
|
8
|
+
/** @internal */
|
|
9
|
+
selection: GraphQlSelectionSet,
|
|
10
|
+
/** @internal */
|
|
11
|
+
parse?: (value: any) => TValue);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=ContentOperationSet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentOperationSet.d.ts","sourceRoot":"","sources":["../../../src/utils/ContentOperationSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAEhE,qBAAa,mBAAmB,CAAC,MAAM;IAErC,gBAAgB;aACA,SAAS,EAAE,mBAAmB;IAC9C,gBAAgB;aACA,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,MAAM;;IAH7C,gBAAgB;IACA,SAAS,EAAE,mBAAmB;IAC9C,gBAAgB;IACA,KAAK,GAAE,CAAC,KAAK,EAAE,GAAG,KAAK,MAA2B;CAGnE"}
|