@sitevision/api 2023.3.1-beta.0 → 2023.3.1-beta.1

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": "@sitevision/api",
3
- "version": "2023.3.1-beta.0",
3
+ "version": "2023.3.1-beta.1",
4
4
  "author": "Sitevision AB",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,7 +1,7 @@
1
1
  import type { Node } from '../../types/javax/jcr/Node';
2
2
 
3
3
  export interface AppData {
4
- get(key: string): unknown;
4
+ get(...key: string[]): unknown;
5
5
  getNode(key: string): Node;
6
6
  getArray(key: string): Node[];
7
7
  }
@@ -1,10 +1,6 @@
1
- import type { Node } from '../../types/javax/jcr/Node';
1
+ import type { AppData } from '../appData';
2
2
 
3
- export interface GlobalAppData {
4
- get(key: string): unknown;
5
- getNode(key: string): Node;
6
- getArray(key: string): Node[];
7
- }
3
+ export interface GlobalAppData extends AppData {}
8
4
 
9
5
  declare namespace GlobalAppData {}
10
6