@esri/hub-common 14.95.1 → 14.97.0
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/esm/associations/index.js +1 -0
- package/dist/esm/associations/index.js.map +1 -1
- package/dist/esm/associations/setEntityAssociationGroup.js +37 -0
- package/dist/esm/associations/setEntityAssociationGroup.js.map +1 -0
- package/dist/esm/core/schemas/internal/getCardEditorSchemas.js +7 -0
- package/dist/esm/core/schemas/internal/getCardEditorSchemas.js.map +1 -1
- package/dist/esm/core/schemas/internal/getEditorSchemas.js +56 -1
- package/dist/esm/core/schemas/internal/getEditorSchemas.js.map +1 -1
- package/dist/esm/core/schemas/internal/metrics/ProjectUiSchemaMetrics.js +1 -1
- package/dist/esm/core/schemas/internal/metrics/ProjectUiSchemaMetrics.js.map +1 -1
- package/dist/esm/core/schemas/internal/metrics/StatCardUiSchema.js +1 -1
- package/dist/esm/core/schemas/internal/metrics/StatCardUiSchema.js.map +1 -1
- package/dist/esm/core/schemas/types.js.map +1 -1
- package/dist/esm/groups/HubGroups.js +9 -1
- package/dist/esm/groups/HubGroups.js.map +1 -1
- package/dist/esm/groups/_internal/GroupBusinessRules.js +21 -0
- package/dist/esm/groups/_internal/GroupBusinessRules.js.map +1 -1
- package/dist/esm/groups/_internal/GroupSchema.js +2 -0
- package/dist/esm/groups/_internal/GroupSchema.js.map +1 -1
- package/dist/esm/groups/_internal/GroupUiSchemaCreateAssociation.js +130 -0
- package/dist/esm/groups/_internal/GroupUiSchemaCreateAssociation.js.map +1 -0
- package/dist/esm/groups/_internal/GroupUiSchemaCreateEdit.js +15 -1
- package/dist/esm/groups/_internal/GroupUiSchemaCreateEdit.js.map +1 -1
- package/dist/esm/groups/_internal/GroupUiSchemaCreateFollowers.js +16 -1
- package/dist/esm/groups/_internal/GroupUiSchemaCreateFollowers.js.map +1 -1
- package/dist/esm/groups/_internal/GroupUiSchemaCreateView.js +15 -1
- package/dist/esm/groups/_internal/GroupUiSchemaCreateView.js.map +1 -1
- package/dist/esm/groups/getWellKnownGroup.js +10 -0
- package/dist/esm/groups/getWellKnownGroup.js.map +1 -1
- package/dist/esm/initiatives/_internal/InitiativeBusinessRules.js +6 -0
- package/dist/esm/initiatives/_internal/InitiativeBusinessRules.js.map +1 -1
- package/dist/esm/permissions/_internal/checkAssertions.js +15 -3
- package/dist/esm/permissions/_internal/checkAssertions.js.map +1 -1
- package/dist/node/associations/index.js +1 -0
- package/dist/node/associations/index.js.map +1 -1
- package/dist/node/associations/setEntityAssociationGroup.js +41 -0
- package/dist/node/associations/setEntityAssociationGroup.js.map +1 -0
- package/dist/node/core/schemas/internal/getCardEditorSchemas.js +7 -0
- package/dist/node/core/schemas/internal/getCardEditorSchemas.js.map +1 -1
- package/dist/node/core/schemas/internal/getEditorSchemas.js +56 -1
- package/dist/node/core/schemas/internal/getEditorSchemas.js.map +1 -1
- package/dist/node/core/schemas/internal/metrics/ProjectUiSchemaMetrics.js +1 -1
- package/dist/node/core/schemas/internal/metrics/ProjectUiSchemaMetrics.js.map +1 -1
- package/dist/node/core/schemas/internal/metrics/StatCardUiSchema.js +1 -1
- package/dist/node/core/schemas/internal/metrics/StatCardUiSchema.js.map +1 -1
- package/dist/node/core/schemas/types.js.map +1 -1
- package/dist/node/groups/HubGroups.js +8 -0
- package/dist/node/groups/HubGroups.js.map +1 -1
- package/dist/node/groups/_internal/GroupBusinessRules.js +21 -0
- package/dist/node/groups/_internal/GroupBusinessRules.js.map +1 -1
- package/dist/node/groups/_internal/GroupSchema.js +2 -0
- package/dist/node/groups/_internal/GroupSchema.js.map +1 -1
- package/dist/node/groups/_internal/GroupUiSchemaCreateAssociation.js +133 -0
- package/dist/node/groups/_internal/GroupUiSchemaCreateAssociation.js.map +1 -0
- package/dist/node/groups/_internal/GroupUiSchemaCreateEdit.js +15 -1
- package/dist/node/groups/_internal/GroupUiSchemaCreateEdit.js.map +1 -1
- package/dist/node/groups/_internal/GroupUiSchemaCreateFollowers.js +16 -1
- package/dist/node/groups/_internal/GroupUiSchemaCreateFollowers.js.map +1 -1
- package/dist/node/groups/_internal/GroupUiSchemaCreateView.js +15 -1
- package/dist/node/groups/_internal/GroupUiSchemaCreateView.js.map +1 -1
- package/dist/node/groups/getWellKnownGroup.js +10 -0
- package/dist/node/groups/getWellKnownGroup.js.map +1 -1
- package/dist/node/initiatives/_internal/InitiativeBusinessRules.js +6 -0
- package/dist/node/initiatives/_internal/InitiativeBusinessRules.js.map +1 -1
- package/dist/node/permissions/_internal/checkAssertions.js +15 -3
- package/dist/node/permissions/_internal/checkAssertions.js.map +1 -1
- package/dist/types/associations/index.d.ts +1 -0
- package/dist/types/associations/setEntityAssociationGroup.d.ts +13 -0
- package/dist/types/core/schemas/internal/metrics/ProjectUiSchemaMetrics.d.ts +1 -1
- package/dist/types/core/schemas/internal/metrics/StatCardUiSchema.d.ts +1 -1
- package/dist/types/core/schemas/types.d.ts +29 -2
- package/dist/types/groups/_internal/GroupSchema.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaCreateAssociation.d.ts +21 -0
- package/dist/types/groups/_internal/GroupUiSchemaCreateEdit.d.ts +12 -1
- package/dist/types/groups/_internal/GroupUiSchemaCreateFollowers.d.ts +12 -1
- package/dist/types/groups/_internal/GroupUiSchemaCreateView.d.ts +12 -1
- package/dist/types/groups/getWellKnownGroup.d.ts +1 -1
- package/dist/types/initiatives/_internal/InitiativeBusinessRules.d.ts +1 -1
- package/dist/types/permissions/types/IPermissionPolicy.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IHubGroup } from "../core/types/IHubGroup";
|
|
2
2
|
import { IArcGISContext } from "../ArcGISContext";
|
|
3
|
-
declare type WellKnownGroup = "hubViewGroup" | "hubEditGroup" | "hubFollowersGroup";
|
|
3
|
+
declare type WellKnownGroup = "hubViewGroup" | "hubEditGroup" | "hubFollowersGroup" | "hubAssociationsGroup";
|
|
4
4
|
/**
|
|
5
5
|
* Fetches a well known group template based on a name
|
|
6
6
|
*
|
|
@@ -8,7 +8,7 @@ export declare const InitiativeDefaultFeatures: IFeatureFlags;
|
|
|
8
8
|
* These define the requirements any user must meet to perform related actions
|
|
9
9
|
* @private
|
|
10
10
|
*/
|
|
11
|
-
export declare const InitiativePermissions: readonly ["hub:initiative", "hub:initiative:create", "hub:initiative:delete", "hub:initiative:edit", "hub:initiative:view", "hub:initiative:events", "hub:initiative:content", "hub:initiative:discussions", "hub:initiative:workspace", "hub:initiative:workspace:overview", "hub:initiative:workspace:dashboard", "hub:initiative:workspace:details", "hub:initiative:workspace:projects", "hub:initiative:workspace:projects:member", "hub:initiative:workspace:projects:manager", "hub:initiative:workspace:settings", "hub:initiative:workspace:collaborators", "hub:initiative:workspace:content", "hub:initiative:workspace:metrics", "hub:initiative:manage"];
|
|
11
|
+
export declare const InitiativePermissions: readonly ["hub:initiative", "hub:initiative:create", "hub:initiative:delete", "hub:initiative:edit", "hub:initiative:view", "hub:initiative:events", "hub:initiative:content", "hub:initiative:discussions", "hub:initiative:workspace", "hub:initiative:workspace:overview", "hub:initiative:workspace:dashboard", "hub:initiative:workspace:details", "hub:initiative:workspace:projects", "hub:initiative:workspace:projects:member", "hub:initiative:workspace:projects:manager", "hub:initiative:workspace:settings", "hub:initiative:workspace:collaborators", "hub:initiative:workspace:content", "hub:initiative:workspace:metrics", "hub:initiative:workspace:associationGroup:create", "hub:initiative:manage"];
|
|
12
12
|
/**
|
|
13
13
|
* Initiative permission policies
|
|
14
14
|
* @private
|
|
@@ -98,6 +98,11 @@ export interface IPolicyAssertion {
|
|
|
98
98
|
property: string;
|
|
99
99
|
type: AssertionType;
|
|
100
100
|
value: any;
|
|
101
|
+
/** A condition dictates if an assertion should be evaluated. If any condition evaluates to false,
|
|
102
|
+
* the assertion should be ignored. If the conditions evaluate to true, or if there are no conditions,
|
|
103
|
+
* the assertion should be evaluated.
|
|
104
|
+
*/
|
|
105
|
+
conditions?: IPolicyAssertion[];
|
|
101
106
|
}
|
|
102
107
|
/**
|
|
103
108
|
* Assertion types which define the comparison operation to be performed
|