@akanjs/cli 0.0.40 → 0.0.42
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/index.d.ts +2 -2
- package/index.js +3787 -3286
- package/package.json +33 -2
- package/src/application/application.command.d.ts +26 -0
- package/src/application/application.prompt.d.ts +2 -0
- package/src/application/application.runner.d.ts +35 -0
- package/src/application/application.script.d.ts +36 -0
- package/src/cloud/cloud.command.d.ts +8 -0
- package/src/cloud/cloud.runner.d.ts +7 -0
- package/src/cloud/cloud.script.d.ts +7 -0
- package/src/library/library.command.d.ts +8 -0
- package/src/library/library.runner.d.ts +4 -0
- package/src/library/library.script.d.ts +8 -0
- package/src/module/module.command.d.ts +13 -0
- package/src/module/module.prompt.d.ts +15 -0
- package/src/module/module.runner.d.ts +17 -0
- package/src/module/module.script.d.ts +11 -0
- package/src/package/package.command.d.ts +9 -0
- package/src/package/package.runner.d.ts +6 -0
- package/src/package/package.script.d.ts +7 -0
- package/src/package/page/page.command.d.ts +6 -0
- package/src/package/page/page.runner.d.ts +4 -0
- package/src/package/page/page.script.d.ts +5 -0
- package/src/workspace/workspace.command.d.ts +8 -0
- package/src/workspace/workspace.runner.d.ts +6 -0
- package/src/workspace/workspace.script.d.ts +7 -0
- package/src/templates/__scalar/__model__/__model__.constant.js +0 -34
- package/src/templates/__scalar/__model__/__model__.dictionary.js +0 -45
- package/src/templates/__scalar/__model__/__model__.document.js +0 -32
- package/src/templates/app/akan.config.ts.template +0 -5
- package/src/templates/app/app/[lang]/(__appName__)/(public)/forgotpassword/page.js +0 -43
- package/src/templates/app/app/[lang]/(__appName__)/(public)/page.js +0 -44
- package/src/templates/app/app/[lang]/(__appName__)/(public)/privacy/page.js +0 -38
- package/src/templates/app/app/[lang]/(__appName__)/(public)/signin/page.js +0 -46
- package/src/templates/app/app/[lang]/(__appName__)/(public)/termsofservice/page.js +0 -37
- package/src/templates/app/app/[lang]/(__appName__)/(user)/layout.js +0 -39
- package/src/templates/app/app/[lang]/(__appName__)/(user)/self/page.js +0 -56
- package/src/templates/app/app/[lang]/(__appName__)/layout.js +0 -48
- package/src/templates/app/app/[lang]/admin/layout.js +0 -49
- package/src/templates/app/app/[lang]/admin/page.js +0 -59
- package/src/templates/app/app/csr.js +0 -30
- package/src/templates/app/app/index.html.template +0 -13
- package/src/templates/app/app/layout.js +0 -34
- package/src/templates/app/app/robots.js +0 -39
- package/src/templates/app/app/sitemap.js +0 -35
- package/src/templates/app/base/baseLogic.js +0 -34
- package/src/templates/app/base/index.js +0 -28
- package/src/templates/app/capacitor.config.ts.template +0 -8
- package/src/templates/app/common/commonLogic.js +0 -34
- package/src/templates/app/common/index.js +0 -28
- package/src/templates/app/env/env.client.js +0 -37
- package/src/templates/app/env/env.client.type.js +0 -34
- package/src/templates/app/env/env.server.js +0 -37
- package/src/templates/app/jest.config.js +0 -35
- package/src/templates/app/lib/___appName__/__appName__.dictionary.js +0 -30
- package/src/templates/app/lib/___appName__/__appName__.service.js +0 -41
- package/src/templates/app/lib/___appName__/__appName__.store.js +0 -35
- package/src/templates/app/lib/___appName__/_server.js +0 -33
- package/src/templates/app/lib/option.js +0 -41
- package/src/templates/app/lib/setting/Setting.Template.js +0 -53
- package/src/templates/app/lib/setting/Setting.Unit.js +0 -34
- package/src/templates/app/lib/setting/Setting.Util.js +0 -30
- package/src/templates/app/lib/setting/Setting.View.js +0 -47
- package/src/templates/app/lib/setting/Setting.Zone.js +0 -76
- package/src/templates/app/lib/setting/_server.js +0 -47
- package/src/templates/app/lib/setting/index.js +0 -57
- package/src/templates/app/lib/setting/setting.constant.js +0 -45
- package/src/templates/app/lib/setting/setting.dictionary.js +0 -45
- package/src/templates/app/lib/setting/setting.document.js +0 -47
- package/src/templates/app/lib/setting/setting.service.js +0 -36
- package/src/templates/app/lib/setting/setting.signal.js +0 -33
- package/src/templates/app/lib/setting/setting.store.js +0 -40
- package/src/templates/app/lib/summary/Summary.Template.js +0 -39
- package/src/templates/app/lib/summary/Summary.Unit.js +0 -34
- package/src/templates/app/lib/summary/Summary.Util.js +0 -29
- package/src/templates/app/lib/summary/Summary.View.js +0 -47
- package/src/templates/app/lib/summary/Summary.Zone.js +0 -58
- package/src/templates/app/lib/summary/_server.js +0 -47
- package/src/templates/app/lib/summary/index.js +0 -63
- package/src/templates/app/lib/summary/summary.constant.js +0 -43
- package/src/templates/app/lib/summary/summary.dictionary.js +0 -48
- package/src/templates/app/lib/summary/summary.document.js +0 -47
- package/src/templates/app/lib/summary/summary.service.js +0 -33
- package/src/templates/app/lib/summary/summary.signal.js +0 -33
- package/src/templates/app/lib/summary/summary.store.js +0 -40
- package/src/templates/app/lib/user/User.Template.js +0 -61
- package/src/templates/app/lib/user/User.Unit.js +0 -34
- package/src/templates/app/lib/user/User.Util.js +0 -90
- package/src/templates/app/lib/user/User.View.js +0 -62
- package/src/templates/app/lib/user/User.Zone.js +0 -70
- package/src/templates/app/lib/user/_server.js +0 -47
- package/src/templates/app/lib/user/index.js +0 -57
- package/src/templates/app/lib/user/user.constant.js +0 -66
- package/src/templates/app/lib/user/user.dictionary.js +0 -51
- package/src/templates/app/lib/user/user.document.js +0 -53
- package/src/templates/app/lib/user/user.service.js +0 -41
- package/src/templates/app/lib/user/user.signal.js +0 -33
- package/src/templates/app/lib/user/user.signal.spec.js +0 -36
- package/src/templates/app/lib/user/user.signal.test.js +0 -38
- package/src/templates/app/lib/user/user.store.js +0 -38
- package/src/templates/app/main.js +0 -39
- package/src/templates/app/middleware.js +0 -34
- package/src/templates/app/nest/backendLogic.js +0 -33
- package/src/templates/app/nest/index.js +0 -28
- package/src/templates/app/next/frontendLogic.js +0 -33
- package/src/templates/app/next/index.js +0 -28
- package/src/templates/app/page.test.ts.template +0 -10
- package/src/templates/app/playwright.config.ts.template +0 -6
- package/src/templates/app/postcss.config.js.template +0 -10
- package/src/templates/app/public/favicon.ico +0 -0
- package/src/templates/app/public/icons/icon-128x128.png +0 -0
- package/src/templates/app/public/icons/icon-144x144.png +0 -0
- package/src/templates/app/public/icons/icon-152x152.png +0 -0
- package/src/templates/app/public/icons/icon-192x192.png +0 -0
- package/src/templates/app/public/icons/icon-256x256.png +0 -0
- package/src/templates/app/public/icons/icon-384x384.png +0 -0
- package/src/templates/app/public/icons/icon-48x48.png +0 -0
- package/src/templates/app/public/icons/icon-512x512.png +0 -0
- package/src/templates/app/public/icons/icon-72x72.png +0 -0
- package/src/templates/app/public/icons/icon-96x96.png +0 -0
- package/src/templates/app/public/logo.svg +0 -70
- package/src/templates/app/public/manifest.json.template +0 -67
- package/src/templates/app/tsconfig.json.template +0 -22
- package/src/templates/app/tsconfig.spec.json.template +0 -7
- package/src/templates/app/ui/Footer.js +0 -63
- package/src/templates/app/ui/MainHeader.js +0 -127
- package/src/templates/app/ui/index.js +0 -29
- package/src/templates/client.js +0 -41
- package/src/templates/crudPages/[__model__Id]/edit/page.js +0 -69
- package/src/templates/crudPages/[__model__Id]/page.js +0 -79
- package/src/templates/crudPages/new/page.js +0 -66
- package/src/templates/crudPages/page.js +0 -67
- package/src/templates/index.js +0 -30
- package/src/templates/lib/__lib/extends/summary.constant.js +0 -42
- package/src/templates/lib/__lib/lib.constant.js +0 -52
- package/src/templates/lib/__lib/lib.dictionary.js +0 -41
- package/src/templates/lib/__lib/lib.document.js +0 -40
- package/src/templates/lib/__lib/lib.service.js +0 -82
- package/src/templates/lib/__lib/lib.signal.js +0 -35
- package/src/templates/lib/__lib/lib.store.js +0 -33
- package/src/templates/lib/__scalar/_server.js +0 -38
- package/src/templates/lib/cnst.js +0 -31
- package/src/templates/lib/cnst_.js +0 -50
- package/src/templates/lib/db.js +0 -52
- package/src/templates/lib/dict.js +0 -44
- package/src/templates/lib/fetch.js +0 -47
- package/src/templates/lib/sig.js +0 -36
- package/src/templates/lib/srv.js +0 -51
- package/src/templates/lib/st.js +0 -35
- package/src/templates/lib/store.js +0 -51
- package/src/templates/lib/usePage.js +0 -32
- package/src/templates/libRoot/.gitignore.template +0 -15
- package/src/templates/libRoot/jest.config.js +0 -35
- package/src/templates/libRoot/package.json.template +0 -5
- package/src/templates/libRoot/tsconfig.json.template +0 -11
- package/src/templates/libRoot/tsconfig.spec.json.template +0 -7
- package/src/templates/module/__Model__.Template.js +0 -50
- package/src/templates/module/__Model__.Unit.js +0 -38
- package/src/templates/module/__Model__.Util.js +0 -66
- package/src/templates/module/__Model__.View.js +0 -44
- package/src/templates/module/__Model__.Zone.js +0 -79
- package/src/templates/module/__model__.constant.js +0 -68
- package/src/templates/module/__model__.dictionary.js +0 -97
- package/src/templates/module/__model__.document.js +0 -52
- package/src/templates/module/__model__.service.js +0 -40
- package/src/templates/module/__model__.signal.js +0 -59
- package/src/templates/module/__model__.signal.spec.js +0 -38
- package/src/templates/module/__model__.signal.test.js +0 -47
- package/src/templates/module/__model__.store.js +0 -38
- package/src/templates/module/_server.js +0 -46
- package/src/templates/module/index.js +0 -57
- package/src/templates/pkgRoot/tsconfig.json.template +0 -12
- package/src/templates/server.js +0 -58
- package/src/templates/workplaceRoot/.env.template +0 -20
- package/src/templates/workplaceRoot/.gitignore.template +0 -195
- package/src/templates/workplaceRoot/.prettierignore.template +0 -10
- package/src/templates/workplaceRoot/.prettierrc.json.template +0 -5
- package/src/templates/workplaceRoot/.swcrc.template +0 -9
- package/src/templates/workplaceRoot/README.md.template +0 -37
- package/src/templates/workplaceRoot/eslint.config.js.template +0 -141
- package/src/templates/workplaceRoot/tsconfig.json.template +0 -29
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var page_exports = {};
|
|
19
|
-
__export(page_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(page_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { Inform } from "@util/ui";
|
|
26
|
-
|
|
27
|
-
export default function Page() {
|
|
28
|
-
return (
|
|
29
|
-
<div className="container whitespace-pre-wrap">
|
|
30
|
-
<h1 className="flex justify-center">Privacy Policy</h1>
|
|
31
|
-
<Inform.PrivacyPolicy companyName="${dict.CompanyName}" />
|
|
32
|
-
</div>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
`;
|
|
37
|
-
}
|
|
38
|
-
module.exports = module.exports.default;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var page_exports = {};
|
|
19
|
-
__export(page_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(page_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { Image } from "@util/ui";
|
|
26
|
-
import { User } from "@shared/client";
|
|
27
|
-
import { getSelf, router } from "@akanjs/client";
|
|
28
|
-
|
|
29
|
-
export default function Page() {
|
|
30
|
-
const self = getSelf();
|
|
31
|
-
return (
|
|
32
|
-
<div className="relative w-full h-screen overflow-hidden flex items-center justify-center">
|
|
33
|
-
<div className="max-w-md bg-base-100/50 shadow-lg rounded-xl backdrop-blur-xs w-full py-4 pb-10 px-16">
|
|
34
|
-
<div className="my-6 flex justify-center text-4xl">${dict.appName}</div>
|
|
35
|
-
<User.Util.SignInPassword
|
|
36
|
-
siteKey=""
|
|
37
|
-
redirect="/self"
|
|
38
|
-
signupHref={null}
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
`;
|
|
45
|
-
}
|
|
46
|
-
module.exports = module.exports.default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var page_exports = {};
|
|
19
|
-
__export(page_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(page_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { Inform } from "@util/ui";
|
|
26
|
-
|
|
27
|
-
export default function Page() {
|
|
28
|
-
return (
|
|
29
|
-
<div className="container">
|
|
30
|
-
<h1 className="flex justify-center">Terms of Service</h1>
|
|
31
|
-
<Inform.ServicePolicy companyName="${dict.CompanyName}" serviceName="${dict.AppName}" />
|
|
32
|
-
</div>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
`;
|
|
36
|
-
}
|
|
37
|
-
module.exports = module.exports.default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var layout_exports = {};
|
|
19
|
-
__export(layout_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(layout_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { Footer } from "@${dict.appName}/ui";
|
|
26
|
-
import { getSelf } from "@akanjs/client";
|
|
27
|
-
|
|
28
|
-
export default function Layout({ children }: any) {
|
|
29
|
-
getSelf({ unauthorize: "/signin" });
|
|
30
|
-
return (
|
|
31
|
-
<>
|
|
32
|
-
<div className="w-full min-h-screen pt-20 px-2 container flex flex-col gap-2">{children}</div>
|
|
33
|
-
<Footer />
|
|
34
|
-
</>
|
|
35
|
-
);
|
|
36
|
-
}
|
|
37
|
-
`;
|
|
38
|
-
}
|
|
39
|
-
module.exports = module.exports.default;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var page_exports = {};
|
|
19
|
-
__export(page_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(page_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { User as SharedUser } from "@shared/client";
|
|
26
|
-
import { MainHeader } from "@${dict.appName}/ui";
|
|
27
|
-
import { User } from "@${dict.appName}/client";
|
|
28
|
-
import { getSelf } from "@akanjs/client";
|
|
29
|
-
|
|
30
|
-
export default function Page() {
|
|
31
|
-
const self = getSelf({ unauthorize: "/signin" });
|
|
32
|
-
return (
|
|
33
|
-
<>
|
|
34
|
-
<MainHeader items={[{ type: "self", name: "profile" }]} />
|
|
35
|
-
<div className="flex items-center gap-2">
|
|
36
|
-
<div className="text-2xl">My Profile</div>
|
|
37
|
-
<User.Util.EditSelf />
|
|
38
|
-
</div>
|
|
39
|
-
<div>
|
|
40
|
-
<User.Zone.Self />
|
|
41
|
-
</div>
|
|
42
|
-
<div>
|
|
43
|
-
<div className="font-bold">Password</div>
|
|
44
|
-
<div>
|
|
45
|
-
*******
|
|
46
|
-
<span>
|
|
47
|
-
<SharedUser.Util.SetPasswordWithPhone />
|
|
48
|
-
</span>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</>
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
`;
|
|
55
|
-
}
|
|
56
|
-
module.exports = module.exports.default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var layout_exports = {};
|
|
19
|
-
__export(layout_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(layout_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { System } from "@shared/ui";
|
|
26
|
-
import { env } from "@${dict.appName}/env/env.client";
|
|
27
|
-
import { fetch } from "@${dict.appName}/client";
|
|
28
|
-
|
|
29
|
-
export const metadata = { title: "${dict.appName}" };
|
|
30
|
-
|
|
31
|
-
export default function Layout({ children, params }: RootLayoutProps) {
|
|
32
|
-
return (
|
|
33
|
-
<System.Provider
|
|
34
|
-
of={Layout}
|
|
35
|
-
appName="${dict.appName}"
|
|
36
|
-
params={params}
|
|
37
|
-
head={<link rel="icon" href="/favicon.ico" />}
|
|
38
|
-
// className="bg-base-100"
|
|
39
|
-
env={env}
|
|
40
|
-
fetch={fetch}
|
|
41
|
-
>
|
|
42
|
-
{children}
|
|
43
|
-
</System.Provider>
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
`;
|
|
47
|
-
}
|
|
48
|
-
module.exports = module.exports.default;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var layout_exports = {};
|
|
19
|
-
__export(layout_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(layout_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { System } from "@shared/ui";
|
|
26
|
-
import { env } from "@${dict.appName}/env/env.client";
|
|
27
|
-
import { fetch } from "@${dict.appName}/client";
|
|
28
|
-
import type { RootLayoutProps } from "@akanjs/client";
|
|
29
|
-
|
|
30
|
-
export const metadata = { title: "${dict.appName}" };
|
|
31
|
-
|
|
32
|
-
export default function Layout({ children, params }: RootLayoutProps) {
|
|
33
|
-
return (
|
|
34
|
-
<System.Provider
|
|
35
|
-
of={Layout}
|
|
36
|
-
appName="${dict.appName}"
|
|
37
|
-
params={params}
|
|
38
|
-
head={<link rel="icon" href="/favicon.ico" />}
|
|
39
|
-
// className="bg-base-100"
|
|
40
|
-
env={env}
|
|
41
|
-
fetch={fetch}
|
|
42
|
-
>
|
|
43
|
-
{children}
|
|
44
|
-
</System.Provider>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
`;
|
|
48
|
-
}
|
|
49
|
-
module.exports = module.exports.default;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var page_exports = {};
|
|
19
|
-
__export(page_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(page_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
"use client";
|
|
26
|
-
import { Admin } from "@shared/client";
|
|
27
|
-
import { User, st } from "@${dict.appName}/client";
|
|
28
|
-
|
|
29
|
-
export default function Page() {
|
|
30
|
-
const me = st.use.me();
|
|
31
|
-
return (
|
|
32
|
-
<Admin.Zone.Layout
|
|
33
|
-
password
|
|
34
|
-
// ssoTypes={["google"]}
|
|
35
|
-
logo={<div className="text-white ">${dict.appName}</div>}
|
|
36
|
-
pageMenus={[
|
|
37
|
-
{
|
|
38
|
-
key: "data",
|
|
39
|
-
title: "Data",
|
|
40
|
-
menus: [
|
|
41
|
-
Admin.Menu.Admin,
|
|
42
|
-
User.Menu.Admin,
|
|
43
|
-
],
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
key: "api",
|
|
47
|
-
title: "API Doc",
|
|
48
|
-
menus: [
|
|
49
|
-
Admin.Menu.Doc,
|
|
50
|
-
User.Menu.Doc,
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
]}
|
|
54
|
-
/>
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
`;
|
|
58
|
-
}
|
|
59
|
-
module.exports = module.exports.default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var csr_exports = {};
|
|
19
|
-
__export(csr_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(csr_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { bootCsr } from "@akanjs/next";
|
|
26
|
-
|
|
27
|
-
void bootCsr(import.meta.glob("./**/*.tsx"), "./[lang]/${dict.appName}/layout.tsx");
|
|
28
|
-
`;
|
|
29
|
-
}
|
|
30
|
-
module.exports = module.exports.default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<title>CSR</title>
|
|
6
|
-
<base href="/" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div id="root"></div>
|
|
11
|
-
<script type="module" src="/csr.tsx"></script>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var layout_exports = {};
|
|
19
|
-
__export(layout_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(layout_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
"use client";
|
|
26
|
-
import { st } from "@${dict.appName}/client";
|
|
27
|
-
import { System } from "@shared/ui";
|
|
28
|
-
|
|
29
|
-
export default function Layout({ children }) {
|
|
30
|
-
return <System.Root st={st}>{children}</System.Root>;
|
|
31
|
-
}
|
|
32
|
-
`;
|
|
33
|
-
}
|
|
34
|
-
module.exports = module.exports.default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var robots_exports = {};
|
|
19
|
-
__export(robots_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(robots_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { MetadataRoute } from "next";
|
|
26
|
-
import { env } from "@${dict.appName}/env/env.client";
|
|
27
|
-
export default function robots(): MetadataRoute.Robots {
|
|
28
|
-
return {
|
|
29
|
-
rules: {
|
|
30
|
-
userAgent: "*",
|
|
31
|
-
allow: "/",
|
|
32
|
-
disallow: "/admin/",
|
|
33
|
-
},
|
|
34
|
-
sitemap: \`\${env.clientHttpUri}/sitemap.xml\`,
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
`;
|
|
38
|
-
}
|
|
39
|
-
module.exports = module.exports.default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var sitemap_exports = {};
|
|
19
|
-
__export(sitemap_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(sitemap_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
import { MetadataRoute } from "next";
|
|
26
|
-
import { env } from "@${dict.appName}/env/env.client";
|
|
27
|
-
export default function sitemap(): MetadataRoute.Sitemap {
|
|
28
|
-
return [
|
|
29
|
-
{ url: \`\${env.clientHttpUri}\`, lastModified: new Date() },
|
|
30
|
-
//
|
|
31
|
-
];
|
|
32
|
-
}
|
|
33
|
-
`;
|
|
34
|
-
}
|
|
35
|
-
module.exports = module.exports.default;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var baseLogic_exports = {};
|
|
19
|
-
__export(baseLogic_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(baseLogic_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
// \uD604 \uB514\uB809\uD1A0\uB9AC\uC5D0\uC11C\uB294 \uD504\uB85C\uC81D\uD2B8 \uB0B4 \uC804\uCCB4\uC801\uC73C\uB85C \uC0AC\uC6A9\uB418\uB294 \uB85C\uC9C1\uC744 \uAD6C\uD604\uD558\uBA70, \uB530\uB77C\uC11C \uBC31/\uD504\uB860\uD2B8 \uBE44\uC758\uC874\uC801\uC778 pure js \uCF54\uB4DC\uB9CC \uAD6C\uD604 \uAC00\uB2A5\uD569\uB2C8\uB2E4.
|
|
26
|
-
// common\uD3F4\uB354\uC640 \uB2E4\uB978\uC810\uC740, base \uCF54\uB4DC\uB294 \uC2DC\uC2A4\uD15C \uC804\uCCB4\uC5D0\uC11C import\uB418\uC5B4 \uC0AC\uC6A9\uB418\uBBC0\uB85C, \uAC00\uC7A5 \uD575\uC2EC\uC801\uC778 \uB85C\uC9C1\uACFC \uCD94\uC0C1\uD654\uB41C \uAE30\uB2A5\uB9CC \uAD6C\uD604\uD574\uC57C\uD569\uB2C8\uB2E4.
|
|
27
|
-
// @${dict.appName}/base\uC5D0\uC11C\uB294 \uC11C\uBC84/\uD074\uB77C\uC774\uC5B8\uD2B8 \uAD00\uB828 \uB77C\uC774\uBE0C\uB7EC\uB9AC(@*/server, @*/nest, @*/client, @*/next)\uB97C \uBAA8\uB450 import\uD560 \uC218 \uC5C6\uC73C\uBA70, @*/base \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB9CC import \uAC00\uB2A5\uD569\uB2C8\uB2E4.
|
|
28
|
-
|
|
29
|
-
export const someBaseLogic = () => {
|
|
30
|
-
//
|
|
31
|
-
};
|
|
32
|
-
`;
|
|
33
|
-
}
|
|
34
|
-
module.exports = module.exports.default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var base_exports = {};
|
|
19
|
-
__export(base_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(base_exports);
|
|
23
|
-
function getContent(scanResult, dict = {}) {
|
|
24
|
-
return `
|
|
25
|
-
export * from "./baseLogic";
|
|
26
|
-
`;
|
|
27
|
-
}
|
|
28
|
-
module.exports = module.exports.default;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var commonLogic_exports = {};
|
|
19
|
-
__export(commonLogic_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(commonLogic_exports);
|
|
23
|
-
function getContent(scanResult, dict) {
|
|
24
|
-
return `
|
|
25
|
-
// \uD604 \uB514\uB809\uD1A0\uB9AC\uC5D0\uC11C\uB294 \uD504\uB85C\uC81D\uD2B8 \uB0B4 \uC804\uCCB4\uC801\uC73C\uB85C \uC0AC\uC6A9\uB418\uB294 \uC138\uBD80\uC801\uC778 \uB85C\uC9C1\uC744 \uAD6C\uD604\uD558\uBA70, \uB530\uB77C\uC11C \uBC31/\uD504\uB860\uD2B8 \uBE44\uC758\uC874\uC801\uC778 pure js \uCF54\uB4DC\uB9CC \uAD6C\uD604 \uAC00\uB2A5\uD569\uB2C8\uB2E4.
|
|
26
|
-
// base\uD3F4\uB354\uC640 \uB2E4\uB978\uC810\uC740, common \uCF54\uB4DC\uB294 \uC0AC\uC6A9\uD558\uB294 \uD30C\uC77C\uC5D0\uC11C\uB9CC import\uB418\uAE30 \uB54C\uBB38\uC5D0, \uC678\uBD80\uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C import\uD574\uC11C \uC0AC\uC6A9\uD558\uAC70\uB098 \uC0C1\uC138\uD55C \uB85C\uC9C1\uC744 \uAD6C\uD604\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
|
|
27
|
-
// @${dict.appName}/common\uC5D0\uC11C\uB294 \uC11C\uBC84/\uD074\uB77C\uC774\uC5B8\uD2B8 \uAD00\uB828 \uB77C\uC774\uBE0C\uB7EC\uB9AC(@*/server, @*/nest, @*/client, @*/next)\uB97C \uBAA8\uB450 import\uD560 \uC218 \uC5C6\uC73C\uBA70, @*/base\uC640 @*/common \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB9CC import \uAC00\uB2A5\uD569\uB2C8\uB2E4.
|
|
28
|
-
|
|
29
|
-
export const someCommonLogic = () => {
|
|
30
|
-
//
|
|
31
|
-
};
|
|
32
|
-
`;
|
|
33
|
-
}
|
|
34
|
-
module.exports = module.exports.default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var common_exports = {};
|
|
19
|
-
__export(common_exports, {
|
|
20
|
-
default: () => getContent
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(common_exports);
|
|
23
|
-
function getContent(scanResult, dict = {}) {
|
|
24
|
-
return `
|
|
25
|
-
export * from "./commonLogic";
|
|
26
|
-
`;
|
|
27
|
-
}
|
|
28
|
-
module.exports = module.exports.default;
|