mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-25 01:04:14 -05:00
chore: fix spec files
This commit is contained in:
@@ -1742,33 +1742,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Plugin": {
|
||||
"description": "An object literal containing meta information about the plugin and a function containing the plugin implementation.",
|
||||
"stability": "experimental",
|
||||
"availability": {
|
||||
"since": "1.2.0"
|
||||
},
|
||||
"kind": "interface",
|
||||
"entries": {
|
||||
"info": {
|
||||
"description": "Object that can hold various meta info about the plugin",
|
||||
"kind": "object",
|
||||
"entries": {
|
||||
"name": {
|
||||
"description": "The name of the plugin",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"fn": {
|
||||
"description": "The implementation of the plugin. Input and return value is up to the plugin implementation to decide based on its purpose.",
|
||||
"type": "function"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
"const plugin = {\n info: {\n name: \"example-plugin\",\n type: \"meta-type\",\n },\n fn: () => {\n // Plugin implementation goes here\n }\n};"
|
||||
]
|
||||
},
|
||||
"Field": {
|
||||
"kind": "alias",
|
||||
"items": {
|
||||
@@ -1920,6 +1893,33 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Plugin": {
|
||||
"description": "An object literal containing meta information about the plugin and a function containing the plugin implementation.",
|
||||
"stability": "experimental",
|
||||
"availability": {
|
||||
"since": "1.2.0"
|
||||
},
|
||||
"kind": "interface",
|
||||
"entries": {
|
||||
"info": {
|
||||
"description": "Object that can hold various meta info about the plugin",
|
||||
"kind": "object",
|
||||
"entries": {
|
||||
"name": {
|
||||
"description": "The name of the plugin",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"fn": {
|
||||
"description": "The implementation of the plugin. Input and return value is up to the plugin implementation to decide based on its purpose.",
|
||||
"type": "function"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
"const plugin = {\n info: {\n name: \"example-plugin\",\n type: \"meta-type\",\n },\n fn: () => {\n // Plugin implementation goes here\n }\n};"
|
||||
]
|
||||
},
|
||||
"LoadType": {
|
||||
"kind": "interface",
|
||||
"params": [
|
||||
|
||||
48
apis/stardust/types/index.d.ts
vendored
48
apis/stardust/types/index.d.ts
vendored
@@ -560,16 +560,6 @@ declare namespace stardust {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* An object literal containing meta information about the plugin and a function containing the plugin implementation.
|
||||
*/
|
||||
interface Plugin {
|
||||
info: {
|
||||
name: string;
|
||||
};
|
||||
fn: ()=>void;
|
||||
}
|
||||
|
||||
type Field = string | qix.NxDimension | qix.NxMeasure | stardust.LibraryField;
|
||||
|
||||
/**
|
||||
@@ -611,6 +601,16 @@ declare namespace stardust {
|
||||
type: "dimension" | "measure";
|
||||
}
|
||||
|
||||
/**
|
||||
* An object literal containing meta information about the plugin and a function containing the plugin implementation.
|
||||
*/
|
||||
interface Plugin {
|
||||
info: {
|
||||
name: string;
|
||||
};
|
||||
fn: ()=>void;
|
||||
}
|
||||
|
||||
interface LoadType {
|
||||
(type: {
|
||||
name: string;
|
||||
@@ -649,43 +649,43 @@ declare namespace stardust {
|
||||
|
||||
}
|
||||
|
||||
interface ActionToolbarElementextends HTMLElement {
|
||||
interface ActionToolbarElement extends HTMLElement{
|
||||
className: "njs-action-toolbar-popover";
|
||||
}
|
||||
|
||||
interface ActionElementextends HTMLElement {
|
||||
interface ActionElement extends HTMLElement{
|
||||
className: "njs-cell-action";
|
||||
}
|
||||
|
||||
interface CellElementextends HTMLElement {
|
||||
interface CellElement extends HTMLElement{
|
||||
className: "njs-cell";
|
||||
}
|
||||
|
||||
interface CellBodyextends HTMLElement {
|
||||
interface CellBody extends HTMLElement{
|
||||
className: "njs-cell-body";
|
||||
}
|
||||
|
||||
interface CellFooterextends HTMLElement {
|
||||
interface CellFooter extends HTMLElement{
|
||||
className: "njs-cell-footer";
|
||||
}
|
||||
|
||||
interface CellTitleextends HTMLElement {
|
||||
interface CellTitle extends HTMLElement{
|
||||
className: "njs-cell-title";
|
||||
}
|
||||
|
||||
interface CellSubTitleextends HTMLElement {
|
||||
interface CellSubTitle extends HTMLElement{
|
||||
className: "njs-cell-sub-title";
|
||||
}
|
||||
|
||||
interface SheetElementextends HTMLElement {
|
||||
interface SheetElement extends HTMLElement{
|
||||
className: "njs-sheet";
|
||||
}
|
||||
|
||||
interface VizElementAttributesextends NamedNodeMap {
|
||||
interface VizElementAttributes extends NamedNodeMap{
|
||||
"data-render-count": string;
|
||||
}
|
||||
|
||||
interface VizElementextends HTMLElement {
|
||||
interface VizElement extends HTMLElement{
|
||||
attributes: stardust.VizElementAttributes;
|
||||
className: "njs-viz";
|
||||
}
|
||||
@@ -702,7 +702,7 @@ declare namespace stardust {
|
||||
component(): void;
|
||||
}
|
||||
|
||||
interface SetStateFn<S><S> {
|
||||
interface SetStateFn<S> {
|
||||
(newState: S | (($: S)=>S)): void;
|
||||
}
|
||||
|
||||
@@ -716,7 +716,7 @@ declare namespace stardust {
|
||||
/**
|
||||
* Reference object returned from useRef
|
||||
*/
|
||||
interface Ref<R><R> {
|
||||
interface Ref<R> {
|
||||
current: R;
|
||||
}
|
||||
|
||||
@@ -727,7 +727,7 @@ declare namespace stardust {
|
||||
height: number;
|
||||
}
|
||||
|
||||
interface ActionDefinition<A><A> {
|
||||
interface ActionDefinition<A> {
|
||||
action: A;
|
||||
hidden?: boolean;
|
||||
disabled?: boolean;
|
||||
@@ -829,7 +829,7 @@ declare namespace stardust {
|
||||
|
||||
type fieldTargetRemovedCallback<T> = (field: T, properties: qix.GenericObjectProperties, index: number)=>void;
|
||||
|
||||
interface FieldTarget<T><T> {
|
||||
interface FieldTarget<T> {
|
||||
min?: (()=>void) | number;
|
||||
max?: (()=>void) | number;
|
||||
added?: stardust.fieldTargetAddedCallback<T>;
|
||||
|
||||
Reference in New Issue
Block a user