[{"data":1,"prerenderedAt":3210},["ShallowReactive",2],{"navigation":3,"\u002Fservices\u002Fsnapshots":927,"mdc--ftuop3-key":3153,"mdc-74roh3-key":3164,"mdc-cxxar5-key":3176,"mdc-5b5ppz-key":3188,"mdc--99i6m1-key":3201},[4,40,114,446,474,498,596,903],{"title":5,"path":6,"stem":7,"children":8},"Architecture","\u002Farchitecture","architecture",[9,14,28,32,36],{"title":10,"path":6,"stem":11,"access":12,"icon":13},"Overview","architecture\u002Findex","public","i-lucide-network",{"title":10,"path":15,"stem":16,"children":17,"access":12,"icon":19},"\u002Farchitecture\u002Fkernel","architecture\u002F1.kernel\u002Findex",[18,20,24],{"title":10,"path":15,"stem":16,"access":12,"icon":19},"i-lucide-box",{"title":21,"path":22,"stem":23,"access":12},"Enclave","\u002Farchitecture\u002Fkernel\u002Fenclave","architecture\u002F1.kernel\u002Fenclave",{"title":25,"path":26,"stem":27,"access":12},"Forking the enclave","\u002Farchitecture\u002Fkernel\u002Fforking-the-enclave","architecture\u002F1.kernel\u002Fforking-the-enclave",{"title":29,"path":30,"stem":31,"access":12},"Ports","\u002Farchitecture\u002Fports","architecture\u002F2.ports",{"title":33,"path":34,"stem":35,"access":12},"Service layers","\u002Farchitecture\u002Fservice-layers","architecture\u002F3.service-layers",{"title":37,"path":38,"stem":39,"access":12},"Families","\u002Farchitecture\u002Ffamilies","architecture\u002F4.families",{"title":41,"path":42,"stem":43,"children":44},"Core","\u002Fcore","core",[45,47,50,53,56,88,97],{"title":10,"path":42,"stem":46,"access":12,"icon":19},"core\u002Findex",{"title":10,"path":48,"stem":49,"access":12},"\u002Fcore\u002F01-overview","core\u002F01-overview",{"title":10,"path":51,"stem":52,"access":12},"\u002Fcore\u002F05-stores","core\u002F05-stores",{"title":10,"path":54,"stem":55,"access":12},"\u002Fcore\u002F06-permissions-and-keyring","core\u002F06-permissions-and-keyring",{"title":10,"path":57,"stem":58,"children":59,"access":12},"\u002Fcore\u002Fnoydb","core\u002F2.noydb\u002Findex",[60,61,65,68,72,76,80,84],{"title":10,"path":57,"stem":58,"access":12},{"title":62,"path":63,"stem":64,"access":12},"Noydb","\u002Fcore\u002Fnoydb\u002Fmethods","core\u002F2.noydb\u002F1.methods",{"title":21,"path":66,"stem":67,"access":12},"\u002Fcore\u002Fnoydb\u002Fenclave","core\u002F2.noydb\u002F2.enclave",{"title":69,"path":70,"stem":71,"access":12},"Secret & keyring","\u002Fcore\u002Fnoydb\u002Fkeyring","core\u002F2.noydb\u002F3.keyring",{"title":73,"path":74,"stem":75,"access":12},"Authentication","\u002Fcore\u002Fnoydb\u002Fauthentication","core\u002F2.noydb\u002F4.authentication",{"title":77,"path":78,"stem":79,"access":12},"Auth recovery","\u002Fcore\u002Fnoydb\u002Frecovery","core\u002F2.noydb\u002F5.recovery",{"title":81,"path":82,"stem":83,"access":12},"Configuration","\u002Fcore\u002Fnoydb\u002Fconfiguration","core\u002F2.noydb\u002F6.configuration",{"title":85,"path":86,"stem":87,"access":12},"Strategies","\u002Fcore\u002Fnoydb\u002Fstrategies","core\u002F2.noydb\u002F7.strategies",{"title":10,"path":89,"stem":90,"children":91,"access":12},"\u002Fcore\u002Fvault","core\u002F3.vault\u002Findex",[92,93],{"title":10,"path":89,"stem":90,"access":12},{"title":94,"path":95,"stem":96,"access":12},"Vault","\u002Fcore\u002Fvault\u002Fmethods","core\u002F3.vault\u002F1.methods",{"title":10,"path":98,"stem":99,"children":100,"access":12},"\u002Fcore\u002Fcollection","core\u002F4.collection\u002Findex",[101,102,106,110],{"title":10,"path":98,"stem":99,"access":12},{"title":103,"path":104,"stem":105,"access":12},"Collection","\u002Fcore\u002Fcollection\u002Fmethods","core\u002F4.collection\u002F1.methods",{"title":107,"path":108,"stem":109,"access":12},"Querying","\u002Fcore\u002Fcollection\u002Fquerying","core\u002F4.collection\u002F2.querying",{"title":111,"path":112,"stem":113,"access":12},"Schema","\u002Fcore\u002Fcollection\u002Fschema","core\u002F4.collection\u002F3.schema",{"title":37,"path":115,"stem":116,"children":117},"\u002Ffamilies","families",[118,121,168,194,208,212,216,294,340],{"title":10,"path":115,"stem":119,"access":12,"icon":120},"families\u002Findex","i-lucide-plug",{"title":122,"path":123,"stem":124,"children":125,"access":12,"icon":127},"as-Exports","\u002Ffamilies\u002Fas","families\u002Fas\u002Findex",[126,128,132,136,140,144,148,152,156,160,164],{"title":122,"path":123,"stem":124,"access":12,"icon":127},"i-lucide-book-open",{"title":129,"path":130,"stem":131,"access":12},"aws-s3","\u002Ffamilies\u002Fas\u002Faws-s3","families\u002Fas\u002Faws-s3",{"title":133,"path":134,"stem":135,"access":12},"blob","\u002Ffamilies\u002Fas\u002Fblob","families\u002Fas\u002Fblob",{"title":137,"path":138,"stem":139,"access":12},"csv","\u002Ffamilies\u002Fas\u002Fcsv","families\u002Fas\u002Fcsv",{"title":141,"path":142,"stem":143,"access":12},"json","\u002Ffamilies\u002Fas\u002Fjson","families\u002Fas\u002Fjson",{"title":145,"path":146,"stem":147,"access":12},"ndjson","\u002Ffamilies\u002Fas\u002Fndjson","families\u002Fas\u002Fndjson",{"title":149,"path":150,"stem":151,"access":12},"noydb","\u002Ffamilies\u002Fas\u002Fnoydb","families\u002Fas\u002Fnoydb",{"title":153,"path":154,"stem":155,"access":12},"sql","\u002Ffamilies\u002Fas\u002Fsql","families\u002Fas\u002Fsql",{"title":157,"path":158,"stem":159,"access":12},"xlsx","\u002Ffamilies\u002Fas\u002Fxlsx","families\u002Fas\u002Fxlsx",{"title":161,"path":162,"stem":163,"access":12},"xml","\u002Ffamilies\u002Fas\u002Fxml","families\u002Fas\u002Fxml",{"title":165,"path":166,"stem":167,"access":12},"zip","\u002Ffamilies\u002Fas\u002Fzip","families\u002Fas\u002Fzip",{"title":169,"path":170,"stem":171,"children":172,"access":12,"icon":127},"at-Seals","\u002Ffamilies\u002Fat","families\u002Fat\u002Findex",[173,174,178,182,186,190],{"title":169,"path":170,"stem":171,"access":12,"icon":127},{"title":175,"path":176,"stem":177,"access":12},"aws-kms","\u002Ffamilies\u002Fat\u002Faws-kms","families\u002Fat\u002Faws-kms",{"title":179,"path":180,"stem":181,"access":12},"azure-keyvault","\u002Ffamilies\u002Fat\u002Fazure-keyvault","families\u002Fat\u002Fazure-keyvault",{"title":183,"path":184,"stem":185,"access":12},"env","\u002Ffamilies\u002Fat\u002Fenv","families\u002Fat\u002Fenv",{"title":187,"path":188,"stem":189,"access":12},"gcp-kms","\u002Ffamilies\u002Fat\u002Fgcp-kms","families\u002Fat\u002Fgcp-kms",{"title":191,"path":192,"stem":193,"access":12},"macos-keychain","\u002Ffamilies\u002Fat\u002Fmacos-keychain","families\u002Fat\u002Fmacos-keychain",{"title":195,"path":196,"stem":197,"children":198,"access":12,"icon":127},"by-Sessions","\u002Ffamilies\u002Fby","families\u002Fby\u002Findex",[199,200,204],{"title":195,"path":196,"stem":197,"access":12,"icon":127},{"title":201,"path":202,"stem":203,"access":12},"peer","\u002Ffamilies\u002Fby\u002Fpeer","families\u002Fby\u002Fpeer",{"title":205,"path":206,"stem":207,"access":12},"tabs","\u002Ffamilies\u002Fby\u002Ftabs","families\u002Fby\u002Ftabs",{"title":209,"path":210,"stem":211,"access":12},"Classifying a package","\u002Ffamilies\u002Fclassification","families\u002Fclassification",{"title":213,"path":214,"stem":215,"access":12},"Command-line tools","\u002Ffamilies\u002Fcli","families\u002Fcli",{"title":217,"path":218,"stem":219,"children":220,"access":12,"icon":127},"in-Frameworks","\u002Ffamilies\u002Fin","families\u002Fin\u002Findex",[221,222,226,230,234,238,242,246,250,254,258,262,266,270,274,278,282,286,290],{"title":217,"path":218,"stem":219,"access":12,"icon":127},{"title":223,"path":224,"stem":225,"access":12},"ai","\u002Ffamilies\u002Fin\u002Fai","families\u002Fin\u002Fai",{"title":227,"path":228,"stem":229,"access":12},"devtools","\u002Ffamilies\u002Fin\u002Fdevtools","families\u002Fin\u002Fdevtools",{"title":231,"path":232,"stem":233,"access":12},"devtools-tui","\u002Ffamilies\u002Fin\u002Fdevtools-tui","families\u002Fin\u002Fdevtools-tui",{"title":235,"path":236,"stem":237,"access":12},"liff","\u002Ffamilies\u002Fin\u002Fliff","families\u002Fin\u002Fliff",{"title":239,"path":240,"stem":241,"access":12},"nextjs","\u002Ffamilies\u002Fin\u002Fnextjs","families\u002Fin\u002Fnextjs",{"title":243,"path":244,"stem":245,"access":12},"nuxt","\u002Ffamilies\u002Fin\u002Fnuxt","families\u002Fin\u002Fnuxt",{"title":247,"path":248,"stem":249,"access":12},"pinia","\u002Ffamilies\u002Fin\u002Fpinia","families\u002Fin\u002Fpinia",{"title":251,"path":252,"stem":253,"access":12},"pwa","\u002Ffamilies\u002Fin\u002Fpwa","families\u002Fin\u002Fpwa",{"title":255,"path":256,"stem":257,"access":12},"react","\u002Ffamilies\u002Fin\u002Freact","families\u002Fin\u002Freact",{"title":259,"path":260,"stem":261,"access":12},"relay","\u002Ffamilies\u002Fin\u002Frelay","families\u002Fin\u002Frelay",{"title":263,"path":264,"stem":265,"access":12},"rest","\u002Ffamilies\u002Fin\u002Frest","families\u002Fin\u002Frest",{"title":267,"path":268,"stem":269,"access":12},"solid","\u002Ffamilies\u002Fin\u002Fsolid","families\u002Fin\u002Fsolid",{"title":271,"path":272,"stem":273,"access":12},"svelte","\u002Ffamilies\u002Fin\u002Fsvelte","families\u002Fin\u002Fsvelte",{"title":275,"path":276,"stem":277,"access":12},"tanstack-query","\u002Ffamilies\u002Fin\u002Ftanstack-query","families\u002Fin\u002Ftanstack-query",{"title":279,"path":280,"stem":281,"access":12},"tanstack-table","\u002Ffamilies\u002Fin\u002Ftanstack-table","families\u002Fin\u002Ftanstack-table",{"title":283,"path":284,"stem":285,"access":12},"vue","\u002Ffamilies\u002Fin\u002Fvue","families\u002Fin\u002Fvue",{"title":287,"path":288,"stem":289,"access":12},"yjs","\u002Ffamilies\u002Fin\u002Fyjs","families\u002Fin\u002Fyjs",{"title":291,"path":292,"stem":293,"access":12},"zustand","\u002Ffamilies\u002Fin\u002Fzustand","families\u002Fin\u002Fzustand",{"title":295,"path":296,"stem":297,"children":298,"access":12,"icon":127},"on-Auth","\u002Ffamilies\u002Fon","families\u002Fon\u002Findex",[299,300,304,308,312,316,320,324,328,332,336],{"title":295,"path":296,"stem":297,"access":12,"icon":127},{"title":301,"path":302,"stem":303,"access":12},"email-otp","\u002Ffamilies\u002Fon\u002Femail-otp","families\u002Fon\u002Femail-otp",{"title":305,"path":306,"stem":307,"access":12},"magic-link","\u002Ffamilies\u002Fon\u002Fmagic-link","families\u002Fon\u002Fmagic-link",{"title":309,"path":310,"stem":311,"access":12},"oidc","\u002Ffamilies\u002Fon\u002Foidc","families\u002Fon\u002Foidc",{"title":313,"path":314,"stem":315,"access":12},"password","\u002Ffamilies\u002Fon\u002Fpassword","families\u002Fon\u002Fpassword",{"title":317,"path":318,"stem":319,"access":12},"pin","\u002Ffamilies\u002Fon\u002Fpin","families\u002Fon\u002Fpin",{"title":321,"path":322,"stem":323,"access":12},"recovery","\u002Ffamilies\u002Fon\u002Frecovery","families\u002Fon\u002Frecovery",{"title":325,"path":326,"stem":327,"access":12},"shamir","\u002Ffamilies\u002Fon\u002Fshamir","families\u002Fon\u002Fshamir",{"title":329,"path":330,"stem":331,"access":12},"threat","\u002Ffamilies\u002Fon\u002Fthreat","families\u002Fon\u002Fthreat",{"title":333,"path":334,"stem":335,"access":12},"totp","\u002Ffamilies\u002Fon\u002Ftotp","families\u002Fon\u002Ftotp",{"title":337,"path":338,"stem":339,"access":12},"webauthn","\u002Ffamilies\u002Fon\u002Fwebauthn","families\u002Fon\u002Fwebauthn",{"title":341,"path":342,"stem":343,"children":344,"access":12,"icon":127},"to-Stores","\u002Ffamilies\u002Fto","families\u002Fto\u002Findex",[345,346,350,353,357,361,365,370,374,378,382,386,390,394,398,402,406,410,414,417,421,425,429,434,438,442],{"title":341,"path":342,"stem":343,"access":12,"icon":127},{"title":347,"path":348,"stem":349,"access":12},"aws-dynamo","\u002Ffamilies\u002Fto\u002Faws-dynamo","families\u002Fto\u002Faws-dynamo",{"title":129,"path":351,"stem":352,"access":12},"\u002Ffamilies\u002Fto\u002Faws-s3","families\u002Fto\u002Faws-s3",{"title":354,"path":355,"stem":356,"access":12},"browser-fs","\u002Ffamilies\u002Fto\u002Fbrowser-fs","families\u002Fto\u002Fbrowser-fs",{"title":358,"path":359,"stem":360,"access":12},"browser-idb","\u002Ffamilies\u002Fto\u002Fbrowser-idb","families\u002Fto\u002Fbrowser-idb",{"title":362,"path":363,"stem":364,"access":12},"browser-local","\u002Ffamilies\u002Fto\u002Fbrowser-local","families\u002Fto\u002Fbrowser-local",{"title":366,"path":367,"stem":368,"access":12,"icon":369},"Choosing a store","\u002Ffamilies\u002Fto\u002Fchoosing-a-store","families\u002Fto\u002Fchoosing-a-store","i-lucide-split",{"title":371,"path":372,"stem":373,"access":12},"cloudflare-d1","\u002Ffamilies\u002Fto\u002Fcloudflare-d1","families\u002Fto\u002Fcloudflare-d1",{"title":375,"path":376,"stem":377,"access":12},"cloudflare-r2","\u002Ffamilies\u002Fto\u002Fcloudflare-r2","families\u002Fto\u002Fcloudflare-r2",{"title":379,"path":380,"stem":381,"access":12},"drive","\u002Ffamilies\u002Fto\u002Fdrive","families\u002Fto\u002Fdrive",{"title":383,"path":384,"stem":385,"access":12},"file","\u002Ffamilies\u002Fto\u002Ffile","families\u002Fto\u002Ffile",{"title":387,"path":388,"stem":389,"access":12},"icloud","\u002Ffamilies\u002Fto\u002Ficloud","families\u002Fto\u002Ficloud",{"title":391,"path":392,"stem":393,"access":12},"memory","\u002Ffamilies\u002Fto\u002Fmemory","families\u002Fto\u002Fmemory",{"title":395,"path":396,"stem":397,"access":12},"meter","\u002Ffamilies\u002Fto\u002Fmeter","families\u002Fto\u002Fmeter",{"title":399,"path":400,"stem":401,"access":12},"mysql","\u002Ffamilies\u002Fto\u002Fmysql","families\u002Fto\u002Fmysql",{"title":403,"path":404,"stem":405,"access":12},"nfs","\u002Ffamilies\u002Fto\u002Fnfs","families\u002Fto\u002Fnfs",{"title":407,"path":408,"stem":409,"access":12},"postgres","\u002Ffamilies\u002Fto\u002Fpostgres","families\u002Fto\u002Fpostgres",{"title":411,"path":412,"stem":413,"access":12},"probe","\u002Ffamilies\u002Fto\u002Fprobe","families\u002Fto\u002Fprobe",{"title":263,"path":415,"stem":416,"access":12},"\u002Ffamilies\u002Fto\u002Frest","families\u002Fto\u002Frest",{"title":418,"path":419,"stem":420,"access":12},"smb","\u002Ffamilies\u002Fto\u002Fsmb","families\u002Fto\u002Fsmb",{"title":422,"path":423,"stem":424,"access":12},"sqlite","\u002Ffamilies\u002Fto\u002Fsqlite","families\u002Fto\u002Fsqlite",{"title":426,"path":427,"stem":428,"access":12},"ssh","\u002Ffamilies\u002Fto\u002Fssh","families\u002Fto\u002Fssh",{"title":430,"path":431,"stem":432,"access":12,"icon":433},"Store-locator descriptors","\u002Ffamilies\u002Fto\u002Fstore-locator","families\u002Fto\u002Fstore-locator","i-lucide-map-pin",{"title":435,"path":436,"stem":437,"access":12},"supabase","\u002Ffamilies\u002Fto\u002Fsupabase","families\u002Fto\u002Fsupabase",{"title":439,"path":440,"stem":441,"access":12},"turso","\u002Ffamilies\u002Fto\u002Fturso","families\u002Fto\u002Fturso",{"title":443,"path":444,"stem":445,"access":12},"webdav","\u002Ffamilies\u002Fto\u002Fwebdav","families\u002Fto\u002Fwebdav",{"title":447,"path":448,"stem":449,"children":450},"Faq","\u002Ffaq","faq",[451,454,458,462,466,470],{"title":10,"path":448,"stem":452,"access":12,"icon":453},"faq\u002Findex","i-lucide-circle-help",{"title":455,"path":456,"stem":457,"access":12},"Where can noy-db run?","\u002Ffaq\u002Fwhere-can-noy-db-run","faq\u002F1.where-can-noy-db-run",{"title":459,"path":460,"stem":461,"access":12},"Native mobile & PWA","\u002Ffaq\u002Fmobile-and-pwa","faq\u002F2.mobile-and-pwa",{"title":463,"path":464,"stem":465,"access":12},"Threat model","\u002Ffaq\u002Fthreat-model","faq\u002F3.threat-model",{"title":467,"path":468,"stem":469,"access":12},"Community & ecosystem","\u002Ffaq\u002Fcommunity-and-ecosystem","faq\u002F4.community-and-ecosystem",{"title":471,"path":472,"stem":473,"access":12},"Licensing","\u002Ffaq\u002Flicensing","faq\u002F5.licensing",{"title":475,"path":476,"stem":477,"children":478},"Glossary","\u002Fglossary","glossary",[479,482,486,490,494],{"title":10,"path":476,"stem":480,"access":12,"icon":481},"glossary\u002Findex","i-lucide-book-a",{"title":483,"path":484,"stem":485,"access":12},"Core vocabulary","\u002Fglossary\u002Fcore-vocabulary","glossary\u002Fcore-vocabulary",{"title":487,"path":488,"stem":489,"access":12},"Deletion vocabulary","\u002Fglossary\u002Fdeletion","glossary\u002Fdeletion",{"title":491,"path":492,"stem":493,"access":12},"Satellite collection vocabulary","\u002Fglossary\u002Fsatellite-collections","glossary\u002Fsatellite-collections",{"title":495,"path":496,"stem":497,"access":12},"Schema migration vocabulary","\u002Fglossary\u002Fschema-migration","glossary\u002Fschema-migration",{"title":499,"path":500,"stem":501,"children":502},"Recipes","\u002Frecipes","recipes",[503,506,510,514,518,522,526,530,534,538,542,546,550,554,558,562,567,571,575,580,584,588,592],{"title":10,"path":500,"stem":504,"access":12,"icon":505},"recipes\u002Findex","i-lucide-play",{"title":507,"path":508,"stem":509,"access":12},"Accounting app","\u002Frecipes\u002Faccounting-app","recipes\u002Faccounting-app",{"title":511,"path":512,"stem":513,"access":12},"Analytics app","\u002Frecipes\u002Fanalytics-app","recipes\u002Fanalytics-app",{"title":515,"path":516,"stem":517,"access":12},"Attestation verifier","\u002Frecipes\u002Fattestation-verifier","recipes\u002Fattestation-verifier",{"title":519,"path":520,"stem":521,"access":12},"AWS-KMS attestation","\u002Frecipes\u002Faws-kms-pdf-attestation","recipes\u002Faws-kms-pdf-attestation",{"title":523,"path":524,"stem":525,"access":12},"Browser durability","\u002Frecipes\u002Fbrowser-durability","recipes\u002Fbrowser-durability",{"title":527,"path":528,"stem":529,"access":12},"Production cloud store","\u002Frecipes\u002Fcloud-store","recipes\u002Fcloud-store",{"title":531,"path":532,"stem":533,"access":12},"Compose your own setup","\u002Frecipes\u002Fcompose-your-own","recipes\u002Fcompose-your-own",{"title":535,"path":536,"stem":537,"access":12},"Confidential HR records","\u002Frecipes\u002Fconfidential-hr","recipes\u002Fconfidential-hr",{"title":539,"path":540,"stem":541,"access":12},"Composing an echo secret","\u002Frecipes\u002Fecho-secret-enrollment","recipes\u002Fecho-secret-enrollment",{"title":543,"path":544,"stem":545,"access":12},"Email archive","\u002Frecipes\u002Femail-archive","recipes\u002Femail-archive",{"title":547,"path":548,"stem":549,"access":12},"Email archive — threads & revisions","\u002Frecipes\u002Femail-archive-threads-revisions","recipes\u002Femail-archive-threads-revisions",{"title":551,"path":552,"stem":553,"access":12},"Export & portability","\u002Frecipes\u002Fexport-portability","recipes\u002Fexport-portability",{"title":555,"path":556,"stem":557,"access":12},"Passwordless OIDC (AWS Cognito)","\u002Frecipes\u002Fpasswordless-oidc","recipes\u002Fpasswordless-oidc",{"title":559,"path":560,"stem":561,"access":12},"Personal notebook","\u002Frecipes\u002Fpersonal-notebook","recipes\u002Fpersonal-notebook",{"title":563,"path":564,"stem":565,"access":12,"icon":566},"Playgrounds","\u002Frecipes\u002Fplaygrounds","recipes\u002Fplaygrounds","i-lucide-gamepad-2",{"title":568,"path":569,"stem":570,"access":12},"React invoice app","\u002Frecipes\u002Freact-invoices","recipes\u002Freact-invoices",{"title":572,"path":573,"stem":574,"access":12},"Collaborative app","\u002Frecipes\u002Frealtime-crdt-app","recipes\u002Frealtime-crdt-app",{"title":576,"path":577,"stem":578,"access":12,"icon":579},"Run the showcases","\u002Frecipes\u002Frun-the-showcases","recipes\u002Frun-the-showcases","i-lucide-flask-conical",{"title":581,"path":582,"stem":583,"access":12},"Search & RAG","\u002Frecipes\u002Fsearch-rag","recipes\u002Fsearch-rag",{"title":585,"path":586,"stem":587,"access":12},"Team vault topology","\u002Frecipes\u002Fteam-vault-topology","recipes\u002Fteam-vault-topology",{"title":589,"path":590,"stem":591,"access":12},"Unlock ceremonies","\u002Frecipes\u002Funlock-ceremonies","recipes\u002Funlock-ceremonies",{"title":593,"path":594,"stem":595,"access":12},"User preferences","\u002Frecipes\u002Fuser-preferences","recipes\u002Fuser-preferences",{"title":597,"path":598,"stem":599,"children":600},"Services","\u002Fservices","services",[601,604,608,612,616,620,624,628,632,636,640,644,648,652,656,660,664,668,672,676,680,684,688,692,696,700,704,710,714,718,722,726,730,734,738,742,746,750,755,759,763,767,771,775,779,783,787,791,795,799,803,807,811,815,819,823,827,831,835,839,843,847,851,855,859,863,867,871,875,879,883,887,891,895,899],{"title":10,"path":598,"stem":602,"access":12,"icon":603},"services\u002Findex","i-lucide-layers",{"title":605,"path":606,"stem":607,"access":12},"archive","\u002Fservices\u002Farchive","services\u002Farchive",{"title":609,"path":610,"stem":611,"access":12},"attestation","\u002Fservices\u002Fattestation","services\u002Fattestation",{"title":613,"path":614,"stem":615,"access":12},"auth-introspection","\u002Fservices\u002Fauth-introspection","services\u002Fauth-introspection",{"title":617,"path":618,"stem":619,"access":12},"auth-landscape","\u002Fservices\u002Fauth-landscape","services\u002Fauth-landscape",{"title":621,"path":622,"stem":623,"access":12},"blobs","\u002Fservices\u002Fblobs","services\u002Fblobs",{"title":625,"path":626,"stem":627,"access":12},"broker","\u002Fservices\u002Fbroker","services\u002Fbroker",{"title":629,"path":630,"stem":631,"access":12},"bundle","\u002Fservices\u002Fbundle","services\u002Fbundle",{"title":633,"path":634,"stem":635,"access":12},"classified","\u002Fservices\u002Fclassified","services\u002Fclassified",{"title":637,"path":638,"stem":639,"access":12},"computed","\u002Fservices\u002Fcomputed","services\u002Fcomputed",{"title":641,"path":642,"stem":643,"access":12},"consent","\u002Fservices\u002Fconsent","services\u002Fconsent",{"title":645,"path":646,"stem":647,"access":12},"cover","\u002Fservices\u002Fcover","services\u002Fcover",{"title":649,"path":650,"stem":651,"access":12},"coverage","\u002Fservices\u002Fcoverage","services\u002Fcoverage",{"title":653,"path":654,"stem":655,"access":12},"crdt","\u002Fservices\u002Fcrdt","services\u002Fcrdt",{"title":657,"path":658,"stem":659,"access":12},"cross-join","\u002Fservices\u002Fcross-join","services\u002Fcross-join",{"title":661,"path":662,"stem":663,"access":12},"custody","\u002Fservices\u002Fcustody","services\u002Fcustody",{"title":665,"path":666,"stem":667,"access":12},"derivations","\u002Fservices\u002Fderivations","services\u002Fderivations",{"title":669,"path":670,"stem":671,"access":12},"directory","\u002Fservices\u002Fdirectory","services\u002Fdirectory",{"title":673,"path":674,"stem":675,"access":12},"search — AI","\u002Fservices\u002Fembeddings","services\u002Fembeddings",{"title":677,"path":678,"stem":679,"access":12},"Field metadata","\u002Fservices\u002Ffield-metadata","services\u002Ffield-metadata",{"title":681,"path":682,"stem":683,"access":12},"Foreign refs","\u002Fservices\u002Fforeign-refs","services\u002Fforeign-refs",{"title":685,"path":686,"stem":687,"access":12},"forget","\u002Fservices\u002Fforget","services\u002Fforget",{"title":689,"path":690,"stem":691,"access":12},"governance","\u002Fservices\u002Fgovernance","services\u002Fgovernance",{"title":693,"path":694,"stem":695,"access":12},"guards","\u002Fservices\u002Fguards","services\u002Fguards",{"title":697,"path":698,"stem":699,"access":12},"history","\u002Fservices\u002Fhistory","services\u002Fhistory",{"title":701,"path":702,"stem":703,"access":12},"i18n","\u002Fservices\u002Fi18n","services\u002Fi18n",{"title":705,"path":706,"stem":707,"children":708,"access":12},"indexing","\u002Fservices\u002Findexing","services\u002Findexing",[709],{"title":705,"path":706,"stem":707,"access":12},{"title":711,"path":712,"stem":713,"access":12},"introspection","\u002Fservices\u002Fintrospection","services\u002Fintrospection",{"title":715,"path":716,"stem":717,"access":12},"joins","\u002Fservices\u002Fjoins","services\u002Fjoins",{"title":719,"path":720,"stem":721,"access":12},"lazy","\u002Fservices\u002Flazy","services\u002Flazy",{"title":723,"path":724,"stem":725,"access":12},"links","\u002Fservices\u002Flinks","services\u002Flinks",{"title":727,"path":728,"stem":729,"access":12},"live","\u002Fservices\u002Flive","services\u002Flive",{"title":731,"path":732,"stem":733,"access":12},"lookup","\u002Fservices\u002Flookup","services\u002Flookup",{"title":735,"path":736,"stem":737,"access":12},"manifest","\u002Fservices\u002Fmanifest","services\u002Fmanifest",{"title":739,"path":740,"stem":741,"access":12},"materialized-views","\u002Fservices\u002Fmaterialized-views","services\u002Fmaterialized-views",{"title":743,"path":744,"stem":745,"access":12},"Metadata ladder","\u002Fservices\u002Fmetadata-ladder","services\u002Fmetadata-ladder",{"title":747,"path":748,"stem":749,"access":12},"Metadata riders","\u002Fservices\u002Fmetadata-riders","services\u002Fmetadata-riders",{"title":751,"path":752,"stem":753,"access":12,"badge":754},"metrics","\u002Fservices\u002Fmetrics","services\u002Fmetrics","Planned",{"title":756,"path":757,"stem":758,"access":12,"badge":754},"migrations","\u002Fservices\u002Fmigrations","services\u002Fmigrations",{"title":760,"path":761,"stem":762,"access":12},"money","\u002Fservices\u002Fmoney","services\u002Fmoney",{"title":764,"path":765,"stem":766,"access":12},"numbering","\u002Fservices\u002Fnumbering","services\u002Fnumbering",{"title":768,"path":769,"stem":770,"access":12},"overlay-views","\u002Fservices\u002Foverlay-views","services\u002Foverlay-views",{"title":772,"path":773,"stem":774,"access":12,"badge":754},"partitioning","\u002Fservices\u002Fpartitioning","services\u002Fpartitioning",{"title":776,"path":777,"stem":778,"access":12},"periods","\u002Fservices\u002Fperiods","services\u002Fperiods",{"title":780,"path":781,"stem":782,"access":12},"persisted-schemas","\u002Fservices\u002Fpersisted-schemas","services\u002Fpersisted-schemas",{"title":784,"path":785,"stem":786,"access":12},"plaintext-bypass","\u002Fservices\u002Fplaintext-bypass","services\u002Fplaintext-bypass",{"title":788,"path":789,"stem":790,"access":12},"pod-redirect","\u002Fservices\u002Fpod-redirect","services\u002Fpod-redirect",{"title":792,"path":793,"stem":794,"access":12},"pod-signature","\u002Fservices\u002Fpod-signature","services\u002Fpod-signature",{"title":796,"path":797,"stem":798,"access":12},"policy","\u002Fservices\u002Fpolicy","services\u002Fpolicy",{"title":800,"path":801,"stem":802,"access":12},"portability","\u002Fservices\u002Fportability","services\u002Fportability",{"title":804,"path":805,"stem":806,"access":12},"reduce","\u002Fservices\u002Freduce","services\u002Freduce",{"title":808,"path":809,"stem":810,"access":12},"routing","\u002Fservices\u002Frouting","services\u002Frouting",{"title":812,"path":813,"stem":814,"access":12},"satellites","\u002Fservices\u002Fsatellites","services\u002Fsatellites",{"title":816,"path":817,"stem":818,"access":12},"schema-identifiers","\u002Fservices\u002Fschema-identifiers","services\u002Fschema-identifiers",{"title":820,"path":821,"stem":822,"access":12},"schema-update","\u002Fservices\u002Fschema-update","services\u002Fschema-update",{"title":824,"path":825,"stem":826,"access":12},"sealed-record","\u002Fservices\u002Fsealed-record","services\u002Fsealed-record",{"title":828,"path":829,"stem":830,"access":12},"sealing provider id","\u002Fservices\u002Fsealing-pid-stability","services\u002Fsealing-pid-stability",{"title":832,"path":833,"stem":834,"access":12},"search — full-text","\u002Fservices\u002Fsearch","services\u002Fsearch",{"title":836,"path":837,"stem":838,"access":12},"sequence","\u002Fservices\u002Fsequence","services\u002Fsequence",{"title":840,"path":841,"stem":842,"access":12},"session","\u002Fservices\u002Fsession","services\u002Fsession",{"title":844,"path":845,"stem":846,"access":12},"session-tiers","\u002Fservices\u002Fsession-tiers","services\u002Fsession-tiers",{"title":848,"path":849,"stem":850,"access":12},"shadow","\u002Fservices\u002Fshadow","services\u002Fshadow",{"title":852,"path":853,"stem":854,"access":12},"share-link","\u002Fservices\u002Fshare-link","services\u002Fshare-link",{"title":856,"path":857,"stem":858,"access":12},"snapshots","\u002Fservices\u002Fsnapshots","services\u002Fsnapshots",{"title":860,"path":861,"stem":862,"access":12},"store capabilities","\u002Fservices\u002Fstorage-capability-matrix","services\u002Fstorage-capability-matrix",{"title":864,"path":865,"stem":866,"access":12},"sync","\u002Fservices\u002Fsync","services\u002Fsync",{"title":868,"path":869,"stem":870,"access":12},"team","\u002Fservices\u002Fteam","services\u002Fteam",{"title":872,"path":873,"stem":874,"access":12},"tiers","\u002Fservices\u002Ftiers","services\u002Ftiers",{"title":876,"path":877,"stem":878,"access":12},"transactions","\u002Fservices\u002Ftransactions","services\u002Ftransactions",{"title":880,"path":881,"stem":882,"access":12},"partitions","\u002Fservices\u002Ftransferable-partitions","services\u002Ftransferable-partitions",{"title":884,"path":885,"stem":886,"access":12},"user-envelope","\u002Fservices\u002Fuser-envelope","services\u002Fuser-envelope",{"title":888,"path":889,"stem":890,"access":12,"badge":754},"validation","\u002Fservices\u002Fvalidation","services\u002Fvalidation",{"title":892,"path":893,"stem":894,"access":12},"vault-head","\u002Fservices\u002Fvault-head","services\u002Fvault-head",{"title":896,"path":897,"stem":898,"access":12},"via","\u002Fservices\u002Fvia","services\u002Fvia",{"title":900,"path":901,"stem":902,"access":12},"withdrawal","\u002Fservices\u002Fwithdrawal","services\u002Fwithdrawal",{"title":904,"path":905,"stem":906,"children":907},"Start","\u002Fstart","start",[908,911,915,919,923],{"title":10,"path":905,"stem":909,"access":12,"icon":910},"start\u002Findex","i-lucide-flag",{"title":912,"path":913,"stem":914,"access":12},"Install","\u002Fstart\u002Finstall","start\u002F1.install",{"title":916,"path":917,"stem":918,"access":12},"Your first vault","\u002Fstart\u002Ffirst-vault","start\u002F2.first-vault",{"title":920,"path":921,"stem":922,"access":12},"Your first service","\u002Fstart\u002Ffirst-service","start\u002F3.first-service",{"title":924,"path":925,"stem":926,"access":12},"See the ciphertext","\u002Fstart\u002Fsee-the-ciphertext","start\u002F4.see-the-ciphertext",{"id":928,"title":856,"access":12,"apiToc":929,"body":930,"category":3144,"description":3145,"extension":3146,"meta":3147,"navigation":3144,"nest":3148,"path":857,"seo":3149,"sinceVersion":3144,"status":3150,"stem":858,"subtitle":3144,"tier":3151,"tocExternal":3144,"__hash__":3152},"docs\u002Fservices\u002Fsnapshots.md",false,{"type":931,"value":932,"toc":3119},"minimark",[933,936,940,945,972,1025,1029,1064,1068,1081,1420,1435,1439,1444,1454,1529,1539,1543,1549,1582,1743,1747,1757,1850,1870,1874,1891,2046,2114,2151,2154,2175,2336,2363,2367,2373,2380,2444,2449,2452,2496,2509,2514,2517,2522,2529,2535,2662,2679,2684,2739,2757,2762,2872,2876,2954,2958,2977,2985,2988,3044,3048,3115],[934,935,856],"h1",{"id":856},[937,938],"service-meta",{":rows":939},"[{\"label\":\"Subpath\",\"value\":\"`@noy-db\u002Fhub\u002Fsnapshots`\"},{\"label\":\"Factory\",\"value\":\"`withSnapshots({ store })`\"},{\"label\":\"Layer\",\"value\":\"`with-fork`\"},{\"label\":\"Cluster\",\"value\":\"F — Snapshot & Portability\"},{\"label\":\"LOC cost\",\"value\":\"~200 (off-bundle when not opted in)\"}]",[941,942,944],"h2",{"id":943},"what-it-does","What it does",[946,947,948,949,953,954,958,959,962,963,967,968,971],"p",{},"A ",[950,951,952],"strong",{},"vault"," is noy-db's unit of encrypted storage — one logical database made up of\ncollections of records, each individually encrypted before it ever reaches a\n",[955,956,957],"a",{"href":51},"store"," (see ",[955,960,961],{"href":48},"Core 01 — Vault & collections",").\nThe snapshots service adds point-in-time backup and restore for a whole vault:\n",[964,965,966],"code",{},"db.snapshot()"," writes a checkpoint you can come back to later with ",[964,969,970],{},"db.restoreSnapshot()",",\nindependent of whatever store the vault normally reads and writes through day to day.",[946,973,974,975,978,979,982,983,986,987,990,991,990,994,990,997,1000,1001,1004,1005,1008,1009,1004,1012,1015,1016,1019,1020,1024],{},"Each snapshot is a ",[964,976,977],{},".noydb"," bundle — the same portable ",[955,980,981],{"href":630},"encrypted container format","\nused for exports — written to a second, separate ",[964,984,985],{},"NoydbPodStore"," (any adapter implementing\n",[964,988,989],{},"readBundle"," \u002F ",[964,992,993],{},"writeBundle",[964,995,996],{},"deleteBundle",[964,998,999],{},"listBundles",", e.g. ",[964,1002,1003],{},"toDrive()"," from ",[964,1006,1007],{},"@noy-db\u002Fto-drive","\nor ",[964,1010,1011],{},"s3Bundle()",[964,1013,1014],{},"@noy-db\u002Fto-aws-s3","). Because the bundle already holds ciphertext, the\nsnapshot destination never sees plaintext, and restoring re-uses the vault's existing\n",[950,1017,1018],{},"keyring"," (its wrapped decryption keys) — no credentials need to be re-supplied. Snapshots\nare whole-vault only (no per-collection snapshot), and restoring is a plain overwrite, not a\nmerge — see ",[955,1021,1023],{"href":1022},"#limits-gotchas","Limits & gotchas",".",[941,1026,1028],{"id":1027},"prerequisites","Prerequisites",[1030,1031,1032],"ul",{},[1033,1034,1035,1038,1039,1042,1043,1045,1046,1048,1049,1048,1051,1053,1054,1004,1056,1058,1059,1004,1061,1063],"li",{},[950,1036,1037],{},"A bundle-capable store"," — ",[964,1040,1041],{},"withSnapshots({ store })"," writes checkpoints to a ",[964,1044,985],{}," (",[964,1047,989],{},"\u002F",[964,1050,993],{},[964,1052,999],{},"), e.g. ",[964,1055,1011],{},[964,1057,1014],{}," or ",[964,1060,1003],{},[964,1062,1007],{},". A plain record store cannot receive snapshots.",[941,1065,1067],{"id":1066},"opt-in","Opt in",[946,1069,1070,1072,1073,1076,1077,1080],{},[964,1071,1041],{}," designates the bundle store snapshots are written to, and is\npassed as ",[964,1074,1075],{},"snapshotsStrategy"," to ",[964,1078,1079],{},"createNoydb",":",[1082,1083,1088],"pre",{"className":1084,"code":1085,"language":1086,"meta":1087,"style":1087},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createNoydb } from '@noy-db\u002Fhub'\nimport { withSnapshots } from '@noy-db\u002Fhub\u002Fsnapshots'\nimport { toMemory } from '@noy-db\u002Fto-memory'\nimport { s3Bundle } from '@noy-db\u002Fto-aws-s3'\n\nconst db = await createNoydb({\n  store: toMemory(),\n  user: 'owner',\n  secret: 'correct horse battery staple',\n  snapshotsStrategy: withSnapshots({\n    store: s3Bundle({ bucket: 'my-backups', prefix: 'noydb', region: 'us-east-1' }),\n    retention: { keepLast: 10 },   \u002F\u002F optional; default keeps every on-demand snapshot\n  }),\n})\n\nawait db.openVault('acct')\n","ts","",[964,1089,1090,1123,1144,1165,1185,1192,1217,1234,1252,1269,1283,1345,1371,1381,1390,1395],{"__ignoreMap":1087},[1091,1092,1095,1099,1103,1107,1110,1113,1116,1120],"span",{"class":1093,"line":1094},"line",1,[1091,1096,1098],{"class":1097},"s7zQu","import",[1091,1100,1102],{"class":1101},"sMK4o"," {",[1091,1104,1106],{"class":1105},"sTEyZ"," createNoydb",[1091,1108,1109],{"class":1101}," }",[1091,1111,1112],{"class":1097}," from",[1091,1114,1115],{"class":1101}," '",[1091,1117,1119],{"class":1118},"sfazB","@noy-db\u002Fhub",[1091,1121,1122],{"class":1101},"'\n",[1091,1124,1126,1128,1130,1133,1135,1137,1139,1142],{"class":1093,"line":1125},2,[1091,1127,1098],{"class":1097},[1091,1129,1102],{"class":1101},[1091,1131,1132],{"class":1105}," withSnapshots",[1091,1134,1109],{"class":1101},[1091,1136,1112],{"class":1097},[1091,1138,1115],{"class":1101},[1091,1140,1141],{"class":1118},"@noy-db\u002Fhub\u002Fsnapshots",[1091,1143,1122],{"class":1101},[1091,1145,1147,1149,1151,1154,1156,1158,1160,1163],{"class":1093,"line":1146},3,[1091,1148,1098],{"class":1097},[1091,1150,1102],{"class":1101},[1091,1152,1153],{"class":1105}," toMemory",[1091,1155,1109],{"class":1101},[1091,1157,1112],{"class":1097},[1091,1159,1115],{"class":1101},[1091,1161,1162],{"class":1118},"@noy-db\u002Fto-memory",[1091,1164,1122],{"class":1101},[1091,1166,1168,1170,1172,1175,1177,1179,1181,1183],{"class":1093,"line":1167},4,[1091,1169,1098],{"class":1097},[1091,1171,1102],{"class":1101},[1091,1173,1174],{"class":1105}," s3Bundle",[1091,1176,1109],{"class":1101},[1091,1178,1112],{"class":1097},[1091,1180,1115],{"class":1101},[1091,1182,1014],{"class":1118},[1091,1184,1122],{"class":1101},[1091,1186,1188],{"class":1093,"line":1187},5,[1091,1189,1191],{"emptyLinePlaceholder":1190},true,"\n",[1091,1193,1195,1199,1202,1205,1208,1211,1214],{"class":1093,"line":1194},6,[1091,1196,1198],{"class":1197},"spNyl","const",[1091,1200,1201],{"class":1105}," db ",[1091,1203,1204],{"class":1101},"=",[1091,1206,1207],{"class":1097}," await",[1091,1209,1106],{"class":1210},"s2Zo4",[1091,1212,1213],{"class":1105},"(",[1091,1215,1216],{"class":1101},"{\n",[1091,1218,1220,1224,1226,1228,1231],{"class":1093,"line":1219},7,[1091,1221,1223],{"class":1222},"swJcz","  store",[1091,1225,1080],{"class":1101},[1091,1227,1153],{"class":1210},[1091,1229,1230],{"class":1105},"()",[1091,1232,1233],{"class":1101},",\n",[1091,1235,1237,1240,1242,1244,1247,1250],{"class":1093,"line":1236},8,[1091,1238,1239],{"class":1222},"  user",[1091,1241,1080],{"class":1101},[1091,1243,1115],{"class":1101},[1091,1245,1246],{"class":1118},"owner",[1091,1248,1249],{"class":1101},"'",[1091,1251,1233],{"class":1101},[1091,1253,1255,1258,1260,1262,1265,1267],{"class":1093,"line":1254},9,[1091,1256,1257],{"class":1222},"  secret",[1091,1259,1080],{"class":1101},[1091,1261,1115],{"class":1101},[1091,1263,1264],{"class":1118},"correct horse battery staple",[1091,1266,1249],{"class":1101},[1091,1268,1233],{"class":1101},[1091,1270,1272,1275,1277,1279,1281],{"class":1093,"line":1271},10,[1091,1273,1274],{"class":1222},"  snapshotsStrategy",[1091,1276,1080],{"class":1101},[1091,1278,1132],{"class":1210},[1091,1280,1213],{"class":1105},[1091,1282,1216],{"class":1101},[1091,1284,1286,1289,1291,1293,1295,1298,1301,1303,1305,1308,1310,1313,1316,1318,1320,1322,1324,1326,1329,1331,1333,1336,1338,1340,1343],{"class":1093,"line":1285},11,[1091,1287,1288],{"class":1222},"    store",[1091,1290,1080],{"class":1101},[1091,1292,1174],{"class":1210},[1091,1294,1213],{"class":1105},[1091,1296,1297],{"class":1101},"{",[1091,1299,1300],{"class":1222}," bucket",[1091,1302,1080],{"class":1101},[1091,1304,1115],{"class":1101},[1091,1306,1307],{"class":1118},"my-backups",[1091,1309,1249],{"class":1101},[1091,1311,1312],{"class":1101},",",[1091,1314,1315],{"class":1222}," prefix",[1091,1317,1080],{"class":1101},[1091,1319,1115],{"class":1101},[1091,1321,149],{"class":1118},[1091,1323,1249],{"class":1101},[1091,1325,1312],{"class":1101},[1091,1327,1328],{"class":1222}," region",[1091,1330,1080],{"class":1101},[1091,1332,1115],{"class":1101},[1091,1334,1335],{"class":1118},"us-east-1",[1091,1337,1249],{"class":1101},[1091,1339,1109],{"class":1101},[1091,1341,1342],{"class":1105},")",[1091,1344,1233],{"class":1101},[1091,1346,1348,1351,1353,1355,1358,1360,1364,1367],{"class":1093,"line":1347},12,[1091,1349,1350],{"class":1222},"    retention",[1091,1352,1080],{"class":1101},[1091,1354,1102],{"class":1101},[1091,1356,1357],{"class":1222}," keepLast",[1091,1359,1080],{"class":1101},[1091,1361,1363],{"class":1362},"sbssI"," 10",[1091,1365,1366],{"class":1101}," },",[1091,1368,1370],{"class":1369},"sHwdD","   \u002F\u002F optional; default keeps every on-demand snapshot\n",[1091,1372,1374,1377,1379],{"class":1093,"line":1373},13,[1091,1375,1376],{"class":1101},"  }",[1091,1378,1342],{"class":1105},[1091,1380,1233],{"class":1101},[1091,1382,1384,1387],{"class":1093,"line":1383},14,[1091,1385,1386],{"class":1101},"}",[1091,1388,1389],{"class":1105},")\n",[1091,1391,1393],{"class":1093,"line":1392},15,[1091,1394,1191],{"emptyLinePlaceholder":1190},[1091,1396,1398,1401,1404,1406,1409,1411,1413,1416,1418],{"class":1093,"line":1397},16,[1091,1399,1400],{"class":1097},"await",[1091,1402,1403],{"class":1105}," db",[1091,1405,1024],{"class":1101},[1091,1407,1408],{"class":1210},"openVault",[1091,1410,1213],{"class":1105},[1091,1412,1249],{"class":1101},[1091,1414,1415],{"class":1118},"acct",[1091,1417,1249],{"class":1101},[1091,1419,1389],{"class":1105},[946,1421,1422,1423,1425,1426,1430,1431,1434],{},"Any ",[964,1424,985],{}," works as the snapshot destination — see ",[955,1427,1429],{"href":1428},"#s3-bundle-store","S3 bundle store","\nbelow for the one shipped in the extended ",[964,1432,1433],{},"to-*"," family.",[941,1436,1438],{"id":1437},"usage","Usage",[1440,1441,1443],"h3",{"id":1442},"take-a-checkpoint","Take a checkpoint",[946,1445,1446,1449,1450,1453],{},[964,1447,1448],{},"db.snapshot(vaultId, opts?)"," requires the vault to already be open (",[964,1451,1452],{},"openVault()","), and\nreturns the new snapshot's metadata:",[1082,1455,1457],{"className":1084,"code":1456,"language":1086,"meta":1087,"style":1087},"const snap = await db.snapshot('acct', { label: 'before-year-close', note: 'FY2026' })\n\u002F\u002F snap.version   → 'acct__snap_000001'   (pass this to restoreSnapshot)\n\u002F\u002F snap.integrity → 'verified'\n",[964,1458,1459,1519,1524],{"__ignoreMap":1087},[1091,1460,1461,1463,1466,1468,1470,1472,1474,1477,1479,1481,1483,1485,1487,1489,1492,1494,1496,1499,1501,1503,1506,1508,1510,1513,1515,1517],{"class":1093,"line":1094},[1091,1462,1198],{"class":1197},[1091,1464,1465],{"class":1105}," snap ",[1091,1467,1204],{"class":1101},[1091,1469,1207],{"class":1097},[1091,1471,1403],{"class":1105},[1091,1473,1024],{"class":1101},[1091,1475,1476],{"class":1210},"snapshot",[1091,1478,1213],{"class":1105},[1091,1480,1249],{"class":1101},[1091,1482,1415],{"class":1118},[1091,1484,1249],{"class":1101},[1091,1486,1312],{"class":1101},[1091,1488,1102],{"class":1101},[1091,1490,1491],{"class":1222}," label",[1091,1493,1080],{"class":1101},[1091,1495,1115],{"class":1101},[1091,1497,1498],{"class":1118},"before-year-close",[1091,1500,1249],{"class":1101},[1091,1502,1312],{"class":1101},[1091,1504,1505],{"class":1222}," note",[1091,1507,1080],{"class":1101},[1091,1509,1115],{"class":1101},[1091,1511,1512],{"class":1118},"FY2026",[1091,1514,1249],{"class":1101},[1091,1516,1109],{"class":1101},[1091,1518,1389],{"class":1105},[1091,1520,1521],{"class":1093,"line":1125},[1091,1522,1523],{"class":1369},"\u002F\u002F snap.version   → 'acct__snap_000001'   (pass this to restoreSnapshot)\n",[1091,1525,1526],{"class":1093,"line":1146},[1091,1527,1528],{"class":1369},"\u002F\u002F snap.integrity → 'verified'\n",[946,1530,1531,1534,1535,1538],{},[964,1532,1533],{},"opts.label"," is a human-readable name (shown in a snapshot chooser UI); ",[964,1536,1537],{},"opts.note"," is a\nfreeform memo. Both are optional.",[1440,1540,1542],{"id":1541},"list-snapshots","List snapshots",[946,1544,1545,1548],{},[964,1546,1547],{},"db.listSnapshots(vaultId)"," reads only the sidecar index — it never downloads snapshot\nbytes — and returns metadata newest-first:",[1082,1550,1552],{"className":1084,"code":1551,"language":1086,"meta":1087,"style":1087},"const snaps = await db.listSnapshots('acct')\n",[964,1553,1554],{"__ignoreMap":1087},[1091,1555,1556,1558,1561,1563,1565,1567,1569,1572,1574,1576,1578,1580],{"class":1093,"line":1094},[1091,1557,1198],{"class":1197},[1091,1559,1560],{"class":1105}," snaps ",[1091,1562,1204],{"class":1101},[1091,1564,1207],{"class":1097},[1091,1566,1403],{"class":1105},[1091,1568,1024],{"class":1101},[1091,1570,1571],{"class":1210},"listSnapshots",[1091,1573,1213],{"class":1105},[1091,1575,1249],{"class":1101},[1091,1577,1415],{"class":1118},[1091,1579,1249],{"class":1101},[1091,1581,1389],{"class":1105},[1082,1583,1586],{"className":1584,"code":1585,"language":141,"meta":1087,"style":1087},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","[\n  {\n    \"version\": \"acct__snap_000001\",\n    \"label\": \"before-year-close\",\n    \"note\": \"FY2026\",\n    \"exportedAt\": \"2026-01-15T10:03:22.000Z\",\n    \"exportedBy\": \"owner\",\n    \"size\": 4821,\n    \"integrity\": \"verified\"\n  }\n]\n",[964,1587,1588,1593,1598,1621,1640,1659,1679,1698,1714,1733,1738],{"__ignoreMap":1087},[1091,1589,1590],{"class":1093,"line":1094},[1091,1591,1592],{"class":1101},"[\n",[1091,1594,1595],{"class":1093,"line":1125},[1091,1596,1597],{"class":1101},"  {\n",[1091,1599,1600,1603,1606,1609,1611,1614,1617,1619],{"class":1093,"line":1146},[1091,1601,1602],{"class":1101},"    \"",[1091,1604,1605],{"class":1197},"version",[1091,1607,1608],{"class":1101},"\"",[1091,1610,1080],{"class":1101},[1091,1612,1613],{"class":1101}," \"",[1091,1615,1616],{"class":1118},"acct__snap_000001",[1091,1618,1608],{"class":1101},[1091,1620,1233],{"class":1101},[1091,1622,1623,1625,1628,1630,1632,1634,1636,1638],{"class":1093,"line":1167},[1091,1624,1602],{"class":1101},[1091,1626,1627],{"class":1197},"label",[1091,1629,1608],{"class":1101},[1091,1631,1080],{"class":1101},[1091,1633,1613],{"class":1101},[1091,1635,1498],{"class":1118},[1091,1637,1608],{"class":1101},[1091,1639,1233],{"class":1101},[1091,1641,1642,1644,1647,1649,1651,1653,1655,1657],{"class":1093,"line":1187},[1091,1643,1602],{"class":1101},[1091,1645,1646],{"class":1197},"note",[1091,1648,1608],{"class":1101},[1091,1650,1080],{"class":1101},[1091,1652,1613],{"class":1101},[1091,1654,1512],{"class":1118},[1091,1656,1608],{"class":1101},[1091,1658,1233],{"class":1101},[1091,1660,1661,1663,1666,1668,1670,1672,1675,1677],{"class":1093,"line":1194},[1091,1662,1602],{"class":1101},[1091,1664,1665],{"class":1197},"exportedAt",[1091,1667,1608],{"class":1101},[1091,1669,1080],{"class":1101},[1091,1671,1613],{"class":1101},[1091,1673,1674],{"class":1118},"2026-01-15T10:03:22.000Z",[1091,1676,1608],{"class":1101},[1091,1678,1233],{"class":1101},[1091,1680,1681,1683,1686,1688,1690,1692,1694,1696],{"class":1093,"line":1219},[1091,1682,1602],{"class":1101},[1091,1684,1685],{"class":1197},"exportedBy",[1091,1687,1608],{"class":1101},[1091,1689,1080],{"class":1101},[1091,1691,1613],{"class":1101},[1091,1693,1246],{"class":1118},[1091,1695,1608],{"class":1101},[1091,1697,1233],{"class":1101},[1091,1699,1700,1702,1705,1707,1709,1712],{"class":1093,"line":1236},[1091,1701,1602],{"class":1101},[1091,1703,1704],{"class":1197},"size",[1091,1706,1608],{"class":1101},[1091,1708,1080],{"class":1101},[1091,1710,1711],{"class":1362}," 4821",[1091,1713,1233],{"class":1101},[1091,1715,1716,1718,1721,1723,1725,1727,1730],{"class":1093,"line":1254},[1091,1717,1602],{"class":1101},[1091,1719,1720],{"class":1197},"integrity",[1091,1722,1608],{"class":1101},[1091,1724,1080],{"class":1101},[1091,1726,1613],{"class":1101},[1091,1728,1729],{"class":1118},"verified",[1091,1731,1732],{"class":1101},"\"\n",[1091,1734,1735],{"class":1093,"line":1271},[1091,1736,1737],{"class":1101},"  }\n",[1091,1739,1740],{"class":1093,"line":1285},[1091,1741,1742],{"class":1101},"]\n",[1440,1744,1746],{"id":1745},"restore","Restore",[946,1748,1749,1752,1753,1756],{},[964,1750,1751],{},"db.restoreSnapshot(vaultId, version)"," restores the vault in place and runs\n",[964,1754,1755],{},"verifyBackupIntegrity()"," automatically. Collection handles obtained before the call are\nnow stale — re-obtain them afterward:",[1082,1758,1760],{"className":1084,"code":1759,"language":1086,"meta":1087,"style":1087},"await db.restoreSnapshot('acct', snap.version)\n\nconst invoices = db.vault('acct').collection\u003CInvoice>('invoices')   \u002F\u002F re-obtain after restore\n",[964,1761,1762,1791,1795],{"__ignoreMap":1087},[1091,1763,1764,1766,1768,1770,1773,1775,1777,1779,1781,1783,1786,1788],{"class":1093,"line":1094},[1091,1765,1400],{"class":1097},[1091,1767,1403],{"class":1105},[1091,1769,1024],{"class":1101},[1091,1771,1772],{"class":1210},"restoreSnapshot",[1091,1774,1213],{"class":1105},[1091,1776,1249],{"class":1101},[1091,1778,1415],{"class":1118},[1091,1780,1249],{"class":1101},[1091,1782,1312],{"class":1101},[1091,1784,1785],{"class":1105}," snap",[1091,1787,1024],{"class":1101},[1091,1789,1790],{"class":1105},"version)\n",[1091,1792,1793],{"class":1093,"line":1125},[1091,1794,1191],{"emptyLinePlaceholder":1190},[1091,1796,1797,1799,1802,1804,1806,1808,1810,1812,1814,1816,1818,1820,1822,1825,1828,1832,1835,1837,1839,1842,1844,1847],{"class":1093,"line":1146},[1091,1798,1198],{"class":1197},[1091,1800,1801],{"class":1105}," invoices ",[1091,1803,1204],{"class":1101},[1091,1805,1403],{"class":1105},[1091,1807,1024],{"class":1101},[1091,1809,952],{"class":1210},[1091,1811,1213],{"class":1105},[1091,1813,1249],{"class":1101},[1091,1815,1415],{"class":1118},[1091,1817,1249],{"class":1101},[1091,1819,1342],{"class":1105},[1091,1821,1024],{"class":1101},[1091,1823,1824],{"class":1210},"collection",[1091,1826,1827],{"class":1101},"\u003C",[1091,1829,1831],{"class":1830},"sBMFI","Invoice",[1091,1833,1834],{"class":1101},">",[1091,1836,1213],{"class":1105},[1091,1838,1249],{"class":1101},[1091,1840,1841],{"class":1118},"invoices",[1091,1843,1249],{"class":1101},[1091,1845,1846],{"class":1105},")   ",[1091,1848,1849],{"class":1369},"\u002F\u002F re-obtain after restore\n",[946,1851,1852,1853,1856,1857,1859,1860,1058,1863,1866,1867,1869],{},"Throws ",[964,1854,1855],{},"SnapshotNotFoundError"," if ",[964,1858,1605],{}," doesn't exist in the snapshot store (pruned by\nretention, or a typo). Throws ",[964,1861,1862],{},"BackupCorruptedError",[964,1864,1865],{},"BackupLedgerError"," if\n",[964,1868,1755],{}," detects tampering.",[941,1871,1873],{"id":1872},"automatic-cadence","Automatic cadence",[946,1875,1876,1879,1880,1882,1883,1886,1887,1890],{},[964,1877,1878],{},"withSnapshots({ snapshotPolicy })"," enables automatic whole-vault snapshots driven by vault\nwrites, in addition to on-demand ",[964,1881,966],{},". Automatic snapshots overwrite a single\nrolling key (",[964,1884,1885],{},"\u003CvaultId>__auto",") and are exempt from retention — the cadence timer can never\nevict your labeled on-demand checkpoints, and on-demand ",[964,1888,1889],{},"snapshot()"," calls preserve the\nrolling slot untouched.",[1082,1892,1894],{"className":1084,"code":1893,"language":1086,"meta":1087,"style":1087},"const db = await createNoydb({\n  store,\n  user: 'owner',\n  secret: 'correct horse battery staple',\n  snapshotsStrategy: withSnapshots({\n    store: snapshotStore,\n    snapshotPolicy: { mode: 'debounce', debounceMs: 60_000, minIntervalMs: 300_000 },\n    retention: { keepLast: 10 },   \u002F\u002F applies to on-demand checkpoints only\n  }),\n})\n",[964,1895,1896,1912,1918,1932,1946,1958,1969,2013,2032,2040],{"__ignoreMap":1087},[1091,1897,1898,1900,1902,1904,1906,1908,1910],{"class":1093,"line":1094},[1091,1899,1198],{"class":1197},[1091,1901,1201],{"class":1105},[1091,1903,1204],{"class":1101},[1091,1905,1207],{"class":1097},[1091,1907,1106],{"class":1210},[1091,1909,1213],{"class":1105},[1091,1911,1216],{"class":1101},[1091,1913,1914,1916],{"class":1093,"line":1125},[1091,1915,1223],{"class":1105},[1091,1917,1233],{"class":1101},[1091,1919,1920,1922,1924,1926,1928,1930],{"class":1093,"line":1146},[1091,1921,1239],{"class":1222},[1091,1923,1080],{"class":1101},[1091,1925,1115],{"class":1101},[1091,1927,1246],{"class":1118},[1091,1929,1249],{"class":1101},[1091,1931,1233],{"class":1101},[1091,1933,1934,1936,1938,1940,1942,1944],{"class":1093,"line":1167},[1091,1935,1257],{"class":1222},[1091,1937,1080],{"class":1101},[1091,1939,1115],{"class":1101},[1091,1941,1264],{"class":1118},[1091,1943,1249],{"class":1101},[1091,1945,1233],{"class":1101},[1091,1947,1948,1950,1952,1954,1956],{"class":1093,"line":1187},[1091,1949,1274],{"class":1222},[1091,1951,1080],{"class":1101},[1091,1953,1132],{"class":1210},[1091,1955,1213],{"class":1105},[1091,1957,1216],{"class":1101},[1091,1959,1960,1962,1964,1967],{"class":1093,"line":1194},[1091,1961,1288],{"class":1222},[1091,1963,1080],{"class":1101},[1091,1965,1966],{"class":1105}," snapshotStore",[1091,1968,1233],{"class":1101},[1091,1970,1971,1974,1976,1978,1981,1983,1985,1988,1990,1992,1995,1997,2000,2002,2005,2007,2010],{"class":1093,"line":1219},[1091,1972,1973],{"class":1222},"    snapshotPolicy",[1091,1975,1080],{"class":1101},[1091,1977,1102],{"class":1101},[1091,1979,1980],{"class":1222}," mode",[1091,1982,1080],{"class":1101},[1091,1984,1115],{"class":1101},[1091,1986,1987],{"class":1118},"debounce",[1091,1989,1249],{"class":1101},[1091,1991,1312],{"class":1101},[1091,1993,1994],{"class":1222}," debounceMs",[1091,1996,1080],{"class":1101},[1091,1998,1999],{"class":1362}," 60_000",[1091,2001,1312],{"class":1101},[1091,2003,2004],{"class":1222}," minIntervalMs",[1091,2006,1080],{"class":1101},[1091,2008,2009],{"class":1362}," 300_000",[1091,2011,2012],{"class":1101}," },\n",[1091,2014,2015,2017,2019,2021,2023,2025,2027,2029],{"class":1093,"line":1236},[1091,2016,1350],{"class":1222},[1091,2018,1080],{"class":1101},[1091,2020,1102],{"class":1101},[1091,2022,1357],{"class":1222},[1091,2024,1080],{"class":1101},[1091,2026,1363],{"class":1362},[1091,2028,1366],{"class":1101},[1091,2030,2031],{"class":1369},"   \u002F\u002F applies to on-demand checkpoints only\n",[1091,2033,2034,2036,2038],{"class":1093,"line":1254},[1091,2035,1376],{"class":1101},[1091,2037,1342],{"class":1105},[1091,2039,1233],{"class":1101},[1091,2041,2042,2044],{"class":1093,"line":1271},[1091,2043,1386],{"class":1101},[1091,2045,1389],{"class":1105},[2047,2048,2049,2064],"table",{},[2050,2051,2052],"thead",{},[2053,2054,2055,2061],"tr",{},[2056,2057,2058],"th",{},[964,2059,2060],{},"mode",[2056,2062,2063],{},"Trigger",[2065,2066,2067,2082,2100],"tbody",{},[2053,2068,2069,2076],{},[2070,2071,2072,2075],"td",{},[964,2073,2074],{},"'manual'"," (default)",[2070,2077,2078,2079,2081],{},"No timers — ",[964,2080,966],{}," only.",[2053,2083,2084,2089],{},[2070,2085,2086],{},[964,2087,2088],{},"'debounce'",[2070,2090,2091,2092,2095,2096,2099],{},"Fires after ",[964,2093,2094],{},"debounceMs"," of write-idle, with a ",[964,2097,2098],{},"minIntervalMs"," floor between fires.",[2053,2101,2102,2107],{},[2070,2103,2104],{},[964,2105,2106],{},"'interval'",[2070,2108,2109,2110,2113],{},"Fires on a fixed ",[964,2111,2112],{},"intervalMs"," timer.",[946,2115,2116,2119,2120,2123,2124,2127,2128,2131,2132,2135,2136,2139,2140,2143,2144,2146,2147,2150],{},[964,2117,2118],{},"onUnload"," (default ",[964,2121,2122],{},"true"," for non-manual modes) flushes a pending auto-snapshot on tab-hide\nor process exit. The auto-snapshot appears first in ",[964,2125,2126],{},"listSnapshots()"," (flagged ",[964,2129,2130],{},"auto: true",")\nand restores like any other: ",[964,2133,2134],{},"db.restoreSnapshot(vaultId, '\u003CvaultId>__auto')",". The cadence is\nwired off the instance's post-write hook: a write marks its vault dirty, the scheduler fires\n",[964,2137,2138],{},"autoSnapshot()"," per dirty vault, and any error (or an optimistic-concurrency conflict) during\nthat call is logged, never thrown — the vault stays marked dirty so the next cadence tick\n(",[964,2141,2142],{},"interval",") or the next write (",[964,2145,1987],{},") retries. ",[964,2148,2149],{},"db.close()"," tears the scheduler down.",[941,2152,1429],{"id":2153},"s3-bundle-store",[946,2155,2156,2158,2159,2161,2162,2164,2165,2167,2168,2170,2171,2174],{},[964,2157,1014],{}," (from the extended ",[964,2160,1433],{}," adapter family) ships ",[964,2163,1011],{}," — a\n",[964,2166,985],{}," for whole-vault ",[964,2169,977],{}," blobs, distinct from the per-record ",[964,2172,2173],{},"toAwsS3()"," adapter,\nsuitable as a snapshot destination:",[1082,2176,2178],{"className":1084,"code":2177,"language":1086,"meta":1087,"style":1087},"import { s3Bundle } from '@noy-db\u002Fto-aws-s3'\n\nconst snapshotStore = s3Bundle({ bucket: 'my-backups', prefix: 'noydb', region: 'us-east-1' })\nconst db = await createNoydb({\n  store,\n  user: 'owner',\n  secret: 'correct horse battery staple',\n  snapshotsStrategy: withSnapshots({ store: snapshotStore }),\n})\n",[964,2179,2180,2198,2202,2255,2271,2277,2291,2305,2330],{"__ignoreMap":1087},[1091,2181,2182,2184,2186,2188,2190,2192,2194,2196],{"class":1093,"line":1094},[1091,2183,1098],{"class":1097},[1091,2185,1102],{"class":1101},[1091,2187,1174],{"class":1105},[1091,2189,1109],{"class":1101},[1091,2191,1112],{"class":1097},[1091,2193,1115],{"class":1101},[1091,2195,1014],{"class":1118},[1091,2197,1122],{"class":1101},[1091,2199,2200],{"class":1093,"line":1125},[1091,2201,1191],{"emptyLinePlaceholder":1190},[1091,2203,2204,2206,2209,2211,2213,2215,2217,2219,2221,2223,2225,2227,2229,2231,2233,2235,2237,2239,2241,2243,2245,2247,2249,2251,2253],{"class":1093,"line":1146},[1091,2205,1198],{"class":1197},[1091,2207,2208],{"class":1105}," snapshotStore ",[1091,2210,1204],{"class":1101},[1091,2212,1174],{"class":1210},[1091,2214,1213],{"class":1105},[1091,2216,1297],{"class":1101},[1091,2218,1300],{"class":1222},[1091,2220,1080],{"class":1101},[1091,2222,1115],{"class":1101},[1091,2224,1307],{"class":1118},[1091,2226,1249],{"class":1101},[1091,2228,1312],{"class":1101},[1091,2230,1315],{"class":1222},[1091,2232,1080],{"class":1101},[1091,2234,1115],{"class":1101},[1091,2236,149],{"class":1118},[1091,2238,1249],{"class":1101},[1091,2240,1312],{"class":1101},[1091,2242,1328],{"class":1222},[1091,2244,1080],{"class":1101},[1091,2246,1115],{"class":1101},[1091,2248,1335],{"class":1118},[1091,2250,1249],{"class":1101},[1091,2252,1109],{"class":1101},[1091,2254,1389],{"class":1105},[1091,2256,2257,2259,2261,2263,2265,2267,2269],{"class":1093,"line":1167},[1091,2258,1198],{"class":1197},[1091,2260,1201],{"class":1105},[1091,2262,1204],{"class":1101},[1091,2264,1207],{"class":1097},[1091,2266,1106],{"class":1210},[1091,2268,1213],{"class":1105},[1091,2270,1216],{"class":1101},[1091,2272,2273,2275],{"class":1093,"line":1187},[1091,2274,1223],{"class":1105},[1091,2276,1233],{"class":1101},[1091,2278,2279,2281,2283,2285,2287,2289],{"class":1093,"line":1194},[1091,2280,1239],{"class":1222},[1091,2282,1080],{"class":1101},[1091,2284,1115],{"class":1101},[1091,2286,1246],{"class":1118},[1091,2288,1249],{"class":1101},[1091,2290,1233],{"class":1101},[1091,2292,2293,2295,2297,2299,2301,2303],{"class":1093,"line":1219},[1091,2294,1257],{"class":1222},[1091,2296,1080],{"class":1101},[1091,2298,1115],{"class":1101},[1091,2300,1264],{"class":1118},[1091,2302,1249],{"class":1101},[1091,2304,1233],{"class":1101},[1091,2306,2307,2309,2311,2313,2315,2317,2320,2322,2324,2326,2328],{"class":1093,"line":1236},[1091,2308,1274],{"class":1222},[1091,2310,1080],{"class":1101},[1091,2312,1132],{"class":1210},[1091,2314,1213],{"class":1105},[1091,2316,1297],{"class":1101},[1091,2318,2319],{"class":1222}," store",[1091,2321,1080],{"class":1101},[1091,2323,2208],{"class":1105},[1091,2325,1386],{"class":1101},[1091,2327,1342],{"class":1105},[1091,2329,1233],{"class":1101},[1091,2331,2332,2334],{"class":1093,"line":1254},[1091,2333,1386],{"class":1101},[1091,2335,1389],{"class":1105},[946,2337,2338,2339,2342,2343,2346,2347,2350,2351,2354,2355,2358,2359,2362],{},"Key scheme is ",[964,2340,2341],{},"{prefix}\u002F{vaultId}.noydb","; the version token is the object's S3 ETag. OCC uses\nS3 conditional writes (",[964,2344,2345],{},"IfMatch"," on the ETag) — a lost race throws ",[964,2348,2349],{},"PodVersionConflictError",".\n",[964,2352,2353],{},"listBundles()"," derives metadata from paginated ",[964,2356,2357],{},"ListObjectsV2"," calls (no per-object GET).\nRequires ",[964,2360,2361],{},"@aws-sdk\u002Fclient-s3"," ≥ 3.696.",[941,2364,2366],{"id":2365},"api-reference","API reference",[1440,2368,2370],{"id":2369},"withsnapshotsopts",[964,2371,2372],{},"withSnapshots(opts)",[946,2374,2375,2376,1076,2378,1024],{},"Enables the snapshots service. Pass the result as ",[964,2377,1075],{},[964,2379,1079],{},[2047,2381,2382,2395],{},[2050,2383,2384],{},[2053,2385,2386,2389,2392],{},[2056,2387,2388],{},"Option",[2056,2390,2391],{},"Type",[2056,2393,2394],{},"Purpose",[2065,2396,2397,2410,2425],{},[2053,2398,2399,2403,2407],{},[2070,2400,2401],{},[964,2402,957],{},[2070,2404,2405],{},[964,2406,985],{},[2070,2408,2409],{},"Where snapshot blobs and the sidecar index are written. Required.",[2053,2411,2412,2417,2422],{},[2070,2413,2414],{},[964,2415,2416],{},"retention",[2070,2418,2419],{},[964,2420,2421],{},"RetentionPolicy",[2070,2423,2424],{},"Pruning for on-demand snapshots. Default: keep all. Never affects the auto-snapshot slot.",[2053,2426,2427,2432,2437],{},[2070,2428,2429],{},[964,2430,2431],{},"snapshotPolicy",[2070,2433,2434],{},[964,2435,2436],{},"SnapshotPolicy",[2070,2438,2439,2440,2443],{},"Automatic-snapshot cadence. Default ",[964,2441,2442],{},"mode: 'manual'"," — no timers.",[1440,2445,2447],{"id":2446},"dbsnapshotvaultid-opts",[964,2448,1448],{},[946,2450,2451],{},"Takes an on-demand checkpoint of the given vault.",[2047,2453,2454,2467],{},[2050,2455,2456],{},[2053,2457,2458,2463,2465],{},[2056,2459,2460],{},[964,2461,2462],{},"opts",[2056,2464,2391],{},[2056,2466,2394],{},[2065,2468,2469,2483],{},[2053,2470,2471,2475,2480],{},[2070,2472,2473],{},[964,2474,1627],{},[2070,2476,2477],{},[964,2478,2479],{},"string",[2070,2481,2482],{},"Human-readable name, e.g. for a chooser UI.",[2053,2484,2485,2489,2493],{},[2070,2486,2487],{},[964,2488,1646],{},[2070,2490,2491],{},[964,2492,2479],{},[2070,2494,2495],{},"Freeform memo.",[946,2497,2498,2499,1856,2502,2504,2505,2508],{},"Throws a plain ",[964,2500,2501],{},"Error",[964,2503,1075],{}," isn't configured, or ",[964,2506,2507],{},"ValidationError"," if the\nvault isn't open.",[1440,2510,2512],{"id":2511},"dblistsnapshotsvaultid",[964,2513,1547],{},[946,2515,2516],{},"Lists snapshots newest-first (auto-snapshot first, if present), from the sidecar index only.",[1440,2518,2520],{"id":2519},"dbrestoresnapshotvaultid-version",[964,2521,1751],{},[946,2523,2524,2525,2528],{},"Restores the vault to a prior snapshot in place. See ",[955,2526,1746],{"href":2527},"#restore"," above for errors.",[1440,2530,2532],{"id":2531},"snapshotmeta",[964,2533,2534],{},"SnapshotMeta",[1082,2536,2538],{"className":1084,"code":2537,"language":1086,"meta":1087,"style":1087},"interface SnapshotMeta {\n  version: string          \u002F\u002F lookup key; pass to restoreSnapshot()\n  label?: string\n  note?: string\n  exportedAt: string       \u002F\u002F ISO 8601\n  exportedBy: string       \u002F\u002F the acting user (NoydbOptions.user) at snapshot time\n  size: number              \u002F\u002F bytes\n  integrity: 'verified' | 'legacy-unverifiable'\n  auto?: true               \u002F\u002F present only on the rolling auto-snapshot\n}\n",[964,2539,2540,2551,2564,2575,2584,2596,2608,2621,2644,2657],{"__ignoreMap":1087},[1091,2541,2542,2545,2548],{"class":1093,"line":1094},[1091,2543,2544],{"class":1197},"interface",[1091,2546,2547],{"class":1830}," SnapshotMeta",[1091,2549,2550],{"class":1101}," {\n",[1091,2552,2553,2556,2558,2561],{"class":1093,"line":1125},[1091,2554,2555],{"class":1222},"  version",[1091,2557,1080],{"class":1101},[1091,2559,2560],{"class":1830}," string",[1091,2562,2563],{"class":1369},"          \u002F\u002F lookup key; pass to restoreSnapshot()\n",[1091,2565,2566,2569,2572],{"class":1093,"line":1146},[1091,2567,2568],{"class":1222},"  label",[1091,2570,2571],{"class":1101},"?:",[1091,2573,2574],{"class":1830}," string\n",[1091,2576,2577,2580,2582],{"class":1093,"line":1167},[1091,2578,2579],{"class":1222},"  note",[1091,2581,2571],{"class":1101},[1091,2583,2574],{"class":1830},[1091,2585,2586,2589,2591,2593],{"class":1093,"line":1187},[1091,2587,2588],{"class":1222},"  exportedAt",[1091,2590,1080],{"class":1101},[1091,2592,2560],{"class":1830},[1091,2594,2595],{"class":1369},"       \u002F\u002F ISO 8601\n",[1091,2597,2598,2601,2603,2605],{"class":1093,"line":1194},[1091,2599,2600],{"class":1222},"  exportedBy",[1091,2602,1080],{"class":1101},[1091,2604,2560],{"class":1830},[1091,2606,2607],{"class":1369},"       \u002F\u002F the acting user (NoydbOptions.user) at snapshot time\n",[1091,2609,2610,2613,2615,2618],{"class":1093,"line":1219},[1091,2611,2612],{"class":1222},"  size",[1091,2614,1080],{"class":1101},[1091,2616,2617],{"class":1830}," number",[1091,2619,2620],{"class":1369},"              \u002F\u002F bytes\n",[1091,2622,2623,2626,2628,2630,2632,2634,2637,2639,2642],{"class":1093,"line":1236},[1091,2624,2625],{"class":1222},"  integrity",[1091,2627,1080],{"class":1101},[1091,2629,1115],{"class":1101},[1091,2631,1729],{"class":1118},[1091,2633,1249],{"class":1101},[1091,2635,2636],{"class":1101}," |",[1091,2638,1115],{"class":1101},[1091,2640,2641],{"class":1118},"legacy-unverifiable",[1091,2643,1122],{"class":1101},[1091,2645,2646,2649,2651,2654],{"class":1093,"line":1254},[1091,2647,2648],{"class":1222},"  auto",[1091,2650,2571],{"class":1101},[1091,2652,2653],{"class":1830}," true",[1091,2655,2656],{"class":1369},"               \u002F\u002F present only on the rolling auto-snapshot\n",[1091,2658,2659],{"class":1093,"line":1271},[1091,2660,2661],{"class":1101},"}\n",[946,2663,2664,2666,2667,2670,2671,2674,2675,2678],{},[964,2665,1720],{}," is ",[964,2668,2669],{},"'verified'"," for every snapshot the current engine produces (the bundle embeds\nledger metadata that ",[964,2672,2673],{},"restoreSnapshot()"," checks); ",[964,2676,2677],{},"'legacy-unverifiable'"," is reserved for a\nfuture import path that reads pre-existing bundles with no ledger to verify against.",[1440,2680,2682],{"id":2681},"retentionpolicy",[964,2683,2421],{},[1082,2685,2687],{"className":1084,"code":2686,"language":1086,"meta":1087,"style":1087},"interface RetentionPolicy {\n  keepLast?: number     \u002F\u002F keep only the most recent N on-demand snapshots per vault\n  maxAgeDays?: number   \u002F\u002F delete on-demand snapshots older than N days\n  prune?: boolean       \u002F\u002F false → never delete; delegate expiry to store-level infra. Default true.\n}\n",[964,2688,2689,2698,2710,2722,2735],{"__ignoreMap":1087},[1091,2690,2691,2693,2696],{"class":1093,"line":1094},[1091,2692,2544],{"class":1197},[1091,2694,2695],{"class":1830}," RetentionPolicy",[1091,2697,2550],{"class":1101},[1091,2699,2700,2703,2705,2707],{"class":1093,"line":1125},[1091,2701,2702],{"class":1222},"  keepLast",[1091,2704,2571],{"class":1101},[1091,2706,2617],{"class":1830},[1091,2708,2709],{"class":1369},"     \u002F\u002F keep only the most recent N on-demand snapshots per vault\n",[1091,2711,2712,2715,2717,2719],{"class":1093,"line":1146},[1091,2713,2714],{"class":1222},"  maxAgeDays",[1091,2716,2571],{"class":1101},[1091,2718,2617],{"class":1830},[1091,2720,2721],{"class":1369},"   \u002F\u002F delete on-demand snapshots older than N days\n",[1091,2723,2724,2727,2729,2732],{"class":1093,"line":1167},[1091,2725,2726],{"class":1222},"  prune",[1091,2728,2571],{"class":1101},[1091,2730,2731],{"class":1830}," boolean",[1091,2733,2734],{"class":1369},"       \u002F\u002F false → never delete; delegate expiry to store-level infra. Default true.\n",[1091,2736,2737],{"class":1093,"line":1187},[1091,2738,2661],{"class":1101},[946,2740,2741,2742,2744,2745,2748,2749,2752,2753,2756],{},"Applied eagerly after each ",[964,2743,966],{}," call. ",[964,2746,2747],{},"keepLast"," and ",[964,2750,2751],{},"maxAgeDays"," can be combined.\nSet ",[964,2754,2755],{},"prune: false"," to use S3 lifecycle rules or similar infra-level expiry instead.",[1440,2758,2760],{"id":2759},"snapshotpolicy",[964,2761,2436],{},[1082,2763,2765],{"className":1084,"code":2764,"language":1086,"meta":1087,"style":1087},"interface SnapshotPolicy {\n  mode?: 'manual' | 'debounce' | 'interval'   \u002F\u002F default 'manual'\n  debounceMs?: number     \u002F\u002F idle delay before firing, mode:'debounce'. Default 30_000.\n  intervalMs?: number     \u002F\u002F fixed timer period, mode:'interval'. Default 300_000.\n  minIntervalMs?: number  \u002F\u002F hard floor between auto-snapshots, any mode. Default 0.\n  onUnload?: boolean       \u002F\u002F flush a pending auto-snapshot on tab-hide\u002Fexit. Default true for non-manual modes.\n  label?: string           \u002F\u002F label applied to auto-snapshots. Default 'auto'.\n}\n",[964,2766,2767,2776,2809,2821,2833,2845,2857,2868],{"__ignoreMap":1087},[1091,2768,2769,2771,2774],{"class":1093,"line":1094},[1091,2770,2544],{"class":1197},[1091,2772,2773],{"class":1830}," SnapshotPolicy",[1091,2775,2550],{"class":1101},[1091,2777,2778,2781,2783,2785,2788,2790,2792,2794,2796,2798,2800,2802,2804,2806],{"class":1093,"line":1125},[1091,2779,2780],{"class":1222},"  mode",[1091,2782,2571],{"class":1101},[1091,2784,1115],{"class":1101},[1091,2786,2787],{"class":1118},"manual",[1091,2789,1249],{"class":1101},[1091,2791,2636],{"class":1101},[1091,2793,1115],{"class":1101},[1091,2795,1987],{"class":1118},[1091,2797,1249],{"class":1101},[1091,2799,2636],{"class":1101},[1091,2801,1115],{"class":1101},[1091,2803,2142],{"class":1118},[1091,2805,1249],{"class":1101},[1091,2807,2808],{"class":1369},"   \u002F\u002F default 'manual'\n",[1091,2810,2811,2814,2816,2818],{"class":1093,"line":1146},[1091,2812,2813],{"class":1222},"  debounceMs",[1091,2815,2571],{"class":1101},[1091,2817,2617],{"class":1830},[1091,2819,2820],{"class":1369},"     \u002F\u002F idle delay before firing, mode:'debounce'. Default 30_000.\n",[1091,2822,2823,2826,2828,2830],{"class":1093,"line":1167},[1091,2824,2825],{"class":1222},"  intervalMs",[1091,2827,2571],{"class":1101},[1091,2829,2617],{"class":1830},[1091,2831,2832],{"class":1369},"     \u002F\u002F fixed timer period, mode:'interval'. Default 300_000.\n",[1091,2834,2835,2838,2840,2842],{"class":1093,"line":1187},[1091,2836,2837],{"class":1222},"  minIntervalMs",[1091,2839,2571],{"class":1101},[1091,2841,2617],{"class":1830},[1091,2843,2844],{"class":1369},"  \u002F\u002F hard floor between auto-snapshots, any mode. Default 0.\n",[1091,2846,2847,2850,2852,2854],{"class":1093,"line":1194},[1091,2848,2849],{"class":1222},"  onUnload",[1091,2851,2571],{"class":1101},[1091,2853,2731],{"class":1830},[1091,2855,2856],{"class":1369},"       \u002F\u002F flush a pending auto-snapshot on tab-hide\u002Fexit. Default true for non-manual modes.\n",[1091,2858,2859,2861,2863,2865],{"class":1093,"line":1219},[1091,2860,2568],{"class":1222},[1091,2862,2571],{"class":1101},[1091,2864,2560],{"class":1830},[1091,2866,2867],{"class":1369},"           \u002F\u002F label applied to auto-snapshots. Default 'auto'.\n",[1091,2869,2870],{"class":1093,"line":1236},[1091,2871,2661],{"class":1101},[1440,2873,2875],{"id":2874},"errors","Errors",[2047,2877,2878,2891],{},[2050,2879,2880],{},[2053,2881,2882,2885,2888],{},[2056,2883,2884],{},"Error class",[2056,2886,2887],{},"Code",[2056,2889,2890],{},"Thrown when",[2065,2892,2893,2909,2923,2937],{},[2053,2894,2895,2899,2904],{},[2070,2896,2897],{},[964,2898,1855],{},[2070,2900,2901],{},[964,2902,2903],{},"SNAPSHOT_NOT_FOUND",[2070,2905,2906,2908],{},[964,2907,1605],{}," not in the snapshot store (pruned or invalid).",[2053,2910,2911,2915,2920],{},[2070,2912,2913],{},[964,2914,1862],{},[2070,2916,2917],{},[964,2918,2919],{},"BACKUP_CORRUPTED",[2070,2921,2922],{},"An envelope's hash doesn't match the ledger on restore (tamper detected).",[2053,2924,2925,2929,2934],{},[2070,2926,2927],{},[964,2928,1865],{},[2070,2930,2931],{},[964,2932,2933],{},"BACKUP_LEDGER",[2070,2935,2936],{},"The hash chain, or its head, doesn't verify on restore (tamper detected).",[2053,2938,2939,2943,2948],{},[2070,2940,2941],{},[964,2942,2349],{},[2070,2944,2945],{},[964,2946,2947],{},"BUNDLE_VERSION_CONFLICT",[2070,2949,2950,2951,2953],{},"A snapshot or index write lost an optimistic-concurrency race (e.g. S3 ",[964,2952,2345],{}," 412).",[941,2955,2957],{"id":2956},"behavior-when-not-opted-in","Behavior when NOT opted in",[946,2959,2960,2961,2964,2965,2964,2967,2970,2971,2973,2974,2976],{},"Without ",[964,2962,2963],{},"snapshotsStrategy: withSnapshots({ store })",", ",[964,2966,966],{},[964,2968,2969],{},"db.listSnapshots()",",\nand ",[964,2972,970],{}," all reject with an ",[964,2975,2501],{}," pointing at the fix:",[1082,2978,2983],{"className":2979,"code":2981,"language":2982},[2980],"language-text","Snapshots require the snapshot strategy. Import `{ withSnapshots }` from\n\"@noy-db\u002Fhub\u002Fsnapshots\" and pass it to\n`createNoydb({ snapshotsStrategy: withSnapshots({ store }) })`.\n","text",[964,2984,2981],{"__ignoreMap":1087},[941,2986,1023],{"id":2987},"limits-gotchas",[1030,2989,2990,2998,3004,3017,3033],{},[1033,2991,2992,2997],{},[950,2993,2994,2995],{},"Not a replacement for ",[955,2996,697],{"href":698}," (per-record, intra-vault\npoint-in-time). Snapshots are external, whole-vault checkpoints.",[1033,2999,3000,3003],{},[950,3001,3002],{},"Whole-vault only"," — there is no per-collection snapshot.",[1033,3005,3006,3009,3010,3012,3013,3016],{},[950,3007,3008],{},"Restore is an overwrite, not a merge."," ",[964,3011,2673],{}," replaces vault state in place\nvia ",[964,3014,3015],{},"vault.load()","; the app is responsible for checking unsaved state before calling it.",[1033,3018,3019,3022,3023,3026,3027,3029,3030,3032],{},[950,3020,3021],{},"Single-writer safe by design, not by lock."," The on-demand snapshot counter\n(",[964,3024,3025],{},"__snap_N",") is derived from an index read that isn't cross-process-locked, so two\n",[964,3028,1889],{}," calls racing on the same vault can compute the same blob key and the losing\nwrite silently overwrites the winning one's bytes. Multi-writer deployments (server\nworkers, etc.) should serialize ",[964,3031,1889],{}," calls at the application layer.",[1033,3034,3035,3040,3041,3043],{},[950,3036,3037,3039],{},[964,3038,2416],{}," never touches the auto-snapshot slot"," — it prunes only the on-demand\n",[964,3042,856],{}," pool, so the cadence timer can't evict a labeled checkpoint and a labeled\ncheckpoint can't evict the rolling auto slot.",[941,3045,3047],{"id":3046},"see-also","See also",[1030,3049,3050,3060,3068,3073,3078,3087,3097],{},[1033,3051,3052,3055,3056],{},[955,3053,3054],{"href":598},"Services overview"," · ",[955,3057,3059],{"href":3058},"\u002Forientation","Orientation map",[1033,3061,3062,3064,3065,3067],{},[955,3063,629],{"href":630}," — the ",[964,3066,977],{}," container format snapshots are written in",[1033,3069,3070,3072],{},[955,3071,697],{"href":698}," — per-record, intra-vault point-in-time, the service snapshots complements rather than replaces",[1033,3074,3075,3077],{},[955,3076,605],{"href":606}," — relocates cold records to a second store instead of checkpointing the whole vault; a different cold-storage tradeoff than a snapshot",[1033,3079,3080,3083,3084,3086],{},[955,3081,3082],{"href":51},"Core 05 — Stores"," — the store contract; ",[964,3085,985],{}," is its whole-vault counterpart",[1033,3088,3089,1038,3092,3094,3095],{},[955,3090,3091],{"href":342},"families\u002Fto",[964,3093,1433],{}," adapters that implement ",[964,3096,985],{},[1033,3098,3099,3100,2748,3108,1024],{},"Proven by showcases ",[955,3101,3105],{"href":3102,"rel":3103},"https:\u002F\u002Fgithub.com\u002Fnoy-db\u002Fdocs\u002Fblob\u002Fmain\u002Fshowcases\u002Fsrc\u002F93-with-snapshots.showcase.test.ts",[3104],"nofollow",[964,3106,3107],{},"93-with-snapshots",[955,3109,3112],{"href":3110,"rel":3111},"https:\u002F\u002Fgithub.com\u002Fnoy-db\u002Fdocs\u002Fblob\u002Fmain\u002Fshowcases\u002Fsrc\u002F96-snapshots-auto-cadence.showcase.test.ts",[3104],[964,3113,3114],{},"96-snapshots-auto-cadence",[3116,3117,3118],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":1087,"searchDepth":1146,"depth":1146,"links":3120},[3121,3122,3123,3124,3129,3130,3131,3141,3142,3143],{"id":943,"depth":1125,"text":944},{"id":1027,"depth":1125,"text":1028},{"id":1066,"depth":1125,"text":1067},{"id":1437,"depth":1125,"text":1438,"children":3125},[3126,3127,3128],{"id":1442,"depth":1146,"text":1443},{"id":1541,"depth":1146,"text":1542},{"id":1745,"depth":1146,"text":1746},{"id":1872,"depth":1125,"text":1873},{"id":2153,"depth":1125,"text":1429},{"id":2365,"depth":1125,"text":2366,"children":3132},[3133,3134,3135,3136,3137,3138,3139,3140],{"id":2369,"depth":1146,"text":2372},{"id":2446,"depth":1146,"text":1448},{"id":2511,"depth":1146,"text":1547},{"id":2519,"depth":1146,"text":1751},{"id":2531,"depth":1146,"text":2534},{"id":2681,"depth":1146,"text":2421},{"id":2759,"depth":1146,"text":2436},{"id":2874,"depth":1146,"text":2875},{"id":2956,"depth":1125,"text":2957},{"id":2987,"depth":1125,"text":1023},{"id":3046,"depth":1125,"text":3047},null,"Point-in-time backup and restore: db.snapshot() writes an encrypted checkpoint to a separate bundle store; restoreSnapshot() restores in place.","md",{},"service",{"title":856,"description":3145},"stable","important","va6cOv_ztEZuCzNCA9qZUYEyFnszWBkMEMga__t2qmQ",{"data":3154,"body":3155},{},{"type":3156,"children":3157},"root",[3158],{"type":3159,"tag":946,"props":3160,"children":3161},"element",{},[3162],{"type":2982,"value":3163},"F — Snapshot & Portability",{"data":3165,"body":3166},{},{"type":3156,"children":3167},[3168],{"type":3159,"tag":946,"props":3169,"children":3170},{},[3171],{"type":3159,"tag":964,"props":3172,"children":3174},{"className":3173},[],[3175],{"type":2982,"value":1141},{"data":3177,"body":3178},{},{"type":3156,"children":3179},[3180],{"type":3159,"tag":946,"props":3181,"children":3182},{},[3183],{"type":3159,"tag":964,"props":3184,"children":3186},{"className":3185},[],[3187],{"type":2982,"value":1041},{"data":3189,"body":3190},{},{"type":3156,"children":3191},[3192],{"type":3159,"tag":946,"props":3193,"children":3194},{},[3195],{"type":3159,"tag":964,"props":3196,"children":3198},{"className":3197},[],[3199],{"type":2982,"value":3200},"with-fork",{"data":3202,"body":3203},{},{"type":3156,"children":3204},[3205],{"type":3159,"tag":946,"props":3206,"children":3207},{},[3208],{"type":2982,"value":3209},"~200 (off-bundle when not opted in)",1791896588839]