@nocobase/plugin-multi-app-manager 1.2.12-alpha → 1.3.0-alpha.20240710084543
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/package.json +2 -2
- package/dist/client/AppManager.d.ts +0 -10
- package/dist/client/AppNameInput.d.ts +0 -10
- package/dist/client/MultiAppManagerProvider.d.ts +0 -10
- package/dist/client/MultiAppManagerProvider.style.d.ts +0 -13
- package/dist/client/Settings.d.ts +0 -10
- package/dist/client/index.d.ts +0 -14
- package/dist/client/index.js +0 -10
- package/dist/client/settings/schemas/applications.d.ts +0 -18
- package/dist/client/utils.d.ts +0 -12
- package/dist/externalVersion.js +0 -25
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -48
- package/dist/locale/en-US.json +0 -11
- package/dist/locale/es-ES.json +0 -9
- package/dist/locale/index.d.ts +0 -9
- package/dist/locale/index.js +0 -36
- package/dist/locale/ko_KR.json +0 -11
- package/dist/locale/pt-BR.json +0 -9
- package/dist/locale/zh-CN.json +0 -14
- package/dist/node_modules/mariadb/LICENSE +0 -502
- package/dist/node_modules/mariadb/callback.js +0 -41
- package/dist/node_modules/mariadb/lib/cmd/batch-bulk.js +0 -278
- package/dist/node_modules/mariadb/lib/cmd/batch-rewrite.js +0 -372
- package/dist/node_modules/mariadb/lib/cmd/change-user.js +0 -149
- package/dist/node_modules/mariadb/lib/cmd/class/ok-packet.js +0 -17
- package/dist/node_modules/mariadb/lib/cmd/column-definition.js +0 -102
- package/dist/node_modules/mariadb/lib/cmd/command.js +0 -168
- package/dist/node_modules/mariadb/lib/cmd/common-binary-cmd.js +0 -327
- package/dist/node_modules/mariadb/lib/cmd/common-text-cmd.js +0 -427
- package/dist/node_modules/mariadb/lib/cmd/handshake/auth/caching-sha2-password-auth.js +0 -168
- package/dist/node_modules/mariadb/lib/cmd/handshake/auth/clear-password-auth.js +0 -23
- package/dist/node_modules/mariadb/lib/cmd/handshake/auth/ed25519-password-auth.js +0 -761
- package/dist/node_modules/mariadb/lib/cmd/handshake/auth/native-password-auth.js +0 -55
- package/dist/node_modules/mariadb/lib/cmd/handshake/auth/pam-password-auth.js +0 -58
- package/dist/node_modules/mariadb/lib/cmd/handshake/auth/plugin-auth.js +0 -19
- package/dist/node_modules/mariadb/lib/cmd/handshake/auth/sha256-password-auth.js +0 -142
- package/dist/node_modules/mariadb/lib/cmd/handshake/client-capabilities.js +0 -74
- package/dist/node_modules/mariadb/lib/cmd/handshake/client-handshake-response.js +0 -126
- package/dist/node_modules/mariadb/lib/cmd/handshake/handshake.js +0 -292
- package/dist/node_modules/mariadb/lib/cmd/handshake/initial-handshake.js +0 -74
- package/dist/node_modules/mariadb/lib/cmd/handshake/ssl-request.js +0 -29
- package/dist/node_modules/mariadb/lib/cmd/ping.js +0 -52
- package/dist/node_modules/mariadb/lib/cmd/query.js +0 -255
- package/dist/node_modules/mariadb/lib/cmd/quit.js +0 -28
- package/dist/node_modules/mariadb/lib/cmd/reset.js +0 -54
- package/dist/node_modules/mariadb/lib/cmd/resultset.js +0 -607
- package/dist/node_modules/mariadb/lib/cmd/stream.js +0 -45
- package/dist/node_modules/mariadb/lib/config/connection-options.js +0 -258
- package/dist/node_modules/mariadb/lib/config/pool-cluster-options.js +0 -19
- package/dist/node_modules/mariadb/lib/config/pool-options.js +0 -47
- package/dist/node_modules/mariadb/lib/connection-callback.js +0 -160
- package/dist/node_modules/mariadb/lib/connection.js +0 -1460
- package/dist/node_modules/mariadb/lib/const/capabilities.js +0 -64
- package/dist/node_modules/mariadb/lib/const/collations.js +0 -473
- package/dist/node_modules/mariadb/lib/const/connection_status.js +0 -13
- package/dist/node_modules/mariadb/lib/const/error-code.js +0 -1282
- package/dist/node_modules/mariadb/lib/const/field-detail.js +0 -35
- package/dist/node_modules/mariadb/lib/const/field-type.js +0 -71
- package/dist/node_modules/mariadb/lib/const/server-status.js +0 -30
- package/dist/node_modules/mariadb/lib/const/state-change.js +0 -12
- package/dist/node_modules/mariadb/lib/filtered-pool-cluster.js +0 -81
- package/dist/node_modules/mariadb/lib/io/bulk-packet.js +0 -590
- package/dist/node_modules/mariadb/lib/io/compression-input-stream.js +0 -141
- package/dist/node_modules/mariadb/lib/io/compression-output-stream.js +0 -171
- package/dist/node_modules/mariadb/lib/io/packet-input-stream.js +0 -193
- package/dist/node_modules/mariadb/lib/io/packet-node-encoded.js +0 -36
- package/dist/node_modules/mariadb/lib/io/packet-node-iconv.js +0 -37
- package/dist/node_modules/mariadb/lib/io/packet-output-stream.js +0 -502
- package/dist/node_modules/mariadb/lib/io/packet.js +0 -515
- package/dist/node_modules/mariadb/lib/io/rewrite-packet.js +0 -481
- package/dist/node_modules/mariadb/lib/misc/connection-information.js +0 -96
- package/dist/node_modules/mariadb/lib/misc/errors.js +0 -123
- package/dist/node_modules/mariadb/lib/misc/parse.js +0 -1033
- package/dist/node_modules/mariadb/lib/misc/utils.js +0 -298
- package/dist/node_modules/mariadb/lib/pool-base.js +0 -611
- package/dist/node_modules/mariadb/lib/pool-callback.js +0 -202
- package/dist/node_modules/mariadb/lib/pool-cluster-callback.js +0 -66
- package/dist/node_modules/mariadb/lib/pool-cluster.js +0 -407
- package/dist/node_modules/mariadb/lib/pool-promise.js +0 -108
- package/dist/node_modules/mariadb/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/dist/node_modules/mariadb/node_modules/@types/node/assert.d.ts +0 -912
- package/dist/node_modules/mariadb/node_modules/@types/node/async_hooks.d.ts +0 -501
- package/dist/node_modules/mariadb/node_modules/@types/node/buffer.d.ts +0 -2232
- package/dist/node_modules/mariadb/node_modules/@types/node/child_process.d.ts +0 -1366
- package/dist/node_modules/mariadb/node_modules/@types/node/cluster.d.ts +0 -414
- package/dist/node_modules/mariadb/node_modules/@types/node/console.d.ts +0 -412
- package/dist/node_modules/mariadb/node_modules/@types/node/constants.d.ts +0 -18
- package/dist/node_modules/mariadb/node_modules/@types/node/crypto.d.ts +0 -3338
- package/dist/node_modules/mariadb/node_modules/@types/node/dgram.d.ts +0 -545
- package/dist/node_modules/mariadb/node_modules/@types/node/diagnostics_channel.d.ts +0 -152
- package/dist/node_modules/mariadb/node_modules/@types/node/dns/promises.d.ts +0 -370
- package/dist/node_modules/mariadb/node_modules/@types/node/dns.d.ts +0 -659
- package/dist/node_modules/mariadb/node_modules/@types/node/domain.d.ts +0 -169
- package/dist/node_modules/mariadb/node_modules/@types/node/events.d.ts +0 -651
- package/dist/node_modules/mariadb/node_modules/@types/node/fs/promises.d.ts +0 -1091
- package/dist/node_modules/mariadb/node_modules/@types/node/fs.d.ts +0 -3869
- package/dist/node_modules/mariadb/node_modules/@types/node/globals.d.ts +0 -294
- package/dist/node_modules/mariadb/node_modules/@types/node/globals.global.d.ts +0 -1
- package/dist/node_modules/mariadb/node_modules/@types/node/http.d.ts +0 -1396
- package/dist/node_modules/mariadb/node_modules/@types/node/http2.d.ts +0 -2101
- package/dist/node_modules/mariadb/node_modules/@types/node/https.d.ts +0 -391
- package/dist/node_modules/mariadb/node_modules/@types/node/index.d.ts +0 -129
- package/dist/node_modules/mariadb/node_modules/@types/node/inspector.d.ts +0 -2744
- package/dist/node_modules/mariadb/node_modules/@types/node/module.d.ts +0 -114
- package/dist/node_modules/mariadb/node_modules/@types/node/net.d.ts +0 -791
- package/dist/node_modules/mariadb/node_modules/@types/node/os.d.ts +0 -455
- package/dist/node_modules/mariadb/node_modules/@types/node/package.json +0 -220
- package/dist/node_modules/mariadb/node_modules/@types/node/path.d.ts +0 -180
- package/dist/node_modules/mariadb/node_modules/@types/node/perf_hooks.d.ts +0 -557
- package/dist/node_modules/mariadb/node_modules/@types/node/process.d.ts +0 -1481
- package/dist/node_modules/mariadb/node_modules/@types/node/punycode.d.ts +0 -117
- package/dist/node_modules/mariadb/node_modules/@types/node/querystring.d.ts +0 -131
- package/dist/node_modules/mariadb/node_modules/@types/node/readline.d.ts +0 -650
- package/dist/node_modules/mariadb/node_modules/@types/node/repl.d.ts +0 -424
- package/dist/node_modules/mariadb/node_modules/@types/node/stream/consumers.d.ts +0 -24
- package/dist/node_modules/mariadb/node_modules/@types/node/stream/promises.d.ts +0 -42
- package/dist/node_modules/mariadb/node_modules/@types/node/stream/web.d.ts +0 -330
- package/dist/node_modules/mariadb/node_modules/@types/node/stream.d.ts +0 -1249
- package/dist/node_modules/mariadb/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/dist/node_modules/mariadb/node_modules/@types/node/timers/promises.d.ts +0 -68
- package/dist/node_modules/mariadb/node_modules/@types/node/timers.d.ts +0 -94
- package/dist/node_modules/mariadb/node_modules/@types/node/tls.d.ts +0 -1020
- package/dist/node_modules/mariadb/node_modules/@types/node/trace_events.d.ts +0 -161
- package/dist/node_modules/mariadb/node_modules/@types/node/tty.d.ts +0 -204
- package/dist/node_modules/mariadb/node_modules/@types/node/url.d.ts +0 -891
- package/dist/node_modules/mariadb/node_modules/@types/node/util.d.ts +0 -1594
- package/dist/node_modules/mariadb/node_modules/@types/node/v8.d.ts +0 -378
- package/dist/node_modules/mariadb/node_modules/@types/node/vm.d.ts +0 -507
- package/dist/node_modules/mariadb/node_modules/@types/node/wasi.d.ts +0 -158
- package/dist/node_modules/mariadb/node_modules/@types/node/worker_threads.d.ts +0 -649
- package/dist/node_modules/mariadb/node_modules/@types/node/zlib.d.ts +0 -517
- package/dist/node_modules/mariadb/node_modules/iconv-lite/.github/dependabot.yml +0 -11
- package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/codeStyles/Project.xml +0 -47
- package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/iconv-lite.iml +0 -12
- package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/modules.xml +0 -8
- package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/vcs.xml +0 -6
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/index.js +0 -23
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/internal.js +0 -198
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf16.js +0 -197
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf32.js +0 -319
- package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf7.js +0 -290
- package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/bom-handling.js +0 -52
- package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/index.d.ts +0 -41
- package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/index.js +0 -180
- package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/streams.js +0 -109
- package/dist/node_modules/mariadb/node_modules/iconv-lite/package.json +0 -44
- package/dist/node_modules/mariadb/package.json +0 -1
- package/dist/node_modules/mariadb/promise.js +0 -34
- package/dist/node_modules/mariadb/types/index.d.ts +0 -870
- package/dist/server/collections/applications.d.ts +0 -10
- package/dist/server/collections/applications.js +0 -75
- package/dist/server/index.d.ts +0 -11
- package/dist/server/index.js +0 -40
- package/dist/server/models/application.d.ts +0 -18
- package/dist/server/models/application.js +0 -50
- package/dist/server/server.d.ts +0 -26
- package/dist/server/server.js +0 -310
- package/dist/swagger/index.d.ts +0 -195
- package/dist/swagger/index.js +0 -226
package/dist/swagger/index.d.ts
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: {
|
|
10
|
-
info: {
|
|
11
|
-
title: string;
|
|
12
|
-
};
|
|
13
|
-
tags: any[];
|
|
14
|
-
paths: {
|
|
15
|
-
'/applications:list': {
|
|
16
|
-
get: {
|
|
17
|
-
tags: string[];
|
|
18
|
-
description: string;
|
|
19
|
-
responses: {
|
|
20
|
-
200: {
|
|
21
|
-
description: string;
|
|
22
|
-
content: {
|
|
23
|
-
'application/json': {
|
|
24
|
-
schema: {
|
|
25
|
-
$ref: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
'/applications:create': {
|
|
34
|
-
post: {
|
|
35
|
-
tags: string[];
|
|
36
|
-
description: string;
|
|
37
|
-
requestBody: {
|
|
38
|
-
required: boolean;
|
|
39
|
-
content: {
|
|
40
|
-
'application/json': {
|
|
41
|
-
schema: {
|
|
42
|
-
$ref: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
responses: {
|
|
48
|
-
200: {
|
|
49
|
-
description: string;
|
|
50
|
-
content: {
|
|
51
|
-
'application/json': {
|
|
52
|
-
schema: {
|
|
53
|
-
$ref: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
'/applications:update': {
|
|
62
|
-
post: {
|
|
63
|
-
tags: string[];
|
|
64
|
-
description: string;
|
|
65
|
-
parameters: {
|
|
66
|
-
name: string;
|
|
67
|
-
in: string;
|
|
68
|
-
description: string;
|
|
69
|
-
required: boolean;
|
|
70
|
-
schema: {
|
|
71
|
-
type: string;
|
|
72
|
-
};
|
|
73
|
-
}[];
|
|
74
|
-
requestBody: {
|
|
75
|
-
required: boolean;
|
|
76
|
-
content: {
|
|
77
|
-
'application/json': {
|
|
78
|
-
schema: {
|
|
79
|
-
$ref: string;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
responses: {
|
|
85
|
-
200: {
|
|
86
|
-
description: string;
|
|
87
|
-
content: {
|
|
88
|
-
'application/json': {
|
|
89
|
-
schema: {
|
|
90
|
-
$ref: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
'/applications:destroy': {
|
|
99
|
-
post: {
|
|
100
|
-
tags: string[];
|
|
101
|
-
description: string;
|
|
102
|
-
parameters: {
|
|
103
|
-
name: string;
|
|
104
|
-
in: string;
|
|
105
|
-
description: string;
|
|
106
|
-
required: boolean;
|
|
107
|
-
schema: {
|
|
108
|
-
type: string;
|
|
109
|
-
};
|
|
110
|
-
}[];
|
|
111
|
-
responses: {
|
|
112
|
-
200: {
|
|
113
|
-
description: string;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
components: {
|
|
120
|
-
schemas: {
|
|
121
|
-
applicationFrom: {
|
|
122
|
-
allOf: ({
|
|
123
|
-
$ref: string;
|
|
124
|
-
type?: undefined;
|
|
125
|
-
properties?: undefined;
|
|
126
|
-
} | {
|
|
127
|
-
type: string;
|
|
128
|
-
properties: {
|
|
129
|
-
createdAt: {
|
|
130
|
-
readOnly: boolean;
|
|
131
|
-
};
|
|
132
|
-
updatedAt: {
|
|
133
|
-
readOnly: boolean;
|
|
134
|
-
};
|
|
135
|
-
status: {
|
|
136
|
-
readOnly: boolean;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
$ref?: undefined;
|
|
140
|
-
})[];
|
|
141
|
-
};
|
|
142
|
-
application: {
|
|
143
|
-
type: string;
|
|
144
|
-
properties: {
|
|
145
|
-
name: {
|
|
146
|
-
type: string;
|
|
147
|
-
example: string;
|
|
148
|
-
description: string;
|
|
149
|
-
};
|
|
150
|
-
displayName: {
|
|
151
|
-
type: string;
|
|
152
|
-
example: string;
|
|
153
|
-
description: string;
|
|
154
|
-
};
|
|
155
|
-
pinned: {
|
|
156
|
-
type: string;
|
|
157
|
-
example: boolean;
|
|
158
|
-
description: string;
|
|
159
|
-
};
|
|
160
|
-
cname: {
|
|
161
|
-
type: string;
|
|
162
|
-
example: string;
|
|
163
|
-
description: string;
|
|
164
|
-
};
|
|
165
|
-
status: {
|
|
166
|
-
type: string;
|
|
167
|
-
example: string;
|
|
168
|
-
description: string;
|
|
169
|
-
};
|
|
170
|
-
options: {
|
|
171
|
-
type: string;
|
|
172
|
-
properties: {
|
|
173
|
-
autoStart: {
|
|
174
|
-
type: string;
|
|
175
|
-
example: boolean;
|
|
176
|
-
description: string;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
createdAt: {
|
|
181
|
-
type: string;
|
|
182
|
-
format: string;
|
|
183
|
-
description: string;
|
|
184
|
-
};
|
|
185
|
-
updatedAt: {
|
|
186
|
-
type: string;
|
|
187
|
-
format: string;
|
|
188
|
-
description: string;
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
export default _default;
|
package/dist/swagger/index.js
DELETED
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
var __defProp = Object.defineProperty;
|
|
11
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
-
var __export = (target, all) => {
|
|
15
|
-
for (var name in all)
|
|
16
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
17
|
-
};
|
|
18
|
-
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
-
for (let key of __getOwnPropNames(from))
|
|
21
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
|
-
var swagger_exports = {};
|
|
28
|
-
__export(swagger_exports, {
|
|
29
|
-
default: () => swagger_default
|
|
30
|
-
});
|
|
31
|
-
module.exports = __toCommonJS(swagger_exports);
|
|
32
|
-
var swagger_default = {
|
|
33
|
-
info: {
|
|
34
|
-
title: "NocoBase API - Multi-app manager plugin"
|
|
35
|
-
},
|
|
36
|
-
tags: [],
|
|
37
|
-
paths: {
|
|
38
|
-
"/applications:list": {
|
|
39
|
-
get: {
|
|
40
|
-
tags: ["applications"],
|
|
41
|
-
description: "List all applications",
|
|
42
|
-
responses: {
|
|
43
|
-
200: {
|
|
44
|
-
description: "ok",
|
|
45
|
-
content: {
|
|
46
|
-
"application/json": {
|
|
47
|
-
schema: {
|
|
48
|
-
$ref: "#/components/schemas/application"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"/applications:create": {
|
|
57
|
-
post: {
|
|
58
|
-
tags: ["applications"],
|
|
59
|
-
description: "Update application",
|
|
60
|
-
requestBody: {
|
|
61
|
-
required: true,
|
|
62
|
-
content: {
|
|
63
|
-
"application/json": {
|
|
64
|
-
schema: {
|
|
65
|
-
$ref: "#/components/schemas/applicationFrom"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
responses: {
|
|
71
|
-
200: {
|
|
72
|
-
description: "ok",
|
|
73
|
-
content: {
|
|
74
|
-
"application/json": {
|
|
75
|
-
schema: {
|
|
76
|
-
$ref: "#/components/schemas/application"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"/applications:update": {
|
|
85
|
-
post: {
|
|
86
|
-
tags: ["applications"],
|
|
87
|
-
description: "Update application",
|
|
88
|
-
parameters: [
|
|
89
|
-
{
|
|
90
|
-
name: "filterByTk",
|
|
91
|
-
in: "query",
|
|
92
|
-
description: "application name",
|
|
93
|
-
required: true,
|
|
94
|
-
schema: {
|
|
95
|
-
type: "string"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
requestBody: {
|
|
100
|
-
required: true,
|
|
101
|
-
content: {
|
|
102
|
-
"application/json": {
|
|
103
|
-
schema: {
|
|
104
|
-
$ref: "#/components/schemas/applicationFrom"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
responses: {
|
|
110
|
-
200: {
|
|
111
|
-
description: "ok",
|
|
112
|
-
content: {
|
|
113
|
-
"application/json": {
|
|
114
|
-
schema: {
|
|
115
|
-
$ref: "#/components/schemas/application"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"/applications:destroy": {
|
|
124
|
-
post: {
|
|
125
|
-
tags: ["applications"],
|
|
126
|
-
description: "Delete application",
|
|
127
|
-
parameters: [
|
|
128
|
-
{
|
|
129
|
-
name: "filterByTk",
|
|
130
|
-
in: "query",
|
|
131
|
-
description: "application name",
|
|
132
|
-
required: true,
|
|
133
|
-
schema: {
|
|
134
|
-
type: "string"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
responses: {
|
|
139
|
-
200: {
|
|
140
|
-
description: "ok"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
components: {
|
|
147
|
-
schemas: {
|
|
148
|
-
applicationFrom: {
|
|
149
|
-
allOf: [
|
|
150
|
-
{
|
|
151
|
-
$ref: "#/components/schemas/application"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
type: "object",
|
|
155
|
-
properties: {
|
|
156
|
-
createdAt: {
|
|
157
|
-
readOnly: true
|
|
158
|
-
},
|
|
159
|
-
updatedAt: {
|
|
160
|
-
readOnly: true
|
|
161
|
-
},
|
|
162
|
-
status: {
|
|
163
|
-
readOnly: true
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
]
|
|
168
|
-
},
|
|
169
|
-
application: {
|
|
170
|
-
type: "object",
|
|
171
|
-
properties: {
|
|
172
|
-
name: {
|
|
173
|
-
type: "string",
|
|
174
|
-
example: "app-1",
|
|
175
|
-
description: "The application's name"
|
|
176
|
-
},
|
|
177
|
-
displayName: {
|
|
178
|
-
type: "string",
|
|
179
|
-
example: "first application",
|
|
180
|
-
description: "The application's display name"
|
|
181
|
-
},
|
|
182
|
-
pinned: {
|
|
183
|
-
type: "boolean",
|
|
184
|
-
example: true,
|
|
185
|
-
description: "\u662F\u5426\u5728\u83DC\u5355\u4E0A\u663E\u793A"
|
|
186
|
-
},
|
|
187
|
-
cname: {
|
|
188
|
-
type: "string",
|
|
189
|
-
example: "app-1.example.com",
|
|
190
|
-
description: "custom domain of the application"
|
|
191
|
-
},
|
|
192
|
-
status: {
|
|
193
|
-
type: "string",
|
|
194
|
-
example: "running",
|
|
195
|
-
description: "application status"
|
|
196
|
-
},
|
|
197
|
-
options: {
|
|
198
|
-
type: "object",
|
|
199
|
-
properties: {
|
|
200
|
-
// standaloneDeployment: {
|
|
201
|
-
// type: 'boolean',
|
|
202
|
-
// example: true,
|
|
203
|
-
// description: '是否为独立部署的子应用',
|
|
204
|
-
// },
|
|
205
|
-
autoStart: {
|
|
206
|
-
type: "boolean",
|
|
207
|
-
example: true,
|
|
208
|
-
description: "\u5E94\u7528\u662F\u5426\u9ED8\u8BA4\u8DDF\u968F\u4E3B\u5E94\u7528\u542F\u52A8"
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
createdAt: {
|
|
213
|
-
type: "string",
|
|
214
|
-
format: "date-time",
|
|
215
|
-
description: "\u521B\u5EFA\u65F6\u95F4"
|
|
216
|
-
},
|
|
217
|
-
updatedAt: {
|
|
218
|
-
type: "string",
|
|
219
|
-
format: "date-time",
|
|
220
|
-
description: "\u66F4\u65B0\u65F6\u95F4"
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
};
|