@things-factory/figure-service 10.1.296 → 10.1.298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-server/service/capability-module/capability-module-entity.js +1 -1
- package/dist-server/service/capability-module/capability-module-resolver.js +9 -7
- package/dist-server/service/install-key/figure-install-key.d.ts +8 -15
- package/dist-server/service/install-key/figure-install-key.js +16 -31
- package/package.json +8 -8
- package/translations/en.json +2 -3
- package/translations/es.json +2 -3
- package/translations/ja.json +2 -3
- package/translations/ko.json +2 -3
- package/translations/ms.json +2 -3
- package/translations/zh.json +2 -3
|
@@ -235,7 +235,7 @@ tslib_1.__decorate([
|
|
|
235
235
|
], FigureInstallKeyCapability.prototype, "applianceId", void 0);
|
|
236
236
|
tslib_1.__decorate([
|
|
237
237
|
(0, typeorm_1.Column)(),
|
|
238
|
-
(0, type_graphql_1.Field)({ description: 'The provider whose module it
|
|
238
|
+
(0, type_graphql_1.Field)({ description: 'The provider whose module it pushes: the one its first push registered.' }),
|
|
239
239
|
tslib_1.__metadata("design:type", String)
|
|
240
240
|
], FigureInstallKeyCapability.prototype, "provider", void 0);
|
|
241
241
|
tslib_1.__decorate([
|
|
@@ -100,20 +100,22 @@ let FigureCapabilityModuleResolver = class FigureCapabilityModuleResolver {
|
|
|
100
100
|
}
|
|
101
101
|
/*
|
|
102
102
|
* A consuming app's push over its figure server link (ADR-0172 amendment 1, decisions 13-15): the caller is an install
|
|
103
|
-
* key's user
|
|
104
|
-
*
|
|
105
|
-
* here at once.
|
|
103
|
+
* key's user -- every install key's role holds `figure-capability-push` mutation (decision 14). The key's first push
|
|
104
|
+
* keeps its provider in a grant row; the key pushes that provider only since. The module becomes this domain's,
|
|
105
|
+
* chosen here at once.
|
|
106
106
|
*/
|
|
107
107
|
async pushFigureCapabilityModule(source, context, choices) {
|
|
108
108
|
const { domain, user, tx } = context.state;
|
|
109
109
|
const applianceId = user?.userType === 'appliance' ? user.reference : undefined;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
if (!applianceId)
|
|
111
|
+
throw new shell_1.Refusal('figure-capability-push-not-allowed', {}, 'only an install key pushes a capability module.');
|
|
112
|
+
const grant = await tx.getRepository(capability_module_entity_js_1.FigureInstallKeyCapability).findOne({ where: { applianceId, domain: { id: domain.id } } });
|
|
113
113
|
const bytes = Buffer.from(String(source ?? ''), 'utf8');
|
|
114
114
|
if (bytes.length > capability_module_store_js_1.MODULE_MAX_BYTES)
|
|
115
115
|
throw new shell_1.Refusal('figure-capability-module-too-large', { max: capability_module_store_js_1.MODULE_MAX_BYTES }, 'a capability module is at most {max} bytes.');
|
|
116
|
-
const m = await (0, capability_module_store_js_1.registerCapabilityModule)(tx, { bytes, owner: domain, asker: domain, user, provider: grant.provider });
|
|
116
|
+
const m = await (0, capability_module_store_js_1.registerCapabilityModule)(tx, { bytes, owner: domain, asker: domain, user, ...(grant ? { provider: grant.provider } : {}) });
|
|
117
|
+
if (!grant)
|
|
118
|
+
await tx.getRepository(capability_module_entity_js_1.FigureInstallKeyCapability).save({ domain, applianceId, provider: m.provider, creator: user, updater: user });
|
|
117
119
|
if (choices)
|
|
118
120
|
await (0, capability_module_store_js_1.keepCapabilityChoices)(tx, domain, m.provider, choices, user);
|
|
119
121
|
return { provider: m.provider, version: m.version, sha256: m.sha256, capabilities: m.capabilities ?? [] };
|
|
@@ -3,9 +3,7 @@ import { Role, User } from '@things-factory/auth-base';
|
|
|
3
3
|
/** The appliance model that marks an install key. */
|
|
4
4
|
export declare const INSTALL_KEY_MODEL = "figure-install-key";
|
|
5
5
|
/** The role every install key's user holds, made the first time a key is issued. */
|
|
6
|
-
export declare const INSTALL_KEY_ROLE = "figure-install-
|
|
7
|
-
/** The role a key that may push a capability module holds instead. */
|
|
8
|
-
export declare const INSTALL_KEY_PUSHER_ROLE = "figure-install-pusher";
|
|
6
|
+
export declare const INSTALL_KEY_ROLE = "figure-install-key";
|
|
9
7
|
export declare class FigureInstallKey {
|
|
10
8
|
id: string;
|
|
11
9
|
name: string;
|
|
@@ -16,27 +14,22 @@ export declare class FigureInstallKey {
|
|
|
16
14
|
export declare class IssuedFigureInstallKey extends FigureInstallKey {
|
|
17
15
|
token: string;
|
|
18
16
|
}
|
|
19
|
-
/** The role install keys hold: `figure-published` query only. Made once per domain. */
|
|
20
|
-
export declare function installReaderRole(tx: EntityManager, domain: {
|
|
21
|
-
id: string;
|
|
22
|
-
}, user: User): Promise<Role>;
|
|
23
17
|
/**
|
|
24
|
-
* The role
|
|
25
|
-
*
|
|
18
|
+
* The role install keys hold (ADR-0114, ADR-0172 decision 14): reading released figures, and registering their app's
|
|
19
|
+
* capabilities -- a server given a key is connected to this domain, and its app's capabilities come with it. Which app
|
|
20
|
+
* a key registers is its first push's. Made once per domain.
|
|
26
21
|
*/
|
|
27
|
-
export declare function
|
|
22
|
+
export declare function installKeyRoleOf(tx: EntityManager, domain: {
|
|
28
23
|
id: string;
|
|
29
24
|
}, user: User): Promise<Role>;
|
|
30
25
|
export declare function installKeysOf(tx: EntityManager, domain: {
|
|
31
26
|
id: string;
|
|
32
27
|
}): Promise<FigureInstallKey[]>;
|
|
33
|
-
/** Issues a new key: an install-key appliance, its user given the
|
|
28
|
+
/** Issues a new key: an install-key appliance, its user given the install key role, its secret signed. */
|
|
34
29
|
export declare function issueInstallKey(tx: EntityManager, domain: {
|
|
35
30
|
id: string;
|
|
36
31
|
subdomain?: string;
|
|
37
|
-
}, user: User, name: string
|
|
38
|
-
/** The capability provider whose module the key may push (ADR-0172 decision 14): off unless given. */
|
|
39
|
-
capabilityProvider?: string | null): Promise<IssuedFigureInstallKey>;
|
|
32
|
+
}, user: User, name: string): Promise<IssuedFigureInstallKey>;
|
|
40
33
|
/** Revokes a key for good: the appliance and its user go, so its token is refused from the next request. */
|
|
41
34
|
export declare function revokeInstallKey(tx: EntityManager, domain: {
|
|
42
35
|
id: string;
|
|
@@ -44,6 +37,6 @@ export declare function revokeInstallKey(tx: EntityManager, domain: {
|
|
|
44
37
|
/** The Settings card's doors. Issuing a credential is a security change, as an appliance's is. */
|
|
45
38
|
export declare class FigureInstallKeyResolver {
|
|
46
39
|
figureInstallKeys(context: ResolverContext): Promise<FigureInstallKey[]>;
|
|
47
|
-
issueFigureInstallKey(name: string, context: ResolverContext
|
|
40
|
+
issueFigureInstallKey(name: string, context: ResolverContext): Promise<IssuedFigureInstallKey>;
|
|
48
41
|
revokeFigureInstallKey(id: string, context: ResolverContext): Promise<boolean>;
|
|
49
42
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FigureInstallKeyResolver = exports.IssuedFigureInstallKey = exports.FigureInstallKey = exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.installPusherRole = installPusherRole;
|
|
3
|
+
exports.FigureInstallKeyResolver = exports.IssuedFigureInstallKey = exports.FigureInstallKey = exports.INSTALL_KEY_ROLE = exports.INSTALL_KEY_MODEL = void 0;
|
|
4
|
+
exports.installKeyRoleOf = installKeyRoleOf;
|
|
6
5
|
exports.installKeysOf = installKeysOf;
|
|
7
6
|
exports.issueInstallKey = issueInstallKey;
|
|
8
7
|
exports.revokeInstallKey = revokeInstallKey;
|
|
9
8
|
const tslib_1 = require("tslib");
|
|
10
9
|
const type_graphql_1 = require("type-graphql");
|
|
11
10
|
const auth_base_1 = require("@things-factory/auth-base");
|
|
12
|
-
const figure_model_1 = require("@hatiolab/figure-model");
|
|
13
11
|
const shell_1 = require("@things-factory/shell");
|
|
14
12
|
const capability_module_entity_js_1 = require("../capability-module/capability-module-entity.js");
|
|
15
13
|
/*
|
|
@@ -22,9 +20,7 @@ const capability_module_entity_js_1 = require("../capability-module/capability-m
|
|
|
22
20
|
/** The appliance model that marks an install key. */
|
|
23
21
|
exports.INSTALL_KEY_MODEL = 'figure-install-key';
|
|
24
22
|
/** The role every install key's user holds, made the first time a key is issued. */
|
|
25
|
-
exports.INSTALL_KEY_ROLE = 'figure-install-
|
|
26
|
-
/** The role a key that may push a capability module holds instead. */
|
|
27
|
-
exports.INSTALL_KEY_PUSHER_ROLE = 'figure-install-pusher';
|
|
23
|
+
exports.INSTALL_KEY_ROLE = 'figure-install-key';
|
|
28
24
|
let FigureInstallKey = class FigureInstallKey {
|
|
29
25
|
};
|
|
30
26
|
exports.FigureInstallKey = FigureInstallKey;
|
|
@@ -45,7 +41,7 @@ tslib_1.__decorate([
|
|
|
45
41
|
tslib_1.__metadata("design:type", String)
|
|
46
42
|
], FigureInstallKey.prototype, "issuedBy", void 0);
|
|
47
43
|
tslib_1.__decorate([
|
|
48
|
-
(0, type_graphql_1.Field)({ nullable: true, description: 'The capability provider
|
|
44
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'The capability provider the key registered first, and the only one it registers since (ADR-0172 decision 14); none before.' }),
|
|
49
45
|
tslib_1.__metadata("design:type", String)
|
|
50
46
|
], FigureInstallKey.prototype, "capabilityProvider", void 0);
|
|
51
47
|
exports.FigureInstallKey = FigureInstallKey = tslib_1.__decorate([
|
|
@@ -61,16 +57,13 @@ tslib_1.__decorate([
|
|
|
61
57
|
exports.IssuedFigureInstallKey = IssuedFigureInstallKey = tslib_1.__decorate([
|
|
62
58
|
(0, type_graphql_1.ObjectType)({ description: 'A key just issued, with its token - shown this once.' })
|
|
63
59
|
], IssuedFigureInstallKey);
|
|
64
|
-
/** The role install keys hold: `figure-published` query only. Made once per domain. */
|
|
65
|
-
async function installReaderRole(tx, domain, user) {
|
|
66
|
-
return await installKeyRole(tx, domain, user, exports.INSTALL_KEY_ROLE, 'Board servers installing figures (ADR-0114): reads released figures only', [['figure-published', 'query']]);
|
|
67
|
-
}
|
|
68
60
|
/**
|
|
69
|
-
* The role
|
|
70
|
-
*
|
|
61
|
+
* The role install keys hold (ADR-0114, ADR-0172 decision 14): reading released figures, and registering their app's
|
|
62
|
+
* capabilities -- a server given a key is connected to this domain, and its app's capabilities come with it. Which app
|
|
63
|
+
* a key registers is its first push's. Made once per domain.
|
|
71
64
|
*/
|
|
72
|
-
async function
|
|
73
|
-
return await installKeyRole(tx, domain, user, exports.
|
|
65
|
+
async function installKeyRoleOf(tx, domain, user) {
|
|
66
|
+
return await installKeyRole(tx, domain, user, exports.INSTALL_KEY_ROLE, "Board servers (ADR-0114, ADR-0172): read released figures and register their app's capabilities", [
|
|
74
67
|
['figure-published', 'query'],
|
|
75
68
|
['figure-capability-push', 'mutation']
|
|
76
69
|
]);
|
|
@@ -104,14 +97,9 @@ async function installKeysOf(tx, domain) {
|
|
|
104
97
|
const grants = await tx.getRepository(capability_module_entity_js_1.FigureInstallKeyCapability).find({ where: { domain: { id: domain.id } } });
|
|
105
98
|
return keys.map(key => ({ ...keyOf(key), capabilityProvider: grants.find(g => g.applianceId === key.id)?.provider }));
|
|
106
99
|
}
|
|
107
|
-
/** Issues a new key: an install-key appliance, its user given the
|
|
108
|
-
async function issueInstallKey(tx, domain, user, name
|
|
109
|
-
/** The capability provider whose module the key may push (ADR-0172 decision 14): off unless given. */
|
|
110
|
-
capabilityProvider) {
|
|
100
|
+
/** Issues a new key: an install-key appliance, its user given the install key role, its secret signed. */
|
|
101
|
+
async function issueInstallKey(tx, domain, user, name) {
|
|
111
102
|
const label = String(name ?? '').trim();
|
|
112
|
-
const provider = capabilityProvider?.trim() || undefined;
|
|
113
|
-
if (provider && !figure_model_1.FIGURE_CAPABILITY_PROVIDER.test(provider))
|
|
114
|
-
throw new shell_1.Refusal('figure-install-key-provider-invalid', { provider }, "a capability provider is lower-case letters, digits and '-': {provider}");
|
|
115
103
|
if (!label)
|
|
116
104
|
throw new shell_1.Refusal('figure-install-key-name-missing', {}, 'Name the key - what board server it is for.');
|
|
117
105
|
if (label.length > 100)
|
|
@@ -123,14 +111,12 @@ capabilityProvider) {
|
|
|
123
111
|
model: exports.INSTALL_KEY_MODEL,
|
|
124
112
|
description: 'Board server install key (ADR-0114)'
|
|
125
113
|
});
|
|
126
|
-
const role =
|
|
114
|
+
const role = await installKeyRoleOf(tx, domain, user);
|
|
127
115
|
const shadow = await tx.getRepository(auth_base_1.User).findOne({ where: { reference: appliance.id, userType: 'appliance' }, relations: { roles: true } });
|
|
128
116
|
shadow.roles = [role];
|
|
129
117
|
await tx.getRepository(auth_base_1.User).save(shadow);
|
|
130
|
-
if (provider)
|
|
131
|
-
await tx.getRepository(capability_module_entity_js_1.FigureInstallKeyCapability).save({ domain, applianceId: appliance.id, provider, creator: user, updater: user });
|
|
132
118
|
const issued = await (0, auth_base_1.issueApplianceSecret)(tx, domain, user, appliance.id);
|
|
133
|
-
return { ...keyOf({ ...issued, updater: user }),
|
|
119
|
+
return { ...keyOf({ ...issued, updater: user }), token: issued.accessToken };
|
|
134
120
|
}
|
|
135
121
|
/** Revokes a key for good: the appliance and its user go, so its token is refused from the next request. */
|
|
136
122
|
async function revokeInstallKey(tx, domain, id) {
|
|
@@ -147,9 +133,9 @@ let FigureInstallKeyResolver = class FigureInstallKeyResolver {
|
|
|
147
133
|
const { domain, tx } = context.state;
|
|
148
134
|
return await installKeysOf(tx ?? (0, shell_1.getRepository)(auth_base_1.Appliance).manager, domain);
|
|
149
135
|
}
|
|
150
|
-
async issueFigureInstallKey(name, context
|
|
136
|
+
async issueFigureInstallKey(name, context) {
|
|
151
137
|
const { domain, user, tx } = context.state;
|
|
152
|
-
return await issueInstallKey(tx, domain, user, name
|
|
138
|
+
return await issueInstallKey(tx, domain, user, name);
|
|
153
139
|
}
|
|
154
140
|
async revokeFigureInstallKey(id, context) {
|
|
155
141
|
const { domain, tx } = context.state;
|
|
@@ -171,9 +157,8 @@ tslib_1.__decorate([
|
|
|
171
157
|
(0, type_graphql_1.Mutation)(returns => IssuedFigureInstallKey, { description: 'Issues a key a board server installs figures with. Its token is answered this once.' }),
|
|
172
158
|
tslib_1.__param(0, (0, type_graphql_1.Arg)('name', { description: 'What the key is for.' })),
|
|
173
159
|
tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
|
|
174
|
-
tslib_1.__param(2, (0, type_graphql_1.Arg)('capabilityProvider', { nullable: true, description: 'The capability provider whose module the key may push to this domain. Left out, it pushes none.' })),
|
|
175
160
|
tslib_1.__metadata("design:type", Function),
|
|
176
|
-
tslib_1.__metadata("design:paramtypes", [String, Object
|
|
161
|
+
tslib_1.__metadata("design:paramtypes", [String, Object]),
|
|
177
162
|
tslib_1.__metadata("design:returntype", Promise)
|
|
178
163
|
], FigureInstallKeyResolver.prototype, "issueFigureInstallKey", null);
|
|
179
164
|
tslib_1.__decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/figure-service",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.298",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"@things-factory:registry": "https://registry.npmjs.org"
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@hatiolab/figure-model": "^0.12.16",
|
|
46
46
|
"@operato/typeorm-history": "^10.0.0",
|
|
47
|
-
"@things-factory/ai-client-base": "^10.1.
|
|
48
|
-
"@things-factory/attachment-base": "^10.1.
|
|
49
|
-
"@things-factory/auth-base": "^10.1.
|
|
50
|
-
"@things-factory/env": "^10.1.
|
|
51
|
-
"@things-factory/setting-base": "^10.1.
|
|
52
|
-
"@things-factory/shell": "^10.1.
|
|
47
|
+
"@things-factory/ai-client-base": "^10.1.298",
|
|
48
|
+
"@things-factory/attachment-base": "^10.1.298",
|
|
49
|
+
"@things-factory/auth-base": "^10.1.298",
|
|
50
|
+
"@things-factory/env": "^10.1.298",
|
|
51
|
+
"@things-factory/setting-base": "^10.1.298",
|
|
52
|
+
"@things-factory/shell": "^10.1.298",
|
|
53
53
|
"graphql-scalars": "^1.22.4",
|
|
54
54
|
"graphql-upload": "^15.0.2",
|
|
55
55
|
"jszip": "^3.10.1",
|
|
56
56
|
"koa-router": "^7.4.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "5b5dce33c891a02896ef3a9cb3974abefc3f53d6",
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=22.12"
|
|
61
61
|
},
|
package/translations/en.json
CHANGED
|
@@ -218,12 +218,11 @@
|
|
|
218
218
|
"figure.gate.capability-settings.message": "The settings of '{name}' cannot be applied. {reasons}",
|
|
219
219
|
"figure.gate.capability-settings.how": "Fix the settings in the capability tab.",
|
|
220
220
|
"error.figure-capability-module-invalid": "The file is not a capability module. {issues}",
|
|
221
|
-
"error.figure-capability-module-provider": "This key
|
|
221
|
+
"error.figure-capability-module-provider": "This key registers the capabilities of {allowed} only. These are of {provider}.",
|
|
222
222
|
"error.figure-capability-module-version": "{provider} {kept} is registered already. Raise the module version above {kept} (now {version}).",
|
|
223
223
|
"error.figure-capability-module-not-found": "There is no {provider} {version} module.",
|
|
224
224
|
"error.figure-capability-module-too-large": "A capability module file is at most {max} bytes.",
|
|
225
225
|
"error.figure-capability-provider-unknown": "No capability module of {provider} is registered.",
|
|
226
|
-
"error.figure-capability-push-not-allowed": "
|
|
227
|
-
"error.figure-install-key-provider-invalid": "A capability provider name uses lower-case letters, digits and '-' only: {provider}",
|
|
226
|
+
"error.figure-capability-push-not-allowed": "Only a board server install key registers capabilities.",
|
|
228
227
|
"error.figure-capability-choices-invalid": "The choice lists cannot be taken. {issues}"
|
|
229
228
|
}
|
package/translations/es.json
CHANGED
|
@@ -214,12 +214,11 @@
|
|
|
214
214
|
"figure.gate.capability-settings.message": "The settings of '{name}' cannot be applied. {reasons}",
|
|
215
215
|
"figure.gate.capability-settings.how": "Fix the settings in the capability tab.",
|
|
216
216
|
"error.figure-capability-module-invalid": "The file is not a capability module. {issues}",
|
|
217
|
-
"error.figure-capability-module-provider": "
|
|
217
|
+
"error.figure-capability-module-provider": "Esta clave registra solo las capacidades de {allowed}. Estas son de {provider}.",
|
|
218
218
|
"error.figure-capability-module-version": "{provider} {kept} is registered already. Raise the module version above {kept} (now {version}).",
|
|
219
219
|
"error.figure-capability-module-not-found": "There is no {provider} {version} module.",
|
|
220
220
|
"error.figure-capability-module-too-large": "A capability module file is at most {max} bytes.",
|
|
221
221
|
"error.figure-capability-provider-unknown": "No capability module of {provider} is registered.",
|
|
222
|
-
"error.figure-capability-push-not-allowed": "
|
|
223
|
-
"error.figure-install-key-provider-invalid": "A capability provider name uses lower-case letters, digits and '-' only: {provider}",
|
|
222
|
+
"error.figure-capability-push-not-allowed": "Solo una clave de instalación del servidor de tableros registra capacidades.",
|
|
224
223
|
"error.figure-capability-choices-invalid": "The choice lists cannot be taken. {issues}"
|
|
225
224
|
}
|
package/translations/ja.json
CHANGED
|
@@ -214,12 +214,11 @@
|
|
|
214
214
|
"figure.gate.capability-settings.message": "The settings of '{name}' cannot be applied. {reasons}",
|
|
215
215
|
"figure.gate.capability-settings.how": "Fix the settings in the capability tab.",
|
|
216
216
|
"error.figure-capability-module-invalid": "The file is not a capability module. {issues}",
|
|
217
|
-
"error.figure-capability-module-provider": "
|
|
217
|
+
"error.figure-capability-module-provider": "このキーで登録できるのは {allowed} の能力だけです。届いたのは {provider} の能力です。",
|
|
218
218
|
"error.figure-capability-module-version": "{provider} {kept} is registered already. Raise the module version above {kept} (now {version}).",
|
|
219
219
|
"error.figure-capability-module-not-found": "There is no {provider} {version} module.",
|
|
220
220
|
"error.figure-capability-module-too-large": "A capability module file is at most {max} bytes.",
|
|
221
221
|
"error.figure-capability-provider-unknown": "No capability module of {provider} is registered.",
|
|
222
|
-
"error.figure-capability-push-not-allowed": "
|
|
223
|
-
"error.figure-install-key-provider-invalid": "A capability provider name uses lower-case letters, digits and '-' only: {provider}",
|
|
222
|
+
"error.figure-capability-push-not-allowed": "能力はボードサーバー設置キーでのみ登録できます。",
|
|
224
223
|
"error.figure-capability-choices-invalid": "The choice lists cannot be taken. {issues}"
|
|
225
224
|
}
|
package/translations/ko.json
CHANGED
|
@@ -218,12 +218,11 @@
|
|
|
218
218
|
"figure.gate.capability-settings.message": "'{name}' 능력의 설정을 적용할 수 없습니다. {reasons}",
|
|
219
219
|
"figure.gate.capability-settings.how": "능력 탭에서 설정을 고치세요.",
|
|
220
220
|
"error.figure-capability-module-invalid": "능력 모듈 파일이 아닙니다. {issues}",
|
|
221
|
-
"error.figure-capability-module-provider": "이 키로는 {allowed}
|
|
221
|
+
"error.figure-capability-module-provider": "이 키로는 {allowed}의 능력만 등록할 수 있습니다. 올라온 것은 {provider}의 능력입니다.",
|
|
222
222
|
"error.figure-capability-module-version": "{provider} {kept} 버전이 이미 등록되어 있습니다. 모듈 버전을 {kept}보다 높게 올리세요(지금 {version}).",
|
|
223
223
|
"error.figure-capability-module-not-found": "{provider} {version} 모듈이 없습니다.",
|
|
224
224
|
"error.figure-capability-module-too-large": "능력 모듈 파일은 {max}바이트 이하여야 합니다.",
|
|
225
225
|
"error.figure-capability-provider-unknown": "{provider} 제공자의 능력 모듈이 등록되어 있지 않습니다.",
|
|
226
|
-
"error.figure-capability-push-not-allowed": "
|
|
227
|
-
"error.figure-install-key-provider-invalid": "능력 제공자 이름은 영문 소문자, 숫자, '-'만 쓸 수 있습니다: {provider}",
|
|
226
|
+
"error.figure-capability-push-not-allowed": "능력은 보드 서버 설치 키로만 등록할 수 있습니다.",
|
|
228
227
|
"error.figure-capability-choices-invalid": "선택 목록을 받을 수 없습니다. {issues}"
|
|
229
228
|
}
|
package/translations/ms.json
CHANGED
|
@@ -214,12 +214,11 @@
|
|
|
214
214
|
"figure.gate.capability-settings.message": "The settings of '{name}' cannot be applied. {reasons}",
|
|
215
215
|
"figure.gate.capability-settings.how": "Fix the settings in the capability tab.",
|
|
216
216
|
"error.figure-capability-module-invalid": "The file is not a capability module. {issues}",
|
|
217
|
-
"error.figure-capability-module-provider": "
|
|
217
|
+
"error.figure-capability-module-provider": "Kunci ini mendaftar keupayaan {allowed} sahaja. Ini keupayaan {provider}.",
|
|
218
218
|
"error.figure-capability-module-version": "{provider} {kept} is registered already. Raise the module version above {kept} (now {version}).",
|
|
219
219
|
"error.figure-capability-module-not-found": "There is no {provider} {version} module.",
|
|
220
220
|
"error.figure-capability-module-too-large": "A capability module file is at most {max} bytes.",
|
|
221
221
|
"error.figure-capability-provider-unknown": "No capability module of {provider} is registered.",
|
|
222
|
-
"error.figure-capability-push-not-allowed": "
|
|
223
|
-
"error.figure-install-key-provider-invalid": "A capability provider name uses lower-case letters, digits and '-' only: {provider}",
|
|
222
|
+
"error.figure-capability-push-not-allowed": "Hanya kunci pemasangan pelayan papan boleh mendaftar keupayaan.",
|
|
224
223
|
"error.figure-capability-choices-invalid": "The choice lists cannot be taken. {issues}"
|
|
225
224
|
}
|
package/translations/zh.json
CHANGED
|
@@ -214,12 +214,11 @@
|
|
|
214
214
|
"figure.gate.capability-settings.message": "The settings of '{name}' cannot be applied. {reasons}",
|
|
215
215
|
"figure.gate.capability-settings.how": "Fix the settings in the capability tab.",
|
|
216
216
|
"error.figure-capability-module-invalid": "The file is not a capability module. {issues}",
|
|
217
|
-
"error.figure-capability-module-provider": "
|
|
217
|
+
"error.figure-capability-module-provider": "此密钥只能注册 {allowed} 的能力。收到的是 {provider} 的能力。",
|
|
218
218
|
"error.figure-capability-module-version": "{provider} {kept} is registered already. Raise the module version above {kept} (now {version}).",
|
|
219
219
|
"error.figure-capability-module-not-found": "There is no {provider} {version} module.",
|
|
220
220
|
"error.figure-capability-module-too-large": "A capability module file is at most {max} bytes.",
|
|
221
221
|
"error.figure-capability-provider-unknown": "No capability module of {provider} is registered.",
|
|
222
|
-
"error.figure-capability-push-not-allowed": "
|
|
223
|
-
"error.figure-install-key-provider-invalid": "A capability provider name uses lower-case letters, digits and '-' only: {provider}",
|
|
222
|
+
"error.figure-capability-push-not-allowed": "只有看板服务器安装密钥可以注册能力。",
|
|
224
223
|
"error.figure-capability-choices-invalid": "The choice lists cannot be taken. {issues}"
|
|
225
224
|
}
|