You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
608 B
26 lines
608 B
/**
|
|
* Creates a new, generic web worker definition in the given or default project.
|
|
*/
|
|
export interface Schema {
|
|
/**
|
|
* The name of the worker.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* The path at which to create the worker file, relative to the current workspace.
|
|
*/
|
|
path?: string;
|
|
/**
|
|
* The name of the project.
|
|
*/
|
|
project: string;
|
|
/**
|
|
* Add a worker creation snippet in a sibling file of the same name.
|
|
*/
|
|
snippet?: boolean;
|
|
/**
|
|
* The target to apply web worker to.
|
|
* @deprecated No longer has an effect.
|
|
*/
|
|
target?: string;
|
|
}
|