Skip to content

sneat-co/ext-contactus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ext-contactus

Public extension-definition repo for the contactus extension — the first repo to follow the extension-contract-repo convention.

It holds only what other extensions, the apps, and the contactus main repo need in order to talk to contactus — facade interfaces, DTOs, model/const shapes, and the callback signatures contactus asks callers to satisfy. It contains no contactus implementation.

Layout

 ext-contactus/
├── backend/    # Go module github.com/sneat-co/ext-contactus/backend
└── frontend/   # nx lib published as @sneat/extension-contactus-contract

The load-bearing invariant

ext-contactus depends only on foundational/core code — never on another extension. Because it has no edge back to any sibling, sibling → ext-contactus can never form a dependency cycle, and (frontend) importing it never triggers the prebuilt-bundle peer-resolution wall.

An interface or type belongs here only if its entire signature is expressible in contactus-own + foundational/core types. If a signature references a consumer's types, that interface is the consumer's contract and stays consumer-owned (e.g. ContactusAccess, which speaks invitus/spaceus types, deliberately is not here). The CI check in .github/workflows/ci.yml enforces the invariant.

Status

Reference extraction in progress — tracked by sneat-co/sneat-libs Plan contactus-ext. The backend module, repo metadata, and the invariant CI check are scaffolded here; the frontend contract lib and the backend contract packages are migrated in by the later plan tasks.

About

Public contract surface for the contactus extension (per the extension-contract-repo convention): backend Go module + frontend @sneat/extension-contactus-contract lib. Depends only on foundational/core — never another extension.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors