@constructive-io/data 0.5.0 → 0.6.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/dist/index.d.cts CHANGED
@@ -2428,7 +2428,7 @@ declare const MEMBERSHIP_TYPES: {
2428
2428
  readonly GROUP: 3;
2429
2429
  };
2430
2430
  type PolicyFieldType = 'string' | 'boolean' | 'integer' | 'uuid' | 'uuid[]';
2431
- type PolicyFieldComponent = 'table-select' | 'membership-type-select' | 'permission-select';
2431
+ type PolicyFieldComponent = 'table-select' | 'membership-type-select' | 'capability-select';
2432
2432
  type PolicyProvisioningCategory = 'has-module' | 'needs-fields' | 'needs-table' | 'no-fields';
2433
2433
  interface PolicyFieldOverride {
2434
2434
  type?: PolicyFieldType;
package/dist/index.d.ts CHANGED
@@ -2428,7 +2428,7 @@ declare const MEMBERSHIP_TYPES: {
2428
2428
  readonly GROUP: 3;
2429
2429
  };
2430
2430
  type PolicyFieldType = 'string' | 'boolean' | 'integer' | 'uuid' | 'uuid[]';
2431
- type PolicyFieldComponent = 'table-select' | 'membership-type-select' | 'permission-select';
2431
+ type PolicyFieldComponent = 'table-select' | 'membership-type-select' | 'capability-select';
2432
2432
  type PolicyProvisioningCategory = 'has-module' | 'needs-fields' | 'needs-table' | 'no-fields';
2433
2433
  interface PolicyFieldOverride {
2434
2434
  type?: PolicyFieldType;
package/dist/index.js CHANGED
@@ -4834,9 +4834,9 @@ var POLICY_PROVISIONING_CONFIG = {
4834
4834
  },
4835
4835
  permission: {
4836
4836
  type: "string",
4837
- component: "permission-select",
4838
- label: "Required Permission",
4839
- description: "Optional permission the user must have"
4837
+ component: "capability-select",
4838
+ label: "Required Capability",
4839
+ description: "Optional capability the user must have"
4840
4840
  },
4841
4841
  is_admin: {
4842
4842
  type: "boolean",
@@ -4870,9 +4870,9 @@ var POLICY_PROVISIONING_CONFIG = {
4870
4870
  fieldOverrides: {
4871
4871
  permission: {
4872
4872
  type: "string",
4873
- component: "permission-select",
4874
- label: "Required Permission",
4875
- description: "Optional permission the user must have"
4873
+ component: "capability-select",
4874
+ label: "Required Capability",
4875
+ description: "Optional capability the user must have"
4876
4876
  },
4877
4877
  is_admin: {
4878
4878
  type: "boolean",
@@ -5037,8 +5037,8 @@ var POLICY_PROVISIONING_CONFIG = {
5037
5037
  },
5038
5038
  permission: {
5039
5039
  type: "string",
5040
- component: "permission-select",
5041
- label: "Required Permission"
5040
+ component: "capability-select",
5041
+ label: "Required Capability"
5042
5042
  },
5043
5043
  is_admin: {
5044
5044
  type: "boolean",