@uofx/cli 1.0.2 → 1.1.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/README.md +159 -3
- package/THIRD-PARTY-NOTICES.txt +84 -2
- package/dist/application/dtos/config/index.js +22 -0
- package/dist/application/dtos/config/request/index.js +19 -0
- package/dist/application/dtos/config/request/set-config.request.dto.js +3 -0
- package/dist/application/dtos/config/response/get-config.response.dto.js +8 -0
- package/dist/application/dtos/config/response/index.js +21 -0
- package/dist/application/dtos/dev/index.js +24 -0
- package/dist/application/dtos/dev/request/generate-component.request.dto.js +3 -0
- package/dist/application/dtos/dev/request/index.js +25 -0
- package/dist/application/dtos/dev/request/install-template.request.dto.js +3 -0
- package/dist/application/dtos/dev/request/new-project.request.dto.js +3 -0
- package/dist/application/dtos/dev/request/publish-plugin.request.dto.js +3 -0
- package/dist/application/dtos/dev/request/uninstall-template.request.dto.js +3 -0
- package/dist/application/dtos/dev/response/generate-component.response.dto.js +3 -0
- package/dist/application/dtos/dev/response/index.js +24 -0
- package/dist/application/dtos/dev/response/new-project.response.dto.js +3 -0
- package/dist/application/dtos/dev/response/publish-plugin.response.dto.js +3 -0
- package/dist/application/dtos/dev/response/template-info.response.dto.js +3 -0
- package/dist/application/dtos/env/index.js +24 -0
- package/dist/application/dtos/{request → env/request}/index.js +1 -3
- package/dist/application/dtos/env/request/list-running-instances.request.dto.js +3 -0
- package/dist/application/dtos/{response → env/response}/index.js +1 -1
- package/dist/application/dtos/env/response/list-running-instances.response.dto.js +3 -0
- package/dist/application/dtos/index.js +9 -2
- package/dist/application/dtos/logs/index.js +22 -0
- package/dist/application/dtos/logs/request/index.js +18 -0
- package/dist/application/dtos/logs/response/index.js +18 -0
- package/dist/application/index.js +1 -0
- package/dist/application/services/env/environment-validator.service.js +120 -0
- package/dist/application/services/env/index.js +11 -0
- package/dist/application/services/env/instance-cleanup.service.js +79 -0
- package/dist/application/services/index.js +21 -0
- package/dist/application/use-cases/config/get-all-config.use-case.js +54 -0
- package/dist/application/use-cases/config/get-config.use-case.js +7 -17
- package/dist/application/use-cases/config/index.js +23 -0
- package/dist/application/use-cases/config/set-config.use-case.js +49 -3
- package/dist/application/use-cases/dev/generate-component.use-case.js +138 -0
- package/dist/application/use-cases/dev/index.js +28 -0
- package/dist/application/use-cases/dev/install-template.use-case.js +60 -0
- package/dist/application/use-cases/dev/list-templates.use-case.js +45 -0
- package/dist/application/use-cases/dev/new-project.use-case.js +130 -0
- package/dist/application/use-cases/dev/publish-plugin.use-case.js +243 -0
- package/dist/application/use-cases/dev/uninstall-template.use-case.js +50 -0
- package/dist/application/use-cases/{instance → env}/delete-instance.use-case.js +2 -2
- package/dist/application/use-cases/{credentials → env}/get-credentials.use-case.js +1 -1
- package/dist/application/use-cases/{instance → env}/index.js +11 -0
- package/dist/application/use-cases/{instance → env}/install-instance.use-case.js +25 -136
- package/dist/application/use-cases/env/list-running-instances.use-case.js +47 -0
- package/dist/application/use-cases/{setup → env}/setup-environment.use-case.js +35 -4
- package/dist/application/use-cases/{instance → env}/start-instance.use-case.js +53 -41
- package/dist/application/use-cases/index.js +9 -6
- package/dist/application/use-cases/logs/index.js +21 -0
- package/dist/cli.js +175 -26
- package/dist/constants/defaults.js +8 -1
- package/dist/constants/oci-artifacts.js +4 -0
- package/dist/constants/paths.js +0 -4
- package/dist/constants/timeouts.js +5 -0
- package/dist/di/modules/application.module.js +13 -44
- package/dist/di/modules/config.module.js +19 -0
- package/dist/di/modules/dev.module.js +45 -0
- package/dist/di/modules/env.module.js +42 -0
- package/dist/di/modules/index.js +30 -0
- package/dist/di/modules/infrastructure.module.js +65 -82
- package/dist/di/modules/logs.module.js +15 -0
- package/dist/di/modules/presentation.module.js +18 -7
- package/dist/di/tokens.js +42 -30
- package/dist/domain/entities/credentials-resolver.entity.js +4 -1
- package/dist/domain/entities/credentials.entity.js +2 -5
- package/dist/domain/entities/delete-instance-validation.entity.js +4 -1
- package/dist/domain/entities/deployment-parameters.entity.js +11 -8
- package/dist/domain/entities/index.js +5 -1
- package/dist/domain/entities/instance-list-aggregator.entity.js +2 -2
- package/dist/domain/entities/instance-metadata.entity.js +2 -3
- package/dist/domain/entities/instance.entity.js +2 -1
- package/dist/domain/entities/log-filter.entity.js +6 -6
- package/dist/domain/entities/template-info.entity.js +63 -0
- package/dist/{infrastructure/utils/error-formatter.util.js → domain/errors/error-utils.js} +1 -1
- package/dist/domain/errors/index.js +19 -0
- package/dist/domain/index.js +6 -0
- package/dist/domain/interfaces/index.js +21 -0
- package/dist/domain/ports/dotnet-publisher.port.js +9 -0
- package/dist/{infrastructure/http/interfaces/http-client.interface.js → domain/ports/file-system.port.js} +1 -1
- package/dist/domain/ports/http-client.port.js +3 -0
- package/dist/domain/ports/index.js +10 -0
- package/dist/domain/ports/logger.port.js +3 -3
- package/dist/domain/ports/progress.port.js +10 -0
- package/dist/domain/ports/project-scaffolder.port.js +9 -0
- package/dist/domain/ports/schematics-runner.port.js +9 -0
- package/dist/domain/ports/template-manager.port.js +9 -0
- package/dist/domain/ports/wsl-setup.port.js +3 -0
- package/dist/domain/types/index.js +1 -0
- package/dist/domain/value-objects/acr-credentials.value-object.js +13 -1
- package/dist/domain/value-objects/chart-version.value-object.js +20 -3
- package/dist/domain/value-objects/config-log-level.value-object.js +2 -1
- package/dist/domain/value-objects/index.js +3 -1
- package/dist/domain/value-objects/instance-name.value-object.js +6 -3
- package/dist/domain/value-objects/jwt-key.value-object.js +27 -5
- package/dist/domain/value-objects/mssql-password.value-object.js +27 -5
- package/dist/domain/value-objects/output-path.value-object.js +85 -0
- package/dist/domain/value-objects/rsa-key-pair.value-object.js +29 -3
- package/dist/index.js +6 -1
- package/dist/infrastructure/config/{app-config.service.js → app-config.adapter.js} +29 -17
- package/dist/infrastructure/config/{config-validator.js → config-validator.util.js} +1 -1
- package/dist/infrastructure/config/index.js +14 -0
- package/dist/infrastructure/config/interfaces/index.js +3 -0
- package/dist/infrastructure/config/{crypto.service.js → services/crypto.service.js} +4 -1
- package/dist/infrastructure/config/services/index.js +9 -0
- package/dist/infrastructure/deployment/deployment.adapter.js +5 -5
- package/dist/infrastructure/deployment/index.js +9 -0
- package/dist/infrastructure/deployment/interfaces/index.js +3 -0
- package/dist/infrastructure/deployment/services/acr-credential-manager.service.js +18 -7
- package/dist/infrastructure/deployment/services/app-manager.service.js +3 -3
- package/dist/infrastructure/deployment/services/base-helm-deployment.service.js +13 -5
- package/dist/infrastructure/deployment/services/helm-registry.service.js +10 -3
- package/dist/infrastructure/deployment/services/index.js +35 -0
- package/dist/infrastructure/deployment/services/infra-manager.service.js +19 -15
- package/dist/infrastructure/deployment/services/k8s-job-runner.service.js +24 -6
- package/dist/infrastructure/deployment/services/mssql-database-init.service.js +75 -11
- package/dist/infrastructure/deployment/services/mssql-helm-deployment.service.js +17 -5
- package/dist/infrastructure/deployment/services/mssql-storage.service.js +5 -1
- package/dist/infrastructure/deployment/services/mssql-user-manager.service.js +7 -3
- package/dist/infrastructure/deployment/services/oci-artifact.service.js +8 -3
- package/dist/infrastructure/deployment/services/secret-manager.service.js +14 -5
- package/dist/infrastructure/deployment/services/service-manager.service.js +1 -1
- package/dist/infrastructure/deployment/services/version-compatibility.service.js +9 -5
- package/dist/infrastructure/dotnet/dotnet-publisher.adapter.js +143 -0
- package/dist/infrastructure/dotnet/index.js +9 -0
- package/dist/infrastructure/environment/index.js +11 -0
- package/dist/infrastructure/environment/interfaces/index.js +3 -0
- package/dist/infrastructure/{platform-detector.js → environment/platform-detector.util.js} +1 -1
- package/dist/infrastructure/environment/services/hardware-info.service.js +8 -8
- package/dist/infrastructure/environment/services/index.js +11 -0
- package/dist/infrastructure/errors/{error-handler.js → error-handler.adapter.js} +17 -17
- package/dist/infrastructure/errors/index.js +5 -21
- package/dist/infrastructure/execution/builders/base-command.builder.js +32 -11
- package/dist/infrastructure/execution/builders/index.js +26 -0
- package/dist/infrastructure/execution/builders/wsl-command.builder.js +39 -1
- package/dist/infrastructure/execution/command-builder.util.js +94 -0
- package/dist/infrastructure/execution/environments/index.js +23 -0
- package/dist/infrastructure/execution/environments/wsl-execution.environment.js +22 -7
- package/dist/infrastructure/execution/index.js +1 -2
- package/dist/infrastructure/execution/services/command-executor.service.js +389 -0
- package/dist/infrastructure/execution/services/index.js +8 -0
- package/dist/infrastructure/execution/{script-executor.service.js → services/script-executor.service.js} +12 -15
- package/dist/infrastructure/filesystem/filesystem.adapter.js +86 -0
- package/dist/infrastructure/filesystem/index.js +23 -0
- package/dist/infrastructure/http/{http-client.service.js → http-client.adapter.js} +20 -13
- package/dist/infrastructure/http/index.js +1 -1
- package/dist/infrastructure/interceptors/decorators/index.js +23 -0
- package/dist/infrastructure/interceptors/index.js +2 -2
- package/dist/infrastructure/interceptors/interceptor.factory.js +3 -3
- package/dist/infrastructure/interceptors/interfaces/index.js +3 -0
- package/dist/infrastructure/interceptors/services/index.js +6 -0
- package/dist/infrastructure/interceptors/{logging.interceptor.js → services/logging-interceptor.service.js} +4 -4
- package/dist/infrastructure/logger/services/file-log-reader.repository.js +1 -1
- package/dist/infrastructure/logger/services/file-log-writer.repository.js +1 -1
- package/dist/infrastructure/persistence/instance-metadata.adapter.js +2 -1
- package/dist/infrastructure/persistence/services/file-system-config.repository.js +10 -4
- package/dist/infrastructure/persistence/services/file-system-instance.repository.js +2 -2
- package/dist/infrastructure/platforms/index.js +18 -0
- package/dist/infrastructure/platforms/windows/index.js +13 -0
- package/dist/infrastructure/platforms/windows/interfaces/index.js +3 -0
- package/dist/infrastructure/platforms/windows/parsers/index.js +9 -0
- package/dist/infrastructure/platforms/windows/services/index.js +33 -0
- package/dist/infrastructure/platforms/windows/services/microk8s.service.js +28 -10
- package/dist/infrastructure/platforms/windows/services/rootfs-manager.service.js +7 -3
- package/dist/infrastructure/platforms/windows/services/windows-features.service.js +22 -8
- package/dist/infrastructure/platforms/windows/services/windows-info.service.js +10 -6
- package/dist/infrastructure/platforms/windows/services/wsl-config.service.js +15 -6
- package/dist/infrastructure/platforms/windows/services/wsl-info.service.js +12 -12
- package/dist/infrastructure/platforms/windows/services/wsl-instance-inspection.service.js +3 -3
- package/dist/infrastructure/platforms/windows/services/wsl-instance-lifecycle.service.js +76 -22
- package/dist/infrastructure/platforms/windows/services/wsl-updater.service.js +20 -15
- package/dist/infrastructure/platforms/windows/services/wslconfig-parser.service.js +3 -3
- package/dist/infrastructure/platforms/windows/wsl-instance-manager.adapter.js +8 -3
- package/dist/infrastructure/platforms/windows/wsl-setup.adapter.js +100 -0
- package/dist/infrastructure/schematics/index.js +11 -0
- package/dist/infrastructure/schematics/project-scaffolder.adapter.js +314 -0
- package/dist/infrastructure/schematics/schematics-runner.adapter.js +175 -0
- package/dist/infrastructure/template/index.js +25 -0
- package/dist/infrastructure/template/interfaces/index.js +22 -0
- package/dist/infrastructure/template/interfaces/template-downloader.interface.js +6 -0
- package/dist/infrastructure/template/interfaces/template-registry.interface.js +6 -0
- package/dist/infrastructure/template/services/index.js +24 -0
- package/dist/infrastructure/template/services/template-downloader.service.js +319 -0
- package/dist/infrastructure/template/services/template-registry.service.js +175 -0
- package/dist/infrastructure/template/template-manager.adapter.js +196 -0
- package/dist/infrastructure/utils/index.js +23 -0
- package/dist/infrastructure/utils/input-validator.util.js +7 -6
- package/dist/presentation/controllers/base.controller.js +36 -0
- package/dist/presentation/controllers/{config.controller.js → config/config.controller.js} +17 -62
- package/dist/presentation/controllers/config/index.js +21 -0
- package/dist/presentation/controllers/dev/dev.controller.js +202 -0
- package/dist/presentation/controllers/dev/index.js +23 -0
- package/dist/presentation/controllers/dev/template.controller.js +158 -0
- package/dist/presentation/controllers/{credentials.controller.js → env/credentials.controller.js} +8 -14
- package/dist/presentation/controllers/env/index.js +23 -0
- package/dist/presentation/controllers/{instance.controller.js → env/instance.controller.js} +35 -92
- package/dist/presentation/controllers/{setup.controller.js → env/setup.controller.js} +33 -66
- package/dist/presentation/controllers/index.js +9 -5
- package/dist/presentation/controllers/logs/index.js +21 -0
- package/dist/presentation/controllers/{logs.controller.js → logs/logs.controller.js} +8 -14
- package/dist/presentation/interfaces/index.js +21 -0
- package/dist/presentation/prompts/acr-credentials.prompt.js +37 -9
- package/dist/presentation/ui/constants/index.js +23 -0
- package/dist/presentation/ui/interaction.service.js +4 -4
- package/dist/presentation/ui/interfaces/cli-progress.interface.js +0 -6
- package/dist/presentation/ui/interfaces/index.js +6 -0
- package/package.json +6 -1
- package/dist/application/dtos/request/set-config.request.dto.js +0 -16
- package/dist/infrastructure/errors/error-handler.interface.js +0 -3
- package/dist/infrastructure/execution/command-builder.js +0 -252
- package/dist/infrastructure/execution/command-executor.service.js +0 -230
- /package/dist/application/dtos/{request → config/request}/get-config.request.dto.js +0 -0
- /package/dist/application/dtos/{request → env/request}/delete-instance.request.dto.js +0 -0
- /package/dist/application/dtos/{request → env/request}/get-credentials.request.dto.js +0 -0
- /package/dist/application/dtos/{request → env/request}/install-instance.request.dto.js +0 -0
- /package/dist/application/dtos/{request → env/request}/list-charts.request.dto.js +0 -0
- /package/dist/application/dtos/{request → env/request}/setup-environment.request.dto.js +0 -0
- /package/dist/application/dtos/{request → env/request}/start-instance.request.dto.js +0 -0
- /package/dist/application/dtos/{request → env/request}/stop-instance.request.dto.js +0 -0
- /package/dist/application/dtos/{response → env/response}/credentials.response.dto.js +0 -0
- /package/dist/application/dtos/{response → env/response}/delete-instance.response.dto.js +0 -0
- /package/dist/application/dtos/{response → env/response}/install-instance.response.dto.js +0 -0
- /package/dist/application/dtos/{response → env/response}/instance-list.response.dto.js +0 -0
- /package/dist/application/dtos/{response → env/response}/instance-status.response.dto.js +0 -0
- /package/dist/application/dtos/{response → env/response}/setup-result.response.dto.js +0 -0
- /package/dist/application/dtos/{response → env/response}/start-instance.response.dto.js +0 -0
- /package/dist/application/dtos/{response → env/response}/stop-instance.response.dto.js +0 -0
- /package/dist/application/dtos/{request → logs/request}/show-logs.request.dto.js +0 -0
- /package/dist/application/dtos/{response → logs/response}/show-logs.response.dto.js +0 -0
- /package/dist/application/use-cases/{instance → env}/list-charts.use-case.js +0 -0
- /package/dist/application/use-cases/{instance → env}/list-instances.use-case.js +0 -0
- /package/dist/application/use-cases/{instance → env}/stop-instance.use-case.js +0 -0
- /package/dist/{infrastructure → domain}/errors/app-error.js +0 -0
- /package/dist/{infrastructure → domain}/errors/exit-codes.js +0 -0
- /package/dist/infrastructure/config/{app-config.interface.js → interfaces/app-config.interface.js} +0 -0
- /package/dist/{domain → infrastructure/interceptors}/decorators/sensitive.decorator.js +0 -0
- /package/dist/infrastructure/interceptors/{interceptor.interface.js → interfaces/interceptor.interface.js} +0 -0
package/README.md
CHANGED
|
@@ -144,11 +144,12 @@ uofx env setup
|
|
|
144
144
|
|
|
145
145
|
> **注意**:若需要安裝 WSL,必須以系統管理員身份執行。
|
|
146
146
|
|
|
147
|
-
#### `env install`
|
|
147
|
+
#### `env install`(別名 `i`)
|
|
148
148
|
安裝並部署 UOFX 開發環境。
|
|
149
149
|
|
|
150
150
|
```bash
|
|
151
151
|
uofx env install [選項]
|
|
152
|
+
uofx env i [選項]
|
|
152
153
|
```
|
|
153
154
|
|
|
154
155
|
> ⏱️ **安裝時間**:需要下載容器映像檔,通常需要 15 分鐘以上,實際時間依網路速度而定。
|
|
@@ -156,6 +157,7 @@ uofx env install [選項]
|
|
|
156
157
|
**選項:**
|
|
157
158
|
- `--name <name>` - 實例名稱(預設:`dev`)
|
|
158
159
|
- `--chart-version <version>` - 指定 Helm chart(UOFX) 版本(預設:最新版本)
|
|
160
|
+
- `--no-northwind` - 跳過 Northwind 範例資料庫安裝
|
|
159
161
|
|
|
160
162
|
**範例:**
|
|
161
163
|
```bash
|
|
@@ -164,6 +166,9 @@ uofx env install
|
|
|
164
166
|
|
|
165
167
|
# 指定名稱和版本
|
|
166
168
|
uofx env install --name my-project --chart-version 1.2.0
|
|
169
|
+
|
|
170
|
+
# 不安裝 Northwind 範例資料庫
|
|
171
|
+
uofx env install --no-northwind
|
|
167
172
|
```
|
|
168
173
|
|
|
169
174
|
#### `env list`
|
|
@@ -225,7 +230,7 @@ uofx env delete --name <name> [選項]
|
|
|
225
230
|
列出所有設定值。
|
|
226
231
|
|
|
227
232
|
```bash
|
|
228
|
-
uofx config list
|
|
233
|
+
uofx config list
|
|
229
234
|
```
|
|
230
235
|
|
|
231
236
|
#### `config set`
|
|
@@ -278,6 +283,157 @@ uofx logs --command env.install # 特定指令的日誌
|
|
|
278
283
|
|
|
279
284
|
---
|
|
280
285
|
|
|
286
|
+
### 開發工具 (dev)
|
|
287
|
+
|
|
288
|
+
#### `dev template install`(別名 `i`)
|
|
289
|
+
從 GitHub Release 或自訂 URL 安裝 Plugin 專案範本。`template` 可縮寫為 `t`。
|
|
290
|
+
|
|
291
|
+
```bash
|
|
292
|
+
uofx dev template install [選項]
|
|
293
|
+
uofx dev template i [選項]
|
|
294
|
+
uofx dev t i [選項]
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
**選項:**
|
|
298
|
+
- `--url <url>` - 自訂範本 URL(ZIP 檔案)
|
|
299
|
+
- `--name <name>` - 自訂範本名稱
|
|
300
|
+
- `--no-sample` - 安裝不含範例程式碼的基礎範本(使用 UOFX-Plugin-Base)
|
|
301
|
+
|
|
302
|
+
**範例:**
|
|
303
|
+
```bash
|
|
304
|
+
uofx dev template install
|
|
305
|
+
uofx dev template install --no-sample
|
|
306
|
+
uofx dev template install --url https://example.com/template.zip --name my-template
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
#### `dev template list`
|
|
310
|
+
列出已安裝的範本。
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
uofx dev template list
|
|
314
|
+
uofx dev t list
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
#### `dev template delete`
|
|
318
|
+
刪除指定的範本。
|
|
319
|
+
|
|
320
|
+
```bash
|
|
321
|
+
uofx dev template delete --name <name>
|
|
322
|
+
uofx dev t delete --name <name>
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
**選項:**
|
|
326
|
+
- `--name <name>` - 要刪除的範本名稱(必填)
|
|
327
|
+
|
|
328
|
+
#### `dev project generate`(別名 `g`)
|
|
329
|
+
從已安裝的範本建立新的 Plugin 專案。`project` 可縮寫為 `p`。
|
|
330
|
+
|
|
331
|
+
```bash
|
|
332
|
+
uofx dev project generate [選項]
|
|
333
|
+
uofx dev project g [選項]
|
|
334
|
+
uofx dev p g [選項]
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
**選項:**
|
|
338
|
+
- `--template <template>` - 指定使用的已安裝範本名稱(必填)
|
|
339
|
+
- `--output <path>` - 目標目錄(預設:當前目錄)
|
|
340
|
+
- `--skip-install` - 跳過 `npm install`(適用於離線環境或需要手動安裝依賴的情境)
|
|
341
|
+
- `-f, --force` - 跳過非空目錄檢查
|
|
342
|
+
|
|
343
|
+
**範例:**
|
|
344
|
+
```bash
|
|
345
|
+
uofx dev project generate --template v2025R4.123.2
|
|
346
|
+
uofx dev project g --template v2025R4.123.2 --output ./dest
|
|
347
|
+
uofx dev project g --template v2025R4.123.2 --skip-install
|
|
348
|
+
uofx dev project g --template v2025R4.123.2 --force
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
#### `dev component generate`(別名 `g`)
|
|
352
|
+
使用 `@uofx/plugin-schematics` 產生 Plugin 元件。`component` 可縮寫為 `c`。
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
uofx dev component generate [選項]
|
|
356
|
+
uofx dev component g [選項]
|
|
357
|
+
uofx dev c g [選項]
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
> **注意**:此指令需搭配 v2026R1.128.1 或更新版本的樣板使用。請先透過 `uofx dev template install` 安裝符合版本需求的樣板,並使用 `uofx dev project generate` 建立專案。
|
|
361
|
+
|
|
362
|
+
**元件類型:**
|
|
363
|
+
|
|
364
|
+
| 類型 | 說明 |
|
|
365
|
+
|------|------|
|
|
366
|
+
| `field` | 自訂表單欄位 |
|
|
367
|
+
| `mobile-field` | 行動端表單欄位 |
|
|
368
|
+
| `admin-panel` | 管理端面板元件 |
|
|
369
|
+
| `user-panel` | 使用者端面板元件 |
|
|
370
|
+
| `mobile-panel` | 行動端面板元件 |
|
|
371
|
+
| `admin-page` | 管理端頁面 |
|
|
372
|
+
| `user-page` | 使用者端頁面 |
|
|
373
|
+
| `mobile-page` | 行動端頁面 |
|
|
374
|
+
|
|
375
|
+
**必填選項:**
|
|
376
|
+
- `--type <type>` - 元件類型(見上表)
|
|
377
|
+
- `--name <name>` - 元件名稱
|
|
378
|
+
|
|
379
|
+
**通用選項:**
|
|
380
|
+
- `--display-name <name>` - UI 顯示名稱(預設:`<name>` 的 PascalCase)
|
|
381
|
+
- `-f, --force` - 跳過 dry-run 預覽與確認提示
|
|
382
|
+
|
|
383
|
+
**Field / Panel 專用選項:**(`field`、`mobile-field`、`admin-panel`、`user-panel`、`mobile-panel`)
|
|
384
|
+
- `--code <code>` - 元件代碼,camelCase 格式(預設:`<name>` 的 camelCase)
|
|
385
|
+
|
|
386
|
+
**Field 專用選項:**
|
|
387
|
+
- `--group <group>` - 欄位群組代碼(預設:`group1`)
|
|
388
|
+
- `--no-design` - 跳過 design 子元件
|
|
389
|
+
- `--no-print` - 跳過 print 子元件
|
|
390
|
+
- `--no-view` - 跳過 view 子元件
|
|
391
|
+
|
|
392
|
+
**Page 專用選項:**
|
|
393
|
+
- `--layout <layout>` - 頁面佈局類型(預設:`basic`)
|
|
394
|
+
- `admin-page`:`basic`、`container`、`sider`、`tab`
|
|
395
|
+
- `user-page`:`basic`、`full`、`tab`
|
|
396
|
+
- `mobile-page`:`basic`、`tab`
|
|
397
|
+
- `--func-id <id>` - 授權功能 ID
|
|
398
|
+
|
|
399
|
+
**範例:**
|
|
400
|
+
```bash
|
|
401
|
+
uofx dev component g --type field --name hello-world
|
|
402
|
+
uofx dev component g --type mobile-field --name customer-info
|
|
403
|
+
uofx dev component g --type field --name hello-world --no-print
|
|
404
|
+
uofx dev component g --type admin-panel --name dashboard --display-name="Dashboard Panel"
|
|
405
|
+
uofx dev component g --type admin-page --name settings --layout container
|
|
406
|
+
uofx dev component g --type user-page --name profile --layout full
|
|
407
|
+
uofx dev component g --type mobile-page --name home --layout tab
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
#### `dev project publish`
|
|
411
|
+
發佈 Plugin 專案(版本更新 + dotnet publish + 整理輸出)。`project` 可縮寫為 `p`,`publish` 可縮寫為 `p`。
|
|
412
|
+
|
|
413
|
+
```bash
|
|
414
|
+
uofx dev project publish [選項]
|
|
415
|
+
uofx dev p publish [選項]
|
|
416
|
+
uofx dev p p [選項]
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
**必填選項:**
|
|
420
|
+
- `--service-version <version>` - Plugin 版本號(例如 `1.0`)
|
|
421
|
+
- `--min-uofx-version <version>` - 最低 UOFX 版本(例如 `2.89.0`)
|
|
422
|
+
- `--service-name <name>` - 服務名稱(例如 `Ede.Sample`)
|
|
423
|
+
|
|
424
|
+
**選填選項:**
|
|
425
|
+
- `--output <path>` - 輸出目錄(預設:../wwwroot)
|
|
426
|
+
- `-f, --force` - 跳過確認提示,並覆蓋已存在的輸出目錄與版本項目
|
|
427
|
+
|
|
428
|
+
**範例:**
|
|
429
|
+
```bash
|
|
430
|
+
uofx dev project publish --service-version=1.0 --min-uofx-version=2.89.0 --service-name=Ede.Sample
|
|
431
|
+
uofx dev project publish --service-version=1.1 --min-uofx-version=2.89.0 --service-name=Ede.Sample --output=./publish
|
|
432
|
+
uofx dev project publish --service-version=1.0 --min-uofx-version=2.89.0 --service-name=Ede.Sample --force
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
---
|
|
436
|
+
|
|
281
437
|
## ⚠️ 重要限制
|
|
282
438
|
|
|
283
439
|
### 實例互斥
|
|
@@ -441,4 +597,4 @@ flowchart LR
|
|
|
441
597
|
|
|
442
598
|
---
|
|
443
599
|
|
|
444
|
-
_UOFX CLI v1.0.
|
|
600
|
+
_UOFX CLI v1.0.2_
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -397,6 +397,36 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
397
397
|
|
|
398
398
|
-----------
|
|
399
399
|
|
|
400
|
+
The following npm package may be included in this product:
|
|
401
|
+
|
|
402
|
+
- adm-zip@0.5.16
|
|
403
|
+
|
|
404
|
+
This package contains the following license:
|
|
405
|
+
|
|
406
|
+
MIT License
|
|
407
|
+
|
|
408
|
+
Copyright (c) 2012 Another-D-Mention Software and other contributors
|
|
409
|
+
|
|
410
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
411
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
412
|
+
in the Software without restriction, including without limitation the rights
|
|
413
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
414
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
415
|
+
furnished to do so, subject to the following conditions:
|
|
416
|
+
|
|
417
|
+
The above copyright notice and this permission notice shall be included in all
|
|
418
|
+
copies or substantial portions of the Software.
|
|
419
|
+
|
|
420
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
421
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
422
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
423
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
424
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
425
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
426
|
+
SOFTWARE.
|
|
427
|
+
|
|
428
|
+
-----------
|
|
429
|
+
|
|
400
430
|
The following npm package may be included in this product:
|
|
401
431
|
|
|
402
432
|
- has-symbols@1.1.0
|
|
@@ -702,6 +732,24 @@ SOFTWARE.
|
|
|
702
732
|
|
|
703
733
|
-----------
|
|
704
734
|
|
|
735
|
+
The following npm package may be included in this product:
|
|
736
|
+
|
|
737
|
+
- shebang-command@2.0.0
|
|
738
|
+
|
|
739
|
+
This package contains the following license:
|
|
740
|
+
|
|
741
|
+
MIT License
|
|
742
|
+
|
|
743
|
+
Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com> (github.com/kevva)
|
|
744
|
+
|
|
745
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
746
|
+
|
|
747
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
748
|
+
|
|
749
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
750
|
+
|
|
751
|
+
-----------
|
|
752
|
+
|
|
705
753
|
The following npm packages may be included in this product:
|
|
706
754
|
|
|
707
755
|
- ansi-regex@5.0.1
|
|
@@ -709,6 +757,8 @@ The following npm packages may be included in this product:
|
|
|
709
757
|
- chalk@4.1.2
|
|
710
758
|
- has-flag@4.0.0
|
|
711
759
|
- is-fullwidth-code-point@3.0.0
|
|
760
|
+
- path-key@3.1.1
|
|
761
|
+
- shebang-regex@3.0.0
|
|
712
762
|
- string-width@4.2.3
|
|
713
763
|
- strip-ansi@6.0.1
|
|
714
764
|
- supports-color@7.2.0
|
|
@@ -727,11 +777,13 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
727
777
|
|
|
728
778
|
-----------
|
|
729
779
|
|
|
730
|
-
The following npm
|
|
780
|
+
The following npm packages may be included in this product:
|
|
731
781
|
|
|
782
|
+
- isexe@2.0.0
|
|
732
783
|
- semver@7.7.3
|
|
784
|
+
- which@2.0.2
|
|
733
785
|
|
|
734
|
-
|
|
786
|
+
These packages each contain the following license:
|
|
735
787
|
|
|
736
788
|
The ISC License
|
|
737
789
|
|
|
@@ -810,6 +862,36 @@ SOFTWARE.
|
|
|
810
862
|
|
|
811
863
|
-----------
|
|
812
864
|
|
|
865
|
+
The following npm package may be included in this product:
|
|
866
|
+
|
|
867
|
+
- cross-spawn@7.0.6
|
|
868
|
+
|
|
869
|
+
This package contains the following license:
|
|
870
|
+
|
|
871
|
+
The MIT License (MIT)
|
|
872
|
+
|
|
873
|
+
Copyright (c) 2018 Made With MOXY Lda <hello@moxy.studio>
|
|
874
|
+
|
|
875
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
876
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
877
|
+
in the Software without restriction, including without limitation the rights
|
|
878
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
879
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
880
|
+
furnished to do so, subject to the following conditions:
|
|
881
|
+
|
|
882
|
+
The above copyright notice and this permission notice shall be included in
|
|
883
|
+
all copies or substantial portions of the Software.
|
|
884
|
+
|
|
885
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
886
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
887
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
888
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
889
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
890
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
891
|
+
THE SOFTWARE.
|
|
892
|
+
|
|
893
|
+
-----------
|
|
894
|
+
|
|
813
895
|
The following npm package may be included in this product:
|
|
814
896
|
|
|
815
897
|
- kleur@3.0.3
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Config 指令群組 DTOs
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./request"), exports);
|
|
21
|
+
__exportStar(require("./response"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-config.request.dto"), exports);
|
|
18
|
+
__exportStar(require("./set-config.request.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/**
|
|
18
|
+
* Config Response DTOs
|
|
19
|
+
*/
|
|
20
|
+
__exportStar(require("./get-config.response.dto"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/**
|
|
18
|
+
* Dev DTOs (Data Transfer Objects)
|
|
19
|
+
*
|
|
20
|
+
* 用於 Dev 指令群組的輸入輸出資料結構
|
|
21
|
+
*/
|
|
22
|
+
__exportStar(require("./request"), exports);
|
|
23
|
+
__exportStar(require("./response"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/**
|
|
18
|
+
* Dev Request DTOs
|
|
19
|
+
*/
|
|
20
|
+
__exportStar(require("./install-template.request.dto"), exports);
|
|
21
|
+
__exportStar(require("./uninstall-template.request.dto"), exports);
|
|
22
|
+
__exportStar(require("./new-project.request.dto"), exports);
|
|
23
|
+
__exportStar(require("./generate-component.request.dto"), exports);
|
|
24
|
+
__exportStar(require("./publish-plugin.request.dto"), exports);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/**
|
|
18
|
+
* Dev Response DTOs
|
|
19
|
+
*/
|
|
20
|
+
__exportStar(require("./template-info.response.dto"), exports);
|
|
21
|
+
__exportStar(require("./new-project.response.dto"), exports);
|
|
22
|
+
__exportStar(require("./generate-component.response.dto"), exports);
|
|
23
|
+
__exportStar(require("./publish-plugin.response.dto"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Env 指令群組 DTOs
|
|
4
|
+
*
|
|
5
|
+
* 包含 instance、setup、credentials 相關的資料傳輸物件
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
__exportStar(require("./request"), exports);
|
|
23
|
+
__exportStar(require("./response"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -20,8 +20,6 @@ __exportStar(require("./stop-instance.request.dto"), exports);
|
|
|
20
20
|
__exportStar(require("./delete-instance.request.dto"), exports);
|
|
21
21
|
__exportStar(require("./list-charts.request.dto"), exports);
|
|
22
22
|
__exportStar(require("./get-credentials.request.dto"), exports);
|
|
23
|
-
__exportStar(require("./get-config.request.dto"), exports);
|
|
24
|
-
__exportStar(require("./set-config.request.dto"), exports);
|
|
25
23
|
__exportStar(require("./setup-environment.request.dto"), exports);
|
|
26
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./list-running-instances.request.dto"), exports);
|
|
27
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -19,8 +19,8 @@ __exportStar(require("./instance-status.response.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./instance-list.response.dto"), exports);
|
|
20
20
|
__exportStar(require("./credentials.response.dto"), exports);
|
|
21
21
|
__exportStar(require("./setup-result.response.dto"), exports);
|
|
22
|
-
__exportStar(require("./show-logs.response.dto"), exports);
|
|
23
22
|
__exportStar(require("./start-instance.response.dto"), exports);
|
|
24
23
|
__exportStar(require("./stop-instance.response.dto"), exports);
|
|
25
24
|
__exportStar(require("./delete-instance.response.dto"), exports);
|
|
25
|
+
__exportStar(require("./list-running-instances.response.dto"), exports);
|
|
26
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Application DTOs (Data Transfer Objects)
|
|
4
4
|
*
|
|
5
5
|
* 用於 Use Case 的輸入輸出資料結構
|
|
6
|
+
* 按指令群組組織
|
|
6
7
|
*/
|
|
7
8
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
9
|
if (k2 === undefined) k2 = k;
|
|
@@ -19,6 +20,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
19
20
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
21
|
};
|
|
21
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
|
|
23
|
-
__exportStar(require("./
|
|
23
|
+
// Env 指令群組 (instance, setup, credentials)
|
|
24
|
+
__exportStar(require("./env"), exports);
|
|
25
|
+
// Config 指令群組
|
|
26
|
+
__exportStar(require("./config"), exports);
|
|
27
|
+
// Logs 指令群組
|
|
28
|
+
__exportStar(require("./logs"), exports);
|
|
29
|
+
// Dev 指令群組
|
|
30
|
+
__exportStar(require("./dev"), exports);
|
|
24
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Logs 指令群組 DTOs
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./request"), exports);
|
|
21
|
+
__exportStar(require("./response"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./show-logs.request.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|