@common-stack/core 8.3.1-alpha.11 → 8.3.1-alpha.12

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.
@@ -1,4 +1,4 @@
1
- import { ContributionExtensionName, ContributionSchemaId, IPermissionsFlattenedKeys, IConfigurationsFlattenedKeys, ConfigurationTarget } from 'common';
1
+ import { ContributionExtensionName, ContributionSchemaId, IPermissionsFlattenedKeys, IConfigurationsFlattenedKeys, IPageSettingsOptionsInput } from 'common';
2
2
  import { IAuthorityConfig } from './authority';
3
3
  import { IRollupBuildGenerated } from './rollupRouteGenerated';
4
4
  import { IViteSettings } from './viteSettings';
@@ -24,42 +24,71 @@ export interface IResourceParams {
24
24
  /**
25
25
  * @name Fragment
26
26
  * @description Fragment of the resource path.
27
+ * @deprecated Use options.fragment instead.
27
28
  */
28
29
  fragment?: string;
29
30
  /**
30
31
  * @name Query Parameters
31
32
  * @description Query parameters for resource handling.
33
+ * @deprecated Use options.query instead.
32
34
  */
33
35
  query?: Record<string, string>;
34
36
  /**
35
37
  * @name Configuration Key
36
38
  * @description Configuration key for resource parameters.
39
+ * @deprecated Use configKey in options instead.
37
40
  */
38
41
  configKey?: string;
39
42
  /**
40
43
  * @name Resource Path
41
44
  * @description Path related to the resource.
45
+ * @deprecated Use resourceType instead.
42
46
  */
43
47
  path?: string;
44
48
  /**
45
49
  * @name Extension Name
46
50
  * @description Name of the extension for resource identification in dataLoader.
51
+ * @deprecated Use options.extensionName instead.
47
52
  */
48
53
  extensionName?: ContributionExtensionName;
49
54
  /**
50
55
  * @name Schema ID
51
56
  * @description Schema identifier for configuration and preferences input.
57
+ * @deprecated Use options.schemaId instead.
52
58
  */
53
59
  schemaId?: ContributionSchemaId;
54
60
  /**
55
- * @name Target
56
- * @description Configuration target for determining the configuration scope.
61
+ * @name Options
62
+ * @description Page settings options that control configuration fetching.
63
+ * This provides a structured way to pass all configuration options together.
64
+ * When both top-level fields (schemaId, target, extensionName, configKey) and options are provided,
65
+ * the options field takes precedence. These options can also be encoded in URI query params with 'meta_' prefix.
66
+ */
67
+ options?: IPageSettingsOptionsInput;
68
+ /**
69
+ * @deprecated @name Is External
70
+ * @description Indicates if the resource is external.
57
71
  */
58
- target?: ConfigurationTarget;
59
72
  isExternal?: boolean;
73
+ /**
74
+ * @name Organization
75
+ * @description Organization identifier for resource scoping.
76
+ */
60
77
  organization?: string;
78
+ /**
79
+ * @name Resource Group
80
+ * @description Group identifier for resource categorization.
81
+ */
61
82
  resourceGroup?: string;
83
+ /**
84
+ * @name Resource Type
85
+ * @description Type of the resource for identification.
86
+ */
62
87
  resourceType?: string;
88
+ /**
89
+ * @name Resource ID
90
+ * @description Unique identifier for the resource.
91
+ */
63
92
  resourceId?: string;
64
93
  }
65
94
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/core",
3
- "version": "8.3.1-alpha.11",
3
+ "version": "8.3.1-alpha.12",
4
4
  "description": "Common core for higher packages to depend on",
5
5
  "license": "UNLICENSED",
6
6
  "author": "CDMBase LLC",
@@ -21,7 +21,7 @@
21
21
  "watch": "yarn build:lib:watch"
22
22
  },
23
23
  "devDependencies": {
24
- "common": "8.3.1-alpha.7"
24
+ "common": "8.3.1-alpha.12"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@cdm-logger/core": ">=9.0.17"
@@ -29,7 +29,7 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "e8fa6b1a137cc051b6f013026564d526739d7b0c",
32
+ "gitHead": "93be65133a39778a09629aabaa019a67055e0d69",
33
33
  "typescript": {
34
34
  "definition": "lib/index.d.ts"
35
35
  }