Skip to content

Data model

The sypnia_design schema, and the files that live in your repository instead.

Applies to EngineCloud
View as Markdown
On this page
  1. In your repository (the source of truth)
  2. In the engine (sypnia_design)

In your repository (the source of truth)

FileHolds
sypnia.toml, table [design]guide version, prefix, components folder, framework, waivers (the project’s id is the file’s top-level project)
design/guide.md, design/guide.pdfthe guide in words, and its export
design/tokens.json, design/tokens.cssthe values, and the generated CSS
design/icons/rules.yaml and the icons
design/brand/logo versions, fonts and their licences, generated images
design/gallery.yamlpieces, combinations, patterns
design/screens/*.screen.yamlthe screens of each case
src/design/your pieces

Every field is on Design files.

In the engine (sypnia_design)

TableHoldsKey columns
projectsthe Design projectorg_id, slug, repository, branch, guide_version, components_dir
guide_versionseach approved versionproject_id, version, commit_sha, approved_by, approved_at
proposalseach proposalkind, base_version, reason, changes (jsonb), author, author_kind, status, decided_by, pr_url
renderseach picturetarget, state, theme, width, image_ref, expires_at
assetsuploaded fileskind, original_ref, sanitized_ref, licence, uploaded_by
exportsPDFs and zipskind, ref, guide_version
checkscheck resultsref, commit_sha, findings (jsonb), errors, warnings
api_tokensAPI tokensscopes[], hash, last_used_at
auditevery change and approvalactor, action, target, at

Proposal statuses: draft → rendering → ready → approved → merged, or rejected. Renders expire after 30 days and are made again on demand.

  1. In your repository (the source of truth)
  2. In the engine (sypnia_design)

    Search pages, sections and terms