@lenne.tech/ng-base 13.11.0 → 13.12.0

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/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "angular-library",
11
11
  "angular13+"
12
12
  ],
13
- "version": "13.11.0",
13
+ "version": "13.12.0",
14
14
  "author": "lenne.Tech <info@lenne.tech> (https://lenne.tech)",
15
15
  "homepage": "https://github.com/lenneTech/ng-base",
16
16
  "license": "MIT",
@@ -2,6 +2,7 @@ import { GraphQLNamedType, GraphQLSchema } from 'graphql';
2
2
  import { GraphQLRequestType } from '../enums/graphql-request-type.enum';
3
3
  import { GraphQLType } from './graphql-type.class';
4
4
  import { IGraphQLTypeCollection } from '../interfaces/graphql-type-collection.interface';
5
+ import { GraphqlCrudType } from '../interfaces/graphql-crud-type.interface';
5
6
  /**
6
7
  * GraphQL meta
7
8
  */
@@ -20,12 +21,7 @@ export declare class GraphQLMeta {
20
21
  *
21
22
  * @returns An array of objects with the name of the model, and the CRUD operations that are available for that model.
22
23
  */
23
- getTypes(): [{
24
- name: string;
25
- create: boolean;
26
- update: boolean;
27
- delete: boolean;
28
- }];
24
+ getTypes(): GraphqlCrudType[];
29
25
  /**
30
26
  * Get arguments of GraphQL function
31
27
  */
@@ -0,0 +1,6 @@
1
+ export interface GraphqlCrudType {
2
+ name: string;
3
+ create: boolean;
4
+ update: boolean;
5
+ delete: boolean;
6
+ }
@@ -43,6 +43,7 @@ export * from './interfaces/find-args.interface';
43
43
  export * from './interfaces/time-components.interface';
44
44
  export * from './interfaces/toast.interface';
45
45
  export * from './interfaces/breadcrumb.interface';
46
+ export * from './interfaces/graphql-crud-type.interface';
46
47
  export * from './types/storage.type';
47
48
  export * from './types/graphql-fields.type';
48
49
  export * from './validators/match.validator';