@adminide-stack/core 13.2.2-alpha.36 → 13.2.2-alpha.39

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.
@@ -18,4 +18,5 @@ export * from './reduxStore';
18
18
  export * from './error-state';
19
19
  export * from './organization-key-context';
20
20
  export * from './epicDependencies';
21
+ export * from './middlewareLoaderData';
21
22
  export * from 'common/lib/generated/generated-models.js';
@@ -0,0 +1,36 @@
1
+ import type { IPermissions, IPreferences } from 'common';
2
+ import type { IResourceParams } from '@common-stack/core';
3
+ export interface IMiddlewareLoaderData {
4
+ lifecycleStatus: number;
5
+ userId?: string | null;
6
+ apolloState?: Record<string, any>;
7
+ /**
8
+ * @deprecated use configurationsBySchemaId instead
9
+ */
10
+ configurations?: IPreferences;
11
+ configurationsBySchemaId?: Record<string, unknown>;
12
+ /**
13
+ * @deprecated use preferencesInputBySchemaId instead
14
+ */
15
+ preferencesInput?: unknown;
16
+ preferencesInputBySchemaId?: Record<string, unknown>;
17
+ resourceParams?: IResourceParams | IResourceParams[];
18
+ serverData?: {
19
+ /**
20
+ * @deprecated use configurationsBySchemaId instead
21
+ */
22
+ configurations?: IPreferences;
23
+ configurationsBySchemaId?: Record<string, unknown>;
24
+ preferencesInputBySchemaId?: Record<string, unknown>;
25
+ permissions?: IPermissions | null;
26
+ dataContext?: {
27
+ /**
28
+ * @deprecated use preferencesInputBySchemaId instead
29
+ */
30
+ preferencesInput?: unknown;
31
+ configurationsBySchemaId?: Record<string, unknown>;
32
+ preferencesInputBySchemaId?: Record<string, unknown>;
33
+ };
34
+ };
35
+ permissions?: IPermissions | null;
36
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminide-stack/core",
3
- "version": "13.2.2-alpha.36",
3
+ "version": "13.2.2-alpha.39",
4
4
  "description": "AdminIDE core for higher packages to depend on",
5
5
  "license": "UNLICENSED",
6
6
  "author": "adminide-stack-user",
@@ -39,5 +39,5 @@
39
39
  "typescript": {
40
40
  "definition": "lib/index.d.ts"
41
41
  },
42
- "gitHead": "acb6f0f545256de7f23b8e2b70a80b8b424cdd82"
42
+ "gitHead": "9f97a006c1c6fd22e976c93624b2bd94e2ed5888"
43
43
  }