@elevasis/core 0.11.1 → 0.11.2
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.ts +1 -2
- package/dist/index.js +3 -11
- package/dist/organization-model/index.d.ts +1 -2
- package/dist/organization-model/index.js +3 -11
- package/dist/test-utils/index.js +0 -6
- package/package.json +1 -1
- package/src/__tests__/template-core-compatibility.test.ts +6 -15
- package/src/organization-model/contracts.ts +0 -1
- package/src/organization-model/defaults.ts +0 -6
- package/src/organization-model/domains/navigation.ts +1 -14
- package/src/organization-model/foundation.ts +2 -3
- package/src/organization-model/published.ts +1 -2
- package/src/platform/constants/versions.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -326,7 +326,6 @@ declare const SETTINGS_FEATURE_ID: "settings";
|
|
|
326
326
|
declare const SEO_FEATURE_ID: "seo";
|
|
327
327
|
declare const SALES_PIPELINE_SURFACE_ID: "crm.pipeline";
|
|
328
328
|
declare const PROSPECTING_LISTS_SURFACE_ID: "lead-gen.lists";
|
|
329
|
-
declare const OPERATIONS_ORGANIZATION_GRAPH_SURFACE_ID: "operations.organization-graph";
|
|
330
329
|
declare const OPERATIONS_COMMAND_VIEW_SURFACE_ID: "operations.command-view";
|
|
331
330
|
|
|
332
331
|
declare const OrganizationModelBrandingSchema: z.ZodObject<{
|
|
@@ -696,5 +695,5 @@ declare function createFoundationOrganizationModel(override: DeepPartial<Organiz
|
|
|
696
695
|
getOrganizationSurface: (surfaceId: string) => FoundationNavigationSurface | undefined;
|
|
697
696
|
};
|
|
698
697
|
|
|
699
|
-
export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID,
|
|
698
|
+
export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID, ObjectiveSchema, OfferingsDomainSchema, OperationEntrySchema, OperationSemanticClassSchema, OperationsDomainSchema, OrganizationModelSchema, PROJECTS_FEATURE_ID, PROJECTS_INDEX_SURFACE_ID, PROJECTS_VIEW_CAPABILITY_ID, PROSPECTING_FEATURE_ID, PROSPECTING_LISTS_SURFACE_ID, PricingModelSchema, ProductSchema, RoleSchema, RolesDomainSchema, SALES_FEATURE_ID, SALES_PIPELINE_SURFACE_ID, SEO_FEATURE_ID, SETTINGS_FEATURE_ID, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, TechStackEntrySchema, UiPositionSchema, createFoundationOrganizationModel, defineOrganizationModel, resolveOrganizationModel };
|
|
700
699
|
export type { DeepPartial, FoundationBranding, FoundationNavigationSurface, FoundationOrganizationModel, FoundationSurfaceIcon, FoundationSurfaceType, NodeIdPath, NodeIdString, OrganizationModel, OrganizationModelBranding, OrganizationModelCustomerFirmographics, OrganizationModelCustomerSegment, OrganizationModelCustomers, OrganizationModelFeature, OrganizationModelGoals, OrganizationModelKeyResult, OrganizationModelObjective, OrganizationModelOfferings, OrganizationModelOperationEntry, OrganizationModelOperationSemanticClass, OrganizationModelOperations, OrganizationModelPricingModel, OrganizationModelProduct, OrganizationModelProjects, OrganizationModelProspecting, OrganizationModelRole, OrganizationModelRoles, OrganizationModelSales, OrganizationModelStatusEntry, OrganizationModelStatusSemanticClass, OrganizationModelStatuses, OrganizationModelTechStackEntry };
|
package/dist/index.js
CHANGED
|
@@ -248,7 +248,6 @@ var SETTINGS_FEATURE_ID = "settings";
|
|
|
248
248
|
var SEO_FEATURE_ID = "seo";
|
|
249
249
|
var SALES_PIPELINE_SURFACE_ID = "crm.pipeline";
|
|
250
250
|
var PROSPECTING_LISTS_SURFACE_ID = "lead-gen.lists";
|
|
251
|
-
var OPERATIONS_ORGANIZATION_GRAPH_SURFACE_ID = "operations.organization-graph";
|
|
252
251
|
var OPERATIONS_COMMAND_VIEW_SURFACE_ID = "operations.command-view";
|
|
253
252
|
|
|
254
253
|
// src/organization-model/domains/navigation.ts
|
|
@@ -891,12 +890,6 @@ var DEFAULT_ORGANIZATION_MODEL = {
|
|
|
891
890
|
icon: "operations",
|
|
892
891
|
uiPosition: "sidebar-primary"
|
|
893
892
|
},
|
|
894
|
-
{
|
|
895
|
-
id: "operations.graph",
|
|
896
|
-
label: "Organization Graph",
|
|
897
|
-
enabled: true,
|
|
898
|
-
path: "/operations/organization-graph"
|
|
899
|
-
},
|
|
900
893
|
{
|
|
901
894
|
id: "operations.command-view",
|
|
902
895
|
label: "Command View",
|
|
@@ -1146,13 +1139,12 @@ function createFoundationOrganizationModel(override) {
|
|
|
1146
1139
|
}
|
|
1147
1140
|
return feature;
|
|
1148
1141
|
}
|
|
1149
|
-
const
|
|
1142
|
+
const operationsFeature = requireCoreFeature("operations");
|
|
1150
1143
|
const projectsFeature = requireCoreFeature("projects");
|
|
1151
1144
|
const leadGenFeature = requireCoreFeature("sales.lead-gen");
|
|
1152
1145
|
const crmFeature = requireCoreFeature("sales.crm");
|
|
1153
1146
|
const navigationSurfaces = [
|
|
1154
|
-
{ ...
|
|
1155
|
-
{ ...operationsGraphFeature, path: "/operations", icon: "operations", surfaceType: "graph" },
|
|
1147
|
+
{ ...operationsFeature, id: "operations", path: "/operations", icon: "operations", surfaceType: "dashboard" },
|
|
1156
1148
|
{ ...projectsFeature, icon: "projects", surfaceType: "list" },
|
|
1157
1149
|
{ ...leadGenFeature, id: "lead-gen", icon: "lead-gen", surfaceType: "list" },
|
|
1158
1150
|
{ ...crmFeature, id: "crm", icon: "crm", surfaceType: "graph" },
|
|
@@ -1181,4 +1173,4 @@ function createFoundationOrganizationModel(override) {
|
|
|
1181
1173
|
};
|
|
1182
1174
|
}
|
|
1183
1175
|
|
|
1184
|
-
export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID,
|
|
1176
|
+
export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID, ObjectiveSchema, OfferingsDomainSchema, OperationEntrySchema, OperationSemanticClassSchema, OperationsDomainSchema, OrganizationModelSchema, PROJECTS_FEATURE_ID, PROJECTS_INDEX_SURFACE_ID, PROJECTS_VIEW_CAPABILITY_ID, PROSPECTING_FEATURE_ID, PROSPECTING_LISTS_SURFACE_ID, PricingModelSchema, ProductSchema, RoleSchema, RolesDomainSchema, SALES_FEATURE_ID, SALES_PIPELINE_SURFACE_ID, SEO_FEATURE_ID, SETTINGS_FEATURE_ID, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, TechStackEntrySchema, UiPositionSchema, createFoundationOrganizationModel, defineOrganizationModel, resolveOrganizationModel };
|
|
@@ -326,7 +326,6 @@ declare const SETTINGS_FEATURE_ID: "settings";
|
|
|
326
326
|
declare const SEO_FEATURE_ID: "seo";
|
|
327
327
|
declare const SALES_PIPELINE_SURFACE_ID: "crm.pipeline";
|
|
328
328
|
declare const PROSPECTING_LISTS_SURFACE_ID: "lead-gen.lists";
|
|
329
|
-
declare const OPERATIONS_ORGANIZATION_GRAPH_SURFACE_ID: "operations.organization-graph";
|
|
330
329
|
declare const OPERATIONS_COMMAND_VIEW_SURFACE_ID: "operations.command-view";
|
|
331
330
|
|
|
332
331
|
declare const OrganizationModelBrandingSchema: z.ZodObject<{
|
|
@@ -696,5 +695,5 @@ declare function createFoundationOrganizationModel(override: DeepPartial<Organiz
|
|
|
696
695
|
getOrganizationSurface: (surfaceId: string) => FoundationNavigationSurface | undefined;
|
|
697
696
|
};
|
|
698
697
|
|
|
699
|
-
export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID,
|
|
698
|
+
export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID, ObjectiveSchema, OfferingsDomainSchema, OperationEntrySchema, OperationSemanticClassSchema, OperationsDomainSchema, OrganizationModelSchema, PROJECTS_FEATURE_ID, PROJECTS_INDEX_SURFACE_ID, PROJECTS_VIEW_CAPABILITY_ID, PROSPECTING_FEATURE_ID, PROSPECTING_LISTS_SURFACE_ID, PricingModelSchema, ProductSchema, RoleSchema, RolesDomainSchema, SALES_FEATURE_ID, SALES_PIPELINE_SURFACE_ID, SEO_FEATURE_ID, SETTINGS_FEATURE_ID, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, TechStackEntrySchema, UiPositionSchema, createFoundationOrganizationModel, defineOrganizationModel, resolveOrganizationModel };
|
|
700
699
|
export type { DeepPartial, FoundationBranding, FoundationNavigationSurface, FoundationOrganizationModel, FoundationSurfaceIcon, FoundationSurfaceType, NodeIdPath, NodeIdString, OrganizationModel, OrganizationModelBranding, OrganizationModelCustomerFirmographics, OrganizationModelCustomerSegment, OrganizationModelCustomers, OrganizationModelFeature, OrganizationModelGoals, OrganizationModelKeyResult, OrganizationModelObjective, OrganizationModelOfferings, OrganizationModelOperationEntry, OrganizationModelOperationSemanticClass, OrganizationModelOperations, OrganizationModelPricingModel, OrganizationModelProduct, OrganizationModelProjects, OrganizationModelProspecting, OrganizationModelRole, OrganizationModelRoles, OrganizationModelSales, OrganizationModelStatusEntry, OrganizationModelStatusSemanticClass, OrganizationModelStatuses, OrganizationModelTechStackEntry };
|
|
@@ -248,7 +248,6 @@ var SETTINGS_FEATURE_ID = "settings";
|
|
|
248
248
|
var SEO_FEATURE_ID = "seo";
|
|
249
249
|
var SALES_PIPELINE_SURFACE_ID = "crm.pipeline";
|
|
250
250
|
var PROSPECTING_LISTS_SURFACE_ID = "lead-gen.lists";
|
|
251
|
-
var OPERATIONS_ORGANIZATION_GRAPH_SURFACE_ID = "operations.organization-graph";
|
|
252
251
|
var OPERATIONS_COMMAND_VIEW_SURFACE_ID = "operations.command-view";
|
|
253
252
|
|
|
254
253
|
// src/organization-model/domains/navigation.ts
|
|
@@ -891,12 +890,6 @@ var DEFAULT_ORGANIZATION_MODEL = {
|
|
|
891
890
|
icon: "operations",
|
|
892
891
|
uiPosition: "sidebar-primary"
|
|
893
892
|
},
|
|
894
|
-
{
|
|
895
|
-
id: "operations.graph",
|
|
896
|
-
label: "Organization Graph",
|
|
897
|
-
enabled: true,
|
|
898
|
-
path: "/operations/organization-graph"
|
|
899
|
-
},
|
|
900
893
|
{
|
|
901
894
|
id: "operations.command-view",
|
|
902
895
|
label: "Command View",
|
|
@@ -1146,13 +1139,12 @@ function createFoundationOrganizationModel(override) {
|
|
|
1146
1139
|
}
|
|
1147
1140
|
return feature;
|
|
1148
1141
|
}
|
|
1149
|
-
const
|
|
1142
|
+
const operationsFeature = requireCoreFeature("operations");
|
|
1150
1143
|
const projectsFeature = requireCoreFeature("projects");
|
|
1151
1144
|
const leadGenFeature = requireCoreFeature("sales.lead-gen");
|
|
1152
1145
|
const crmFeature = requireCoreFeature("sales.crm");
|
|
1153
1146
|
const navigationSurfaces = [
|
|
1154
|
-
{ ...
|
|
1155
|
-
{ ...operationsGraphFeature, path: "/operations", icon: "operations", surfaceType: "graph" },
|
|
1147
|
+
{ ...operationsFeature, id: "operations", path: "/operations", icon: "operations", surfaceType: "dashboard" },
|
|
1156
1148
|
{ ...projectsFeature, icon: "projects", surfaceType: "list" },
|
|
1157
1149
|
{ ...leadGenFeature, id: "lead-gen", icon: "lead-gen", surfaceType: "list" },
|
|
1158
1150
|
{ ...crmFeature, id: "crm", icon: "crm", surfaceType: "graph" },
|
|
@@ -1181,4 +1173,4 @@ function createFoundationOrganizationModel(override) {
|
|
|
1181
1173
|
};
|
|
1182
1174
|
}
|
|
1183
1175
|
|
|
1184
|
-
export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID,
|
|
1176
|
+
export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID, ObjectiveSchema, OfferingsDomainSchema, OperationEntrySchema, OperationSemanticClassSchema, OperationsDomainSchema, OrganizationModelSchema, PROJECTS_FEATURE_ID, PROJECTS_INDEX_SURFACE_ID, PROJECTS_VIEW_CAPABILITY_ID, PROSPECTING_FEATURE_ID, PROSPECTING_LISTS_SURFACE_ID, PricingModelSchema, ProductSchema, RoleSchema, RolesDomainSchema, SALES_FEATURE_ID, SALES_PIPELINE_SURFACE_ID, SEO_FEATURE_ID, SETTINGS_FEATURE_ID, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, TechStackEntrySchema, UiPositionSchema, createFoundationOrganizationModel, defineOrganizationModel, resolveOrganizationModel };
|
package/dist/test-utils/index.js
CHANGED
|
@@ -20220,12 +20220,6 @@ var DEFAULT_ORGANIZATION_MODEL = {
|
|
|
20220
20220
|
icon: "operations",
|
|
20221
20221
|
uiPosition: "sidebar-primary"
|
|
20222
20222
|
},
|
|
20223
|
-
{
|
|
20224
|
-
id: "operations.graph",
|
|
20225
|
-
label: "Organization Graph",
|
|
20226
|
-
enabled: true,
|
|
20227
|
-
path: "/operations/organization-graph"
|
|
20228
|
-
},
|
|
20229
20223
|
{
|
|
20230
20224
|
id: "operations.command-view",
|
|
20231
20225
|
label: "Command View",
|
package/package.json
CHANGED
|
@@ -12,28 +12,21 @@ describe('template core compatibility', () => {
|
|
|
12
12
|
expect(foundationOrganizationModel.navigation.homeLabel).toBe(homeLabel)
|
|
13
13
|
expect(foundationOrganizationModel.navigation.quickAccessSurfaceIds).toEqual(quickAccessSurfaceIds)
|
|
14
14
|
expect(foundationOrganizationModel.version).toBe(1)
|
|
15
|
-
expect(foundationOrganizationModel.navigation.defaultSurfaceId).toBe('operations')
|
|
15
|
+
expect(foundationOrganizationModel.navigation.defaultSurfaceId).toBe('operations')
|
|
16
16
|
expect(getOrganizationSurface('operations')).toMatchObject({
|
|
17
17
|
id: 'operations',
|
|
18
|
-
label: '
|
|
18
|
+
label: 'Operations',
|
|
19
19
|
path: '/operations',
|
|
20
|
-
surfaceType: '
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
expect(getOrganizationSurface('operations.graph')).toMatchObject({
|
|
24
|
-
id: 'operations.graph',
|
|
25
|
-
label: 'Organization Graph',
|
|
26
|
-
path: '/operations',
|
|
27
|
-
surfaceType: 'graph'
|
|
20
|
+
surfaceType: 'dashboard'
|
|
28
21
|
})
|
|
29
22
|
})
|
|
30
23
|
|
|
31
24
|
it('projects legacy template aliases with canonical navigation metadata', () => {
|
|
32
25
|
const legacySurfaces = [
|
|
33
|
-
{
|
|
26
|
+
{
|
|
34
27
|
id: 'operations',
|
|
35
|
-
label: '
|
|
36
|
-
surfaceType: '
|
|
28
|
+
label: 'Operations',
|
|
29
|
+
surfaceType: 'dashboard',
|
|
37
30
|
expectedIcon: 'operations',
|
|
38
31
|
expectedPath: '/operations',
|
|
39
32
|
},
|
|
@@ -60,8 +53,6 @@ describe('template core compatibility', () => {
|
|
|
60
53
|
}
|
|
61
54
|
] as const
|
|
62
55
|
|
|
63
|
-
expect(getOrganizationSurface('operations.graph')).toBeDefined()
|
|
64
|
-
|
|
65
56
|
for (const surface of legacySurfaces) {
|
|
66
57
|
expect(getOrganizationSurface(surface.id)).toMatchObject({
|
|
67
58
|
id: surface.id,
|
|
@@ -11,5 +11,4 @@ export const SEO_FEATURE_ID = 'seo' as const
|
|
|
11
11
|
|
|
12
12
|
export const SALES_PIPELINE_SURFACE_ID = 'crm.pipeline' as const
|
|
13
13
|
export const PROSPECTING_LISTS_SURFACE_ID = 'lead-gen.lists' as const
|
|
14
|
-
export const OPERATIONS_ORGANIZATION_GRAPH_SURFACE_ID = 'operations.organization-graph' as const
|
|
15
14
|
export const OPERATIONS_COMMAND_VIEW_SURFACE_ID = 'operations.command-view' as const
|
|
@@ -68,12 +68,6 @@ export const DEFAULT_ORGANIZATION_MODEL: OrganizationModel = {
|
|
|
68
68
|
icon: 'operations',
|
|
69
69
|
uiPosition: 'sidebar-primary'
|
|
70
70
|
},
|
|
71
|
-
{
|
|
72
|
-
id: 'operations.graph',
|
|
73
|
-
label: 'Organization Graph',
|
|
74
|
-
enabled: true,
|
|
75
|
-
path: '/operations/organization-graph'
|
|
76
|
-
},
|
|
77
71
|
{
|
|
78
72
|
id: 'operations.command-view',
|
|
79
73
|
label: 'Command View',
|
|
@@ -91,18 +91,6 @@ export const DEFAULT_ORGANIZATION_MODEL_NAVIGATION: z.infer<typeof OrganizationM
|
|
|
91
91
|
resourceIds: [],
|
|
92
92
|
capabilityIds: [PROJECTS_VIEW_CAPABILITY_ID]
|
|
93
93
|
},
|
|
94
|
-
{
|
|
95
|
-
id: 'operations.organization-graph',
|
|
96
|
-
label: 'Organization Graph',
|
|
97
|
-
path: '/operations/organization-graph',
|
|
98
|
-
surfaceType: 'graph',
|
|
99
|
-
enabled: true,
|
|
100
|
-
featureId: 'operations',
|
|
101
|
-
featureIds: ['operations'],
|
|
102
|
-
entityIds: [],
|
|
103
|
-
resourceIds: [],
|
|
104
|
-
capabilityIds: ['operations.organization-graph']
|
|
105
|
-
},
|
|
106
94
|
{
|
|
107
95
|
id: OPERATIONS_COMMAND_VIEW_SURFACE_ID,
|
|
108
96
|
label: 'Command View',
|
|
@@ -357,10 +345,9 @@ export const DEFAULT_ORGANIZATION_MODEL_NAVIGATION: z.infer<typeof OrganizationM
|
|
|
357
345
|
label: 'Operations',
|
|
358
346
|
placement: 'primary',
|
|
359
347
|
surfaceIds: [
|
|
360
|
-
'operations.organization-graph',
|
|
361
348
|
OPERATIONS_COMMAND_VIEW_SURFACE_ID,
|
|
362
349
|
'operations.overview',
|
|
363
|
-
'operations.resources',
|
|
350
|
+
'operations.resources',
|
|
364
351
|
'operations.command-queue',
|
|
365
352
|
'operations.sessions',
|
|
366
353
|
'operations.task-scheduler'
|
|
@@ -44,14 +44,13 @@ export function createFoundationOrganizationModel(override: DeepPartial<Organiza
|
|
|
44
44
|
return feature
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
const
|
|
47
|
+
const operationsFeature = requireCoreFeature('operations')
|
|
48
48
|
const projectsFeature = requireCoreFeature('projects')
|
|
49
49
|
const leadGenFeature = requireCoreFeature('sales.lead-gen')
|
|
50
50
|
const crmFeature = requireCoreFeature('sales.crm')
|
|
51
51
|
|
|
52
52
|
const navigationSurfaces: FoundationNavigationSurface[] = [
|
|
53
|
-
{ ...
|
|
54
|
-
{ ...operationsGraphFeature, path: '/operations', icon: 'operations', surfaceType: 'graph' },
|
|
53
|
+
{ ...operationsFeature, id: 'operations', path: '/operations', icon: 'operations', surfaceType: 'dashboard' },
|
|
55
54
|
{ ...projectsFeature, icon: 'projects', surfaceType: 'list' },
|
|
56
55
|
{ ...leadGenFeature, id: 'lead-gen', icon: 'lead-gen', surfaceType: 'list' },
|
|
57
56
|
{ ...crmFeature, id: 'crm', icon: 'crm', surfaceType: 'graph' },
|
|
@@ -11,10 +11,9 @@ export {
|
|
|
11
11
|
OPERATIONS_FEATURE_ID,
|
|
12
12
|
MONITORING_FEATURE_ID,
|
|
13
13
|
SETTINGS_FEATURE_ID,
|
|
14
|
-
SEO_FEATURE_ID,
|
|
14
|
+
SEO_FEATURE_ID,
|
|
15
15
|
SALES_PIPELINE_SURFACE_ID,
|
|
16
16
|
PROSPECTING_LISTS_SURFACE_ID,
|
|
17
|
-
OPERATIONS_ORGANIZATION_GRAPH_SURFACE_ID,
|
|
18
17
|
OPERATIONS_COMMAND_VIEW_SURFACE_ID
|
|
19
18
|
} from './contracts'
|
|
20
19
|
export { DEFAULT_ORGANIZATION_MODEL } from './defaults'
|