Compare commits

..

4 Commits

Author SHA1 Message Date
semantic-release-bot
46e3c6c04a chore(release): 1.0.4 [skip ci]
## [1.0.4](https://github.com/qlik-oss/network-vis-chart/compare/v1.0.3...v1.0.4) (2023-08-18)

### Bug Fixes

* clean spec ([96880cd](96880cd441))
2023-08-18 08:53:42 +00:00
caele
96880cd441 fix: clean spec 2023-08-18 10:51:13 +02:00
semantic-release-bot
1148aa900e chore(release): 1.0.3 [skip ci]
## [1.0.3](https://github.com/qlik-oss/network-vis-chart/compare/v1.0.2...v1.0.3) (2023-08-18)

### Bug Fixes

* api to stable ([c88dd3d](c88dd3d556))
2023-08-18 06:39:34 +00:00
caele
c88dd3d556 fix: api to stable 2023-08-18 07:56:27 +02:00
4 changed files with 54 additions and 28 deletions

View File

@@ -3,15 +3,18 @@
"info": {
"name": "@nebula.js/sn-network-chart:properties",
"description": "Network chart generic object definition",
"version": "1.0.2",
"version": "1.0.4",
"license": "MIT",
"stability": "experimental",
"stability": "stable",
"x-qlik-visibility": "public"
},
"entries": {
"properties": {
"kind": "function",
"params": [],
"extends": [
{
"type": "GenericObjectProperties"
}
],
"entries": {
"version": {
"description": "Current version of this generic object definition",
@@ -21,7 +24,7 @@
"description": "Extends `HyperCubeDef`, see Engine API: `HyperCubeDef`.",
"extends": [
{
"type": "HyperCubeDef"
"type": "EngineAPI.HyperCubeDef"
}
],
"kind": "object"
@@ -157,7 +160,8 @@
"defaultValue": false,
"type": "boolean"
}
}
},
"kind": "object"
}
},
"definitions": {}

View File

@@ -1,6 +1,6 @@
{
"name": "@nebula.js/sn-network-chart",
"version": "1.0.2",
"version": "1.0.4",
"description": "Displays hierarchical or relational dimensions as nodes and edges´, with measures to show the significance of its links.",
"homepage": "",
"repository": "https://github.com/qlik-oss/network-vis-chart",

View File

@@ -1,27 +1,48 @@
const path = require('path');
const path = require("path");
const pkg = require(path.resolve(__dirname, '../package.json')); // eslint-disable-line
const pkg = require(path.resolve(__dirname, "../package.json")); // eslint-disable-line
module.exports = {
glob: ["./src/extension/properties.js"],
package: path.resolve(__dirname, "../package.json"),
api: {
stability: "experimental",
properties: {
"x-qlik-visibility": "public",
fromJsdoc: {
glob: ["./src/extension/properties.js"],
api: {
stability: "stable",
visibility: "public",
properties: {
"x-qlik-visibility": "public",
},
name: `${pkg.name}:properties`,
version: pkg.version,
description: "Network chart generic object definition",
},
output: {
sort: {
alpha: false,
},
file: "./api-specifications/properties.json",
},
parse: {
types: {
GenericObjectProperties: {
url: "https://qlik.dev/apis/json-rpc/qix/schemas#%23%2Fdefinitions%2Fschemas%2Fentries%2FGenericObjectProperties",
},
undefined: {},
"EngineAPI.ValueExpression": {
url: "https://qlik.dev/apis/json-rpc/qix/schemas#%23%2Fdefinitions%2Fschemas%2Fentries%2FValueExpression",
},
"EngineAPI.HyperCubeDef": {
url: "https://qlik.dev/apis/json-rpc/qix/schemas#%23%2Fdefinitions%2Fschemas%2Fentries%2FListObjectDef",
},
},
},
visibility: "public",
name: `${pkg.name}:properties`,
version: pkg.version,
description: "Network chart generic object definition",
},
output: {
file: path.resolve(__dirname, "../api-specifications/properties.json"),
},
parse: {
types: {
NxMeasure: {},
HyperCubeDef: {},
toDts: {
spec: "./api-specifications/properties.json",
output: {
file: "./types/index.d.ts",
},
dependencies: {
references: ["qlik-engineapi"],
},
},
};

View File

@@ -1,5 +1,6 @@
/**
* @typedef {object}
* @type {object}
* @extends {GenericObjectProperties}
* @entry
*/
const properties = {
@@ -10,7 +11,7 @@ const properties = {
version: process.env.PACKAGE_VERSION,
/**
* Extends `HyperCubeDef`, see Engine API: `HyperCubeDef`.
* @extends {HyperCubeDef}
* @extends {EngineAPI.HyperCubeDef}
*/
qHyperCubeDef: {
qDimensions: [],