You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: standalone Working with models and objects page #7
The old docs had guides/protect-js/working-with-models-and-objects — the canonical entry point for encryptModel / decryptModel / bulkEncryptModels / bulkDecryptModels. The new docs scatter these methods across the Drizzle, DynamoDB, and Supabase pages but never introduce them on their own.
A user reading "Storing data" learns about encrypt/decrypt/bulkEncrypt but not about model-level methods, even though the model methods are usually what they want.
The four methods (encryptModel, decryptModel, bulkEncryptModels, bulkDecryptModels)
Schema-driven field selection — which fields get encrypted, what passes through unchanged
Performance note: model bulk variants are a single ZeroKMS call regardless of N
Failure shape (result.failure.{type,message})
Cross-links to bulk-operations.mdx (raw value variants), drizzle.mdx, dynamodb.mdx
Reference material
Old page in cipherstash-js-suite git history at apps/docs/src/app/(articles)/guides/protect-js/working-with-models-and-objects/page.md (commit 1c3d40ed^).
The /docs/stack/cipherstash/encryption/models page is before the Bulk operations page in the nav but introduces bulkencryptmodels -> reverse the order in nav and introduce bulk operations first
The bulkEncryptModels section should link to the bulk encryption page and vice-versa
Activity
calvinbrewer commentedon May 5, 2026
Addressed. Created
content/stack/cipherstash/encryption/models.mdxcovering:encryptModel,decryptModel,bulkEncryptModels,bulkDecryptModels)result.failure.{type, message})bulkEncryptwhen encrypting a list of one specific field's valuesbulk-operations.mdx(docs: standalone Bulk operations page for the Encryption SDK #6), Drizzle/DynamoDB/Supabase adapters, and the autogenEncryptionClientreference for full signaturesLives in the new
---Operations---group inencryption/meta.json, ordered beforebulk-operations(most readers want record-level methods first).Pending review on a working branch.
coderdan commentedon May 10, 2026
A few minor issues to address:
/docs/stack/cipherstash/encryption/modelspage is before the Bulk operations page in the nav but introducesbulkencryptmodels-> reverse the order in nav and introduce bulk operations firstbulkEncryptModelssection should link to the bulk encryption page and vice-versa