workflow.unknownresource.md
February 26, 2024 ยท View on GitHub
Home > @datashaper/workflow > UnknownResource
UnknownResource class
Represents an instance of an unknown resource type. This allows us to load and display arbitrary resources that have not been explicitly registered.
Signature:
export declare class UnknownResource extends Resource
Extends: Resource
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(resource) | Constructs a new instance of the UnknownResource class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| $schema | string | ||
| profile | KnownProfile |
Methods
| Method | Modifiers | Description |
|---|---|---|
| defaultName() | ||
| defaultTitle() | ||
| toSchema() |