Compare commits

..

18 Commits

Author SHA1 Message Date
caele
4409709416 1.0.0 2023-08-15 11:18:56 +02:00
caele
bcaa6b5245 chore: prep legacy readme 2023-08-15 10:12:21 +02:00
caele
1b3d4b54f0 chore: prep readme 2023-08-15 10:11:02 +02:00
caele
be2f235a3b 1.0.0 2023-08-15 10:05:26 +02:00
caele
5378a0421c chore: spec for 1 2023-08-15 10:05:19 +02:00
Tobias Åström
6c7aa95d5b chore: new circleconfig (#43)
* chore: new circleconfig

* chore: clean

* chore: fix

* chore: fixes
2023-05-17 11:10:09 +02:00
Tobias Åström
af798708c4 chore: update dependencies (#42)
* chore: update nebula

* chore: all the deps

* chore: set node
2023-05-17 10:11:41 +02:00
dependabot[bot]
17979fbb5c chore(deps): bump minimist from 1.2.5 to 1.2.8 (#35)
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.8)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 13:03:32 +01:00
dependabot[bot]
42ab574e5f chore(deps): bump nth-check from 2.0.0 to 2.1.1 (#40)
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.1.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 11:35:18 +01:00
dependabot[bot]
8f7a4d3221 chore(deps): bump minimatch from 3.0.4 to 3.1.2 (#33)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 11:33:30 +01:00
dependabot[bot]
bb1648d108 chore(deps): bump shelljs from 0.8.4 to 0.8.5 (#39)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 11:32:25 +01:00
dependabot[bot]
a217b09cc5 chore(deps): bump follow-redirects from 1.14.3 to 1.15.2 (#38)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.3 to 1.15.2.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.3...v1.15.2)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 11:32:00 +01:00
dependabot[bot]
3f86219f9e chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#32)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 11:31:46 +01:00
dependabot[bot]
c67815b42a chore(deps): bump terser from 5.7.2 to 5.16.3 (#36)
Bumps [terser](https://github.com/terser/terser) from 5.7.2 to 5.16.3.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.7.2...v5.16.3)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 11:29:57 +01:00
dependabot[bot]
30cfa93a30 chore(deps): bump loader-utils from 1.4.0 to 1.4.2 (#37)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 11:29:41 +01:00
Tobias Åström
dd9d75e597 chore: add dependabot 2023-02-17 10:58:40 +01:00
caele
2e7ba1fd41 0.3.0 2022-11-22 15:05:23 +01:00
Tobias Åström
cf47987595 chore: enable systemjs build (#31) 2022-11-22 14:38:42 +01:00
10 changed files with 3931 additions and 4426 deletions

View File

@@ -1,51 +1,199 @@
version: 2
defaults: &defaults
working_directory: ~/qlik-network-chart
working_directory: ~/project
docker:
- image: circleci/node:stretch
environment:
GITHUB_ORG: "qlik-oss"
GITHUB_REPO: "network-vis-chart"
PACKAGE_NAME: "qlik-network-chart"
- image: cimg/node:lts
aliases:
- &restore_yarn_cache
name: Restore yarn cache
keys:
- yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-packages-{{ .Branch }}
- yarn-packages-
- &save_yarn_cache
name: Save yarn cache
paths:
- ~/.cache/yarn
key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
jobs:
build:
docker:
- image: circleci/node:stretch-browsers
install:
<<: *defaults
steps:
- checkout
- run:
name: Install dependencies
command: yarn
- run:
name: Lint
command: yarn eslint
- run:
name: BlackDuck scan
command: curl -s https://detect.synopsys.com/detect.sh | bash -s -- \
--blackduck.url="https://qliktech.blackducksoftware.com" \
--blackduck.trust.cert=true \
--blackduck.username="svc-blackduck" \
--blackduck.password=${svc_blackduck} \
--detect.project.name="viz-bundle-qlik-network-chart"
- restore_cache: *restore_yarn_cache
- run: yarn install --frozen-lockfile
- save_cache: *save_yarn_cache
- store_artifacts:
path: package.json
- persist_to_workspace:
root: ~/project
paths:
- .
build:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run:
name: Build
command: yarn build && yarn sense
command: yarn run build
- run:
name: Build sense
command: yarn run sense
- persist_to_workspace:
root: ~/project
paths:
- .
lint:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run:
name: Lint
command: yarn run eslint
unit-tests:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run:
name: Run unit tests and publish to codeclimate
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
yarn test:unit --runInBand --coverage --reporters=default --reporters=jest-junit
./cc-test-reporter after-build --coverage-input-type lcov --exit-code $?
environment:
NODE_ENV: production
- run:
name: Update spec
command: yarn run spec
- run:
name: Run unit tests
command: yarn test:unit
JEST_JUNIT_OUTPUT_DIR: ./coverage/junit/
- store_artifacts:
path: dist
destination: dist
path: coverage
api-spec:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run:
name: Build API specification
command: yarn run spec
publish-dev:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run: zip -r "sn-network-chart-ext.zip" "./sn-network-chart-ext"
- store_artifacts:
path: ./sn-network-chart-ext.zip
publish:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run:
name: Setup npm
command: |
set -eo pipefail
# Amend auth token for access to public npm registry for @nebula.js packages
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: Publish
command: |
set -euo pipefail
PROJ_VER=v$(cat package.json | jq -r '.version')
TAG_NAME=$(git tag --points-at HEAD)
if [ "$TAG_NAME" == "$PROJ_VER" ]
then
echo "Running >> npm publish"
npm publish
fi
api-governance:
machine:
image: ubuntu-2004:current
working_directory: ~/project
steps:
- checkout
- attach_workspace:
at: ~/project
- run:
name: Create version.txt
command: |
set -x
if [ -n "${CIRCLE_TAG}" ]; then
version=${CIRCLE_TAG#v}
else
version=$(git describe --tags --abbrev=7 --match "v*")
version=${version#v}
fi
echo "$version" > ./version.txt
echo "Building $version"
- run:
name: Prepare API Compliance
command: |
docker pull ghcr.io/qlik-download/api-compliance
docker create -v /specs --name specs alpine:3.4 /bin/true
docker cp ./api-specifications/properties.json specs:/specs
- run:
name: Run API Compliance
command: >
VER=$(cat ./version.txt)
docker run --volumes-from specs
-e SPEC_PATHS="e3863ba0-a48d-4034-8a77-1b00ce8a637d@/specs/properties.json"
-e COMMIT_SHA="$CIRCLE_SHA1"
-e RELEASE_TAG="$VER"
-e CREDENTIALS_S3_SECRETKEY="$APICULTURIST_S3"
-e CREDENTIALS_GITHUB="$APICULTURIST_GITHUB"
-e CREDENTIALS_COLONY="$APICULTURIST_TOKEN"
ghcr.io/qlik-download/api-compliance
workflows:
version: 2
master_flow:
build-all:
jobs:
- build
- install
- build:
requires:
- install
- unit-tests:
requires:
- build
- lint:
requires:
- build
- api-spec:
requires:
- install
- publish-dev:
requires:
- build
- publish:
requires:
- build
- unit-tests
- lint
- api-spec
filters:
branches:
only:
- main
- api-governance:
context: api-compliance
filters:
branches:
# Forked pull requests have CIRCLE_BRANCH set to pull/XXX
ignore:
- /pull\/[0-9]+/
- renovate/minor-and-patch
tags:
only:
- /v.*/

View File

@@ -3,15 +3,15 @@ module.exports = {
ecmaVersion: 6,
ecmaFeatures: {
jsx: true,
modules: true
modules: true,
},
sourceType: "module"
sourceType: "module",
},
parser: "babel-eslint",
parser: "@babel/eslint-parser",
env: {
browser: true,
es6: true,
node: true
node: true,
},
globals: {
$: false,
@@ -21,41 +21,48 @@ module.exports = {
document: false,
expect: false,
it: false,
require: false
require: false,
},
rules: {
"indent": ["error", 2, { "SwitchCase": 1 }],
indent: ["error", 2, { SwitchCase: 1 }],
"linebreak-style": ["error", "unix"],
"object-curly-spacing": ["error", "always"],
"max-lines": ["warn", 300],
"max-len": ["warn", 120],
"no-console": ["warn"],
"no-mixed-operators": ["warn", {
"groups": [
["==", "!=", "===", "!==", ">", ">=", "<", "<="],
["&&", "||"],
["in", "instanceof"]
],
"allowSamePrecedence": true
}],
"no-mixed-operators": [
"warn",
{
groups: [
["==", "!=", "===", "!==", ">", ">=", "<", "<="],
["&&", "||"],
["in", "instanceof"],
],
allowSamePrecedence: true,
},
],
"no-multi-spaces": ["error"],
"no-cond-assign": ["warn"],
"no-fallthrough": ["warn"],
"no-undef": ["warn"],
"no-unused-vars": ["error"],
"no-use-before-define": ["warn", { "functions": false, "classes": false, "variables": false }],
"no-use-before-define": [
"warn",
{ functions: false, classes: false, variables: false },
],
"no-useless-escape": ["warn"],
"no-useless-return": ["warn"],
"no-underscore-dangle": ["warn", { "allow": ["_id"] }],
"no-underscore-dangle": ["warn", { allow: ["_id"] }],
"no-redeclare": ["warn"],
"no-restricted-syntax": ["warn"],
"operator-linebreak": ["warn", "before"],
"prefer-promise-reject-errors": ["warn"],
"padded-blocks": ["warn", { "blocks": "never", "switches": "never", "classes": "never" }],
"semi": ["error", "always"],
"valid-typeof": ["warn"]
"padded-blocks": [
"warn",
{ blocks: "never", switches: "never", classes: "never" },
],
semi: ["error", "always"],
"valid-typeof": ["warn"],
},
extends: [
"eslint:recommended"
]
}
extends: ["eslint:recommended"],
};

11
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "yarn" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

View File

@@ -1,136 +1,164 @@
{
"scriptappy": "1.0.0",
"scriptappy": "1.1.0",
"info": {
"name": "sn-network-chart:properties",
"name": "@nebula.js/sn-network-chart:properties",
"description": "Network chart generic object definition",
"version": "0.0.1",
"version": "1.0.0",
"license": "MIT",
"stability": "experimental",
"x-qlik-visibility": "public"
},
"entries": {},
"definitions": {
"module.exports.displayEdgeLabel": {
"optional": true,
"defaultValue": false,
"type": "boolean"
},
"module.exports.edgeType": {
"optional": true,
"defaultValue": "dynamic",
"kind": "union",
"items": [
{
"kind": "literal",
"value": "'dynamic'"
"entries": {
"properties": {
"kind": "function",
"params": [],
"entries": {
"version": {
"description": "Current version of this generic object definition",
"type": "string"
},
{
"kind": "literal",
"value": "'continuous'"
"qHyperCubeDef": {
"description": "Extends `HyperCubeDef`, see Engine API: `HyperCubeDef`.",
"extends": [
{
"type": "HyperCubeDef"
}
],
"kind": "object"
},
{
"kind": "literal",
"value": "'discrete'"
"showTitles": {
"optional": true,
"defaultValue": false,
"type": "boolean"
},
{
"kind": "literal",
"value": "'diagonalCross'"
"title": {
"optional": true,
"defaultValue": "",
"type": "string"
},
{
"kind": "literal",
"value": "'straightCross'"
"subtitle": {
"optional": true,
"defaultValue": "",
"type": "string"
},
{
"kind": "literal",
"value": "'horizontal'"
"footnote": {
"optional": true,
"defaultValue": "",
"type": "string"
},
{
"kind": "literal",
"value": "'vertical'"
"edgeType": {
"optional": true,
"defaultValue": "dynamic",
"kind": "union",
"items": [
{
"kind": "literal",
"value": "'dynamic'"
},
{
"kind": "literal",
"value": "'continuous'"
},
{
"kind": "literal",
"value": "'discrete'"
},
{
"kind": "literal",
"value": "'diagonalCross'"
},
{
"kind": "literal",
"value": "'straightCross'"
},
{
"kind": "literal",
"value": "'horizontal'"
},
{
"kind": "literal",
"value": "'vertical'"
},
{
"kind": "literal",
"value": "'curvedCW'"
},
{
"kind": "literal",
"value": "'curvedCCW'"
},
{
"kind": "literal",
"value": "'cubicBezier'"
}
]
},
{
"kind": "literal",
"value": "'curvedCW'"
"displayEdgeLabel": {
"optional": true,
"defaultValue": false,
"type": "boolean"
},
{
"kind": "literal",
"value": "'curvedCCW'"
"posEdgeLabel": {
"optional": true,
"defaultValue": "top",
"kind": "union",
"items": [
{
"kind": "literal",
"value": "'top'"
},
{
"kind": "literal",
"value": "'middle'"
},
{
"kind": "literal",
"value": "'bottom'"
},
{
"kind": "literal",
"value": "'horizontal'"
}
]
},
{
"kind": "literal",
"value": "'cubicBezier'"
"nodeShape": {
"optional": true,
"defaultValue": "dot",
"kind": "union",
"items": [
{
"kind": "literal",
"value": "'dot'"
},
{
"kind": "literal",
"value": "'square'"
},
{
"kind": "literal",
"value": "'star'"
},
{
"kind": "literal",
"value": "'triangle'"
},
{
"kind": "literal",
"value": "'triangleDown'"
},
{
"kind": "literal",
"value": "'diamond'"
}
]
},
"shadowMode": {
"optional": true,
"defaultValue": false,
"type": "boolean"
}
],
"type": "string"
},
"module.exports.nodeShape": {
"optional": true,
"defaultValue": "dot",
"kind": "union",
"items": [
{
"kind": "literal",
"value": "'dot'"
},
{
"kind": "literal",
"value": "'square'"
},
{
"kind": "literal",
"value": "'star'"
},
{
"kind": "literal",
"value": "'triangle'"
},
{
"kind": "literal",
"value": "'triangleDown'"
},
{
"kind": "literal",
"value": "'diamond'"
}
],
"type": "string"
},
"module.exports.posEdgeLabel": {
"optional": true,
"defaultValue": "top",
"kind": "union",
"items": [
{
"kind": "literal",
"value": "'top'"
},
{
"kind": "literal",
"value": "'middle'"
},
{
"kind": "literal",
"value": "'bottom'"
},
{
"kind": "literal",
"value": "'horizontal'"
}
],
"type": "string"
},
"module.exports.qHyperCubeDef": {
"kind": "object",
"entries": {}
},
"module.exports.shadowMode": {
"optional": true,
"defaultValue": false,
"type": "boolean"
},
"module.exports.version": {
"description": "Current version of this generic object definition",
"type": "string"
}
}
}
},
"definitions": {}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@nebula.js/sn-network-chart",
"version": "0.2.0",
"version": "1.0.0",
"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",
@@ -13,7 +13,7 @@
"build": "nebula build --core core",
"sense": "nebula sense --meta resources/meta.json && shx cp resources/network_chart_v1.png sn-network-chart-ext",
"eslint": "eslint src",
"spec": "scriptappy-from-jsdoc -c ./spec-configs/props.conf.js",
"spec": "sy from-jsdoc -c ./spec-configs/props.conf.js",
"test:unit": "jest",
"prepublishOnly": "shx rm -rf dist && shx rm -rf core/esm && shx rm -rf sn-network-chart-ext && yarn build && yarn sense"
},
@@ -24,24 +24,26 @@
"sn-network-chart-ext"
],
"main": "dist/sn-network-chart.js",
"systemjs": "dist/sn-network-chart.systemjs.js",
"devDependencies": {
"@nebula.js/cli": "1.7.0",
"@nebula.js/cli-build": "1.7.0",
"@nebula.js/cli-sense": "1.7.0",
"@nebula.js/cli-serve": "1.7.0",
"@nebula.js/stardust": "1.7.0",
"@testing-library/jest-dom": "5.16.4",
"babel-eslint": "10.1.0",
"babel-jest": "28.1.3",
"eslint": "7.32.0",
"jest": "28.1.3",
"jest-environment-jsdom": "28.1.3",
"scriptappy-from-jsdoc": "0.7.0",
"shx": "0.3.3",
"vis-data": "7.1.4",
"vis-network": "9.1.2"
"@nebula.js/cli": "4.0.3",
"@nebula.js/cli-build": "4.0.3",
"@nebula.js/cli-sense": "4.0.3",
"@nebula.js/cli-serve": "4.0.3",
"@nebula.js/stardust": "4.0.3",
"@testing-library/jest-dom": "5.16.5",
"@babel/eslint-parser": "7.21.8",
"eslint": "8.40.0",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"jest-junit": "^16.0.0",
"@scriptappy/cli": "0.8.0",
"@scriptappy/from-jsdoc": "0.17.0",
"shx": "0.3.4",
"vis-data": "7.1.6",
"vis-network": "9.1.6"
},
"peerDependencies": {
"@nebula.js/stardust": ">=1.0.0"
"@nebula.js/stardust": ">=1.7.0"
}
}

View File

@@ -1,9 +1,6 @@
# @nebula.js/sn-network-chart
# sn-network-chart
The network chart is built using [visjs network visualization](https://github.com/visjs/vis-network) to display networks of nodes and edges. It was originally forked from [miclae76/network-vis-chart](miclae76/network-vis-chart) and has since been converted to use Nebula.
## Legacy build
The chart before Nebula conversion and dependency updates can be found on the *release/legacy* branch.
A network chart to be used with nebula.js, built using [visjs network visualization](https://github.com/visjs/vis-network) to display networks of nodes and edges.
## Requirements

4
readme_legacy.md Normal file
View File

@@ -0,0 +1,4 @@
## Legacy build
The chart before Nebula conversion and dependency updates can be found on the *release/legacy* branch.
Originally forked from [miclae76/network-vis-chart](miclae76/network-vis-chart) and has since been converted to use Nebula.

View File

@@ -3,24 +3,25 @@ const path = require('path');
const pkg = require(path.resolve(__dirname, '../package.json')); // eslint-disable-line
module.exports = {
glob: ['./src/extension/properties.js'],
package: path.resolve(__dirname, '../package.json'),
glob: ["./src/extension/properties.js"],
package: path.resolve(__dirname, "../package.json"),
api: {
stability: 'experimental',
stability: "experimental",
properties: {
'x-qlik-visibility': 'public',
"x-qlik-visibility": "public",
},
visibility: 'public',
visibility: "public",
name: `${pkg.name}:properties`,
version: pkg.version,
description: 'Network chart generic object definition',
description: "Network chart generic object definition",
},
output: {
file: path.resolve(__dirname, '../api-specifications/properties.json'),
file: path.resolve(__dirname, "../api-specifications/properties.json"),
},
parse: {
types: {
NxMeasure: {},
HyperCubeDef: {},
},
},
};

View File

@@ -1,36 +1,43 @@
export default {
/**
* @typedef {object}
* @entry
*/
const properties = {
/**
* Current version of this generic object definition
* @type {string}
*/
version: process.env.PACKAGE_VERSION,
/**
* @typedef
* Extends `HyperCubeDef`, see Engine API: `HyperCubeDef`.
* @extends {HyperCubeDef}
*/
qHyperCubeDef: {
qDimensions: [],
qMeasures: [],
qInitialDataFetch: [{
qWidth: 7,
qHeight: 1400
}]
qInitialDataFetch: [
{
qWidth: 7,
qHeight: 1400,
},
],
},
/**
* @type {boolean=}
*/
* @type {boolean=}
*/
showTitles: false,
/**
* @type {string=}
*/
title: '',
* @type {string=}
*/
title: "",
/**
* @type {string=}
*/
subtitle: '',
* @type {string=}
*/
subtitle: "",
/**
* @type {string=}
*/
footnote: '',
* @type {string=}
*/
footnote: "",
/**
* @type {('dynamic'|'continuous'|'discrete'|'diagonalCross'|'straightCross'|'horizontal'|'vertical'|'curvedCW'|'curvedCCW'|'cubicBezier')=}
*/
@@ -51,4 +58,6 @@ export default {
* @type {boolean=}
*/
shadowMode: false,
};
};
export default properties;

7704
yarn.lock

File diff suppressed because it is too large Load Diff