@things-factory/tutorial-base 5.0.7 → 6.0.0-alpha.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/dist-server/entities/index.js.map +1 -1
- package/dist-server/entities/tutorial-role.js +20 -29
- package/dist-server/entities/tutorial-role.js.map +1 -1
- package/dist-server/entities/tutorial.js +26 -35
- package/dist-server/entities/tutorial.js.map +1 -1
- package/dist-server/graphql/index.js +3 -25
- package/dist-server/graphql/index.js.map +1 -1
- package/dist-server/graphql/resolvers/index.js +3 -25
- package/dist-server/graphql/resolvers/index.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial/delete-tutorials.js +1 -1
- package/dist-server/graphql/resolvers/tutorial/delete-tutorials.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial/index.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial/tutorial.js +4 -3
- package/dist-server/graphql/resolvers/tutorial/tutorial.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial/tutorials.js +2 -3
- package/dist-server/graphql/resolvers/tutorial/tutorials.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial/update-multiple-tutorial.js +1 -1
- package/dist-server/graphql/resolvers/tutorial/update-multiple-tutorial.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial-role/index.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial-role/list-by-roles.js +2 -2
- package/dist-server/graphql/resolvers/tutorial-role/list-by-roles.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial-role/tutorial-role-assignments.js +3 -3
- package/dist-server/graphql/resolvers/tutorial-role/tutorial-role-assignments.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial-role/tutorial-role.js +4 -3
- package/dist-server/graphql/resolvers/tutorial-role/tutorial-role.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial-role/tutorial-roles.js +1 -2
- package/dist-server/graphql/resolvers/tutorial-role/tutorial-roles.js.map +1 -1
- package/dist-server/graphql/resolvers/tutorial-role/update-role-tutorial.js +5 -3
- package/dist-server/graphql/resolvers/tutorial-role/update-role-tutorial.js.map +1 -1
- package/dist-server/graphql/types/index.js +3 -25
- package/dist-server/graphql/types/index.js.map +1 -1
- package/dist-server/graphql/types/tutorial/index.js.map +1 -1
- package/dist-server/graphql/types/tutorial/new-tutorial.js +2 -4
- package/dist-server/graphql/types/tutorial/new-tutorial.js.map +1 -1
- package/dist-server/graphql/types/tutorial/tutorial-list.js +2 -4
- package/dist-server/graphql/types/tutorial/tutorial-list.js.map +1 -1
- package/dist-server/graphql/types/tutorial/tutorial-patch.js +2 -4
- package/dist-server/graphql/types/tutorial/tutorial-patch.js.map +1 -1
- package/dist-server/graphql/types/tutorial/tutorial.js +2 -4
- package/dist-server/graphql/types/tutorial/tutorial.js.map +1 -1
- package/dist-server/graphql/types/tutorial-role/index.js.map +1 -1
- package/dist-server/graphql/types/tutorial-role/new-tutorial-role.js +2 -4
- package/dist-server/graphql/types/tutorial-role/new-tutorial-role.js.map +1 -1
- package/dist-server/graphql/types/tutorial-role/role-list.js +2 -4
- package/dist-server/graphql/types/tutorial-role/role-list.js.map +1 -1
- package/dist-server/graphql/types/tutorial-role/role-tutorial.js +2 -4
- package/dist-server/graphql/types/tutorial-role/role-tutorial.js.map +1 -1
- package/dist-server/graphql/types/tutorial-role/tutorial-role-list.js +2 -4
- package/dist-server/graphql/types/tutorial-role/tutorial-role-list.js.map +1 -1
- package/dist-server/graphql/types/tutorial-role/tutorial-role-patch.js +2 -4
- package/dist-server/graphql/types/tutorial-role/tutorial-role-patch.js.map +1 -1
- package/dist-server/graphql/types/tutorial-role/tutorial-role.js +2 -4
- package/dist-server/graphql/types/tutorial-role/tutorial-role.js.map +1 -1
- package/dist-server/index.js +4 -19
- package/dist-server/index.js.map +1 -1
- package/dist-server/migrations/index.js.map +1 -1
- package/dist-server/routes.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/package.json +4 -4
- package/server/graphql/resolvers/tutorial/delete-tutorials.ts +5 -5
- package/server/graphql/resolvers/tutorial/tutorial.ts +6 -5
- package/server/graphql/resolvers/tutorial/tutorials.ts +6 -4
- package/server/graphql/resolvers/tutorial/update-multiple-tutorial.ts +3 -6
- package/server/graphql/resolvers/tutorial-role/list-by-roles.ts +5 -3
- package/server/graphql/resolvers/tutorial-role/tutorial-role-assignments.ts +3 -2
- package/server/graphql/resolvers/tutorial-role/tutorial-role.ts +6 -5
- package/server/graphql/resolvers/tutorial-role/tutorial-roles.ts +3 -3
- package/server/graphql/resolvers/tutorial-role/update-role-tutorial.ts +8 -8
- package/server/index.ts +0 -3
- package/things-factory.config.js +1 -5
- package/client/actions/main.js +0 -1
- package/client/bootstrap.js +0 -8
- package/client/index.js +0 -1
- package/client/reducers/main.js +0 -17
- package/dist-server/controllers/index.js +0 -1
- package/dist-server/controllers/index.js.map +0 -1
- package/dist-server/middlewares/index.js +0 -8
- package/dist-server/middlewares/index.js.map +0 -1
- package/server/controllers/index.ts +0 -0
- package/server/middlewares/index.ts +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":";;;;AAAA,6DAAsC;AACtC,sEAA+C;AAElC,QAAA,OAAO,GAAG,CAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,CAAA;AAE9C,QAAA,SAAS,GAAG,CAAC,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAA;AAEtD,QAAA,KAAK,GAAG,CAAC,GAAG,QAAQ,CAAC,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,CAAA","sourcesContent":["import * as Tutorial from './tutorial'\nimport * as TutorialRole from './tutorial-role'\n\nexport const queries = [Tutorial.Query, TutorialRole.Query]\n\nexport const mutations = [Tutorial.Mutation, TutorialRole.Mutation]\n\nexport const types = [...Tutorial.Types, ...TutorialRole.Types]\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/index.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AACrC,iDAA4C;AAC5C,qDAAgD;AAChD,mDAA8C;AAEjC,QAAA,QAAQ,GAAG;;;;;;;;CAQvB,CAAA;AAEY,QAAA,KAAK,GAAG;;;;CAIpB,CAAA;AAEY,QAAA,KAAK,GAAG,CAAC,mBAAQ,EAAE,0BAAW,EAAE,8BAAa,EAAE,4BAAY,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/index.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AACrC,iDAA4C;AAC5C,qDAAgD;AAChD,mDAA8C;AAEjC,QAAA,QAAQ,GAAG;;;;;;;;CAQvB,CAAA;AAEY,QAAA,KAAK,GAAG;;;;CAIpB,CAAA;AAEY,QAAA,KAAK,GAAG,CAAC,mBAAQ,EAAE,0BAAW,EAAE,8BAAa,EAAE,4BAAY,CAAC,CAAA","sourcesContent":["import { Tutorial } from './tutorial'\nimport { NewTutorial } from './new-tutorial'\nimport { TutorialPatch } from './tutorial-patch'\nimport { TutorialList } from './tutorial-list'\n\nexport const Mutation = `\n updateMultipleTutorial (\n patches: [TutorialPatch]!\n ): [Tutorial] @transaction\n\n deleteTutorials (\n ids: [String]!\n ): Boolean @transaction\n`\n\nexport const Query = `\n tutorials(filters: [Filter], pagination: Pagination, sortings: [Sorting]): TutorialList\n tutorialsWithRoles(roleNames: String!): [Tutorial]\n tutorial(name: String!): Tutorial\n`\n\nexport const Types = [Tutorial, NewTutorial, TutorialPatch, TutorialList]\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.NewTutorial = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.NewTutorial = (0, graphql_tag_1.default) `
|
|
9
7
|
input NewTutorial {
|
|
10
8
|
name: String!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-tutorial.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/new-tutorial.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"new-tutorial.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/new-tutorial.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,WAAW,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;CAU7B,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const NewTutorial = gql`\n input NewTutorial {\n name: String!\n description: String\n resourceUrl: String\n value: String\n duration: String\n rank: Int\n roles: [ObjectRef]\n }\n`\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.TutorialList = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.TutorialList = (0, graphql_tag_1.default) `
|
|
9
7
|
type TutorialList {
|
|
10
8
|
items: [Tutorial]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tutorial-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/tutorial-list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tutorial-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/tutorial-list.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,YAAY,GAAG,IAAA,qBAAG,EAAA;;;;;CAK9B,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const TutorialList = gql`\n type TutorialList {\n items: [Tutorial]\n total: Int\n }\n`\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.TutorialPatch = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.TutorialPatch = (0, graphql_tag_1.default) `
|
|
9
7
|
input TutorialPatch {
|
|
10
8
|
id: String
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tutorial-patch.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/tutorial-patch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tutorial-patch.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/tutorial-patch.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,aAAa,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;CAY/B,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const TutorialPatch = gql`\n input TutorialPatch {\n id: String\n name: String\n description: String\n resourceUrl: String\n value: String\n duration: String\n rank: Int\n roles: [ObjectRef]\n cuFlag: String\n }\n`\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.Tutorial = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.Tutorial = (0, graphql_tag_1.default) `
|
|
9
7
|
type Tutorial {
|
|
10
8
|
id: String
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tutorial.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/tutorial.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tutorial.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial/tutorial.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;CAgB1B,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const Tutorial = gql`\n type Tutorial {\n id: String\n name: String\n domain: Domain\n description: String\n resourceUrl: String\n value: String\n duration: String\n rank: Int\n roles: [Role]\n updater: User\n creator: User\n updatedAt: String\n createdAt: String\n }\n`\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/index.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAC9C,2DAAqD;AACrD,+DAAyD;AACzD,6DAAuD;AACvD,2CAAsC;AACtC,mDAA8C;AAEjC,QAAA,QAAQ,GAAG;;;;;CAKvB,CAAA;AAEY,QAAA,KAAK,GAAG;;;;;CAKpB,CAAA;AAEY,QAAA,KAAK,GAAG,CAAC,4BAAY,EAAE,mCAAe,EAAE,uCAAiB,EAAE,qCAAgB,EAAE,oBAAQ,EAAE,4BAAY,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/index.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAC9C,2DAAqD;AACrD,+DAAyD;AACzD,6DAAuD;AACvD,2CAAsC;AACtC,mDAA8C;AAEjC,QAAA,QAAQ,GAAG;;;;;CAKvB,CAAA;AAEY,QAAA,KAAK,GAAG;;;;;CAKpB,CAAA;AAEY,QAAA,KAAK,GAAG,CAAC,4BAAY,EAAE,mCAAe,EAAE,uCAAiB,EAAE,qCAAgB,EAAE,oBAAQ,EAAE,4BAAY,CAAC,CAAA","sourcesContent":["import { TutorialRole } from './tutorial-role'\nimport { NewTutorialRole } from './new-tutorial-role'\nimport { TutorialRolePatch } from './tutorial-role-patch'\nimport { TutorialRoleList } from './tutorial-role-list'\nimport { RoleList } from './role-list'\nimport { RoleTutorial } from './role-tutorial'\n\nexport const Mutation = `\n updateRoleTutorial (\n tutorialId: String!\n tutorialRoles: [TutorialRolePatch]!\n ): [RoleTutorial] @privilege(category: \"tutorial\", privilege: \"mutation\") @transaction\n`\n\nexport const Query = `\n tutorialRoles(filters: [Filter], pagination: Pagination, sortings: [Sorting]): TutorialRoleList\n tutorialRole(name: String!): TutorialRole\n tutorialRoleAssignments(tutorialId: String!): TutorialRoleList\n listByRoles(filters: [Filter]): [RoleTutorial]\n`\n\nexport const Types = [TutorialRole, NewTutorialRole, TutorialRolePatch, TutorialRoleList, RoleList, RoleTutorial]\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.NewTutorialRole = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.NewTutorialRole = (0, graphql_tag_1.default) `
|
|
9
7
|
input NewTutorialRole {
|
|
10
8
|
name: String!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-tutorial-role.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/new-tutorial-role.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"new-tutorial-role.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/new-tutorial-role.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,eAAe,GAAG,IAAA,qBAAG,EAAA;;;;;;CAMjC,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const NewTutorialRole = gql`\n input NewTutorialRole {\n name: String!\n tutorial: ObjectRef!\n roles: [ObjectRef]!\n }\n`\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.RoleList = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.RoleList = (0, graphql_tag_1.default) `
|
|
9
7
|
type RoleList {
|
|
10
8
|
items: [Role]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/role-list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"role-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/role-list.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;CAK1B,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const RoleList = gql`\n type RoleList {\n items: [Role]\n total: Int\n }\n`\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.RoleTutorial = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.RoleTutorial = (0, graphql_tag_1.default) `
|
|
9
7
|
type RoleTutorial {
|
|
10
8
|
id: String
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role-tutorial.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/role-tutorial.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"role-tutorial.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/role-tutorial.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,YAAY,GAAG,IAAA,qBAAG,EAAA;;;;;;;;CAQ9B,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const RoleTutorial = gql`\n type RoleTutorial {\n id: String\n name: String\n role: Role\n tutorial: Tutorial\n assigned: Boolean\n }\n`\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.TutorialRoleList = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.TutorialRoleList = (0, graphql_tag_1.default) `
|
|
9
7
|
type TutorialRoleList {
|
|
10
8
|
items: [TutorialRole]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tutorial-role-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/tutorial-role-list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tutorial-role-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/tutorial-role-list.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;CAKlC,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const TutorialRoleList = gql`\n type TutorialRoleList {\n items: [TutorialRole]\n total: Int\n }\n`\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.TutorialRolePatch = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.TutorialRolePatch = (0, graphql_tag_1.default) `
|
|
9
7
|
input TutorialRolePatch {
|
|
10
8
|
id: String
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tutorial-role-patch.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/tutorial-role-patch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tutorial-role-patch.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/tutorial-role-patch.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,iBAAiB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;CAQnC,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const TutorialRolePatch = gql`\n input TutorialRolePatch {\n id: String\n name: String\n role: ObjectRef\n tutorial: ObjectRef\n cuFlag: String\n }\n`\n"]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.TutorialRole = void 0;
|
|
7
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
6
|
exports.TutorialRole = (0, graphql_tag_1.default) `
|
|
9
7
|
type TutorialRole {
|
|
10
8
|
id: String
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tutorial-role.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/tutorial-role.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tutorial-role.js","sourceRoot":"","sources":["../../../../server/graphql/types/tutorial-role/tutorial-role.ts"],"names":[],"mappings":";;;;AAAA,sEAA6B;AAEhB,QAAA,YAAY,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;CAc9B,CAAA","sourcesContent":["import gql from 'graphql-tag'\n\nexport const TutorialRole = gql`\n type TutorialRole {\n id: String\n name: String\n domain: Domain\n role: Role\n tutorial: Tutorial\n description: String\n assigned: Boolean\n updater: User\n creator: User\n updatedAt: String\n createdAt: String\n }\n`\n"]}
|
package/dist-server/index.js
CHANGED
|
@@ -1,22 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
require("./routes");
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./entities"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./migrations"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./graphql"), exports);
|
|
22
7
|
//# sourceMappingURL=index.js.map
|
package/dist-server/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B;AAC1B,uDAA4B;AAC5B,oDAAyB","sourcesContent":["export * from './entities'\nexport * from './migrations'\nexport * from './graphql'\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/migrations/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjB,QAAA,UAAU,GAAG,EAAE,CAAA;AAE1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAS,IAAI;IACzE,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAAE,OAAM;IAC3C,kBAAU,GAAG,kBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAClF,CAAC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/migrations/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjB,QAAA,UAAU,GAAG,EAAE,CAAA;AAE1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAS,IAAI;IACzE,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAAE,OAAM;IAC3C,kBAAU,GAAG,kBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAClF,CAAC,CAAC,CAAA","sourcesContent":["const glob = require('glob')\nconst path = require('path')\n\nexport var migrations = []\n\nglob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function(file) {\n if (file.indexOf('index.js') !== -1) return\n migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])\n})\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../server/routes.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,CAAC,mCAA0C,EAAE,CAAC,GAAG,EAAE,cAAc,EAAE,EAAE;IAC7E;;;;;;;;;OASG;AACL,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,uCAA8C,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;IACzE;;;;;OAKG;AACL,CAAC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../server/routes.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,CAAC,mCAA0C,EAAE,CAAC,GAAG,EAAE,cAAc,EAAE,EAAE;IAC7E;;;;;;;;;OASG;AACL,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,uCAA8C,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;IACzE;;;;;OAKG;AACL,CAAC,CAAC,CAAA","sourcesContent":["process.on('bootstrap-module-history-fallback' as any, (app, fallbackOption) => {\n /*\n * fallback white list를 추가할 수 있다\n *\n * ex)\n * var paths = [\n * 'aaa',\n * 'bbb'\n * ]\n * fallbackOption.whiteList.push(`^\\/(${paths.join('|')})($|[/?#])`)\n */\n})\n\nprocess.on('bootstrap-module-domain-private-route' as any, (app, routes) => {\n /*\n * koa application에 routes 를 추가할 수 있다.\n *\n * ex) routes.get('/path', async(context, next) => {})\n * ex) routes.post('/path', async(context, next) => {})\n */\n})\n"]}
|