|
119 | 119 | ],
|
120 | 120 | "type": "object"
|
121 | 121 | },
|
| 122 | + "ManifestAppEntryPoint": { |
| 123 | + "description": "Manifest for an `appEntryPoint`, which is loaded up front when the app starts.\n\nThis type of extension gives full control and will simply load the specified JS file.\nYou could have custom logic to decide which extensions to load/register by using extensionRegistry.\nThis is useful for extensions that need to be loaded up front, like an `authProvider`.", |
| 124 | + "properties": { |
| 125 | + "alias": { |
| 126 | + "description": "The alias of the extension, ensure it is unique", |
| 127 | + "type": "string" |
| 128 | + }, |
| 129 | + "js": { |
| 130 | + "description": "The file location of the javascript file to load", |
| 131 | + "type": "string" |
| 132 | + }, |
| 133 | + "kind": { |
| 134 | + "description": "The kind of the extension, used to group extensions together", |
| 135 | + "examples": [ |
| 136 | + "button" |
| 137 | + ] |
| 138 | + }, |
| 139 | + "name": { |
| 140 | + "description": "The friendly name of the extension", |
| 141 | + "type": "string" |
| 142 | + }, |
| 143 | + "type": { |
| 144 | + "const": "appEntryPoint", |
| 145 | + "description": "The type of extension such as dashboard etc...", |
| 146 | + "type": "string" |
| 147 | + }, |
| 148 | + "weight": { |
| 149 | + "description": "Extensions such as dashboards are ordered by weight with lower numbers being first in the list", |
| 150 | + "type": "number" |
| 151 | + } |
| 152 | + }, |
| 153 | + "required": [ |
| 154 | + "alias", |
| 155 | + "name", |
| 156 | + "type" |
| 157 | + ], |
| 158 | + "type": "object" |
| 159 | + }, |
122 | 160 | "ManifestAuthProvider": {
|
123 | 161 | "description": "Represents an authentication provider that can be used to authenticate users.\nThe provider needs to be registered in the API that the authorization request is sent to in order to be used.",
|
124 | 162 | "properties": {
|
|
175 | 213 | ],
|
176 | 214 | "type": "object"
|
177 | 215 | },
|
| 216 | + "ManifestBackofficeEntryPoint": { |
| 217 | + "description": "Manifest for an `backofficeEntryPoint`, which is loaded after the Backoffice has been loaded and authentication has been done.\n\nThis type of extension gives full control and will simply load the specified JS file.\nYou could have custom logic to decide which extensions to load/register by using extensionRegistry.", |
| 218 | + "properties": { |
| 219 | + "alias": { |
| 220 | + "description": "The alias of the extension, ensure it is unique", |
| 221 | + "type": "string" |
| 222 | + }, |
| 223 | + "js": { |
| 224 | + "description": "The file location of the javascript file to load", |
| 225 | + "type": "string" |
| 226 | + }, |
| 227 | + "kind": { |
| 228 | + "description": "The kind of the extension, used to group extensions together", |
| 229 | + "examples": [ |
| 230 | + "button" |
| 231 | + ] |
| 232 | + }, |
| 233 | + "name": { |
| 234 | + "description": "The friendly name of the extension", |
| 235 | + "type": "string" |
| 236 | + }, |
| 237 | + "type": { |
| 238 | + "const": "backofficeEntryPoint", |
| 239 | + "description": "The type of extension such as dashboard etc...", |
| 240 | + "type": "string" |
| 241 | + }, |
| 242 | + "weight": { |
| 243 | + "description": "Extensions such as dashboards are ordered by weight with lower numbers being first in the list", |
| 244 | + "type": "number" |
| 245 | + } |
| 246 | + }, |
| 247 | + "required": [ |
| 248 | + "alias", |
| 249 | + "name", |
| 250 | + "type" |
| 251 | + ], |
| 252 | + "type": "object" |
| 253 | + }, |
178 | 254 | "ManifestBase": {
|
179 | 255 | "properties": {
|
180 | 256 | "alias": {
|
|
2150 | 2226 | "type": "object"
|
2151 | 2227 | },
|
2152 | 2228 | "ManifestEntryPoint": {
|
2153 |
| - "description": "This type of extension gives full control and will simply load the specified JS file\nYou could have custom logic to decide which extensions to load/register by using extensionRegistry", |
| 2229 | + "description": "Manifest for an `entryPoint`, which is loaded after the Backoffice has been loaded and authentication has been done.\n\nThis type of extension gives full control and will simply load the specified JS file.\nYou could have custom logic to decide which extensions to load/register by using extensionRegistry.", |
2154 | 2230 | "properties": {
|
2155 | 2231 | "alias": {
|
2156 | 2232 | "description": "The alias of the extension, ensure it is unique",
|
|
2468 | 2544 | ],
|
2469 | 2545 | "type": "object"
|
2470 | 2546 | },
|
| 2547 | + "ManifestIcons": { |
| 2548 | + "properties": { |
| 2549 | + "alias": { |
| 2550 | + "description": "The alias of the extension, ensure it is unique", |
| 2551 | + "type": "string" |
| 2552 | + }, |
| 2553 | + "js": { |
| 2554 | + "description": "The file location of the javascript file to load", |
| 2555 | + "type": "string" |
| 2556 | + }, |
| 2557 | + "kind": { |
| 2558 | + "description": "The kind of the extension, used to group extensions together", |
| 2559 | + "examples": [ |
| 2560 | + "button" |
| 2561 | + ] |
| 2562 | + }, |
| 2563 | + "name": { |
| 2564 | + "description": "The friendly name of the extension", |
| 2565 | + "type": "string" |
| 2566 | + }, |
| 2567 | + "type": { |
| 2568 | + "const": "icons", |
| 2569 | + "description": "The type of extension such as dashboard etc...", |
| 2570 | + "type": "string" |
| 2571 | + }, |
| 2572 | + "weight": { |
| 2573 | + "description": "Extensions such as dashboards are ordered by weight with lower numbers being first in the list", |
| 2574 | + "type": "number" |
| 2575 | + } |
| 2576 | + }, |
| 2577 | + "required": [ |
| 2578 | + "alias", |
| 2579 | + "name", |
| 2580 | + "type" |
| 2581 | + ], |
| 2582 | + "type": "object" |
| 2583 | + }, |
2471 | 2584 | "ManifestItemStore": {
|
2472 | 2585 | "properties": {
|
2473 | 2586 | "alias": {
|
|
3721 | 3834 | {
|
3722 | 3835 | "$ref": "#/definitions/ManifestCondition"
|
3723 | 3836 | },
|
3724 |
| - { |
3725 |
| - "$ref": "#/definitions/ManifestEntryPoint" |
3726 |
| - }, |
3727 | 3837 | {
|
3728 | 3838 | "$ref": "#/definitions/ManifestSectionSidebarAppMenuKind"
|
3729 | 3839 | },
|
|
3740 | 3850 | "$ref": "#/definitions/ManifestTree"
|
3741 | 3851 | },
|
3742 | 3852 | {
|
3743 |
| - "$ref": "#/definitions/ManifestDashboard" |
| 3853 | + "$ref": "#/definitions/ManifestAppEntryPoint" |
3744 | 3854 | },
|
3745 | 3855 | {
|
3746 |
| - "$ref": "#/definitions/ManifestExternalLoginProvider" |
| 3856 | + "$ref": "#/definitions/ManifestBackofficeEntryPoint" |
3747 | 3857 | },
|
3748 | 3858 | {
|
3749 |
| - "$ref": "#/definitions/ManifestMenuItem" |
| 3859 | + "$ref": "#/definitions/ManifestEntryPoint" |
3750 | 3860 | },
|
3751 | 3861 | {
|
3752 | 3862 | "$ref": "#/definitions/ManifestAuthProvider"
|
|
3772 | 3882 | {
|
3773 | 3883 | "$ref": "#/definitions/ManifestCurrentUserActionDefaultKind<MetaCurrentUserActionDefaultKind>"
|
3774 | 3884 | },
|
| 3885 | + { |
| 3886 | + "$ref": "#/definitions/ManifestDashboard" |
| 3887 | + }, |
3775 | 3888 | {
|
3776 | 3889 | "$ref": "#/definitions/ManifestDashboardCollection"
|
3777 | 3890 | },
|
|
3826 | 3939 | {
|
3827 | 3940 | "$ref": "#/definitions/ManifestEntityBulkAction<MetaEntityBulkAction>"
|
3828 | 3941 | },
|
| 3942 | + { |
| 3943 | + "$ref": "#/definitions/ManifestExternalLoginProvider" |
| 3944 | + }, |
3829 | 3945 | {
|
3830 | 3946 | "$ref": "#/definitions/ManifestGlobalContext"
|
3831 | 3947 | },
|
|
3838 | 3954 | {
|
3839 | 3955 | "$ref": "#/definitions/ManifestHealthCheck"
|
3840 | 3956 | },
|
| 3957 | + { |
| 3958 | + "$ref": "#/definitions/ManifestIcons" |
| 3959 | + }, |
3841 | 3960 | {
|
3842 | 3961 | "$ref": "#/definitions/ManifestItemStore"
|
3843 | 3962 | },
|
3844 | 3963 | {
|
3845 | 3964 | "$ref": "#/definitions/ManifestMenu"
|
3846 | 3965 | },
|
| 3966 | + { |
| 3967 | + "$ref": "#/definitions/ManifestMenuItem" |
| 3968 | + }, |
3847 | 3969 | {
|
3848 | 3970 | "$ref": "#/definitions/ManifestMenuItemTreeKind"
|
3849 | 3971 | },
|
|
0 commit comments