25 lines
1.4 KiB
JavaScript
25 lines
1.4 KiB
JavaScript
// @mosaic/organization: role definitions, the organization configuration
|
|
// (v1 business) and project files, the variable registry and the resolver
|
|
// (slice 1 row S1). Everything here reads files and refuses on a problem;
|
|
// nothing writes. @mosaic/business (packages/business) is the old name and
|
|
// re-exports this module; the old export names below are the same values.
|
|
|
|
export { OrganizationConfigError, BusinessError } from "./errors.mjs";
|
|
export {
|
|
ACTIONS, GATED_ONLY, TOOLS, NETWORKS, SERVICES, GITEA_SCOPE_CATEGORIES, VIKUNJA_GRANTABLE,
|
|
} from "./vocabulary.mjs";
|
|
export { validateRoleDocument, loadRoleFile, loadRole } from "./role.mjs";
|
|
export { LAYERS, REGISTRY, THINKING, FALLBACK_VARS, checkVars, mergeVars } from "./vars.mjs";
|
|
export { parseCredentialRef, checkCredentialRef } from "./credentials.mjs";
|
|
export {
|
|
configDir, organizationFilePath, validateOrganizationDocument, loadOrganization,
|
|
businessFilePath, validateBusinessDocument, loadBusiness,
|
|
} from "./organization-config.mjs";
|
|
export { LEVELS, accessFilePath, checkAccess, loadAccess, covers } from "./access.mjs";
|
|
export { projectFilePath, validateProjectDocument, loadProject } from "./project.mjs";
|
|
export { systemVars, resolveInstance, classify } from "./resolve.mjs";
|
|
export { loadSeatSets } from "./library-seats.mjs";
|
|
export {
|
|
AGENT_LEVELS, rootAgentsPath, checkRootAgents, loadRootAgents, checkProjectAgents, projectUnion, resolveAgentLevels,
|
|
} from "./agent-levels.mjs";
|