@rxdrag/rxcms-models 0.3.64 → 0.3.66

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.
Files changed (49) hide show
  1. package/dist/classes/LangQueryOptions.d.ts +10 -0
  2. package/dist/classes/MediaQueryOptions.d.ts +5 -0
  3. package/dist/classes/QueryOptions.d.ts +5 -5
  4. package/dist/classes/TaskQueryOptions.d.ts +20 -0
  5. package/dist/classes/VideoFolderQueryOptions.d.ts +26 -0
  6. package/dist/classes/VideoQueryOptions.d.ts +31 -0
  7. package/dist/classes/WebsiteQueryOptions.d.ts +10 -0
  8. package/dist/classes/index.d.ts +3 -0
  9. package/dist/entries/index.d.ts +3 -0
  10. package/dist/entries/taskEntry.d.ts +2 -0
  11. package/dist/entries/videoEntry.d.ts +2 -0
  12. package/dist/entries/videoFolderEntry.d.ts +2 -0
  13. package/dist/fields/LangFields.d.ts +4 -0
  14. package/dist/fields/MediaFields.d.ts +3 -1
  15. package/dist/fields/TaskFields.d.ts +18 -0
  16. package/dist/fields/VideoFields.d.ts +20 -0
  17. package/dist/fields/VideoFolderFields.d.ts +17 -0
  18. package/dist/fields/WebsiteFields.d.ts +4 -0
  19. package/dist/fields/index.d.ts +3 -0
  20. package/dist/index.mjs +554 -19
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/interfaces/Lang.d.ts +6 -0
  23. package/dist/interfaces/LangBoolExp.d.ts +4 -0
  24. package/dist/interfaces/LangInput.d.ts +4 -0
  25. package/dist/interfaces/Media.d.ts +3 -0
  26. package/dist/interfaces/MediaBoolExp.d.ts +2 -0
  27. package/dist/interfaces/MediaInput.d.ts +2 -0
  28. package/dist/interfaces/Task.d.ts +20 -0
  29. package/dist/interfaces/TaskBoolExp.d.ts +25 -0
  30. package/dist/interfaces/TaskDistinctExp.d.ts +17 -0
  31. package/dist/interfaces/TaskInput.d.ts +21 -0
  32. package/dist/interfaces/TaskOrderBy.d.ts +17 -0
  33. package/dist/interfaces/TaskStatus.d.ts +18 -0
  34. package/dist/interfaces/TaskType.d.ts +26 -0
  35. package/dist/interfaces/Video.d.ts +27 -0
  36. package/dist/interfaces/VideoBoolExp.d.ts +29 -0
  37. package/dist/interfaces/VideoDistinctExp.d.ts +15 -0
  38. package/dist/interfaces/VideoFolder.d.ts +23 -0
  39. package/dist/interfaces/VideoFolderBoolExp.d.ts +24 -0
  40. package/dist/interfaces/VideoFolderDistinctExp.d.ts +10 -0
  41. package/dist/interfaces/VideoFolderInput.d.ts +23 -0
  42. package/dist/interfaces/VideoFolderOrderBy.d.ts +11 -0
  43. package/dist/interfaces/VideoInput.d.ts +28 -0
  44. package/dist/interfaces/VideoOrderBy.d.ts +16 -0
  45. package/dist/interfaces/Website.d.ts +6 -0
  46. package/dist/interfaces/WebsiteBoolExp.d.ts +4 -0
  47. package/dist/interfaces/WebsiteInput.d.ts +4 -0
  48. package/dist/interfaces/index.d.ts +17 -0
  49. package/package.json +4 -4
@@ -31,6 +31,12 @@ import { SpamFilterRuleBoolExp } from '../interfaces';
31
31
  import { MediaQueryOptions } from './MediaQueryOptions';
32
32
  import { Media } from '../interfaces';
33
33
  import { MediaBoolExp } from '../interfaces';
34
+ import { VideoFolderQueryOptions } from './VideoFolderQueryOptions';
35
+ import { VideoFolder } from '../interfaces';
36
+ import { VideoFolderBoolExp } from '../interfaces';
37
+ import { VideoQueryOptions } from './VideoQueryOptions';
38
+ import { Video } from '../interfaces';
39
+ import { VideoBoolExp } from '../interfaces';
34
40
  import { WebsiteQueryOptions } from './WebsiteQueryOptions';
35
41
  import { Website } from '../interfaces';
36
42
  import { WebsiteBoolExp } from '../interfaces';
@@ -84,6 +90,10 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
84
90
  webPartsOfSpamFilterRuleAggregate(aggregate: IAggregate<SpamFilterRuleBoolExp>): this;
85
91
  webPartsOfMedia(options?: MediaQueryOptions | (keyof Media)[]): this;
86
92
  webPartsOfMediaAggregate(aggregate: IAggregate<MediaBoolExp>): this;
93
+ webPartsOfVideoFolder(options?: VideoFolderQueryOptions | (keyof VideoFolder)[]): this;
94
+ webPartsOfVideoFolderAggregate(aggregate: IAggregate<VideoFolderBoolExp>): this;
95
+ webPartsOfVideo(options?: VideoQueryOptions | (keyof Video)[]): this;
96
+ webPartsOfVideoAggregate(aggregate: IAggregate<VideoBoolExp>): this;
87
97
  websites(options?: WebsiteQueryOptions | (keyof Website)[]): this;
88
98
  websitesAggregate(aggregate: IAggregate<WebsiteBoolExp>): this;
89
99
  baseLangOf(options?: WebsiteQueryOptions | (keyof Website)[]): this;
@@ -35,6 +35,9 @@ import { PageMetaBoolExp } from '../interfaces';
35
35
  import { SearchIndexQueryOptions } from './SearchIndexQueryOptions';
36
36
  import { SearchIndex } from '../interfaces';
37
37
  import { SearchIndexBoolExp } from '../interfaces';
38
+ import { VideoQueryOptions } from './VideoQueryOptions';
39
+ import { Video } from '../interfaces';
40
+ import { VideoBoolExp } from '../interfaces';
38
41
  export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp, MediaOrderBy, MediaDistinctExp> {
39
42
  constructor(fields?: (keyof Media)[], queryArgs?: IQueryArgs<MediaBoolExp, MediaOrderBy, MediaDistinctExp>);
40
43
  id(): this;
@@ -69,4 +72,6 @@ export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp,
69
72
  pageMetaAggregate(aggregate: IAggregate<PageMetaBoolExp>): this;
70
73
  searchIndex(options?: SearchIndexQueryOptions | (keyof SearchIndex)[]): this;
71
74
  searchIndexAggregate(aggregate: IAggregate<SearchIndexBoolExp>): this;
75
+ coverOfVideo(options?: VideoQueryOptions | (keyof Video)[]): this;
76
+ coverOfVideoAggregate(aggregate: IAggregate<VideoBoolExp>): this;
72
77
  }
@@ -1,27 +1,27 @@
1
1
  import { Aggregates, Associations, IAggregate, IEntity, IGqlQueryOptions, IQueryArgs, IQueryOptions, ObjectFields } from "@rxdrag/entify-lib";
2
2
  export declare class QueryOptions<T extends IEntity = IEntity, WhereExp = unknown, OrderBy = unknown, DistinctExp = unknown> implements IQueryOptions<T, WhereExp, OrderBy, DistinctExp> {
3
3
  entityName: string;
4
- protected _fields: (keyof T)[];
4
+ protected _fields: string[];
5
5
  protected _associations: Associations;
6
6
  protected _objectFields: ObjectFields;
7
7
  protected _aggregates: Aggregates;
8
8
  protected _queryArgs?: IQueryArgs<WhereExp, OrderBy, DistinctExp>;
9
9
  protected _noQuery?: boolean;
10
- constructor(entityName: string, fields?: (keyof T)[], queryArgs?: IQueryArgs<WhereExp, OrderBy, DistinctExp>);
11
- getFields: () => (keyof T)[];
10
+ constructor(entityName: string, fields?: string[], queryArgs?: IQueryArgs<WhereExp, OrderBy, DistinctExp>);
11
+ getFields: () => string[];
12
12
  getObjectFields: () => ObjectFields;
13
13
  getAssociations: () => Associations;
14
14
  getAggegates: () => Aggregates | undefined;
15
15
  setAssociations: (association?: Associations) => this;
16
16
  getQueryArgs: () => IQueryArgs<WhereExp, OrderBy, DistinctExp> | undefined;
17
17
  getNoQuery: () => boolean | undefined;
18
- addField: (...fields: (keyof T)[]) => this;
18
+ addField: (...fields: string[]) => this;
19
19
  addAssociation: (name: string, entityName: string, association?: IQueryOptions<any>) => this;
20
20
  addObjectField: (name: string, fields: string[]) => this;
21
21
  addAggregate: (name: string, aggregate: IAggregate) => this;
22
22
  setQueryArgs: (queryArgs?: IQueryArgs<WhereExp, OrderBy, DistinctExp>) => this;
23
23
  setNoQuery: (noQuery?: boolean) => this;
24
- setFields: (fields: (keyof T)[]) => this;
24
+ setFields: (fields: string[]) => this;
25
25
  toGqlOptions: () => IGqlQueryOptions<T, WhereExp, OrderBy, DistinctExp>;
26
26
  private queryOptionsToGql;
27
27
  }
@@ -0,0 +1,20 @@
1
+ import { IQueryArgs } from "@rxdrag/entify-lib";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { Task, TaskBoolExp, TaskDistinctExp, TaskOrderBy } from "../interfaces";
4
+ export declare class TaskQueryOptions extends QueryOptions<Task, TaskBoolExp, TaskOrderBy, TaskDistinctExp> {
5
+ constructor(fields?: (keyof Task)[], queryArgs?: IQueryArgs<TaskBoolExp, TaskOrderBy, TaskDistinctExp>);
6
+ id(): this;
7
+ celeryTaskId(): this;
8
+ type(): this;
9
+ websiteId(): this;
10
+ themeId(): this;
11
+ name(): this;
12
+ message(): this;
13
+ status(): this;
14
+ params(): this;
15
+ result(): this;
16
+ createdAt(): this;
17
+ updatedAt(): this;
18
+ startedAt(): this;
19
+ endedAt(): this;
20
+ }
@@ -0,0 +1,26 @@
1
+ import { IAggregate, IQueryArgs } from "@rxdrag/entify-lib";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { VideoFolder, VideoFolderBoolExp, VideoFolderDistinctExp, VideoFolderOrderBy } from "../interfaces";
4
+ import { LangQueryOptions } from './LangQueryOptions';
5
+ import { Lang } from '../interfaces';
6
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
7
+ import { Website } from '../interfaces';
8
+ import { VideoQueryOptions } from './VideoQueryOptions';
9
+ import { Video } from '../interfaces';
10
+ import { VideoBoolExp } from '../interfaces';
11
+ export declare class VideoFolderQueryOptions extends QueryOptions<VideoFolder, VideoFolderBoolExp, VideoFolderOrderBy, VideoFolderDistinctExp> {
12
+ constructor(fields?: (keyof VideoFolder)[], queryArgs?: IQueryArgs<VideoFolderBoolExp, VideoFolderOrderBy, VideoFolderDistinctExp>);
13
+ id(): this;
14
+ name(): this;
15
+ seqValue(): this;
16
+ createdAt(): this;
17
+ updatedAt(): this;
18
+ content(): this;
19
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
20
+ children(options?: VideoFolderQueryOptions | (keyof VideoFolder)[]): this;
21
+ childrenAggregate(aggregate: IAggregate<VideoFolderBoolExp>): this;
22
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
23
+ videos(options?: VideoQueryOptions | (keyof Video)[]): this;
24
+ videosAggregate(aggregate: IAggregate<VideoBoolExp>): this;
25
+ parent(options?: VideoFolderQueryOptions | (keyof VideoFolder)[]): this;
26
+ }
@@ -0,0 +1,31 @@
1
+ import { IAggregate, IQueryArgs } from "@rxdrag/entify-lib";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { Video, VideoBoolExp, VideoDistinctExp, VideoOrderBy } from "../interfaces";
4
+ import { LangQueryOptions } from './LangQueryOptions';
5
+ import { Lang } from '../interfaces';
6
+ import { VideoFolderQueryOptions } from './VideoFolderQueryOptions';
7
+ import { VideoFolder } from '../interfaces';
8
+ import { MediaQueryOptions } from './MediaQueryOptions';
9
+ import { Media } from '../interfaces';
10
+ import { MediaBoolExp } from '../interfaces';
11
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
12
+ import { Website } from '../interfaces';
13
+ export declare class VideoQueryOptions extends QueryOptions<Video, VideoBoolExp, VideoOrderBy, VideoDistinctExp> {
14
+ constructor(fields?: (keyof Video)[], queryArgs?: IQueryArgs<VideoBoolExp, VideoOrderBy, VideoDistinctExp>);
15
+ id(): this;
16
+ name(): this;
17
+ size(): this;
18
+ mimeType(): this;
19
+ extName(): this;
20
+ description(): this;
21
+ url(): this;
22
+ videoId(): this;
23
+ createdAt(): this;
24
+ updatedAt(): this;
25
+ content(): this;
26
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
27
+ folder(options?: VideoFolderQueryOptions | (keyof VideoFolder)[]): this;
28
+ cover(options?: MediaQueryOptions | (keyof Media)[]): this;
29
+ coverAggregate(aggregate: IAggregate<MediaBoolExp>): this;
30
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
31
+ }
@@ -36,6 +36,12 @@ import { SpamFilterRuleBoolExp } from '../interfaces';
36
36
  import { MediaQueryOptions } from './MediaQueryOptions';
37
37
  import { Media } from '../interfaces';
38
38
  import { MediaBoolExp } from '../interfaces';
39
+ import { VideoFolderQueryOptions } from './VideoFolderQueryOptions';
40
+ import { VideoFolder } from '../interfaces';
41
+ import { VideoFolderBoolExp } from '../interfaces';
42
+ import { VideoQueryOptions } from './VideoQueryOptions';
43
+ import { Video } from '../interfaces';
44
+ import { VideoBoolExp } from '../interfaces';
39
45
  import { LangQueryOptions } from './LangQueryOptions';
40
46
  import { Lang } from '../interfaces';
41
47
  import { LangBoolExp } from '../interfaces';
@@ -109,6 +115,10 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
109
115
  partsOfSpamFilterRuleAggregate(aggregate: IAggregate<SpamFilterRuleBoolExp>): this;
110
116
  partsOfMedia(options?: MediaQueryOptions | (keyof Media)[]): this;
111
117
  partsOfMediaAggregate(aggregate: IAggregate<MediaBoolExp>): this;
118
+ partsOfVideoFolder(options?: VideoFolderQueryOptions | (keyof VideoFolder)[]): this;
119
+ partsOfVideoFolderAggregate(aggregate: IAggregate<VideoFolderBoolExp>): this;
120
+ partsOfVideo(options?: VideoQueryOptions | (keyof Video)[]): this;
121
+ partsOfVideoAggregate(aggregate: IAggregate<VideoBoolExp>): this;
112
122
  langs(options?: LangQueryOptions | (keyof Lang)[]): this;
113
123
  langsAggregate(aggregate: IAggregate<LangBoolExp>): this;
114
124
  baseLang(options?: LangQueryOptions | (keyof Lang)[]): this;
@@ -33,5 +33,8 @@ export * from './TemplateCategoryQueryOptions';
33
33
  export * from './StyleConfigQueryOptions';
34
34
  export * from './ChangeLogQueryOptions';
35
35
  export * from './SearchIndexQueryOptions';
36
+ export * from './VideoFolderQueryOptions';
37
+ export * from './VideoQueryOptions';
38
+ export * from './TaskQueryOptions';
36
39
  export * from './QueryOptions';
37
40
  export * from './metainfo';
@@ -33,3 +33,6 @@ export * from './templateCategoryEntry';
33
33
  export * from './styleConfigEntry';
34
34
  export * from './changeLogEntry';
35
35
  export * from './searchIndexEntry';
36
+ export * from './videoFolderEntry';
37
+ export * from './videoEntry';
38
+ export * from './taskEntry';
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-lib";
2
+ export declare const taskEntry: EntityEntry;
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-lib";
2
+ export declare const videoEntry: EntityEntry;
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-lib";
2
+ export declare const videoFolderEntry: EntityEntry;
@@ -46,6 +46,10 @@ export declare enum LangAssciations {
46
46
  webPartsOfSpamFilterRuleAggregate = "webPartsOfSpamFilterRuleAggregate",
47
47
  webPartsOfMedia = "webPartsOfMedia",
48
48
  webPartsOfMediaAggregate = "webPartsOfMediaAggregate",
49
+ webPartsOfVideoFolder = "webPartsOfVideoFolder",
50
+ webPartsOfVideoFolderAggregate = "webPartsOfVideoFolderAggregate",
51
+ webPartsOfVideo = "webPartsOfVideo",
52
+ webPartsOfVideoAggregate = "webPartsOfVideoAggregate",
49
53
  websites = "websites",
50
54
  websitesAggregate = "websitesAggregate",
51
55
  baseLangOf = "baseLangOf",
@@ -32,5 +32,7 @@ export declare enum MediaAssciations {
32
32
  pageMeta = "pageMeta",
33
33
  pageMetaAggregate = "pageMetaAggregate",
34
34
  searchIndex = "searchIndex",
35
- searchIndexAggregate = "searchIndexAggregate"
35
+ searchIndexAggregate = "searchIndexAggregate",
36
+ coverOfVideo = "coverOfVideo",
37
+ coverOfVideoAggregate = "coverOfVideoAggregate"
36
38
  }
@@ -0,0 +1,18 @@
1
+ export declare enum TaskFields {
2
+ id = "id",
3
+ celeryTaskId = "celeryTaskId",
4
+ type = "type",
5
+ websiteId = "websiteId",
6
+ themeId = "themeId",
7
+ name = "name",
8
+ message = "message",
9
+ status = "status",
10
+ params = "params",
11
+ result = "result",
12
+ createdAt = "createdAt",
13
+ updatedAt = "updatedAt",
14
+ startedAt = "startedAt",
15
+ endedAt = "endedAt"
16
+ }
17
+ export declare enum TaskAssciations {
18
+ }
@@ -0,0 +1,20 @@
1
+ export declare enum VideoFields {
2
+ id = "id",
3
+ name = "name",
4
+ size = "size",
5
+ mimeType = "mimeType",
6
+ extName = "extName",
7
+ description = "description",
8
+ url = "url",
9
+ videoId = "videoId",
10
+ createdAt = "createdAt",
11
+ updatedAt = "updatedAt",
12
+ content = "content"
13
+ }
14
+ export declare enum VideoAssciations {
15
+ lang = "lang",
16
+ folder = "folder",
17
+ cover = "cover",
18
+ coverAggregate = "coverAggregate",
19
+ website = "website"
20
+ }
@@ -0,0 +1,17 @@
1
+ export declare enum VideoFolderFields {
2
+ id = "id",
3
+ name = "name",
4
+ seqValue = "seqValue",
5
+ createdAt = "createdAt",
6
+ updatedAt = "updatedAt",
7
+ content = "content"
8
+ }
9
+ export declare enum VideoFolderAssciations {
10
+ lang = "lang",
11
+ children = "children",
12
+ childrenAggregate = "childrenAggregate",
13
+ website = "website",
14
+ videos = "videos",
15
+ videosAggregate = "videosAggregate",
16
+ parent = "parent"
17
+ }
@@ -56,6 +56,10 @@ export declare enum WebsiteAssciations {
56
56
  partsOfSpamFilterRuleAggregate = "partsOfSpamFilterRuleAggregate",
57
57
  partsOfMedia = "partsOfMedia",
58
58
  partsOfMediaAggregate = "partsOfMediaAggregate",
59
+ partsOfVideoFolder = "partsOfVideoFolder",
60
+ partsOfVideoFolderAggregate = "partsOfVideoFolderAggregate",
61
+ partsOfVideo = "partsOfVideo",
62
+ partsOfVideoAggregate = "partsOfVideoAggregate",
59
63
  langs = "langs",
60
64
  langsAggregate = "langsAggregate",
61
65
  baseLang = "baseLang",
@@ -33,3 +33,6 @@ export * from './TemplateCategoryFields';
33
33
  export * from './StyleConfigFields';
34
34
  export * from './ChangeLogFields';
35
35
  export * from './SearchIndexFields';
36
+ export * from './VideoFolderFields';
37
+ export * from './VideoFields';
38
+ export * from './TaskFields';