pyric 0.0.1 → 0.1.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -1
- package/dist/app/index.d.ts +81 -0
- package/dist/app/index.d.ts.map +1 -0
- package/dist/app/index.js +78 -0
- package/dist/app/index.js.map +1 -0
- package/dist/auth/index.d.ts +346 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +701 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/prod-backend.d.ts +39 -0
- package/dist/auth/prod-backend.d.ts.map +1 -0
- package/dist/auth/prod-backend.js +179 -0
- package/dist/auth/prod-backend.js.map +1 -0
- package/dist/auth/providers.d.ts +107 -0
- package/dist/auth/providers.d.ts.map +1 -0
- package/dist/auth/providers.js +138 -0
- package/dist/auth/providers.js.map +1 -0
- package/dist/auth/sandbox-backend.d.ts +769 -0
- package/dist/auth/sandbox-backend.d.ts.map +1 -0
- package/dist/auth/sandbox-backend.js +1598 -0
- package/dist/auth/sandbox-backend.js.map +1 -0
- package/dist/auth/target.d.ts +40 -0
- package/dist/auth/target.d.ts.map +1 -0
- package/dist/auth/target.js +28 -0
- package/dist/auth/target.js.map +1 -0
- package/dist/auth/types.d.ts +252 -0
- package/dist/auth/types.d.ts.map +1 -0
- package/dist/auth/types.js +26 -0
- package/dist/auth/types.js.map +1 -0
- package/dist/database/constraints/atoms.d.ts +29 -0
- package/dist/database/constraints/atoms.d.ts.map +1 -0
- package/dist/database/constraints/atoms.js +43 -0
- package/dist/database/constraints/atoms.js.map +1 -0
- package/dist/database/constraints/compose.d.ts +16 -0
- package/dist/database/constraints/compose.d.ts.map +1 -0
- package/dist/database/constraints/compose.js +15 -0
- package/dist/database/constraints/compose.js.map +1 -0
- package/dist/database/constraints/data.d.ts +30 -0
- package/dist/database/constraints/data.d.ts.map +1 -0
- package/dist/database/constraints/data.js +46 -0
- package/dist/database/constraints/data.js.map +1 -0
- package/dist/database/constraints/document.d.ts +42 -0
- package/dist/database/constraints/document.d.ts.map +1 -0
- package/dist/database/constraints/document.js +86 -0
- package/dist/database/constraints/document.js.map +1 -0
- package/dist/database/constraints/game.d.ts +30 -0
- package/dist/database/constraints/game.d.ts.map +1 -0
- package/dist/database/constraints/game.js +49 -0
- package/dist/database/constraints/game.js.map +1 -0
- package/dist/database/constraints/index.d.ts +12 -0
- package/dist/database/constraints/index.d.ts.map +1 -0
- package/dist/database/constraints/index.js +9 -0
- package/dist/database/constraints/index.js.map +1 -0
- package/dist/database/constraints/policies.d.ts +16 -0
- package/dist/database/constraints/policies.d.ts.map +1 -0
- package/dist/database/constraints/policies.js +17 -0
- package/dist/database/constraints/policies.js.map +1 -0
- package/dist/database/constraints/ruleset.d.ts +5 -0
- package/dist/database/constraints/ruleset.d.ts.map +1 -0
- package/dist/database/constraints/ruleset.js +132 -0
- package/dist/database/constraints/ruleset.js.map +1 -0
- package/dist/database/constraints/schema.d.ts +17 -0
- package/dist/database/constraints/schema.d.ts.map +1 -0
- package/dist/database/constraints/schema.js +74 -0
- package/dist/database/constraints/schema.js.map +1 -0
- package/dist/database/constraints/types.d.ts +22 -0
- package/dist/database/constraints/types.d.ts.map +1 -0
- package/dist/database/constraints/types.js +2 -0
- package/dist/database/constraints/types.js.map +1 -0
- package/dist/database/crawl/handler.d.ts +7 -0
- package/dist/database/crawl/handler.d.ts.map +1 -0
- package/dist/database/crawl/handler.js +91 -0
- package/dist/database/crawl/handler.js.map +1 -0
- package/dist/database/crawl/semaphore.d.ts +9 -0
- package/dist/database/crawl/semaphore.d.ts.map +1 -0
- package/dist/database/crawl/semaphore.js +27 -0
- package/dist/database/crawl/semaphore.js.map +1 -0
- package/dist/database/crawl/spec.d.ts +33 -0
- package/dist/database/crawl/spec.d.ts.map +1 -0
- package/dist/database/crawl/spec.js +12 -0
- package/dist/database/crawl/spec.js.map +1 -0
- package/dist/database/data/handler.d.ts +9 -0
- package/dist/database/data/handler.d.ts.map +1 -0
- package/dist/database/data/handler.js +96 -0
- package/dist/database/data/handler.js.map +1 -0
- package/dist/database/data/spec.d.ts +77 -0
- package/dist/database/data/spec.d.ts.map +1 -0
- package/dist/database/data/spec.js +17 -0
- package/dist/database/data/spec.js.map +1 -0
- package/dist/database/data/validated.d.ts +8 -0
- package/dist/database/data/validated.d.ts.map +1 -0
- package/dist/database/data/validated.js +99 -0
- package/dist/database/data/validated.js.map +1 -0
- package/dist/database/grammar/RtdbExpr.ohm +98 -0
- package/dist/database/grammar/RtdbExpr.ohm.generated.d.ts +2 -0
- package/dist/database/grammar/RtdbExpr.ohm.generated.d.ts.map +1 -0
- package/dist/database/grammar/RtdbExpr.ohm.generated.js +103 -0
- package/dist/database/grammar/RtdbExpr.ohm.generated.js.map +1 -0
- package/dist/database/grammar/RtdbExprParser.d.ts +5 -0
- package/dist/database/grammar/RtdbExprParser.d.ts.map +1 -0
- package/dist/database/grammar/RtdbExprParser.js +53 -0
- package/dist/database/grammar/RtdbExprParser.js.map +1 -0
- package/dist/database/grammar/linter.d.ts +3 -0
- package/dist/database/grammar/linter.d.ts.map +1 -0
- package/dist/database/grammar/linter.js +66 -0
- package/dist/database/grammar/linter.js.map +1 -0
- package/dist/database/grammar/simulator.d.ts +31 -0
- package/dist/database/grammar/simulator.d.ts.map +1 -0
- package/dist/database/grammar/simulator.js +255 -0
- package/dist/database/grammar/simulator.js.map +1 -0
- package/dist/database/grammar/validator.d.ts +3 -0
- package/dist/database/grammar/validator.d.ts.map +1 -0
- package/dist/database/grammar/validator.js +84 -0
- package/dist/database/grammar/validator.js.map +1 -0
- package/dist/database/host.d.ts +50 -0
- package/dist/database/host.d.ts.map +1 -0
- package/dist/database/host.js +41 -0
- package/dist/database/host.js.map +1 -0
- package/dist/database/index.d.ts +40 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +47 -0
- package/dist/database/index.js.map +1 -0
- package/dist/database/initialize-from-app.d.ts +28 -0
- package/dist/database/initialize-from-app.d.ts.map +1 -0
- package/dist/database/initialize-from-app.js +23 -0
- package/dist/database/initialize-from-app.js.map +1 -0
- package/dist/database/ir/handler.d.ts +6 -0
- package/dist/database/ir/handler.d.ts.map +1 -0
- package/dist/database/ir/handler.js +52 -0
- package/dist/database/ir/handler.js.map +1 -0
- package/dist/database/ir/spec.d.ts +25 -0
- package/dist/database/ir/spec.d.ts.map +1 -0
- package/dist/database/ir/spec.js +11 -0
- package/dist/database/ir/spec.js.map +1 -0
- package/dist/database/mapper.d.ts +9 -0
- package/dist/database/mapper.d.ts.map +1 -0
- package/dist/database/mapper.js +115 -0
- package/dist/database/mapper.js.map +1 -0
- package/dist/database/modular.d.ts +604 -0
- package/dist/database/modular.d.ts.map +1 -0
- package/dist/database/modular.js +1226 -0
- package/dist/database/modular.js.map +1 -0
- package/dist/database/replay.d.ts +33 -0
- package/dist/database/replay.d.ts.map +1 -0
- package/dist/database/replay.js +124 -0
- package/dist/database/replay.js.map +1 -0
- package/dist/database/resolver.d.ts +4 -0
- package/dist/database/resolver.d.ts.map +1 -0
- package/dist/database/resolver.js +66 -0
- package/dist/database/resolver.js.map +1 -0
- package/dist/database/sandbox/backend.d.ts +403 -0
- package/dist/database/sandbox/backend.d.ts.map +1 -0
- package/dist/database/sandbox/backend.js +1467 -0
- package/dist/database/sandbox/backend.js.map +1 -0
- package/dist/database/sandbox/data-tree.d.ts +123 -0
- package/dist/database/sandbox/data-tree.d.ts.map +1 -0
- package/dist/database/sandbox/data-tree.js +310 -0
- package/dist/database/sandbox/data-tree.js.map +1 -0
- package/dist/database/sandbox/normalize.d.ts +77 -0
- package/dist/database/sandbox/normalize.d.ts.map +1 -0
- package/dist/database/sandbox/normalize.js +165 -0
- package/dist/database/sandbox/normalize.js.map +1 -0
- package/dist/database/sandbox/push-id.d.ts +32 -0
- package/dist/database/sandbox/push-id.d.ts.map +1 -0
- package/dist/database/sandbox/push-id.js +82 -0
- package/dist/database/sandbox/push-id.js.map +1 -0
- package/dist/database/sandbox/query.d.ts +175 -0
- package/dist/database/sandbox/query.d.ts.map +1 -0
- package/dist/database/sandbox/query.js +269 -0
- package/dist/database/sandbox/query.js.map +1 -0
- package/dist/database/sandbox/rules-eval.d.ts +69 -0
- package/dist/database/sandbox/rules-eval.d.ts.map +1 -0
- package/dist/database/sandbox/rules-eval.js +124 -0
- package/dist/database/sandbox/rules-eval.js.map +1 -0
- package/dist/database/sandbox/sentinels.d.ts +71 -0
- package/dist/database/sandbox/sentinels.d.ts.map +1 -0
- package/dist/database/sandbox/sentinels.js +92 -0
- package/dist/database/sandbox/sentinels.js.map +1 -0
- package/dist/database/simulation/handler.d.ts +6 -0
- package/dist/database/simulation/handler.d.ts.map +1 -0
- package/dist/database/simulation/handler.js +236 -0
- package/dist/database/simulation/handler.js.map +1 -0
- package/dist/database/simulation/spec.d.ts +69 -0
- package/dist/database/simulation/spec.d.ts.map +1 -0
- package/dist/database/simulation/spec.js +25 -0
- package/dist/database/simulation/spec.js.map +1 -0
- package/dist/database/tools.d.ts +22 -0
- package/dist/database/tools.d.ts.map +1 -0
- package/dist/database/tools.js +272 -0
- package/dist/database/tools.js.map +1 -0
- package/dist/database/types.d.ts +210 -0
- package/dist/database/types.d.ts.map +1 -0
- package/dist/database/types.js +26 -0
- package/dist/database/types.js.map +1 -0
- package/dist/database/write/handler.d.ts +7 -0
- package/dist/database/write/handler.d.ts.map +1 -0
- package/dist/database/write/handler.js +42 -0
- package/dist/database/write/handler.js.map +1 -0
- package/dist/database/write/spec.d.ts +18 -0
- package/dist/database/write/spec.d.ts.map +1 -0
- package/dist/database/write/spec.js +7 -0
- package/dist/database/write/spec.js.map +1 -0
- package/dist/firestore/index.d.ts +533 -0
- package/dist/firestore/index.d.ts.map +1 -0
- package/dist/firestore/index.js +1536 -0
- package/dist/firestore/index.js.map +1 -0
- package/dist/firestore/tools.d.ts +67 -0
- package/dist/firestore/tools.d.ts.map +1 -0
- package/dist/firestore/tools.js +318 -0
- package/dist/firestore/tools.js.map +1 -0
- package/dist/firestore-values/index.d.ts +63 -0
- package/dist/firestore-values/index.d.ts.map +1 -0
- package/dist/firestore-values/index.js +148 -0
- package/dist/firestore-values/index.js.map +1 -0
- package/dist/project-scope.d.ts +5 -0
- package/dist/project-scope.d.ts.map +1 -0
- package/dist/project-scope.js +2 -0
- package/dist/project-scope.js.map +1 -0
- package/dist/rules/extract.d.ts +28 -0
- package/dist/rules/extract.d.ts.map +1 -0
- package/dist/rules/extract.js +25 -0
- package/dist/rules/extract.js.map +1 -0
- package/dist/rules/generators/assembler.d.ts +19 -0
- package/dist/rules/generators/assembler.d.ts.map +1 -0
- package/dist/rules/generators/assembler.js +292 -0
- package/dist/rules/generators/assembler.js.map +1 -0
- package/dist/rules/generators/expressions.d.ts +52 -0
- package/dist/rules/generators/expressions.d.ts.map +1 -0
- package/dist/rules/generators/expressions.js +117 -0
- package/dist/rules/generators/expressions.js.map +1 -0
- package/dist/rules/generators/grid.d.ts +22 -0
- package/dist/rules/generators/grid.d.ts.map +1 -0
- package/dist/rules/generators/grid.js +52 -0
- package/dist/rules/generators/grid.js.map +1 -0
- package/dist/rules/grammar/FirestoreAST.d.ts +129 -0
- package/dist/rules/grammar/FirestoreAST.d.ts.map +1 -0
- package/dist/rules/grammar/FirestoreAST.js +3 -0
- package/dist/rules/grammar/FirestoreAST.js.map +1 -0
- package/dist/rules/grammar/FirestoreAssembler.d.ts +5 -0
- package/dist/rules/grammar/FirestoreAssembler.d.ts.map +1 -0
- package/dist/rules/grammar/FirestoreAssembler.js +158 -0
- package/dist/rules/grammar/FirestoreAssembler.js.map +1 -0
- package/dist/rules/grammar/FirestoreParser.d.ts +46 -0
- package/dist/rules/grammar/FirestoreParser.d.ts.map +1 -0
- package/dist/rules/grammar/FirestoreParser.js +409 -0
- package/dist/rules/grammar/FirestoreParser.js.map +1 -0
- package/dist/rules/grammar/FirestoreRules.ohm +229 -0
- package/dist/rules/grammar/FirestoreRules.ohm.generated.d.ts +2 -0
- package/dist/rules/grammar/FirestoreRules.ohm.generated.d.ts.map +1 -0
- package/dist/rules/grammar/FirestoreRules.ohm.generated.js +234 -0
- package/dist/rules/grammar/FirestoreRules.ohm.generated.js.map +1 -0
- package/dist/rules/grammar/FirestoreValidator.d.ts +10 -0
- package/dist/rules/grammar/FirestoreValidator.d.ts.map +1 -0
- package/dist/rules/grammar/FirestoreValidator.js +482 -0
- package/dist/rules/grammar/FirestoreValidator.js.map +1 -0
- package/dist/rules/index.d.ts +67 -0
- package/dist/rules/index.d.ts.map +1 -0
- package/dist/rules/index.js +80 -0
- package/dist/rules/index.js.map +1 -0
- package/dist/rules/indexes/extract/annotation-collect.d.ts +42 -0
- package/dist/rules/indexes/extract/annotation-collect.d.ts.map +1 -0
- package/dist/rules/indexes/extract/annotation-collect.js +69 -0
- package/dist/rules/indexes/extract/annotation-collect.js.map +1 -0
- package/dist/rules/indexes/extract/annotations.d.ts +50 -0
- package/dist/rules/indexes/extract/annotations.d.ts.map +1 -0
- package/dist/rules/indexes/extract/annotations.js +144 -0
- package/dist/rules/indexes/extract/annotations.js.map +1 -0
- package/dist/rules/indexes/extract/ast.d.ts +54 -0
- package/dist/rules/indexes/extract/ast.d.ts.map +1 -0
- package/dist/rules/indexes/extract/ast.js +119 -0
- package/dist/rules/indexes/extract/ast.js.map +1 -0
- package/dist/rules/indexes/extract/classify.d.ts +41 -0
- package/dist/rules/indexes/extract/classify.d.ts.map +1 -0
- package/dist/rules/indexes/extract/classify.js +138 -0
- package/dist/rules/indexes/extract/classify.js.map +1 -0
- package/dist/rules/indexes/extract/composite.d.ts +38 -0
- package/dist/rules/indexes/extract/composite.d.ts.map +1 -0
- package/dist/rules/indexes/extract/composite.js +85 -0
- package/dist/rules/indexes/extract/composite.js.map +1 -0
- package/dist/rules/indexes/extract/dataflow.d.ts +45 -0
- package/dist/rules/indexes/extract/dataflow.d.ts.map +1 -0
- package/dist/rules/indexes/extract/dataflow.js +200 -0
- package/dist/rules/indexes/extract/dataflow.js.map +1 -0
- package/dist/rules/indexes/extract/enumerate.d.ts +41 -0
- package/dist/rules/indexes/extract/enumerate.d.ts.map +1 -0
- package/dist/rules/indexes/extract/enumerate.js +163 -0
- package/dist/rules/indexes/extract/enumerate.js.map +1 -0
- package/dist/rules/indexes/extract/extractor.d.ts +3 -0
- package/dist/rules/indexes/extract/extractor.d.ts.map +1 -0
- package/dist/rules/indexes/extract/extractor.js +274 -0
- package/dist/rules/indexes/extract/extractor.js.map +1 -0
- package/dist/rules/indexes/extract/types.d.ts +211 -0
- package/dist/rules/indexes/extract/types.d.ts.map +1 -0
- package/dist/rules/indexes/extract/types.js +14 -0
- package/dist/rules/indexes/extract/types.js.map +1 -0
- package/dist/rules/indexes/extractHandler.d.ts +16 -0
- package/dist/rules/indexes/extractHandler.d.ts.map +1 -0
- package/dist/rules/indexes/extractHandler.js +100 -0
- package/dist/rules/indexes/extractHandler.js.map +1 -0
- package/dist/rules/indexes/extractTool.d.ts +15 -0
- package/dist/rules/indexes/extractTool.d.ts.map +1 -0
- package/dist/rules/indexes/extractTool.js +55 -0
- package/dist/rules/indexes/extractTool.js.map +1 -0
- package/dist/rules/indexes/types.d.ts +71 -0
- package/dist/rules/indexes/types.d.ts.map +1 -0
- package/dist/rules/indexes/types.js +15 -0
- package/dist/rules/indexes/types.js.map +1 -0
- package/dist/rules/inspect/handler.d.ts +6 -0
- package/dist/rules/inspect/handler.d.ts.map +1 -0
- package/dist/rules/inspect/handler.js +144 -0
- package/dist/rules/inspect/handler.js.map +1 -0
- package/dist/rules/inspect/spec.d.ts +37 -0
- package/dist/rules/inspect/spec.d.ts.map +1 -0
- package/dist/rules/inspect/spec.js +2 -0
- package/dist/rules/inspect/spec.js.map +1 -0
- package/dist/rules/inspect/tools.d.ts +21 -0
- package/dist/rules/inspect/tools.d.ts.map +1 -0
- package/dist/rules/inspect/tools.js +21 -0
- package/dist/rules/inspect/tools.js.map +1 -0
- package/dist/rules/linter/ast-utils.d.ts +97 -0
- package/dist/rules/linter/ast-utils.d.ts.map +1 -0
- package/dist/rules/linter/ast-utils.js +491 -0
- package/dist/rules/linter/ast-utils.js.map +1 -0
- package/dist/rules/linter/hallucinations.d.ts +34 -0
- package/dist/rules/linter/hallucinations.d.ts.map +1 -0
- package/dist/rules/linter/hallucinations.js +334 -0
- package/dist/rules/linter/hallucinations.js.map +1 -0
- package/dist/rules/linter/linter.d.ts +84 -0
- package/dist/rules/linter/linter.d.ts.map +1 -0
- package/dist/rules/linter/linter.js +784 -0
- package/dist/rules/linter/linter.js.map +1 -0
- package/dist/rules/modules/resolver-browser.d.ts +41 -0
- package/dist/rules/modules/resolver-browser.d.ts.map +1 -0
- package/dist/rules/modules/resolver-browser.js +63 -0
- package/dist/rules/modules/resolver-browser.js.map +1 -0
- package/dist/rules/modules/resolver-core.d.ts +51 -0
- package/dist/rules/modules/resolver-core.d.ts.map +1 -0
- package/dist/rules/modules/resolver-core.js +338 -0
- package/dist/rules/modules/resolver-core.js.map +1 -0
- package/dist/rules/modules/resolver.d.ts +17 -0
- package/dist/rules/modules/resolver.d.ts.map +1 -0
- package/dist/rules/modules/resolver.js +49 -0
- package/dist/rules/modules/resolver.js.map +1 -0
- package/dist/rules/modules/stdlib/atomic.rules +52 -0
- package/dist/rules/modules/stdlib/atomic.test.json +152 -0
- package/dist/rules/modules/stdlib/auth.rules +7 -0
- package/dist/rules/modules/stdlib/auth.test.json +53 -0
- package/dist/rules/modules/stdlib/content.rules +50 -0
- package/dist/rules/modules/stdlib/content.test.json +238 -0
- package/dist/rules/modules/stdlib/counters.rules +41 -0
- package/dist/rules/modules/stdlib/counters.test.json +254 -0
- package/dist/rules/modules/stdlib/geometry.rules +43 -0
- package/dist/rules/modules/stdlib/geometry.test.json +200 -0
- package/dist/rules/modules/stdlib/joining.rules +49 -0
- package/dist/rules/modules/stdlib/joining.test.json +287 -0
- package/dist/rules/modules/stdlib/lifecycle.rules +51 -0
- package/dist/rules/modules/stdlib/lifecycle.test.json +288 -0
- package/dist/rules/modules/stdlib/lobby.rules +44 -0
- package/dist/rules/modules/stdlib/lobby.test.json +32 -0
- package/dist/rules/modules/stdlib/membership.rules +40 -0
- package/dist/rules/modules/stdlib/membership.test.json +107 -0
- package/dist/rules/modules/stdlib/spaces.rules +46 -0
- package/dist/rules/modules/stdlib/spaces.test.json +392 -0
- package/dist/rules/modules/stdlib/state.rules +28 -0
- package/dist/rules/modules/stdlib/state.test.json +55 -0
- package/dist/rules/modules/stdlib/timing.rules +20 -0
- package/dist/rules/modules/stdlib/timing.test.json +106 -0
- package/dist/rules/modules/stdlib/transitions.rules +34 -0
- package/dist/rules/modules/stdlib/transitions.test.json +86 -0
- package/dist/rules/modules/stdlib/turns.rules +27 -0
- package/dist/rules/modules/stdlib/turns.test.json +64 -0
- package/dist/rules/modules/stdlib/validation.rules +31 -0
- package/dist/rules/modules/stdlib/validation.test.json +184 -0
- package/dist/rules/modules/stdlib-content.d.ts +11 -0
- package/dist/rules/modules/stdlib-content.d.ts.map +1 -0
- package/dist/rules/modules/stdlib-content.js +590 -0
- package/dist/rules/modules/stdlib-content.js.map +1 -0
- package/dist/rules/node.d.ts +17 -0
- package/dist/rules/node.d.ts.map +1 -0
- package/dist/rules/node.js +21 -0
- package/dist/rules/node.js.map +1 -0
- package/dist/rules/rtdb.d.ts +28 -0
- package/dist/rules/rtdb.d.ts.map +1 -0
- package/dist/rules/rtdb.js +15 -0
- package/dist/rules/rtdb.js.map +1 -0
- package/dist/rules/simulator/evaluator.d.ts +179 -0
- package/dist/rules/simulator/evaluator.d.ts.map +1 -0
- package/dist/rules/simulator/evaluator.js +1221 -0
- package/dist/rules/simulator/evaluator.js.map +1 -0
- package/dist/rules/simulator/expression/eval-errors.d.ts +86 -0
- package/dist/rules/simulator/expression/eval-errors.d.ts.map +1 -0
- package/dist/rules/simulator/expression/eval-errors.js +68 -0
- package/dist/rules/simulator/expression/eval-errors.js.map +1 -0
- package/dist/rules/simulator/expression/evaluator.d.ts +43 -0
- package/dist/rules/simulator/expression/evaluator.d.ts.map +1 -0
- package/dist/rules/simulator/expression/evaluator.js +298 -0
- package/dist/rules/simulator/expression/evaluator.js.map +1 -0
- package/dist/rules/simulator/expression/lexer.d.ts +36 -0
- package/dist/rules/simulator/expression/lexer.d.ts.map +1 -0
- package/dist/rules/simulator/expression/lexer.js +318 -0
- package/dist/rules/simulator/expression/lexer.js.map +1 -0
- package/dist/rules/simulator/expression/parser.d.ts +39 -0
- package/dist/rules/simulator/expression/parser.d.ts.map +1 -0
- package/dist/rules/simulator/expression/parser.js +329 -0
- package/dist/rules/simulator/expression/parser.js.map +1 -0
- package/dist/rules/simulator/expression/types.d.ts +137 -0
- package/dist/rules/simulator/expression/types.d.ts.map +1 -0
- package/dist/rules/simulator/expression/types.js +90 -0
- package/dist/rules/simulator/expression/types.js.map +1 -0
- package/dist/rules/simulator/expression/walk-data.d.ts +52 -0
- package/dist/rules/simulator/expression/walk-data.d.ts.map +1 -0
- package/dist/rules/simulator/expression/walk-data.js +167 -0
- package/dist/rules/simulator/expression/walk-data.js.map +1 -0
- package/dist/rules/simulator/firestore-set.d.ts +25 -0
- package/dist/rules/simulator/firestore-set.d.ts.map +1 -0
- package/dist/rules/simulator/firestore-set.js +89 -0
- package/dist/rules/simulator/firestore-set.js.map +1 -0
- package/dist/rules/simulator/handler.d.ts +36 -0
- package/dist/rules/simulator/handler.d.ts.map +1 -0
- package/dist/rules/simulator/handler.js +583 -0
- package/dist/rules/simulator/handler.js.map +1 -0
- package/dist/rules/simulator/mapdiff.d.ts +29 -0
- package/dist/rules/simulator/mapdiff.d.ts.map +1 -0
- package/dist/rules/simulator/mapdiff.js +72 -0
- package/dist/rules/simulator/mapdiff.js.map +1 -0
- package/dist/rules/simulator/project-after-state.d.ts +33 -0
- package/dist/rules/simulator/project-after-state.d.ts.map +1 -0
- package/dist/rules/simulator/project-after-state.js +88 -0
- package/dist/rules/simulator/project-after-state.js.map +1 -0
- package/dist/rules/simulator/query-proof.d.ts +80 -0
- package/dist/rules/simulator/query-proof.d.ts.map +1 -0
- package/dist/rules/simulator/query-proof.js +142 -0
- package/dist/rules/simulator/query-proof.js.map +1 -0
- package/dist/rules/simulator/value-equality.d.ts +8 -0
- package/dist/rules/simulator/value-equality.d.ts.map +1 -0
- package/dist/rules/simulator/value-equality.js +40 -0
- package/dist/rules/simulator/value-equality.js.map +1 -0
- package/dist/rules/simulator/wrappers/base.d.ts +129 -0
- package/dist/rules/simulator/wrappers/base.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/base.js +90 -0
- package/dist/rules/simulator/wrappers/base.js.map +1 -0
- package/dist/rules/simulator/wrappers/bytes.d.ts +45 -0
- package/dist/rules/simulator/wrappers/bytes.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/bytes.js +130 -0
- package/dist/rules/simulator/wrappers/bytes.js.map +1 -0
- package/dist/rules/simulator/wrappers/duration.d.ts +76 -0
- package/dist/rules/simulator/wrappers/duration.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/duration.js +176 -0
- package/dist/rules/simulator/wrappers/duration.js.map +1 -0
- package/dist/rules/simulator/wrappers/float.d.ts +52 -0
- package/dist/rules/simulator/wrappers/float.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/float.js +88 -0
- package/dist/rules/simulator/wrappers/float.js.map +1 -0
- package/dist/rules/simulator/wrappers/latlng.d.ts +40 -0
- package/dist/rules/simulator/wrappers/latlng.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/latlng.js +100 -0
- package/dist/rules/simulator/wrappers/latlng.js.map +1 -0
- package/dist/rules/simulator/wrappers/path.d.ts +75 -0
- package/dist/rules/simulator/wrappers/path.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/path.js +158 -0
- package/dist/rules/simulator/wrappers/path.js.map +1 -0
- package/dist/rules/simulator/wrappers/reference.d.ts +82 -0
- package/dist/rules/simulator/wrappers/reference.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/reference.js +145 -0
- package/dist/rules/simulator/wrappers/reference.js.map +1 -0
- package/dist/rules/simulator/wrappers/timestamp.d.ts +86 -0
- package/dist/rules/simulator/wrappers/timestamp.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/timestamp.js +207 -0
- package/dist/rules/simulator/wrappers/timestamp.js.map +1 -0
- package/dist/rules/simulator/wrappers/vector.d.ts +43 -0
- package/dist/rules/simulator/wrappers/vector.d.ts.map +1 -0
- package/dist/rules/simulator/wrappers/vector.js +80 -0
- package/dist/rules/simulator/wrappers/vector.js.map +1 -0
- package/dist/rules/simulator-tools-impl.d.ts +64 -0
- package/dist/rules/simulator-tools-impl.d.ts.map +1 -0
- package/dist/rules/simulator-tools-impl.js +462 -0
- package/dist/rules/simulator-tools-impl.js.map +1 -0
- package/dist/rules/simulator.d.ts +20 -0
- package/dist/rules/simulator.d.ts.map +1 -0
- package/dist/rules/simulator.js +24 -0
- package/dist/rules/simulator.js.map +1 -0
- package/dist/rules/stdlib-modules.d.ts +73 -0
- package/dist/rules/stdlib-modules.d.ts.map +1 -0
- package/dist/rules/stdlib-modules.js +849 -0
- package/dist/rules/stdlib-modules.js.map +1 -0
- package/dist/rules/stdlib-tools.d.ts +19 -0
- package/dist/rules/stdlib-tools.d.ts.map +1 -0
- package/dist/rules/stdlib-tools.js +164 -0
- package/dist/rules/stdlib-tools.js.map +1 -0
- package/dist/rules/test/handler.d.ts +9 -0
- package/dist/rules/test/handler.d.ts.map +1 -0
- package/dist/rules/test/handler.js +124 -0
- package/dist/rules/test/handler.js.map +1 -0
- package/dist/rules/test/spec.d.ts +517 -0
- package/dist/rules/test/spec.d.ts.map +1 -0
- package/dist/rules/test/spec.js +227 -0
- package/dist/rules/test/spec.js.map +1 -0
- package/dist/rules/tools.d.ts +41 -0
- package/dist/rules/tools.d.ts.map +1 -0
- package/dist/rules/tools.js +124 -0
- package/dist/rules/tools.js.map +1 -0
- package/dist/rules/write/handler.d.ts +6 -0
- package/dist/rules/write/handler.d.ts.map +1 -0
- package/dist/rules/write/handler.js +126 -0
- package/dist/rules/write/handler.js.map +1 -0
- package/dist/rules/write/spec.d.ts +28 -0
- package/dist/rules/write/spec.d.ts.map +1 -0
- package/dist/rules/write/spec.js +2 -0
- package/dist/rules/write/spec.js.map +1 -0
- package/dist/sandbox/admin-compat.d.ts +20 -0
- package/dist/sandbox/admin-compat.d.ts.map +1 -0
- package/dist/sandbox/admin-compat.js +19 -0
- package/dist/sandbox/admin-compat.js.map +1 -0
- package/dist/sandbox/admin-firestore/error-translation.d.ts +86 -0
- package/dist/sandbox/admin-firestore/error-translation.d.ts.map +1 -0
- package/dist/sandbox/admin-firestore/error-translation.js +204 -0
- package/dist/sandbox/admin-firestore/error-translation.js.map +1 -0
- package/dist/sandbox/admin-firestore/index.d.ts +169 -0
- package/dist/sandbox/admin-firestore/index.d.ts.map +1 -0
- package/dist/sandbox/admin-firestore/index.js +456 -0
- package/dist/sandbox/admin-firestore/index.js.map +1 -0
- package/dist/sandbox/admin-firestore/remote.d.ts +97 -0
- package/dist/sandbox/admin-firestore/remote.d.ts.map +1 -0
- package/dist/sandbox/admin-firestore/remote.js +735 -0
- package/dist/sandbox/admin-firestore/remote.js.map +1 -0
- package/dist/sandbox/branches/index.d.ts +141 -0
- package/dist/sandbox/branches/index.d.ts.map +1 -0
- package/dist/sandbox/branches/index.js +327 -0
- package/dist/sandbox/branches/index.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/batch.d.ts +34 -0
- package/dist/sandbox/firestore/admin-compat/batch.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/batch.js +73 -0
- package/dist/sandbox/firestore/admin-compat/batch.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/doc-ref.d.ts +38 -0
- package/dist/sandbox/firestore/admin-compat/doc-ref.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/doc-ref.js +154 -0
- package/dist/sandbox/firestore/admin-compat/doc-ref.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/firestore.d.ts +45 -0
- package/dist/sandbox/firestore/admin-compat/firestore.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/firestore.js +114 -0
- package/dist/sandbox/firestore/admin-compat/firestore.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/index.d.ts +45 -0
- package/dist/sandbox/firestore/admin-compat/index.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/index.js +27 -0
- package/dist/sandbox/firestore/admin-compat/index.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/paths.d.ts +37 -0
- package/dist/sandbox/firestore/admin-compat/paths.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/paths.js +49 -0
- package/dist/sandbox/firestore/admin-compat/paths.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/query.d.ts +261 -0
- package/dist/sandbox/firestore/admin-compat/query.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/query.js +704 -0
- package/dist/sandbox/firestore/admin-compat/query.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/read-translation.d.ts +8 -0
- package/dist/sandbox/firestore/admin-compat/read-translation.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/read-translation.js +59 -0
- package/dist/sandbox/firestore/admin-compat/read-translation.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/snapshots.d.ts +39 -0
- package/dist/sandbox/firestore/admin-compat/snapshots.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/snapshots.js +50 -0
- package/dist/sandbox/firestore/admin-compat/snapshots.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/transaction.d.ts +35 -0
- package/dist/sandbox/firestore/admin-compat/transaction.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/transaction.js +88 -0
- package/dist/sandbox/firestore/admin-compat/transaction.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/types.d.ts +297 -0
- package/dist/sandbox/firestore/admin-compat/types.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/types.js +127 -0
- package/dist/sandbox/firestore/admin-compat/types.js.map +1 -0
- package/dist/sandbox/firestore/admin-compat/value-order.d.ts +49 -0
- package/dist/sandbox/firestore/admin-compat/value-order.d.ts.map +1 -0
- package/dist/sandbox/firestore/admin-compat/value-order.js +172 -0
- package/dist/sandbox/firestore/admin-compat/value-order.js.map +1 -0
- package/dist/sandbox/firestore/auto-id.d.ts +26 -0
- package/dist/sandbox/firestore/auto-id.d.ts.map +1 -0
- package/dist/sandbox/firestore/auto-id.js +36 -0
- package/dist/sandbox/firestore/auto-id.js.map +1 -0
- package/dist/sandbox/firestore/converters/bytes-geopoint.d.ts +48 -0
- package/dist/sandbox/firestore/converters/bytes-geopoint.d.ts.map +1 -0
- package/dist/sandbox/firestore/converters/bytes-geopoint.js +85 -0
- package/dist/sandbox/firestore/converters/bytes-geopoint.js.map +1 -0
- package/dist/sandbox/firestore/converters/fieldvalue.d.ts +69 -0
- package/dist/sandbox/firestore/converters/fieldvalue.d.ts.map +1 -0
- package/dist/sandbox/firestore/converters/fieldvalue.js +166 -0
- package/dist/sandbox/firestore/converters/fieldvalue.js.map +1 -0
- package/dist/sandbox/firestore/converters/reference.d.ts +31 -0
- package/dist/sandbox/firestore/converters/reference.d.ts.map +1 -0
- package/dist/sandbox/firestore/converters/reference.js +51 -0
- package/dist/sandbox/firestore/converters/reference.js.map +1 -0
- package/dist/sandbox/firestore/converters/timestamp.d.ts +32 -0
- package/dist/sandbox/firestore/converters/timestamp.d.ts.map +1 -0
- package/dist/sandbox/firestore/converters/timestamp.js +63 -0
- package/dist/sandbox/firestore/converters/timestamp.js.map +1 -0
- package/dist/sandbox/firestore/converters/user-timestamp.d.ts +46 -0
- package/dist/sandbox/firestore/converters/user-timestamp.d.ts.map +1 -0
- package/dist/sandbox/firestore/converters/user-timestamp.js +65 -0
- package/dist/sandbox/firestore/converters/user-timestamp.js.map +1 -0
- package/dist/sandbox/firestore/converters/vector.d.ts +24 -0
- package/dist/sandbox/firestore/converters/vector.d.ts.map +1 -0
- package/dist/sandbox/firestore/converters/vector.js +53 -0
- package/dist/sandbox/firestore/converters/vector.js.map +1 -0
- package/dist/sandbox/firestore/errors.d.ts +82 -0
- package/dist/sandbox/firestore/errors.d.ts.map +1 -0
- package/dist/sandbox/firestore/errors.js +54 -0
- package/dist/sandbox/firestore/errors.js.map +1 -0
- package/dist/sandbox/firestore/event-log.d.ts +99 -0
- package/dist/sandbox/firestore/event-log.d.ts.map +1 -0
- package/dist/sandbox/firestore/event-log.js +67 -0
- package/dist/sandbox/firestore/event-log.js.map +1 -0
- package/dist/sandbox/firestore/field-merge.d.ts +64 -0
- package/dist/sandbox/firestore/field-merge.d.ts.map +1 -0
- package/dist/sandbox/firestore/field-merge.js +221 -0
- package/dist/sandbox/firestore/field-merge.js.map +1 -0
- package/dist/sandbox/firestore/list-query-proof.d.ts +77 -0
- package/dist/sandbox/firestore/list-query-proof.d.ts.map +1 -0
- package/dist/sandbox/firestore/list-query-proof.js +170 -0
- package/dist/sandbox/firestore/list-query-proof.js.map +1 -0
- package/dist/sandbox/firestore/local-environment.d.ts +806 -0
- package/dist/sandbox/firestore/local-environment.d.ts.map +1 -0
- package/dist/sandbox/firestore/local-environment.js +3028 -0
- package/dist/sandbox/firestore/local-environment.js.map +1 -0
- package/dist/sandbox/firestore/local-state.d.ts +196 -0
- package/dist/sandbox/firestore/local-state.d.ts.map +1 -0
- package/dist/sandbox/firestore/local-state.js +413 -0
- package/dist/sandbox/firestore/local-state.js.map +1 -0
- package/dist/sandbox/firestore/overlay-backing.d.ts +44 -0
- package/dist/sandbox/firestore/overlay-backing.d.ts.map +1 -0
- package/dist/sandbox/firestore/overlay-backing.js +82 -0
- package/dist/sandbox/firestore/overlay-backing.js.map +1 -0
- package/dist/sandbox/firestore/sentinel-capture.d.ts +30 -0
- package/dist/sandbox/firestore/sentinel-capture.d.ts.map +1 -0
- package/dist/sandbox/firestore/sentinel-capture.js +61 -0
- package/dist/sandbox/firestore/sentinel-capture.js.map +1 -0
- package/dist/sandbox/firestore/snapshot-listeners.d.ts +284 -0
- package/dist/sandbox/firestore/snapshot-listeners.d.ts.map +1 -0
- package/dist/sandbox/firestore/snapshot-listeners.js +194 -0
- package/dist/sandbox/firestore/snapshot-listeners.js.map +1 -0
- package/dist/sandbox/firestore/topk.d.ts +12 -0
- package/dist/sandbox/firestore/topk.d.ts.map +1 -0
- package/dist/sandbox/firestore/topk.js +42 -0
- package/dist/sandbox/firestore/topk.js.map +1 -0
- package/dist/sandbox/firestore/transaction-merge.d.ts +55 -0
- package/dist/sandbox/firestore/transaction-merge.d.ts.map +1 -0
- package/dist/sandbox/firestore/transaction-merge.js +107 -0
- package/dist/sandbox/firestore/transaction-merge.js.map +1 -0
- package/dist/sandbox/firestore/transaction-types.d.ts +152 -0
- package/dist/sandbox/firestore/transaction-types.d.ts.map +1 -0
- package/dist/sandbox/firestore/transaction-types.js +10 -0
- package/dist/sandbox/firestore/transaction-types.js.map +1 -0
- package/dist/sandbox/firestore/transaction.d.ts +79 -0
- package/dist/sandbox/firestore/transaction.d.ts.map +1 -0
- package/dist/sandbox/firestore/transaction.js +95 -0
- package/dist/sandbox/firestore/transaction.js.map +1 -0
- package/dist/sandbox/firestore/value-equality.d.ts +2 -0
- package/dist/sandbox/firestore/value-equality.d.ts.map +1 -0
- package/dist/sandbox/firestore/value-equality.js +35 -0
- package/dist/sandbox/firestore/value-equality.js.map +1 -0
- package/dist/sandbox/firestore/value-resolver.d.ts +172 -0
- package/dist/sandbox/firestore/value-resolver.d.ts.map +1 -0
- package/dist/sandbox/firestore/value-resolver.js +221 -0
- package/dist/sandbox/firestore/value-resolver.js.map +1 -0
- package/dist/sandbox/firestore/wire-encoder.d.ts +14 -0
- package/dist/sandbox/firestore/wire-encoder.d.ts.map +1 -0
- package/dist/sandbox/firestore/wire-encoder.js +130 -0
- package/dist/sandbox/firestore/wire-encoder.js.map +1 -0
- package/dist/sandbox/index.d.ts +50 -0
- package/dist/sandbox/index.d.ts.map +1 -0
- package/dist/sandbox/index.js +63 -0
- package/dist/sandbox/index.js.map +1 -0
- package/dist/sandbox/internal/index.d.ts +36 -0
- package/dist/sandbox/internal/index.d.ts.map +1 -0
- package/dist/sandbox/internal/index.js +72 -0
- package/dist/sandbox/internal/index.js.map +1 -0
- package/dist/sandbox/internal/sandbox-impl.d.ts +343 -0
- package/dist/sandbox/internal/sandbox-impl.d.ts.map +1 -0
- package/dist/sandbox/internal/sandbox-impl.js +718 -0
- package/dist/sandbox/internal/sandbox-impl.js.map +1 -0
- package/dist/sandbox/persistence/backends.d.ts +37 -0
- package/dist/sandbox/persistence/backends.d.ts.map +1 -0
- package/dist/sandbox/persistence/backends.js +202 -0
- package/dist/sandbox/persistence/backends.js.map +1 -0
- package/dist/sandbox/persistence/chunk-format.d.ts +58 -0
- package/dist/sandbox/persistence/chunk-format.d.ts.map +1 -0
- package/dist/sandbox/persistence/chunk-format.js +163 -0
- package/dist/sandbox/persistence/chunk-format.js.map +1 -0
- package/dist/sandbox/persistence/controller.d.ts +39 -0
- package/dist/sandbox/persistence/controller.d.ts.map +1 -0
- package/dist/sandbox/persistence/controller.js +605 -0
- package/dist/sandbox/persistence/controller.js.map +1 -0
- package/dist/sandbox/persistence/index.d.ts +13 -0
- package/dist/sandbox/persistence/index.d.ts.map +1 -0
- package/dist/sandbox/persistence/index.js +5 -0
- package/dist/sandbox/persistence/index.js.map +1 -0
- package/dist/sandbox/persistence/serialize.d.ts +53 -0
- package/dist/sandbox/persistence/serialize.d.ts.map +1 -0
- package/dist/sandbox/persistence/serialize.js +98 -0
- package/dist/sandbox/persistence/serialize.js.map +1 -0
- package/dist/sandbox/persistence/types.d.ts +118 -0
- package/dist/sandbox/persistence/types.d.ts.map +1 -0
- package/dist/sandbox/persistence/types.js +15 -0
- package/dist/sandbox/persistence/types.js.map +1 -0
- package/dist/sandbox/remote.d.ts +118 -0
- package/dist/sandbox/remote.d.ts.map +1 -0
- package/dist/sandbox/remote.js +60 -0
- package/dist/sandbox/remote.js.map +1 -0
- package/dist/sandbox/replay/index.d.ts +106 -0
- package/dist/sandbox/replay/index.d.ts.map +1 -0
- package/dist/sandbox/replay/index.js +246 -0
- package/dist/sandbox/replay/index.js.map +1 -0
- package/dist/sandbox/sandbox-context.d.ts +40 -0
- package/dist/sandbox/sandbox-context.d.ts.map +1 -0
- package/dist/sandbox/sandbox-context.js +72 -0
- package/dist/sandbox/sandbox-context.js.map +1 -0
- package/dist/sandbox/tab-sync/index.d.ts +120 -0
- package/dist/sandbox/tab-sync/index.d.ts.map +1 -0
- package/dist/sandbox/tab-sync/index.js +272 -0
- package/dist/sandbox/tab-sync/index.js.map +1 -0
- package/dist/sandbox/types.d.ts +1235 -0
- package/dist/sandbox/types.d.ts.map +1 -0
- package/dist/sandbox/types.js +46 -0
- package/dist/sandbox/types.js.map +1 -0
- package/dist/storage/admin/api.d.ts +206 -0
- package/dist/storage/admin/api.d.ts.map +1 -0
- package/dist/storage/admin/api.js +349 -0
- package/dist/storage/admin/api.js.map +1 -0
- package/dist/storage/admin/handler.d.ts +29 -0
- package/dist/storage/admin/handler.d.ts.map +1 -0
- package/dist/storage/admin/handler.js +82 -0
- package/dist/storage/admin/handler.js.map +1 -0
- package/dist/storage/admin/spec.d.ts +64 -0
- package/dist/storage/admin/spec.d.ts.map +1 -0
- package/dist/storage/admin/spec.js +8 -0
- package/dist/storage/admin/spec.js.map +1 -0
- package/dist/storage/admin/tools.d.ts +23 -0
- package/dist/storage/admin/tools.d.ts.map +1 -0
- package/dist/storage/admin/tools.js +90 -0
- package/dist/storage/admin/tools.js.map +1 -0
- package/dist/storage/download.d.ts +27 -0
- package/dist/storage/download.d.ts.map +1 -0
- package/dist/storage/download.js +136 -0
- package/dist/storage/download.js.map +1 -0
- package/dist/storage/enforce.d.ts +26 -0
- package/dist/storage/enforce.d.ts.map +1 -0
- package/dist/storage/enforce.js +16 -0
- package/dist/storage/enforce.js.map +1 -0
- package/dist/storage/errors.d.ts +46 -0
- package/dist/storage/errors.d.ts.map +1 -0
- package/dist/storage/errors.js +62 -0
- package/dist/storage/errors.js.map +1 -0
- package/dist/storage/index.d.ts +49 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +60 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/internal.d.ts +18 -0
- package/dist/storage/internal.d.ts.map +1 -0
- package/dist/storage/internal.js +18 -0
- package/dist/storage/internal.js.map +1 -0
- package/dist/storage/list.d.ts +17 -0
- package/dist/storage/list.d.ts.map +1 -0
- package/dist/storage/list.js +91 -0
- package/dist/storage/list.js.map +1 -0
- package/dist/storage/metadata.d.ts +86 -0
- package/dist/storage/metadata.d.ts.map +1 -0
- package/dist/storage/metadata.js +167 -0
- package/dist/storage/metadata.js.map +1 -0
- package/dist/storage/persistence.d.ts +134 -0
- package/dist/storage/persistence.d.ts.map +1 -0
- package/dist/storage/persistence.js +132 -0
- package/dist/storage/persistence.js.map +1 -0
- package/dist/storage/reference.d.ts +63 -0
- package/dist/storage/reference.d.ts.map +1 -0
- package/dist/storage/reference.js +156 -0
- package/dist/storage/reference.js.map +1 -0
- package/dist/storage/rules.d.ts +176 -0
- package/dist/storage/rules.d.ts.map +1 -0
- package/dist/storage/rules.js +621 -0
- package/dist/storage/rules.js.map +1 -0
- package/dist/storage/service.d.ts +139 -0
- package/dist/storage/service.d.ts.map +1 -0
- package/dist/storage/service.js +241 -0
- package/dist/storage/service.js.map +1 -0
- package/dist/storage/upload.d.ts +43 -0
- package/dist/storage/upload.d.ts.map +1 -0
- package/dist/storage/upload.js +235 -0
- package/dist/storage/upload.js.map +1 -0
- package/package.json +109 -3
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `pyric/sandbox` — sandbox host (foundation). Provides the
|
|
3
|
+
* `Sandbox` type, the `SandboxContext` identity handle, the
|
|
4
|
+
* `initializeSandbox` factory, and the `SandboxError` family.
|
|
5
|
+
*
|
|
6
|
+
* Service handles live in sibling packages (`pyric-admin` for the
|
|
7
|
+
* Admin-SDK-shaped chainable Firestore adapter, future
|
|
8
|
+
* `pyric/firestore` for the modular Web SDK adapter,
|
|
9
|
+
* `pyric/auth`/`pyric/database`/`pyric/storage` later) and consume
|
|
10
|
+
* `SandboxContext` from here.
|
|
11
|
+
*
|
|
12
|
+
* Adapter packages also reach into `pyric/sandbox/internal` for the
|
|
13
|
+
* non-public protocol (`getInternalEnv`, etc.). See
|
|
14
|
+
* the design rationale and
|
|
15
|
+
* the design rationale for the design rationale.
|
|
16
|
+
*/
|
|
17
|
+
import { SandboxImpl } from './internal/sandbox-impl.js';
|
|
18
|
+
export { SandboxError } from './types.js';
|
|
19
|
+
export { SandboxContextImpl } from './sandbox-context.js';
|
|
20
|
+
// Remote sandbox (slice 1) — the brand + minimal channel contract that
|
|
21
|
+
// lets `pyric-admin` recognize a Node-side handle onto the browser-hosted
|
|
22
|
+
// worker sandbox (constructed by `pyric-tools`' `connectRemoteSandbox`)
|
|
23
|
+
// and route its RTDB/Auth ops over the wire instead of into local state.
|
|
24
|
+
export { REMOTE_SANDBOX, REMOTE_SANDBOX_FACTORY, isRemoteSandbox } from './remote.js';
|
|
25
|
+
// Replay engine — capture a session via `sandbox.history()` and re-
|
|
26
|
+
// issue every write against a fresh sandbox. See
|
|
27
|
+
// `docs/how-to/replay-events.md`.
|
|
28
|
+
export { replay } from './replay/index.js';
|
|
29
|
+
// Branches — fork/apply/diff/promote/discard experiments built on top of
|
|
30
|
+
// `snapshot()` + `replay()`. A branch is an isolated in-memory sandbox
|
|
31
|
+
// seeded from a `SandboxSnapshot`; `apply` re-issues events via `replay`,
|
|
32
|
+
// `diff` is a focused doc-level structural diff (reuses `Divergence`),
|
|
33
|
+
// `promote` lands the branch's mutations on a target, `discard` drops it.
|
|
34
|
+
// Substrate for Studio's agent dry-run/accept, rules-edit branches, and
|
|
35
|
+
// time-travel. See the design rationale.
|
|
36
|
+
export { apply, discard, diff, fork, promote } from './branches/index.js';
|
|
37
|
+
export { attachPersistence, createIndexedDBBackend, createMemoryBackend, recordBackendOverBlob, serializeToBuckets, deserializeFromBuckets, bundleRecords, parseBundle, PersistenceSchemaError, rehydrateDocValue, } from './persistence/index.js';
|
|
38
|
+
export { attachTabSync } from './tab-sync/index.js';
|
|
39
|
+
/**
|
|
40
|
+
* Create a sandbox.
|
|
41
|
+
*
|
|
42
|
+
* Identity is **not** part of init — call `sandbox.withAuth(...)` to
|
|
43
|
+
* derive a {@link SandboxContext} for service operations. Service-
|
|
44
|
+
* specific configuration (rules, seed data) happens through service
|
|
45
|
+
* handles — for example, `getFirestore(ctx).setRules(...)`.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* import { initializeSandbox } from 'pyric/sandbox';
|
|
50
|
+
* import { getFirestore } from 'pyric-admin/firestore';
|
|
51
|
+
*
|
|
52
|
+
* const sandbox = initializeSandbox();
|
|
53
|
+
* const dbAlice = getFirestore(sandbox.withAuth({ uid: 'alice' }));
|
|
54
|
+
* const dbAnon = getFirestore(sandbox.withAuth(null));
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export function initializeSandbox(_config = {}) {
|
|
58
|
+
// `_config` is reserved for future service-agnostic options
|
|
59
|
+
// (rules/documents bundled at init when the multi-service
|
|
60
|
+
// architecture lands). Empty for now.
|
|
61
|
+
return SandboxImpl.createRoot();
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sandbox/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AA+BzD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,uEAAuE;AACvE,0EAA0E;AAC1E,wEAAwE;AACxE,yEAAyE;AACzE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAQtF,oEAAoE;AACpE,iDAAiD;AACjD,kCAAkC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,yEAAyE;AACzE,uEAAuE;AACvE,0EAA0E;AAC1E,uEAAuE;AACvE,0EAA0E;AAC1E,wEAAwE;AACxE,yCAAyC;AACzC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAY1E,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,iBAAiB,CAAC,UAAyB,EAAE;IAC3D,4DAA4D;IAC5D,0DAA0D;IAC1D,sCAAsC;IACtC,OAAO,WAAW,CAAC,UAAU,EAAE,CAAC;AAClC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `pyric/sandbox/internal` — adapter-only protocol surface.
|
|
3
|
+
*
|
|
4
|
+
* Service adapter packages (`pyric-admin`, future `pyric/firestore`,
|
|
5
|
+
* `pyric/auth`, etc.) consume this subpath to reach the underlying
|
|
6
|
+
* `LocalEnvironment` and any other primitives that need to flow
|
|
7
|
+
* through the sandbox boundary.
|
|
8
|
+
*
|
|
9
|
+
* **Not part of the public API.** The shape is subject to change
|
|
10
|
+
* without breaking-change semantics across `pyric/sandbox` versions.
|
|
11
|
+
* External adapter authors shouldn't rely on this — when the protocol
|
|
12
|
+
* stabilizes (post-multi-service architecture) it'll be promoted.
|
|
13
|
+
*
|
|
14
|
+
* Documented in the design rationale section "Migration
|
|
15
|
+
* scope summary".
|
|
16
|
+
*/
|
|
17
|
+
export { getInternalEnv } from './sandbox-impl.js';
|
|
18
|
+
export { emitSandboxEvent, primeEventHistory, stampProvenance, makeSandboxCommitEvent, makeSandboxListenerEvent, makeSandboxOperationEvent, makeSandboxRuntimeErrorEvent, makeServiceMutationEvent, } from './sandbox-impl.js';
|
|
19
|
+
export * from '../firestore/local-environment.js';
|
|
20
|
+
export { LocalState, type BatchOperation, type BatchResult as LocalStateBatchResult, type CreateResult, type UpdateResult, type SetResult, type DeleteResult, } from '../firestore/local-state.js';
|
|
21
|
+
export * from '../firestore/event-log.js';
|
|
22
|
+
export * from '../firestore/auto-id.js';
|
|
23
|
+
export * from '../firestore/transaction.js';
|
|
24
|
+
export * from '../firestore/transaction-merge.js';
|
|
25
|
+
export * from '../firestore/transaction-types.js';
|
|
26
|
+
export * from '../firestore/errors.js';
|
|
27
|
+
export * from '../firestore/value-resolver.js';
|
|
28
|
+
export * from '../firestore/converters/timestamp.js';
|
|
29
|
+
export * from '../firestore/converters/user-timestamp.js';
|
|
30
|
+
export * from '../firestore/converters/reference.js';
|
|
31
|
+
export * from '../firestore/converters/vector.js';
|
|
32
|
+
export * from '../firestore/converters/fieldvalue.js';
|
|
33
|
+
export * from '../firestore/converters/bytes-geopoint.js';
|
|
34
|
+
export * from '../firestore/snapshot-listeners.js';
|
|
35
|
+
export * from '../firestore/wire-encoder.js';
|
|
36
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sandbox/internal/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAUnD,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAiB3B,cAAc,mCAAmC,CAAC;AAClD,OAAO,EACL,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,WAAW,IAAI,qBAAqB,EACzC,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB,MAAM,6BAA6B,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AAKnD,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `pyric/sandbox/internal` — adapter-only protocol surface.
|
|
3
|
+
*
|
|
4
|
+
* Service adapter packages (`pyric-admin`, future `pyric/firestore`,
|
|
5
|
+
* `pyric/auth`, etc.) consume this subpath to reach the underlying
|
|
6
|
+
* `LocalEnvironment` and any other primitives that need to flow
|
|
7
|
+
* through the sandbox boundary.
|
|
8
|
+
*
|
|
9
|
+
* **Not part of the public API.** The shape is subject to change
|
|
10
|
+
* without breaking-change semantics across `pyric/sandbox` versions.
|
|
11
|
+
* External adapter authors shouldn't rely on this — when the protocol
|
|
12
|
+
* stabilizes (post-multi-service architecture) it'll be promoted.
|
|
13
|
+
*
|
|
14
|
+
* Documented in the design rationale section "Migration
|
|
15
|
+
* scope summary".
|
|
16
|
+
*/
|
|
17
|
+
export { getInternalEnv } from './sandbox-impl.js';
|
|
18
|
+
// Pyric Studio event-unification seam: the provenance-stamping emit
|
|
19
|
+
// choke-point non-Firestore services (auth/storage/rtdb) call to land
|
|
20
|
+
// activity on the unified `onEvent`/`history()` stream. Firestore rides
|
|
21
|
+
// the env→sandbox fan-out and doesn't need this. `stampProvenance` is
|
|
22
|
+
// exported for callers that need to compute the stamped shape without
|
|
23
|
+
// dispatching (e.g. branch/replay tooling). See the design rationale.
|
|
24
|
+
// `makeServiceMutationEvent` builds the generic cross-service mutation
|
|
25
|
+
// envelope (id/at minted from the shared counter) auth/storage/rtdb emit.
|
|
26
|
+
export { emitSandboxEvent, primeEventHistory, stampProvenance, makeSandboxCommitEvent, makeSandboxListenerEvent, makeSandboxOperationEvent, makeSandboxRuntimeErrorEvent, makeServiceMutationEvent, } from './sandbox-impl.js';
|
|
27
|
+
// LocalEnvironment + its closest siblings moved here in Slice 7.
|
|
28
|
+
// Surfacing them through the /internal sub-path keeps the public
|
|
29
|
+
// surface narrow (consumers compose via `getFirestore(ctx)`, not by
|
|
30
|
+
// constructing LocalEnvironment directly) while letting adapter
|
|
31
|
+
// packages reach the runtime.
|
|
32
|
+
//
|
|
33
|
+
// Star re-exports because admin-compat (in sdk) reaches in for a
|
|
34
|
+
// long tail of helper symbols (DELETE_MARKER, KEEP,
|
|
35
|
+
// FIRESTORE_ERROR_CODES, etc.). Anyone changing the moved files'
|
|
36
|
+
// public exports automatically gets them propagated here.
|
|
37
|
+
// local-environment exports BatchResult as its own outer shape;
|
|
38
|
+
// local-state has a different (internal) BatchResult — alias the
|
|
39
|
+
// local-state one to disambiguate. Same trick for DocumentData
|
|
40
|
+
// (one canonical export from local-state; local-environment
|
|
41
|
+
// re-exports it).
|
|
42
|
+
export * from '../firestore/local-environment.js';
|
|
43
|
+
export { LocalState, } from '../firestore/local-state.js';
|
|
44
|
+
export * from '../firestore/event-log.js';
|
|
45
|
+
export * from '../firestore/auto-id.js';
|
|
46
|
+
export * from '../firestore/transaction.js';
|
|
47
|
+
export * from '../firestore/transaction-merge.js';
|
|
48
|
+
export * from '../firestore/transaction-types.js';
|
|
49
|
+
export * from '../firestore/errors.js';
|
|
50
|
+
export * from '../firestore/value-resolver.js';
|
|
51
|
+
export * from '../firestore/converters/timestamp.js';
|
|
52
|
+
export * from '../firestore/converters/user-timestamp.js';
|
|
53
|
+
export * from '../firestore/converters/reference.js';
|
|
54
|
+
export * from '../firestore/converters/vector.js';
|
|
55
|
+
export * from '../firestore/converters/fieldvalue.js';
|
|
56
|
+
export * from '../firestore/converters/bytes-geopoint.js';
|
|
57
|
+
export * from '../firestore/snapshot-listeners.js';
|
|
58
|
+
// Wire-encoder: produces Firestore JSON wire-format from sandbox
|
|
59
|
+
// values. Used by the discover crawler's sandbox adapter (in
|
|
60
|
+
// pyric/firestore/discover) to bridge LocalEnvironment ↔ the wire
|
|
61
|
+
// decoder.
|
|
62
|
+
export * from '../firestore/wire-encoder.js';
|
|
63
|
+
// Pre-mortem H3 — the star re-exports above are NOT auditable by
|
|
64
|
+
// reading this file. If two of the re-exported modules introduce a
|
|
65
|
+
// same-named symbol, `tsc --noEmit` fails loudly at build time (this
|
|
66
|
+
// has happened: BatchResult / DocumentData collisions, both
|
|
67
|
+
// disambiguated above). When adding a new symbol to any of the
|
|
68
|
+
// listed modules, check for collisions against the other modules in
|
|
69
|
+
// this list first. Future-us should consider replacing the stars
|
|
70
|
+
// with explicit named re-exports once the admin-compat layer's
|
|
71
|
+
// surface stops drifting.
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sandbox/internal/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,oEAAoE;AACpE,sEAAsE;AACtE,wEAAwE;AACxE,sEAAsE;AACtE,sEAAsE;AACtE,sEAAsE;AACtE,uEAAuE;AACvE,0EAA0E;AAC1E,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAE3B,iEAAiE;AACjE,iEAAiE;AACjE,oEAAoE;AACpE,gEAAgE;AAChE,8BAA8B;AAC9B,EAAE;AACF,iEAAiE;AACjE,oDAAoD;AACpD,iEAAiE;AACjE,0DAA0D;AAC1D,gEAAgE;AAChE,iEAAiE;AACjE,+DAA+D;AAC/D,4DAA4D;AAC5D,kBAAkB;AAClB,cAAc,mCAAmC,CAAC;AAClD,OAAO,EACL,UAAU,GAOX,MAAM,6BAA6B,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,iEAAiE;AACjE,6DAA6D;AAC7D,kEAAkE;AAClE,WAAW;AACX,cAAc,8BAA8B,CAAC;AAE7C,iEAAiE;AACjE,mEAAmE;AACnE,qEAAqE;AACrE,4DAA4D;AAC5D,+DAA+D;AAC/D,oEAAoE;AACpE,iEAAiE;AACjE,+DAA+D;AAC/D,0BAA0B"}
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal `Sandbox` implementation — backs the public interface from
|
|
3
|
+
* `/app` and exposes the hook (`getEnv`) that other in-package modules
|
|
4
|
+
* (notably `/firestore`) need to reach the underlying
|
|
5
|
+
* `LocalEnvironment`.
|
|
6
|
+
*
|
|
7
|
+
* Not in the package's `exports` map — external consumers can't import
|
|
8
|
+
* this module. Internal modules can because workspace path resolution
|
|
9
|
+
* doesn't go through the exports gate.
|
|
10
|
+
*
|
|
11
|
+
* Why a class plus a private accessor: `/app` keeps its dependency
|
|
12
|
+
* direction clean by exposing only the `Sandbox` interface. Service
|
|
13
|
+
* modules need `LocalEnvironment` access but should not couple to
|
|
14
|
+
* `/app`'s implementation; they read it through {@link getEnv}.
|
|
15
|
+
*
|
|
16
|
+
* The class is identity-agnostic per the multi-context redesign — it
|
|
17
|
+
* holds the env, listener registries, and lifecycle. Identity belongs
|
|
18
|
+
* to {@link SandboxContext}, derived via `withAuth`.
|
|
19
|
+
*/
|
|
20
|
+
import { LocalEnvironment } from '../firestore/local-environment.js';
|
|
21
|
+
import type { AuthState, EventProvenance, PersistableService, Sandbox, SandboxAdmin, SandboxContext, SandboxCommitEvent, SandboxEvent, SandboxListenerEvent, SandboxOperationEvent, SandboxRuntimeErrorEvent, SandboxSnapshot, ServiceMutationEvent } from '../types.js';
|
|
22
|
+
import type { SandboxPersistenceOptions } from '../persistence/types.js';
|
|
23
|
+
import type { TabSyncOptions } from '../tab-sync/index.js';
|
|
24
|
+
/**
|
|
25
|
+
* Stamp {@link EventProvenance} onto a `SandboxEvent` in ONE place — the
|
|
26
|
+
* single choke-point every emitter routes through (see {@link
|
|
27
|
+
* SandboxImpl.emitEvent}). This is the Pyric Studio "event unification"
|
|
28
|
+
* keystone: today only Firestore emits, but every service's emit path is
|
|
29
|
+
* meant to funnel here so the unified `onEvent`/`history()` stream carries
|
|
30
|
+
* who/what/which-service for each event.
|
|
31
|
+
*
|
|
32
|
+
* Semantics — **additive, override-aware, no clobber**:
|
|
33
|
+
* - `service` defaults to `'firestore'` (the only emitter today). An
|
|
34
|
+
* Auth/Storage/RTDB emit site passes its own service via
|
|
35
|
+
* `overrides.service`; a value already on the event is kept.
|
|
36
|
+
* - `actor` defaults to `{ kind: 'app' }` (the served app). Studio /
|
|
37
|
+
* agent / app-builder emitters override.
|
|
38
|
+
* - `authLens` defaults to `{ mode: 'app-session' }` (the app's own
|
|
39
|
+
* signed-in user). Admin / impersonation paths override.
|
|
40
|
+
* - `planId` only set when an override supplies it (agent-plan ops).
|
|
41
|
+
*
|
|
42
|
+
* A field the event ALREADY carries always wins over the default — so an
|
|
43
|
+
* upstream emitter that pre-stamped provenance is never downgraded. The
|
|
44
|
+
* returned object is a shallow copy; the input is not mutated.
|
|
45
|
+
*/
|
|
46
|
+
export declare function stampProvenance<E extends SandboxEvent>(event: E, overrides?: EventProvenance): E;
|
|
47
|
+
/**
|
|
48
|
+
* Concrete `Sandbox`. Holds the live `LocalEnvironment` directly and
|
|
49
|
+
* swaps it on `reset()`. Existing `SandboxContext`s continue to work
|
|
50
|
+
* after reset because they hold a reference to *this* sandbox object,
|
|
51
|
+
* not to a particular env — the next operation calls back through
|
|
52
|
+
* `getEnv()` and gets whatever env is current.
|
|
53
|
+
*
|
|
54
|
+
* Subscriber registries (`onDenial` / `onSnapshotError` / `onRequest`)
|
|
55
|
+
* live on the sandbox, NOT on `LocalEnvironment`. `reset()` swaps the
|
|
56
|
+
* env without invalidating user callbacks — see #307 probe (E7) for
|
|
57
|
+
* the bug that motivated this layout. The sandbox installs ONE adapter
|
|
58
|
+
* subscription per channel on the current env that fans out to the
|
|
59
|
+
* user registry; on swap, the adapter subscriptions get re-attached
|
|
60
|
+
* to the new env while user callbacks stay put.
|
|
61
|
+
*/
|
|
62
|
+
export declare class SandboxImpl implements Sandbox {
|
|
63
|
+
private _env;
|
|
64
|
+
/** User callbacks; stable across `reset()`. */
|
|
65
|
+
private eventSubs;
|
|
66
|
+
/** Adapter unsubscribers for the current env; refreshed on reset. */
|
|
67
|
+
private envUnsubs;
|
|
68
|
+
/** Monotonic — surfaced on session_boundary events so consumers can
|
|
69
|
+
* segment a persisted stream. Increments on every dispatched event. */
|
|
70
|
+
private dispatchedCount;
|
|
71
|
+
/** Append-only history of every SandboxEvent emitted on this sandbox.
|
|
72
|
+
* Cleared on `reset()` AFTER the session_boundary event is appended,
|
|
73
|
+
* so the boundary is the last entry of the old session's history.
|
|
74
|
+
* v1 doesn't cap; consumers persist the snapshot they need. */
|
|
75
|
+
private eventHistory;
|
|
76
|
+
/** Ambient provenance for the current {@link runWithProvenance} window
|
|
77
|
+
* (undefined outside any window). Purely synchronous — set on entry,
|
|
78
|
+
* restored in `finally` — so deferred work (microtask listener drains)
|
|
79
|
+
* never observes a window it didn't open. */
|
|
80
|
+
private ambientProvenance;
|
|
81
|
+
/**
|
|
82
|
+
* Currently authenticated user. Mutated by `pyric/auth` (and any
|
|
83
|
+
* future stateful identity bridge). Read per-call by service
|
|
84
|
+
* factories that want to see auth changes without re-binding.
|
|
85
|
+
* Defaults to `null` (anonymous / signed out).
|
|
86
|
+
*/
|
|
87
|
+
private _currentUser;
|
|
88
|
+
/** Subscribers to currentUser changes. Stable across reset() and
|
|
89
|
+
* dispose() the same way `eventSubs` is — dispose clears them. */
|
|
90
|
+
private currentUserSubs;
|
|
91
|
+
/** Persistence controller. Null until `enablePersistence` is called.
|
|
92
|
+
* Survives `reset()` so the next write re-flushes the empty state;
|
|
93
|
+
* cleared by `dispose()` so the sandbox releases its event listeners. */
|
|
94
|
+
private persistence;
|
|
95
|
+
/** In-flight `enablePersistence` call. Awaiting this lets concurrent
|
|
96
|
+
* enable calls share the same attach work (and same restored state)
|
|
97
|
+
* rather than racing two restores. */
|
|
98
|
+
private enablePersistencePromise;
|
|
99
|
+
/**
|
|
100
|
+
* Persistable-service registry. Each entry is one service (auth,
|
|
101
|
+
* storage, …) that contributes its own state to the sandbox snapshot.
|
|
102
|
+
* The sandbox stays service-agnostic: it just calls `snapshot()` /
|
|
103
|
+
* `restore()` and defers the shape entirely to each service.
|
|
104
|
+
*
|
|
105
|
+
* Cleared in `dispose()`. The controller is notified via
|
|
106
|
+
* `_onServiceRegistered` whenever a new entry arrives so it can
|
|
107
|
+
* subscribe the service's change notifications without requiring the
|
|
108
|
+
* service to register BEFORE `enablePersistence` is called.
|
|
109
|
+
*/
|
|
110
|
+
private serviceRegistry;
|
|
111
|
+
/**
|
|
112
|
+
* Optional callback set by the persistence controller so it learns
|
|
113
|
+
* about services registered AFTER `enablePersistence`. Supports the
|
|
114
|
+
* late-registration case: `enablePersistence` then later `getAuth()`
|
|
115
|
+
* (which registers 'auth'). The controller wires up the subscribe
|
|
116
|
+
* hook and schedules a flush.
|
|
117
|
+
*
|
|
118
|
+
* Only one controller at a time (enforced by `enablePersistence`),
|
|
119
|
+
* so a single slot is sufficient.
|
|
120
|
+
*/
|
|
121
|
+
private _onServiceRegistered;
|
|
122
|
+
private constructor();
|
|
123
|
+
/** Factory used by `initializeSandbox`. */
|
|
124
|
+
static createRoot(): SandboxImpl;
|
|
125
|
+
/**
|
|
126
|
+
* Resolve the live `LocalEnvironment`. Stable across resets — the
|
|
127
|
+
* sandbox holds whatever env is current, and consumers of `getEnv`
|
|
128
|
+
* always see the latest one.
|
|
129
|
+
*/
|
|
130
|
+
getEnv(): LocalEnvironment;
|
|
131
|
+
withAuth(auth: AuthState): SandboxContext;
|
|
132
|
+
/**
|
|
133
|
+
* Install one adapter subscription per env-level channel. Each adapter
|
|
134
|
+
* translates the env's payload into a `SandboxEvent` and dispatches
|
|
135
|
+
* through {@link emit}. Refreshed on `reset()` after the env swap.
|
|
136
|
+
*/
|
|
137
|
+
private attachToEnv;
|
|
138
|
+
/**
|
|
139
|
+
* THE unified emit choke-point. Every SandboxEvent — from any service —
|
|
140
|
+
* flows through here so provenance is stamped in exactly one place
|
|
141
|
+
* ({@link stampProvenance}) and the event lands on the single
|
|
142
|
+
* `onEvent`/`history()` stream.
|
|
143
|
+
*
|
|
144
|
+
* `provenance` lets a non-default emitter (a future Auth/Storage/RTDB
|
|
145
|
+
* emit site, or a Studio admin/agent/impersonation path) declare its
|
|
146
|
+
* `service`/`actor`/`authLens`/`planId`. Omitted ⇒ Firestore / app /
|
|
147
|
+
* app-session defaults, which is exactly today's Firestore behaviour —
|
|
148
|
+
* so routing the existing Firestore emitters through here is a no-op on
|
|
149
|
+
* what consumers observe beyond the additive provenance fields.
|
|
150
|
+
*/
|
|
151
|
+
emitEvent(event: SandboxEvent, provenance?: EventProvenance): void;
|
|
152
|
+
/**
|
|
153
|
+
* See `Sandbox.runWithProvenance` (types.ts) for the contract: ambient
|
|
154
|
+
* provenance defaults for events emitted synchronously during `fn`.
|
|
155
|
+
* Nested windows merge (innermost wins per field) and restore on exit.
|
|
156
|
+
*/
|
|
157
|
+
runWithProvenance<T>(provenance: EventProvenance, fn: () => T): T;
|
|
158
|
+
/**
|
|
159
|
+
* Dispatch a (already-stamped) SandboxEvent to all user subscribers.
|
|
160
|
+
* Synchronous, with sync-throw + async-rejection isolation so a faulty
|
|
161
|
+
* subscriber can't destabilize the sandbox or crash the process via
|
|
162
|
+
* unhandledRejection. All callers go through {@link emitEvent}; this is
|
|
163
|
+
* the raw fan-out + history append it wraps.
|
|
164
|
+
*/
|
|
165
|
+
private dispatch;
|
|
166
|
+
/**
|
|
167
|
+
* Internal entry point for sandbox-level event sources (snapshot
|
|
168
|
+
* deliveries / lifecycle / session_boundary) that don't have an
|
|
169
|
+
* env-level channel to ride on. Exposed only to the same package via
|
|
170
|
+
* {@link emitSandboxEvent}. Stamps provenance like every other emit.
|
|
171
|
+
*/
|
|
172
|
+
emitInternal(event: SandboxEvent, provenance?: EventProvenance): void;
|
|
173
|
+
/**
|
|
174
|
+
* Subscribe to every event the sandbox emits. Survives `reset()`.
|
|
175
|
+
*/
|
|
176
|
+
onEvent(cb: (event: SandboxEvent) => void): () => void;
|
|
177
|
+
/**
|
|
178
|
+
* Every SandboxEvent emitted on this sandbox since init (or since
|
|
179
|
+
* the last `reset()`). Returns a defensive copy — mutating the
|
|
180
|
+
* returned array doesn't affect future history() calls.
|
|
181
|
+
*
|
|
182
|
+
* Replay engine consumes this: hand the array to
|
|
183
|
+
* `replay(events, rules)` from `pyric/sandbox` and the
|
|
184
|
+
* engine re-issues every captured write against a fresh sandbox.
|
|
185
|
+
*
|
|
186
|
+
* `reset()` clears the history AFTER emitting the closing
|
|
187
|
+
* session_boundary event, so the last entry of a pre-reset history
|
|
188
|
+
* is always `{ kind: 'session_boundary', phase: 'reset' }`. Likewise
|
|
189
|
+
* `dispose()` leaves the boundary as the final entry.
|
|
190
|
+
*/
|
|
191
|
+
history(): SandboxEvent[];
|
|
192
|
+
/**
|
|
193
|
+
* Prime the event-history log with events from a PRIOR session of the
|
|
194
|
+
* SAME origin (the served `.pyric/last-session.json` capture), for display
|
|
195
|
+
* continuity after a SharedWorker death — Traffic / activity / metrics read
|
|
196
|
+
* `history()` (and history-first `onEvent` batches), so a fresh worker would
|
|
197
|
+
* otherwise show an empty feed even though the data restored from IDB.
|
|
198
|
+
*
|
|
199
|
+
* This is history-priming ONLY:
|
|
200
|
+
* - events are APPENDED to `eventHistory` so `history()` and any consumer
|
|
201
|
+
* that subscribes AFTER boot (Studio's history-first batch) sees them;
|
|
202
|
+
* - they are NOT dispatched to live `onEvent` subscribers (no re-emission);
|
|
203
|
+
* - no operation is re-executed — the underlying data is restored
|
|
204
|
+
* separately from persistence, these events are the record of it;
|
|
205
|
+
* - `dispatchedCount` is untouched (it counts THIS session's live
|
|
206
|
+
* dispatches, which drive session_boundary's priorOpCount).
|
|
207
|
+
*
|
|
208
|
+
* No-op unless history is empty, so a warm sandbox (live events already
|
|
209
|
+
* accumulated during boot) is never disturbed and primed events can never
|
|
210
|
+
* interleave after live ones. Returns the number of events primed.
|
|
211
|
+
*/
|
|
212
|
+
primeEventHistory(events: readonly SandboxEvent[]): number;
|
|
213
|
+
/**
|
|
214
|
+
* Admin-plane access. Identity-agnostic: admin reads aren't gated on
|
|
215
|
+
* auth, so they're a sandbox property — not something contexts carry.
|
|
216
|
+
*/
|
|
217
|
+
get admin(): SandboxAdmin;
|
|
218
|
+
reset(): void;
|
|
219
|
+
dispose(): void;
|
|
220
|
+
snapshot(): SandboxSnapshot;
|
|
221
|
+
loadSnapshot(data: SandboxSnapshot): void;
|
|
222
|
+
/**
|
|
223
|
+
* Current authenticated user across the sandbox. See the doc on
|
|
224
|
+
* {@link Sandbox.currentUser} — used by `pyric/auth` to thread
|
|
225
|
+
* identity through stateful Auth handles.
|
|
226
|
+
*/
|
|
227
|
+
get currentUser(): AuthState;
|
|
228
|
+
set currentUser(user: AuthState);
|
|
229
|
+
onCurrentUserChanged(cb: (user: AuthState) => void): () => void;
|
|
230
|
+
private notifyCurrentUserSubs;
|
|
231
|
+
/**
|
|
232
|
+
* Wire a persistence controller into this sandbox. Restores any
|
|
233
|
+
* prior snapshot before resolving so the in-memory state matches
|
|
234
|
+
* the backend by the time the caller's await returns.
|
|
235
|
+
*
|
|
236
|
+
* Concurrent calls share the same in-flight attach; the second
|
|
237
|
+
* caller sees the same restored state without a duplicate restore
|
|
238
|
+
* pass. Repeat calls after the first resolves are accepted only when
|
|
239
|
+
* the `key` matches — different keys would mean re-pointing the
|
|
240
|
+
* sandbox at a new backend mid-flight, which is conceptually muddled
|
|
241
|
+
* and rejected.
|
|
242
|
+
*/
|
|
243
|
+
enablePersistence(options: SandboxPersistenceOptions): Promise<void>;
|
|
244
|
+
/**
|
|
245
|
+
* Enable cross-tab realtime sync. Delegates to `attachTabSync` which
|
|
246
|
+
* wires the `BroadcastChannel` + `onEvent` subscription. Returns the
|
|
247
|
+
* disable function from `attachTabSync` so the caller can tear down
|
|
248
|
+
* sync without knowing the internals. Mirrors the pattern used by
|
|
249
|
+
* `enablePersistence` → `attachPersistence`.
|
|
250
|
+
*/
|
|
251
|
+
enableTabSync(options?: TabSyncOptions): () => void;
|
|
252
|
+
flush(): Promise<void>;
|
|
253
|
+
clearPersistence(): Promise<void>;
|
|
254
|
+
registerPersistableService(name: string, hooks: PersistableService): () => void;
|
|
255
|
+
/**
|
|
256
|
+
* Internal hook for the persistence controller: called once at attach
|
|
257
|
+
* time so the controller can be notified when a service registers
|
|
258
|
+
* AFTER `enablePersistence`. Only one controller can be active at a
|
|
259
|
+
* time, so a single callback slot is sufficient.
|
|
260
|
+
*
|
|
261
|
+
* Pass `null` to detach (called by the controller's `dispose()`).
|
|
262
|
+
*/
|
|
263
|
+
setServiceRegistrationHook(cb: ((name: string, hooks: PersistableService) => void) | null): void;
|
|
264
|
+
/**
|
|
265
|
+
* Internal: iterate the current service registry. Used by the
|
|
266
|
+
* persistence controller's restore path to apply each service's
|
|
267
|
+
* saved state from the blob.
|
|
268
|
+
*/
|
|
269
|
+
getServiceRegistry(): ReadonlyMap<string, PersistableService>;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Internal helper for service modules: given a `Sandbox` (or a
|
|
273
|
+
* `SandboxContext`'s underlying sandbox), return its `LocalEnvironment`.
|
|
274
|
+
* Throws if the handle isn't a `SandboxImpl` (i.e. somebody hand-rolled
|
|
275
|
+
* one) — custom Sandbox implementations are not supported.
|
|
276
|
+
*/
|
|
277
|
+
export declare function getInternalEnv(sandbox: Sandbox): LocalEnvironment;
|
|
278
|
+
/**
|
|
279
|
+
* Prime a sandbox's `history()` log with events from a prior session of the
|
|
280
|
+
* same origin (the served capture file), WITHOUT dispatching them to live
|
|
281
|
+
* `onEvent` subscribers or re-executing any op. History-priming seam for the
|
|
282
|
+
* served worker's boot-time event hydration — see
|
|
283
|
+
* {@link SandboxImpl.primeEventHistory}. No-op unless history is empty.
|
|
284
|
+
* Returns the number of events primed.
|
|
285
|
+
*
|
|
286
|
+
* Throws if `sandbox` wasn't produced by `initializeSandbox()` (same guard
|
|
287
|
+
* as {@link getInternalEnv}).
|
|
288
|
+
*/
|
|
289
|
+
export declare function primeEventHistory(sandbox: Sandbox, events: readonly SandboxEvent[]): number;
|
|
290
|
+
/**
|
|
291
|
+
* Emit a `SandboxEvent` onto a sandbox's unified `onEvent`/`history()`
|
|
292
|
+
* stream, stamping {@link EventProvenance} through the single
|
|
293
|
+
* {@link SandboxImpl.emitEvent} choke-point.
|
|
294
|
+
*
|
|
295
|
+
* **This is the seam the Pyric Studio event-unification keystone reserves
|
|
296
|
+
* for non-Firestore services.** Firestore already emits via the env→sandbox
|
|
297
|
+
* fan-out in {@link SandboxImpl.attachToEnv} (no caller needs this for it).
|
|
298
|
+
* Auth / Storage / RTDB are meant to call this from their own emit sites so
|
|
299
|
+
* their activity lands on the same stream — e.g.
|
|
300
|
+
* `emitSandboxEvent(sandbox, userCreatedEvent, { service: 'auth' })`.
|
|
301
|
+
*
|
|
302
|
+
* STATUS (Wave 1.5, Gap #1): Auth / Storage / RTDB now emit here. They share
|
|
303
|
+
* one additive union variant — {@link ServiceMutationEvent} (`kind:
|
|
304
|
+
* 'service_mutation'`) — built via {@link makeServiceMutationEvent}, rather
|
|
305
|
+
* than bending into Firestore's rule-eval-shaped `request`/`write` kinds.
|
|
306
|
+
* Wired emit sites:
|
|
307
|
+
* - auth: user create/update/delete, users-clear, sign-in, sign-out
|
|
308
|
+
* (`SandboxBackend` in `pyric/auth`).
|
|
309
|
+
* - storage: object put / delete / metadata-update (`pyric/storage`).
|
|
310
|
+
* - rtdb: set / update / remove / transaction-commit
|
|
311
|
+
* (`RtdbBackend` in `pyric/database`, via the modular surface).
|
|
312
|
+
* Firestore still rides the env→sandbox fan-out and is unchanged. See
|
|
313
|
+
* the design rationale.
|
|
314
|
+
*
|
|
315
|
+
* Throws if `sandbox` wasn't produced by `initializeSandbox()` (same guard
|
|
316
|
+
* as {@link getInternalEnv}).
|
|
317
|
+
*/
|
|
318
|
+
export declare function emitSandboxEvent(sandbox: Sandbox, event: SandboxEvent, provenance?: EventProvenance): void;
|
|
319
|
+
/**
|
|
320
|
+
* Build a {@link ServiceMutationEvent} with a fresh `id` + `at` minted from
|
|
321
|
+
* the same monotonic counter Firestore events use — so a non-Firestore
|
|
322
|
+
* service (auth/storage/rtdb) doesn't have to re-implement id minting or
|
|
323
|
+
* worry about colliding with the Firestore stream's ids.
|
|
324
|
+
*
|
|
325
|
+
* The returned event is NOT yet dispatched; hand it to
|
|
326
|
+
* {@link emitSandboxEvent} (which stamps provenance and lands it on the
|
|
327
|
+
* unified stream). The convenience seam for the keystone: a service emit
|
|
328
|
+
* site is `emitSandboxEvent(sandbox, makeServiceMutationEvent({ ... }), { service })`.
|
|
329
|
+
*/
|
|
330
|
+
export declare function makeServiceMutationEvent(fields: Omit<ServiceMutationEvent, 'kind' | 'id' | 'at'>): ServiceMutationEvent;
|
|
331
|
+
export declare function makeSandboxOperationEvent(fields: Omit<SandboxOperationEvent, 'kind' | 'id' | 'at'> & {
|
|
332
|
+
at?: number;
|
|
333
|
+
}): SandboxOperationEvent;
|
|
334
|
+
export declare function makeSandboxCommitEvent(fields: Omit<SandboxCommitEvent, 'kind' | 'id' | 'at'> & {
|
|
335
|
+
at?: number;
|
|
336
|
+
}): SandboxCommitEvent;
|
|
337
|
+
export declare function makeSandboxListenerEvent(fields: Omit<SandboxListenerEvent, 'kind' | 'id' | 'at'> & {
|
|
338
|
+
at?: number;
|
|
339
|
+
}): SandboxListenerEvent;
|
|
340
|
+
export declare function makeSandboxRuntimeErrorEvent(fields: Omit<SandboxRuntimeErrorEvent, 'kind' | 'id' | 'at'> & {
|
|
341
|
+
at?: number;
|
|
342
|
+
}): SandboxRuntimeErrorEvent;
|
|
343
|
+
//# sourceMappingURL=sandbox-impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-impl.d.ts","sourceRoot":"","sources":["../../../src/sandbox/internal/sandbox-impl.ts"],"names":[],"mappings":"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"}
|