@c8y/options 1021.55.3 → 1021.56.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/options",
3
- "version": "1021.55.3",
3
+ "version": "1021.56.4",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "Cumulocity application options",
@@ -17,6 +17,6 @@
17
17
  "options"
18
18
  ],
19
19
  "peerDependencies": {
20
- "@c8y/client": "1021.55.3"
20
+ "@c8y/client": "1021.56.4"
21
21
  }
22
22
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Type declaration for `c8y-schema-loader` webpack loader. This feature is used to generate JSON schema from TypeScript interfaces.
3
+ * Example usage:
4
+ * ```ts
5
+ * // const { schema } = await import('c8y-schema-loader?interfaceName=KpiWidgetConfig!@c8y/ngx-components/widgets/implementations/kpi')
6
+ * ```
7
+ */
8
+ declare module 'c8y-schema-loader?interfaceName=*' {
9
+ import type { JSONSchema7 } from 'json-schema';
10
+ declare namespace schema {
11
+ const schema: JSONSchema7;
12
+ }
13
+ export = schema;
14
+ }
package/src/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export type * from './ApplicationOptions';
2
+ export type * from './c8y-schema-loader';