Objects
SmartAppDefinition
The `definition` object and the metadata the hub stores for it.
SmartAppDefinition
---- (2) Smart-app exports — typed globalThis view -----------------------
Definition
interface SmartAppDefinition {
name: string;
namespace: string;
description?: string;
author?: string;
category?: string;
iconUrl?: string;
iconX2Url?: string;
}Members
| Name | Type | Optional | Description |
|---|---|---|---|
name | string | no | — |
namespace | string | no | — |
description | string | yes | — |
author | string | yes | — |
category | string | yes | — |
iconUrl | string | yes | — |
iconX2Url | string | yes | — |
apps/edge-runtime/src/core/smartapp/builtin/ambient.d.ts:366
Stored metadata
What the hub records for a registered definition (wire schema smartAppDefinitionMetadataSchema). version is an integer assigned by the hub; do not set one yourself.
| Field | Type | Required |
|---|---|---|
appDefinitionId | string | yes |
name | string | yes |
namespace | string | yes |
version | number | no |
author | string | no |
description | string | no |
category | string | no |
iconUrl | string | no |
iconX2Url | string | no |
isSystem | boolean | no |
codeHash | string | no |
parent | object | no |
childApps | array | no |
singleInstance | boolean | no |
singletonPerParent | boolean | no |
deprecated | boolean | no |