integrationPackage manifestv0.2.4

integration.creator-persistence

Reusable transactional creator operations.

@lssm-tech/integration.creator-persistence
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 0.2.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
serverbunnode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEintegration.creator-persistenceintegrations

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

2 declaracionesSELECT TO INSPECT

Creator operations persistence

SqlCreatorStore implements canonical creator records, immutable agreements, accruals and ledger entries using the existing DatabaseProvider transaction port. The host owns connection configuration, schema migration and runtime database roles.

Call migrate() through the host migration workflow. State is placed in the private creator_operations schema. Workspace-level row locks serialize financial mutations; record revision checks and history updates commit together. Compound unique indexes protect accepted terms, observation accruals and ledger sources.

Wallet availability subtracts paid debits and all reserved/submitting/unknown payouts. Mixed currency or scale totals are never combined. The adapter has no provider calls, secrets, public Data API routes or authority defaults. Production payout rails and Hirly data migration require separate qualification.

SqlCreatorTrainingStore implements scope/creator-serialized training state and immutable request receipts through the library-owned DatabaseProvider. State and receipt commit together; creator/course identity is preserved and version conflicts fail. Migrate the training tables before installing CreatorTrainingService. Existing Hirly tables are not read or mutated by this adapter.

CreatorTrainingSnapshotImporter supports additive migration rehearsals using authorized exports. Migrate the training store first. Imported snapshots retain progress, timestamps and versions; divergent existing state is rejected. Replaying an identical import does not overwrite later updates. Source record/evidence references remain recorded. Legacy request-receipt compatibility must be handled separately before a writer cutover.

importCreatorTrainingLegacyReceipt imports authorized native result-only receipts after state import. It retains source/evidence references, rejects divergence or collision with exact-input receipts, and never invents missing original event payloads. The training service requires explicit native compatibility mode to replay these records.

Training reads verify payload course/version against selected columns and validate creator/request/scope bindings on both exact and legacy receipts. Corrupt or mismatched records fail rather than being replayed as another creator's progress.

The clean marketing consumer check exercises training initialization, quiz updates, exact replay and tenant isolation under Bun and Node using packed files and real SQL. Its authorization fixture is simulated; production enrollment remains host-owned.

SqlCreatorQuizAttemptStore persists private server-scored attempt receipts. Concurrent identical attempts preserve the first scoring timestamp; changed answers, result or key evidence under the same scoped attempt ID are rejected. Reads validate scope and result consistency. Authorization and trusted answer-key loading remain service responsibilities.

Declared capabilities.

Transactional creator records and wallet storage

Reusable transactional creator operations.

Use it to

  • Transactional creator records and wallet storage

Requires

  • TypeScript
  • Host-owned authority

Choose another boundary when

  • Full Hirly application parity or live payment qualification is required without host integration.

@lssm-tech/integration.creator-persistenceSqlCreatorStore

Imports and export paths.

10 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

10 importaciones

@lssm-tech/integration.creator-persistence/ddl
@lssm-tech/integration.creator-persistence/store

Dependencies and related packages.

Runtime dependencies 2
Development dependencies 6
@electric-sql/pglite
catalog:data
@types/bun
catalog:types
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
lint:checknode ../../../scripts/biome.cjs check .
testbun test
prebuildcontractspec-bun-build prebuild
typechecktsgo --noEmit
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
Tu vista

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.