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 déclarationsSELECT 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 imports

@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
Votre vue

Make room for your context.

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

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

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

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.