@elevasis/core 0.35.1 → 0.37.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/auth/index.d.ts +124 -2
- package/dist/auth/index.js +14 -1
- package/dist/index.d.ts +334 -3
- package/dist/index.js +21 -5
- package/dist/knowledge/index.d.ts +81 -0
- package/dist/organization-model/index.d.ts +334 -3
- package/dist/organization-model/index.js +21 -5
- package/dist/test-utils/index.d.ts +97 -0
- package/dist/test-utils/index.js +19 -4
- package/package.json +1 -1
- package/src/_gen/__tests__/__snapshots__/contracts.md.snap +67 -0
- package/src/auth/multi-tenancy/invitations/api-schemas.ts +24 -9
- package/src/auth/multi-tenancy/invitations/index.ts +11 -9
- package/src/auth/multi-tenancy/organizations/__tests__/api-schemas.test.ts +39 -3
- package/src/auth/multi-tenancy/organizations/api-schemas.ts +36 -8
- package/src/auth/multi-tenancy/organizations/index.ts +13 -11
- package/src/business/acquisition/build-templates.test.ts +34 -0
- package/src/business/acquisition/build-templates.ts +8 -1
- package/src/organization-model/__tests__/domains/navigation-topbar.test.ts +282 -0
- package/src/organization-model/__tests__/migration-helpers.test.ts +11 -11
- package/src/organization-model/defaults.ts +2 -1
- package/src/organization-model/domains/navigation.ts +176 -139
- package/src/organization-model/icons.ts +1 -0
- package/src/organization-model/migration-helpers.ts +8 -1
- package/src/organization-model/published.ts +6 -6
- package/src/organization-model/types.ts +5 -1
- package/src/platform/constants/versions.ts +1 -1
- package/src/platform/registry/__tests__/resource-registry.test.ts +2053 -2054
- package/src/reference/_generated/contracts.md +67 -0
- package/src/scaffold-registry/index.ts +4 -4
- package/src/supabase/database.types.ts +15 -0
- package/src/test-utils/rls/RLSTestContext.ts +3 -3
|
@@ -29,11 +29,7 @@ export {
|
|
|
29
29
|
OrganizationModelDomainMetadataSchema,
|
|
30
30
|
OrganizationModelSchema
|
|
31
31
|
} from './schema'
|
|
32
|
-
export {
|
|
33
|
-
NodeIdPathSchema,
|
|
34
|
-
NodeIdStringSchema,
|
|
35
|
-
UiPositionSchema
|
|
36
|
-
} from './domains/systems'
|
|
32
|
+
export { NodeIdPathSchema, NodeIdStringSchema, UiPositionSchema } from './domains/systems'
|
|
37
33
|
export { LinkSchema } from './graph/link'
|
|
38
34
|
export { IconNameSchema, TechStackEntrySchema } from './domains/shared'
|
|
39
35
|
export {
|
|
@@ -221,7 +217,9 @@ export {
|
|
|
221
217
|
SidebarSectionSchema,
|
|
222
218
|
SidebarSurfaceTargetsSchema,
|
|
223
219
|
SurfaceDefinitionSchema,
|
|
224
|
-
SurfaceTypeSchema
|
|
220
|
+
SurfaceTypeSchema,
|
|
221
|
+
TopbarActionNodeSchema,
|
|
222
|
+
TopbarSectionSchema
|
|
225
223
|
} from './domains/navigation'
|
|
226
224
|
export {
|
|
227
225
|
defineKnowledgeNode,
|
|
@@ -299,6 +297,8 @@ export type {
|
|
|
299
297
|
OrganizationModelSidebarSection,
|
|
300
298
|
OrganizationModelSidebarSurfaceNode,
|
|
301
299
|
OrganizationModelSidebarSurfaceTargets,
|
|
300
|
+
OrganizationModelTopbarActionNode,
|
|
301
|
+
OrganizationModelTopbarSection,
|
|
302
302
|
OrganizationModelKeyResult,
|
|
303
303
|
OrganizationModelObjective,
|
|
304
304
|
OrganizationModelSystemEntry,
|
|
@@ -11,7 +11,9 @@ import {
|
|
|
11
11
|
SidebarNodeSchema,
|
|
12
12
|
SidebarSectionSchema,
|
|
13
13
|
SidebarSurfaceTargetsSchema,
|
|
14
|
-
SurfaceDefinitionSchema
|
|
14
|
+
SurfaceDefinitionSchema,
|
|
15
|
+
TopbarActionNodeSchema,
|
|
16
|
+
TopbarSectionSchema
|
|
15
17
|
} from './domains/navigation'
|
|
16
18
|
import { TechStackEntrySchema } from './domains/shared'
|
|
17
19
|
import { StatusesDomainSchema, StatusEntrySchema, StatusSemanticClassSchema } from './domains/statuses'
|
|
@@ -135,6 +137,8 @@ export type OrganizationModelSidebarNode = z.infer<typeof SidebarNodeSchema>
|
|
|
135
137
|
export type OrganizationModelSidebarSurfaceTargets = z.infer<typeof SidebarSurfaceTargetsSchema>
|
|
136
138
|
export type OrganizationModelSidebarSurfaceNode = Extract<OrganizationModelSidebarNode, { type: 'surface' }>
|
|
137
139
|
export type OrganizationModelSidebarGroupNode = Extract<OrganizationModelSidebarNode, { type: 'group' }>
|
|
140
|
+
export type OrganizationModelTopbarActionNode = z.infer<typeof TopbarActionNodeSchema>
|
|
141
|
+
export type OrganizationModelTopbarSection = z.infer<typeof TopbarSectionSchema>
|
|
138
142
|
export type OrganizationModelTechStackEntry = z.infer<typeof TechStackEntrySchema>
|
|
139
143
|
export type OrganizationModelStatuses = z.infer<typeof StatusesDomainSchema>
|
|
140
144
|
export type OrganizationModelStatusEntry = z.infer<typeof StatusEntrySchema>
|