@adminide-stack/core 9.1.1-alpha.19 → 9.1.1-alpha.25

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.
@@ -98,6 +98,10 @@ export interface IConfigurationChange {
98
98
  overrides: [string, string[]][];
99
99
  }
100
100
  export type IConfigurationsFlattenedKeys = FlattenWithFinite<IPreferences, 10, ''>;
101
+ export type FlattenWithAll<T, Prefix extends string = '', Depth extends number = 3> = [Depth] extends [never] ? never : {
102
+ [K in keyof T & (string | number)]: T[K] extends object ? `${Prefix}${K}` | FlattenWithFinite<T[K], 10, Depth extends 1 ? never : Depth extends 3 ? '2' : '1'> : `${Prefix}${K}`;
103
+ }[keyof T & (string | number)];
104
+ export type IConfigurationKeys = FlattenWithAll<IPreferences, '', 10>;
101
105
  export interface IConfigurationNode {
102
106
  id?: string;
103
107
  order?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminide-stack/core",
3
- "version": "9.1.1-alpha.19",
3
+ "version": "9.1.1-alpha.25",
4
4
  "description": "AdminIDE core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -36,5 +36,5 @@
36
36
  "typescript": {
37
37
  "definition": "lib/index.d.ts"
38
38
  },
39
- "gitHead": "55fb6efabcc1709cae151445bc98aabd8a1e9e00"
39
+ "gitHead": "ff9b9fcca8ad721d074e2927afd20bd21e34c79c"
40
40
  }