@gdacm/core 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # Grafana Dashboard as Code Manager
2
+
3
+ Libs for generating Grafana dashboards as code.
4
+
5
+ **⚠️ Warning** : This project is still under active development and may contain breaking changes. Use with caution in production environments.
6
+
7
+ ## Project
8
+
9
+ - **Sources** : https://github.com/gdacm/grafana-dashboard-as-code-manager
10
+ - **Packages** :
11
+ - https://www.npmjs.com/package/@gdacm/base-types
12
+ - https://www.npmjs.com/package/@gdacm/dashboard-manager
13
+ - https://www.npmjs.com/package/@gdacm/grafana-items
14
+ - https://www.npmjs.com/package/@gdacm/querybuilder-uql
15
+ - https://www.npmjs.com/package/@gdacm/querybuilder-influxdb2
16
+
17
+ ## Documentation
18
+
19
+ See https://github.com/gdacm/grafana-dashboard-as-code-manager for documentation
@@ -0,0 +1,17 @@
1
+ export * from '@gdacm/grafana-items';
2
+ export * from '@gdacm/dashboard-manager';
3
+ export type Info = import("@gdacm/base-types").Info;
4
+ export type GenericOptions = import("@gdacm/base-types").GenericOptions;
5
+ export type GenericMetaOptions = import("@gdacm/base-types").GenericMetaOptions;
6
+ export type DashboardMetaOptions = import("@gdacm/base-types").DashboardMetaOptions;
7
+ export type MetaOptions<T extends GenericOptions> = import("@gdacm/base-types").MetaOptions<T>;
8
+ /**
9
+ * @typedef {import("@gdacm/base-types").Info} Info
10
+ * @typedef {import("@gdacm/base-types").GenericOptions} GenericOptions
11
+ * @typedef {import("@gdacm/base-types").GenericMetaOptions} GenericMetaOptions
12
+ * @typedef {import("@gdacm/base-types").DashboardMetaOptions} DashboardMetaOptions
13
+ */
14
+ /**
15
+ * @template {GenericOptions} T
16
+ * @typedef {import("@gdacm/base-types").MetaOptions<T>} MetaOptions
17
+ */
package/dist/index.js ADDED
@@ -0,0 +1,16 @@
1
+ export * from "@gdacm/grafana-items";
2
+ export * from "@gdacm/dashboard-manager";
3
+ //#region src/index.js
4
+ /**
5
+ * @typedef {import("@gdacm/base-types").Info} Info
6
+ * @typedef {import("@gdacm/base-types").GenericOptions} GenericOptions
7
+ * @typedef {import("@gdacm/base-types").GenericMetaOptions} GenericMetaOptions
8
+ * @typedef {import("@gdacm/base-types").DashboardMetaOptions} DashboardMetaOptions
9
+ */
10
+ /**
11
+ * @template {GenericOptions} T
12
+ * @typedef {import("@gdacm/base-types").MetaOptions<T>} MetaOptions
13
+ */
14
+ //#endregion
15
+
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.js"],"sourcesContent":["export * from '@gdacm/grafana-items'\nexport * from '@gdacm/dashboard-manager'\n\n/**\n * @typedef {import(\"@gdacm/base-types\").Info} Info\n * @typedef {import(\"@gdacm/base-types\").GenericOptions} GenericOptions\n * @typedef {import(\"@gdacm/base-types\").GenericMetaOptions} GenericMetaOptions\n * @typedef {import(\"@gdacm/base-types\").DashboardMetaOptions} DashboardMetaOptions\n */\n/**\n * @template {GenericOptions} T \n * @typedef {import(\"@gdacm/base-types\").MetaOptions<T>} MetaOptions\n */"],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@gdacm/core",
3
+ "version": "0.1.14",
4
+ "author": "gissehel",
5
+ "type": "module",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "license": "MIT",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "scripts": {
19
+ "clean:local": "rm -rf dist .turbo",
20
+ "dev": "vite build --watch",
21
+ "build:js": "vite build",
22
+ "build:types": "tsc -p tsconfig.types.json",
23
+ "build": "yarn build:js && yarn build:types"
24
+ },
25
+ "dependencies": {
26
+ "@gdacm/base-types": "^0.1.14",
27
+ "@gdacm/dashboard-manager": "^0.1.14",
28
+ "@gdacm/grafana-items": "^0.1.14"
29
+ },
30
+ "devDependencies": {
31
+ "@types/node": "^26.1.2",
32
+ "typescript": "^7.0.2",
33
+ "vite": "^8.2.0"
34
+ }
35
+ }