@lssm-tech/example.authos-user-relation-graphexample.authos-user-relation-graph
Entity-relation graph example built on Layer-2 defineContractEntity + defineContractEdge — RBAC structure (User ↔ Role ↔ Resource)
@lssm-tech/example.authos-user-relation-graphSource, release and verification context
Source snapshot bcc79fcc · Declared package version 0.3.6. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.
See where this package fits.
Follow a declared connection, inspect an import, then open the source guide when you need the detail.
Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.
@lssm-tech/example.authos-user-relation-graph
Entity-relation graph example built on Layer-2 defineContractEntity + defineContractEdge. Models an RBAC structure: User ↔ Role ↔ Resource.
What This Demonstrates
- Defining a
DataViewGraphSpecwith anentity-declarativegraph source. - Using
defineContractEntityanddefineContractEdgeto describe nodes and edge types. - Modeling a simple RBAC graph: User → has Role → grants access to Resource.
Running Locally
From examples/authos-user-relation-graph:
bun run typecheckArchitecture
src/index.ts— root public barrel and package entrypoint.
Notes
- Works alongside
@lssm-tech/lib.contracts-spec. - Blocked on P1-RECON/B (Layer-2
defineContractEntity). FullDataViewGraphSpecexport lands in task P5/W5.C.
Declared capabilities.
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Imports and export paths.
1 entriesThese are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.
1 import
No export paths match this search.
Dependencies and related packages.
Runtime dependencies 2
- @lssm-tech/lib.contracts-spec
- workspace:*
- @lssm-tech/lib.schema
- workspace:*
Development dependencies 2
- @lssm-tech/tool.typescript
- workspace:*
- typescript
- catalog:
Package scripts.
Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.
bun x --bun tsc --project tsconfig.jsontsgo --noEmitbun testnode ../../scripts/biome.cjs check --write .node ../../scripts/biome.cjs check .rimraf dist .turbo