@things-factory/operato-codelingua 6.1.66 → 7.0.7
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/README.md +66 -21
- package/_index.html +20 -11
- package/assets/images/hatiolab-logo.png +0 -0
- package/assets/images/user.png +0 -0
- package/assets/manifest.json +4 -4
- package/client/bootstrap.ts +199 -1
- package/client/icons/menu-icons.ts +91 -0
- package/client/pages/git-project/git-project-list-page.ts +334 -0
- package/client/route.ts +5 -7
- package/client/themes/dark.css +51 -0
- package/client/themes/light.css +51 -0
- package/client/viewparts/menu-tools.ts +170 -0
- package/client/viewparts/user-circle.ts +24 -0
- package/config/config.development.js +1 -5
- package/config/config.production.js +1 -5
- package/db.sqlite +0 -0
- package/dist-client/bootstrap.d.ts +7 -0
- package/dist-client/bootstrap.js +172 -0
- package/dist-client/bootstrap.js.map +1 -0
- package/dist-client/icons/menu-icons.d.ts +5 -0
- package/dist-client/icons/menu-icons.js +84 -0
- package/dist-client/icons/menu-icons.js.map +1 -0
- package/dist-client/index.d.ts +0 -0
- package/dist-client/index.js +2 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/pages/git-project/git-project-list-page.d.ts +53 -0
- package/dist-client/pages/git-project/git-project-list-page.js +318 -0
- package/dist-client/pages/git-project/git-project-list-page.js.map +1 -0
- package/dist-client/route.d.ts +1 -0
- package/dist-client/route.js +8 -0
- package/dist-client/route.js.map +1 -0
- package/dist-client/themes/dark.css +51 -0
- package/dist-client/themes/light.css +51 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-client/viewparts/menu-tools.d.ts +17 -0
- package/dist-client/viewparts/menu-tools.js +172 -0
- package/dist-client/viewparts/menu-tools.js.map +1 -0
- package/dist-client/viewparts/user-circle.d.ts +5 -0
- package/dist-client/viewparts/user-circle.js +26 -0
- package/dist-client/viewparts/user-circle.js.map +1 -0
- package/dist-server/controllers/github-controller.d.ts +2 -0
- package/dist-server/controllers/github-controller.js +78 -0
- package/dist-server/controllers/github-controller.js.map +1 -0
- package/dist-server/controllers/index.d.ts +0 -0
- package/dist-server/index.d.ts +4 -0
- package/dist-server/index.js +3 -0
- package/dist-server/index.js.map +1 -1
- package/dist-server/middlewares/index.d.ts +1 -0
- package/dist-server/middlewares/index.js +7 -0
- package/dist-server/middlewares/index.js.map +1 -0
- package/dist-server/migrations/index.d.ts +1 -0
- package/dist-server/migrations/index.js +12 -0
- package/dist-server/migrations/index.js.map +1 -0
- package/dist-server/routers/github-webhook-router.d.ts +1 -0
- package/dist-server/routers/github-webhook-router.js +16 -0
- package/dist-server/routers/github-webhook-router.js.map +1 -0
- package/dist-server/routes.d.ts +1 -0
- package/dist-server/routes.js +4 -1
- package/dist-server/routes.js.map +1 -1
- package/dist-server/service/git-project/git-project-mutation.d.ts +10 -0
- package/dist-server/service/git-project/git-project-mutation.js +127 -0
- package/dist-server/service/git-project/git-project-mutation.js.map +1 -0
- package/dist-server/service/git-project/git-project-query.d.ts +11 -0
- package/dist-server/service/git-project/git-project-query.js +79 -0
- package/dist-server/service/git-project/git-project-query.js.map +1 -0
- package/dist-server/service/git-project/git-project-type.d.ts +20 -0
- package/dist-server/service/git-project/git-project-type.js +77 -0
- package/dist-server/service/git-project/git-project-type.js.map +1 -0
- package/dist-server/service/git-project/git-project.d.ts +22 -0
- package/dist-server/service/git-project/git-project.js +95 -0
- package/dist-server/service/git-project/git-project.js.map +1 -0
- package/dist-server/service/git-project/index.d.ts +6 -0
- package/dist-server/service/git-project/index.js +10 -0
- package/dist-server/service/git-project/index.js.map +1 -0
- package/dist-server/service/index.d.ts +5 -0
- package/dist-server/service/index.js +8 -3
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/helps/operato-codelingua/git-project.md +160 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +17 -12
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +35 -0
- package/logs/application-2024-07-07-17.log +156 -0
- package/logs/application-2024-07-07-20.log +81 -0
- package/logs/application-2024-07-08-00.log +81 -0
- package/logs/application-2024-07-08-01.log +83 -0
- package/logs/application-2024-07-08-02.log +81 -0
- package/logs/connections-2024-07-07-17.log +41 -0
- package/logs/connections-2024-07-07-20.log +41 -0
- package/logs/connections-2024-07-08-00.log +41 -0
- package/logs/connections-2024-07-08-01.log +41 -0
- package/logs/connections-2024-07-08-02.log +41 -0
- package/package.json +57 -18
- package/schema.graphql +4259 -0
- package/server/controllers/github-controller.ts +73 -0
- package/server/index.ts +4 -0
- package/server/middlewares/index.ts +3 -0
- package/server/migrations/index.ts +9 -0
- package/server/routers/github-webhook-router.ts +21 -0
- package/server/routes.ts +3 -1
- package/server/service/git-project/git-project-mutation.ts +136 -0
- package/server/service/git-project/git-project-query.ts +48 -0
- package/server/service/git-project/git-project-type.ts +55 -0
- package/server/service/git-project/git-project.ts +84 -0
- package/server/service/git-project/index.ts +7 -0
- package/server/service/index.ts +8 -0
- package/things-factory.config.js +8 -0
- package/translations/en.json +3 -1
- package/translations/ja.json +3 -1
- package/translations/ko.json +3 -1
- package/translations/ms.json +3 -1
- package/translations/zh.json +3 -1
- package/views/auth-page.html +12 -8
- package/views/public/home.html +12 -9
- package/client/pages/main.ts +0 -33
- package/client/themes/app-theme.css +0 -142
- package/config.development.js +0 -7
- package/logs/application-2023-06-25-11.log +0 -12
- package/logs/application-2023-06-25-12.log +0 -34
- package/logs/application-2023-06-25-13.log +0 -8
- package/schema.gql +0 -841
- package/things-factory.config.ts +0 -13
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GitProjectQuery = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const type_graphql_1 = require("type-graphql");
|
|
6
|
+
const shell_1 = require("@things-factory/shell");
|
|
7
|
+
const auth_base_1 = require("@things-factory/auth-base");
|
|
8
|
+
const git_project_1 = require("./git-project");
|
|
9
|
+
const git_project_type_1 = require("./git-project-type");
|
|
10
|
+
let GitProjectQuery = class GitProjectQuery {
|
|
11
|
+
async gitProject(id, context) {
|
|
12
|
+
const { domain } = context.state;
|
|
13
|
+
return await (0, shell_1.getRepository)(git_project_1.GitProject).findOne({
|
|
14
|
+
where: { domain: { id: domain.id }, id }
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async gitProjects(params, context) {
|
|
18
|
+
const { domain } = context.state;
|
|
19
|
+
const queryBuilder = (0, shell_1.getQueryBuilderFromListParams)({
|
|
20
|
+
domain,
|
|
21
|
+
params,
|
|
22
|
+
repository: await (0, shell_1.getRepository)(git_project_1.GitProject),
|
|
23
|
+
searchables: ['name', 'description']
|
|
24
|
+
});
|
|
25
|
+
const [items, total] = await queryBuilder.getManyAndCount();
|
|
26
|
+
return { items, total };
|
|
27
|
+
}
|
|
28
|
+
async domain(gitProject) {
|
|
29
|
+
return gitProject.domainId && (await (0, shell_1.getRepository)(shell_1.Domain).findOneBy({ id: gitProject.domainId }));
|
|
30
|
+
}
|
|
31
|
+
async updater(gitProject) {
|
|
32
|
+
return gitProject.updaterId && (await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: gitProject.updaterId }));
|
|
33
|
+
}
|
|
34
|
+
async creator(gitProject) {
|
|
35
|
+
return gitProject.creatorId && (await (0, shell_1.getRepository)(auth_base_1.User).findOneBy({ id: gitProject.creatorId }));
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
exports.GitProjectQuery = GitProjectQuery;
|
|
39
|
+
tslib_1.__decorate([
|
|
40
|
+
(0, type_graphql_1.Query)(returns => git_project_1.GitProject, { nullable: true, description: 'To fetch a GitProject' }),
|
|
41
|
+
tslib_1.__param(0, (0, type_graphql_1.Arg)('id')),
|
|
42
|
+
tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
|
|
43
|
+
tslib_1.__metadata("design:type", Function),
|
|
44
|
+
tslib_1.__metadata("design:paramtypes", [String, Object]),
|
|
45
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
46
|
+
], GitProjectQuery.prototype, "gitProject", null);
|
|
47
|
+
tslib_1.__decorate([
|
|
48
|
+
(0, type_graphql_1.Query)(returns => git_project_type_1.GitProjectList, { description: 'To fetch multiple GitProjects' }),
|
|
49
|
+
tslib_1.__param(0, (0, type_graphql_1.Args)(type => shell_1.ListParam)),
|
|
50
|
+
tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
|
|
51
|
+
tslib_1.__metadata("design:type", Function),
|
|
52
|
+
tslib_1.__metadata("design:paramtypes", [shell_1.ListParam, Object]),
|
|
53
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
54
|
+
], GitProjectQuery.prototype, "gitProjects", null);
|
|
55
|
+
tslib_1.__decorate([
|
|
56
|
+
(0, type_graphql_1.FieldResolver)(type => shell_1.Domain),
|
|
57
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
58
|
+
tslib_1.__metadata("design:type", Function),
|
|
59
|
+
tslib_1.__metadata("design:paramtypes", [git_project_1.GitProject]),
|
|
60
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
61
|
+
], GitProjectQuery.prototype, "domain", null);
|
|
62
|
+
tslib_1.__decorate([
|
|
63
|
+
(0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
|
|
64
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
65
|
+
tslib_1.__metadata("design:type", Function),
|
|
66
|
+
tslib_1.__metadata("design:paramtypes", [git_project_1.GitProject]),
|
|
67
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
68
|
+
], GitProjectQuery.prototype, "updater", null);
|
|
69
|
+
tslib_1.__decorate([
|
|
70
|
+
(0, type_graphql_1.FieldResolver)(type => auth_base_1.User),
|
|
71
|
+
tslib_1.__param(0, (0, type_graphql_1.Root)()),
|
|
72
|
+
tslib_1.__metadata("design:type", Function),
|
|
73
|
+
tslib_1.__metadata("design:paramtypes", [git_project_1.GitProject]),
|
|
74
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
75
|
+
], GitProjectQuery.prototype, "creator", null);
|
|
76
|
+
exports.GitProjectQuery = GitProjectQuery = tslib_1.__decorate([
|
|
77
|
+
(0, type_graphql_1.Resolver)(git_project_1.GitProject)
|
|
78
|
+
], GitProjectQuery);
|
|
79
|
+
//# sourceMappingURL=git-project-query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-project-query.js","sourceRoot":"","sources":["../../../server/service/git-project/git-project-query.ts"],"names":[],"mappings":";;;;AAAA,+CAA8F;AAC9F,iDAAuG;AACvG,yDAAgD;AAChD,+CAA0C;AAC1C,yDAAmD;AAG5C,IAAM,eAAe,GAArB,MAAM,eAAe;IAEpB,AAAN,KAAK,CAAC,UAAU,CAAY,EAAU,EAAS,OAAwB;QACrE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;QAEhC,OAAO,MAAM,IAAA,qBAAa,EAAC,wBAAU,CAAC,CAAC,OAAO,CAAC;YAC7C,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE;SACzC,CAAC,CAAA;IACJ,CAAC;IAGK,AAAN,KAAK,CAAC,WAAW,CAA0B,MAAiB,EAAS,OAAwB;QAC3F,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;QAEhC,MAAM,YAAY,GAAG,IAAA,qCAA6B,EAAC;YACjD,MAAM;YACN,MAAM;YACN,UAAU,EAAE,MAAM,IAAA,qBAAa,EAAC,wBAAU,CAAC;YAC3C,WAAW,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC;SACrC,CAAC,CAAA;QAEF,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,MAAM,YAAY,CAAC,eAAe,EAAE,CAAA;QAE3D,OAAO,EAAE,KAAK,EAAE,KAAK,E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AM,CAAC;IAChB,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAa,wBAAU;;6CAE1C;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACb,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAa,wBAAU;;8CAE3C;AAGK;IADL,IAAA,4BAAa,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;IACb,mBAAA,IAAA,mBAAI,GAAE,CAAA;;6CAAa,wBAAU;;8CAE3C;0BAvCU,eAAe;IAD3B,IAAA,uBAAQ,EAAC,wBAAU,CAAC;GACR,eAAe,CAwC3B","sourcesContent":["import { Resolver, Query, FieldResolver, Root, Args, Arg, Ctx, Directive } from 'type-graphql'\nimport { Domain, getQueryBuilderFromListParams, getRepository, ListParam } from '@things-factory/shell'\nimport { User } from '@things-factory/auth-base'\nimport { GitProject } from './git-project'\nimport { GitProjectList } from './git-project-type'\n\n@Resolver(GitProject)\nexport class GitProjectQuery {\n @Query(returns => GitProject!, { nullable: true, description: 'To fetch a GitProject' })\n async gitProject(@Arg('id') id: string, @Ctx() context: ResolverContext): Promise<GitProject> {\n const { domain } = context.state\n\n return await getRepository(GitProject).findOne({\n where: { domain: { id: domain.id }, id }\n })\n }\n\n @Query(returns => GitProjectList, { description: 'To fetch multiple GitProjects' })\n async gitProjects(@Args(type => ListParam) params: ListParam, @Ctx() context: ResolverContext): Promise<GitProjectList> {\n const { domain } = context.state\n\n const queryBuilder = getQueryBuilderFromListParams({\n domain,\n params,\n repository: await getRepository(GitProject),\n searchables: ['name', 'description']\n })\n\n const [items, total] = await queryBuilder.getManyAndCount()\n\n return { items, total }\n }\n\n @FieldResolver(type => Domain)\n async domain(@Root() gitProject: GitProject): Promise<Domain> {\n return gitProject.domainId && (await getRepository(Domain).findOneBy({ id: gitProject.domainId }))\n }\n\n @FieldResolver(type => User)\n async updater(@Root() gitProject: GitProject): Promise<User> {\n return gitProject.updaterId && (await getRepository(User).findOneBy({ id: gitProject.updaterId }))\n }\n\n @FieldResolver(type => User)\n async creator(@Root() gitProject: GitProject): Promise<User> {\n return gitProject.creatorId && (await getRepository(User).findOneBy({ id: gitProject.creatorId }))\n }\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GitProject, GitProjectStatus } from './git-project';
|
|
2
|
+
export declare class NewGitProject {
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
state?: GitProjectStatus;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
params?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class GitProjectPatch {
|
|
10
|
+
id?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
state?: GitProjectStatus;
|
|
14
|
+
active?: boolean;
|
|
15
|
+
cuFlag?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class GitProjectList {
|
|
18
|
+
items: GitProject[];
|
|
19
|
+
total: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GitProjectList = exports.GitProjectPatch = exports.NewGitProject = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const type_graphql_1 = require("type-graphql");
|
|
6
|
+
const git_project_1 = require("./git-project");
|
|
7
|
+
let NewGitProject = class NewGitProject {
|
|
8
|
+
};
|
|
9
|
+
exports.NewGitProject = NewGitProject;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, type_graphql_1.Field)(),
|
|
12
|
+
tslib_1.__metadata("design:type", String)
|
|
13
|
+
], NewGitProject.prototype, "name", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
16
|
+
tslib_1.__metadata("design:type", String)
|
|
17
|
+
], NewGitProject.prototype, "description", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, type_graphql_1.Field)(type => git_project_1.GitProjectStatus, { nullable: true }),
|
|
20
|
+
tslib_1.__metadata("design:type", String)
|
|
21
|
+
], NewGitProject.prototype, "state", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
24
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
25
|
+
], NewGitProject.prototype, "active", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
28
|
+
tslib_1.__metadata("design:type", String)
|
|
29
|
+
], NewGitProject.prototype, "params", void 0);
|
|
30
|
+
exports.NewGitProject = NewGitProject = tslib_1.__decorate([
|
|
31
|
+
(0, type_graphql_1.InputType)()
|
|
32
|
+
], NewGitProject);
|
|
33
|
+
let GitProjectPatch = class GitProjectPatch {
|
|
34
|
+
};
|
|
35
|
+
exports.GitProjectPatch = GitProjectPatch;
|
|
36
|
+
tslib_1.__decorate([
|
|
37
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
|
|
38
|
+
tslib_1.__metadata("design:type", String)
|
|
39
|
+
], GitProjectPatch.prototype, "id", void 0);
|
|
40
|
+
tslib_1.__decorate([
|
|
41
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
42
|
+
tslib_1.__metadata("design:type", String)
|
|
43
|
+
], GitProjectPatch.prototype, "name", void 0);
|
|
44
|
+
tslib_1.__decorate([
|
|
45
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
46
|
+
tslib_1.__metadata("design:type", String)
|
|
47
|
+
], GitProjectPatch.prototype, "description", void 0);
|
|
48
|
+
tslib_1.__decorate([
|
|
49
|
+
(0, type_graphql_1.Field)(type => git_project_1.GitProjectStatus, { nullable: true }),
|
|
50
|
+
tslib_1.__metadata("design:type", String)
|
|
51
|
+
], GitProjectPatch.prototype, "state", void 0);
|
|
52
|
+
tslib_1.__decorate([
|
|
53
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
54
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
55
|
+
], GitProjectPatch.prototype, "active", void 0);
|
|
56
|
+
tslib_1.__decorate([
|
|
57
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
58
|
+
tslib_1.__metadata("design:type", String)
|
|
59
|
+
], GitProjectPatch.prototype, "cuFlag", void 0);
|
|
60
|
+
exports.GitProjectPatch = GitProjectPatch = tslib_1.__decorate([
|
|
61
|
+
(0, type_graphql_1.InputType)()
|
|
62
|
+
], GitProjectPatch);
|
|
63
|
+
let GitProjectList = class GitProjectList {
|
|
64
|
+
};
|
|
65
|
+
exports.GitProjectList = GitProjectList;
|
|
66
|
+
tslib_1.__decorate([
|
|
67
|
+
(0, type_graphql_1.Field)(type => [git_project_1.GitProject]),
|
|
68
|
+
tslib_1.__metadata("design:type", Array)
|
|
69
|
+
], GitProjectList.prototype, "items", void 0);
|
|
70
|
+
tslib_1.__decorate([
|
|
71
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.Int),
|
|
72
|
+
tslib_1.__metadata("design:type", Number)
|
|
73
|
+
], GitProjectList.prototype, "total", void 0);
|
|
74
|
+
exports.GitProjectList = GitProjectList = tslib_1.__decorate([
|
|
75
|
+
(0, type_graphql_1.ObjectType)()
|
|
76
|
+
], GitProjectList);
|
|
77
|
+
//# sourceMappingURL=git-project-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-project-type.js","sourceRoot":"","sources":["../../../server/service/git-project/git-project-type.ts"],"names":[],"mappings":";;;;AAEA,+CAAsF;AAItF,+CAA4D;AAGrD,IAAM,aAAa,GAAnB,MAAM,aAAa;CAezB,CAAA;AAfY,sCAAa;AAExB;IADC,IAAA,oBAAK,GAAE;;2CACI;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACN;AAGpB;IADC,IAAA,oBAAK,EAAC,IAAI,CAA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":["import type { FileUpload } from 'graphql-upload/GraphQLUpload.js'\nimport GraphQLUpload from 'graphql-upload/GraphQLUpload.js'\nimport { ObjectType, Field, InputType, Int, ID, registerEnumType } from 'type-graphql'\n\nimport { ObjectRef, ScalarObject } from '@things-factory/shell'\n\nimport { GitProject, GitProjectStatus } from './git-project'\n\n@InputType()\nexport class NewGitProject {\n @Field()\n name: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field(type => GitProjectStatus, { nullable: true })\n state?: GitProjectStatus\n\n @Field({ nullable: true })\n active?: boolean\n\n @Field({ nullable: true })\n params?: string\n}\n\n@InputType()\nexport class GitProjectPatch {\n @Field(type => ID, { nullable: true })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field(type => GitProjectStatus, { nullable: true })\n state?: GitProjectStatus\n\n @Field({ nullable: true })\n active?: boolean\n \n @Field({ nullable: true })\n cuFlag?: string\n}\n\n@ObjectType()\nexport class GitProjectList {\n @Field(type => [GitProject])\n items: GitProject[]\n\n @Field(type => Int)\n total: number\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Domain } from '@things-factory/shell';
|
|
2
|
+
import { User } from '@things-factory/auth-base';
|
|
3
|
+
export declare enum GitProjectStatus {
|
|
4
|
+
STATUS_A = "STATUS_A",
|
|
5
|
+
STATUS_B = "STATUS_B"
|
|
6
|
+
}
|
|
7
|
+
export declare class GitProject {
|
|
8
|
+
readonly id: string;
|
|
9
|
+
domain?: Domain;
|
|
10
|
+
domainId?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
state?: GitProjectStatus;
|
|
15
|
+
params?: string;
|
|
16
|
+
createdAt?: Date;
|
|
17
|
+
updatedAt?: Date;
|
|
18
|
+
creator?: User;
|
|
19
|
+
creatorId?: string;
|
|
20
|
+
updater?: User;
|
|
21
|
+
updaterId?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GitProject = exports.GitProjectStatus = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const type_graphql_1 = require("type-graphql");
|
|
7
|
+
const shell_1 = require("@things-factory/shell");
|
|
8
|
+
const auth_base_1 = require("@things-factory/auth-base");
|
|
9
|
+
var GitProjectStatus;
|
|
10
|
+
(function (GitProjectStatus) {
|
|
11
|
+
GitProjectStatus["STATUS_A"] = "STATUS_A";
|
|
12
|
+
GitProjectStatus["STATUS_B"] = "STATUS_B";
|
|
13
|
+
})(GitProjectStatus || (exports.GitProjectStatus = GitProjectStatus = {}));
|
|
14
|
+
(0, type_graphql_1.registerEnumType)(GitProjectStatus, {
|
|
15
|
+
name: 'GitProjectStatus',
|
|
16
|
+
description: 'state enumeration of a gitProject'
|
|
17
|
+
});
|
|
18
|
+
let GitProject = class GitProject {
|
|
19
|
+
};
|
|
20
|
+
exports.GitProject = GitProject;
|
|
21
|
+
tslib_1.__decorate([
|
|
22
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
23
|
+
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
25
|
+
], GitProject.prototype, "id", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.ManyToOne)(type => shell_1.Domain),
|
|
28
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
29
|
+
tslib_1.__metadata("design:type", shell_1.Domain)
|
|
30
|
+
], GitProject.prototype, "domain", void 0);
|
|
31
|
+
tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.RelationId)((gitProject) => gitProject.domain),
|
|
33
|
+
tslib_1.__metadata("design:type", String)
|
|
34
|
+
], GitProject.prototype, "domainId", void 0);
|
|
35
|
+
tslib_1.__decorate([
|
|
36
|
+
(0, typeorm_1.Column)(),
|
|
37
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
38
|
+
tslib_1.__metadata("design:type", String)
|
|
39
|
+
], GitProject.prototype, "name", void 0);
|
|
40
|
+
tslib_1.__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
42
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
43
|
+
tslib_1.__metadata("design:type", String)
|
|
44
|
+
], GitProject.prototype, "description", void 0);
|
|
45
|
+
tslib_1.__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
47
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
48
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
49
|
+
], GitProject.prototype, "active", void 0);
|
|
50
|
+
tslib_1.__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
52
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
53
|
+
tslib_1.__metadata("design:type", String)
|
|
54
|
+
], GitProject.prototype, "state", void 0);
|
|
55
|
+
tslib_1.__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
57
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
58
|
+
tslib_1.__metadata("design:type", String)
|
|
59
|
+
], GitProject.prototype, "params", void 0);
|
|
60
|
+
tslib_1.__decorate([
|
|
61
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
62
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
63
|
+
tslib_1.__metadata("design:type", Date)
|
|
64
|
+
], GitProject.prototype, "createdAt", void 0);
|
|
65
|
+
tslib_1.__decorate([
|
|
66
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
67
|
+
(0, type_graphql_1.Field)({ nullable: true }),
|
|
68
|
+
tslib_1.__metadata("design:type", Date)
|
|
69
|
+
], GitProject.prototype, "updatedAt", void 0);
|
|
70
|
+
tslib_1.__decorate([
|
|
71
|
+
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
72
|
+
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
|
|
73
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
74
|
+
], GitProject.prototype, "creator", void 0);
|
|
75
|
+
tslib_1.__decorate([
|
|
76
|
+
(0, typeorm_1.RelationId)((gitProject) => gitProject.creator),
|
|
77
|
+
tslib_1.__metadata("design:type", String)
|
|
78
|
+
], GitProject.prototype, "creatorId", void 0);
|
|
79
|
+
tslib_1.__decorate([
|
|
80
|
+
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
|
|
81
|
+
(0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
|
|
82
|
+
tslib_1.__metadata("design:type", auth_base_1.User)
|
|
83
|
+
], GitProject.prototype, "updater", void 0);
|
|
84
|
+
tslib_1.__decorate([
|
|
85
|
+
(0, typeorm_1.RelationId)((gitProject) => gitProject.updater),
|
|
86
|
+
tslib_1.__metadata("design:type", String)
|
|
87
|
+
], GitProject.prototype, "updaterId", void 0);
|
|
88
|
+
exports.GitProject = GitProject = tslib_1.__decorate([
|
|
89
|
+
(0, typeorm_1.Entity)(),
|
|
90
|
+
(0, typeorm_1.Index)('ix_git_project_0', (gitProject) => [gitProject.domain, gitProject.name], {
|
|
91
|
+
unique: true
|
|
92
|
+
}),
|
|
93
|
+
(0, type_graphql_1.ObjectType)({ description: 'Entity for GitProject' })
|
|
94
|
+
], GitProject);
|
|
95
|
+
//# sourceMappingURL=git-project.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-project.js","sourceRoot":"","sources":["../../../server/service/git-project/git-project.ts"],"names":[],"mappings":";;;;AAAA,qCASgB;AAChB,+CAA2E;AAE3E,iDAA8C;AAC9C,yDAAgD;AAEhD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,yCAAqB,CAAA;IACrB,yCAAqB,CAA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,\n Index,\n Column,\n RelationId,\n ManyToOne,\n PrimaryGeneratedColumn\n} from 'typeorm'\nimport { ObjectType, Field, Int, ID, registerEnumType } from 'type-graphql'\n\nimport { Domain } from '@things-factory/shell'\nimport { User } from '@things-factory/auth-base'\n\nexport enum GitProjectStatus {\n STATUS_A = 'STATUS_A',\n STATUS_B = 'STATUS_B'\n}\n\nregisterEnumType(GitProjectStatus, {\n name: 'GitProjectStatus',\n description: 'state enumeration of a gitProject'\n})\n\n@Entity()\n@Index('ix_git_project_0', (gitProject: GitProject) => [gitProject.domain, gitProject.name], {\n unique: true\n})\n@ObjectType({ description: 'Entity for GitProject' })\nexport class GitProject {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @ManyToOne(type => Domain)\n @Field({ nullable: true })\n domain?: Domain\n\n @RelationId((gitProject: GitProject) => gitProject.domain)\n domainId?: string\n\n @Column()\n @Field({ nullable: true })\n name?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n description?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n active?: boolean\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n state?: GitProjectStatus\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n params?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((gitProject: GitProject) => gitProject.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((gitProject: GitProject) => gitProject.updater)\n updaterId?: string\n}\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GitProject } from './git-project';
|
|
2
|
+
import { GitProjectQuery } from './git-project-query';
|
|
3
|
+
import { GitProjectMutation } from './git-project-mutation';
|
|
4
|
+
export declare const entities: (typeof GitProject)[];
|
|
5
|
+
export declare const resolvers: (typeof GitProjectQuery | typeof GitProjectMutation)[];
|
|
6
|
+
export declare const subscribers: any[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.subscribers = exports.resolvers = exports.entities = void 0;
|
|
4
|
+
const git_project_1 = require("./git-project");
|
|
5
|
+
const git_project_query_1 = require("./git-project-query");
|
|
6
|
+
const git_project_mutation_1 = require("./git-project-mutation");
|
|
7
|
+
exports.entities = [git_project_1.GitProject];
|
|
8
|
+
exports.resolvers = [git_project_query_1.GitProjectQuery, git_project_mutation_1.GitProjectMutation];
|
|
9
|
+
exports.subscribers = [];
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/git-project/index.ts"],"names":[],"mappings":";;;AAAA,+CAA0C;AAC1C,2DAAqD;AACrD,iEAA2D;AAE9C,QAAA,QAAQ,GAAG,CAAC,wBAAU,CAAC,CAAA;AACvB,QAAA,SAAS,GAAG,CAAC,mCAAe,EAAE,yCAAkB,CAAC,CAAA;AACjD,QAAA,WAAW,GAAG,EAAE,CAAA","sourcesContent":["import { GitProject } from './git-project'\nimport { GitProjectQuery } from './git-project-query'\nimport { GitProjectMutation } from './git-project-mutation'\n\nexport const entities = [GitProject]\nexport const resolvers = [GitProjectQuery, GitProjectMutation]\nexport const subscribers = []\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './git-project/git-project';
|
|
2
|
+
export declare const entities: typeof import("./git-project/git-project").GitProject[];
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
resolverClasses: (typeof import("./git-project/git-project-query").GitProjectQuery | typeof import("./git-project/git-project-mutation").GitProjectMutation)[];
|
|
5
|
+
};
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/* EXPORT ENTITY TYPES */
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
exports.schema = exports.entities = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/* EXPORT ENTITY TYPES */
|
|
6
|
+
tslib_1.__exportStar(require("./git-project/git-project"), exports);
|
|
5
7
|
/* IMPORT ENTITIES AND RESOLVERS */
|
|
8
|
+
const git_project_1 = require("./git-project");
|
|
6
9
|
exports.entities = [
|
|
7
|
-
/* ENTITIES */
|
|
10
|
+
/* ENTITIES */
|
|
11
|
+
...git_project_1.entities
|
|
8
12
|
];
|
|
9
13
|
exports.schema = {
|
|
10
14
|
resolverClasses: [
|
|
11
|
-
|
|
15
|
+
/* RESOLVER CLASSES */
|
|
16
|
+
...git_project_1.resolvers
|
|
12
17
|
]
|
|
13
18
|
};
|
|
14
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/service/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/service/index.ts"],"names":[],"mappings":";;;;AAAA,yBAAyB;AACzB,oEAAyC;AAEzC,mCAAmC;AACnC,+CAIsB;AAET,QAAA,QAAQ,GAAG;IACtB,cAAc;IACd,GAAG,sBAAkB;CACtB,CAAA;AAEY,QAAA,MAAM,GAAG;IACpB,eAAe,EAAE;QACf,sBAAsB;QACtB,GAAG,uBAAmB;KACvB;CACF,CAAA","sourcesContent":["/* EXPORT ENTITY TYPES */\nexport * from './git-project/git-project'\n\n/* IMPORT ENTITIES AND RESOLVERS */\nimport {\n entities as GitProjectEntities,\n resolvers as GitProjectResolvers,\n subscribers as GitProjectSubscribers\n} from './git-project'\n\nexport const entities = [\n /* ENTITIES */\n ...GitProjectEntities\n]\n\nexport const schema = {\n resolverClasses: [\n /* RESOLVER CLASSES */\n ...GitProjectResolvers\n ]\n}\n"]}
|