Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 11.18.0

- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 11.18.0

- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 11.18.0

- uses: actions/setup-node@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Inside a package, `pnpm build` is `tsc --noEmit` then `tsdown`, emitting a singl

- TS is strict with `verbatimModuleSyntax`/`isolatedModules`: type-only imports MUST use `import type`.
- Relative imports must end in `.js` even though files are `.ts` (node16/nodenext resolution), e.g. `../types.js`.
- Public surface is `src/index.ts`. Interfaces have no prefix (`FDORecord`, `FDOGraph`, `Profile`, `ProfileDefinition`); implementations are `Concrete`-prefixed classes in `src/impl/` (`ConcreteLocalFDORecord`, `ConcreteProfile`), except the graph implementation, which is named after its strategy (`LocalFDOGraph`).
- Public surface is `src/index.ts`. Interfaces have no prefix (`FDORecord`, `FDOGraph`, `Profile`, `ProfileDefinition`); implementations are `Concrete`-prefixed classes in `src/impl/` (`ConcreteLocalFDORecord`, `DefaultProfile`), except the graph implementation, which is named after its strategy (`LocalFDOGraph`).
- Core types (`PID`, `LocalID`, `RecordValue`, ...) live in `src/types.ts`.

## Documentation
Expand All @@ -44,3 +44,4 @@ To document another package: add `src/<package>.ts`, add it to `entryPoints`, ad

- Vitest tests live in `tests/*.test.ts` (node environment) and import from `../src/...` directly (never from `dist`).
- Coverage currently reports 100%; no threshold is enforced, but keep touched code covered.
- Never use type casts (`as`) or `@ts-ignore`/`@ts-expect-error` in tests — they hide real type issues. If a test case cannot be expressed with the current types, fix the source types instead of silencing the error. The only exception is mocking: constructing a test double that the type system cannot represent honestly (e.g. a published record fixture).
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2026 Karlsruhe Institute of Technology

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,7 @@ pnpm test:stream # same as test, with interleaved output
pnpm --filter @fdo-sdk/primitives test
pnpm --filter @fdo-sdk/playground dev
```
# Attributions

The packages of this repository are built on the basis of the [FAIR Digital Objects Architecture Specification](https://fairdo-org.github.io/fdo-architecture-spec/) (CC-BY 4.0 License) and may use excerpts of the specification in method and parameter descriptions. These excerpts may be
adapted to read properly in their specific context. This package is not endorsed by the FDO Forum.
1 change: 0 additions & 1 deletion packages/examples/.gitignore

This file was deleted.

107 changes: 0 additions & 107 deletions packages/examples/assets/creep-experiments.json

This file was deleted.

101 changes: 0 additions & 101 deletions packages/examples/assets/creep-profiles/Base.json

This file was deleted.

123 changes: 0 additions & 123 deletions packages/examples/assets/creep-profiles/CreepExperiment.json

This file was deleted.

Loading
Loading