@gusto/baerly-storage 0.1.2 → 0.3.0
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/LICENSE +202 -0
- package/NOTICE +29 -0
- package/README.md +108 -44
- package/dist/API.md +192 -121
- package/dist/CHANGELOG.md +144 -0
- package/dist/THIRD-PARTY-LICENSES.txt +312 -0
- package/dist/{app-config-C0Bbw_Z6.d.ts → app-config-BIzyAKzy.d.ts} +14 -2
- package/dist/app-config.d.ts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +288 -288
- package/dist/auth.js.map +1 -1
- package/dist/baerly.js +10 -10
- package/dist/baerly.js.map +1 -1
- package/dist/bytes-BXdamO3L.js.map +1 -1
- package/dist/{client-DYZfoZb9.d.ts → client-BJXF3XJA.d.ts} +10 -10
- package/dist/client-react.d.ts +76 -85
- package/dist/client-react.js +95 -53
- package/dist/client-react.js.map +1 -1
- package/dist/client.d.ts +3 -3
- package/dist/client.js.map +1 -1
- package/dist/{cloudflare-CINJPKCW.js → cloudflare-Cn2ibODt.js} +178 -2
- package/dist/cloudflare-Cn2ibODt.js.map +1 -0
- package/dist/cloudflare.d.ts +4 -4
- package/dist/cloudflare.js +10 -11
- package/dist/cloudflare.js.map +1 -1
- package/dist/{subcommand-DZcHcsYp.js → config-CGyBopy3.js} +643 -439
- package/dist/config-CGyBopy3.js.map +1 -0
- package/dist/context-DRZ3tZ5l.js.map +1 -1
- package/dist/{cost-CQt1YRkA.js → cost-BZ_MDBmn.js} +6 -4
- package/dist/cost-BZ_MDBmn.js.map +1 -0
- package/dist/{current-json-C-EyJqs0.js → current-json-DsN7FNY1.js} +47 -13
- package/dist/current-json-DsN7FNY1.js.map +1 -0
- package/dist/{db-BM3y2JQw.d.ts → db-CCT6tDfY.d.ts} +26 -108
- package/dist/{deploy-CrAbfgCq.js → deploy-BKKyGlSJ.js} +11 -4
- package/dist/deploy-BKKyGlSJ.js.map +1 -0
- package/dist/dev-vite.d.ts +5 -5
- package/dist/dev-vite.js +5 -5
- package/dist/dev-vite.js.map +1 -1
- package/dist/dev.d.ts +1 -1
- package/dist/dev.js +1 -1
- package/dist/{doctor-Db-hzPmE.js → doctor-BVU4GNXN.js} +13 -132
- package/dist/doctor-BVU4GNXN.js.map +1 -0
- package/dist/{dump-BYA55NLP.js → dump-DPEAKub6.js} +5 -3
- package/dist/dump-DPEAKub6.js.map +1 -0
- package/dist/errors-DOdL95kK.js.map +1 -1
- package/dist/{export-Bhbz90-z.js → export-BcuCLFFe.js} +6 -4
- package/dist/{export-Bhbz90-z.js.map → export-BcuCLFFe.js.map} +1 -1
- package/dist/{fsck-CPPZWt9p.js → fsck-RXgLOaJG.js} +23 -11
- package/dist/fsck-RXgLOaJG.js.map +1 -0
- package/dist/{http-Cw8p6y5b.js → http-Bd4byR4n.js} +45 -61
- package/dist/http-Bd4byR4n.js.map +1 -0
- package/dist/http.d.ts +15 -15
- package/dist/http.js +1 -1
- package/dist/{index-cUY-36AN.d.ts → index-BDceQQi-.d.ts} +20 -4
- package/dist/{index-C3JAH1Yo.d.ts → index-Cmsxx-ZN.d.ts} +9 -9
- package/dist/{index-DSvwEUeF.d.ts → index-DW7GT6M2.d.ts} +50 -42
- package/dist/{index-DwDTWPSU.d.ts → index-DnBGSeuU.d.ts} +10 -7
- package/dist/index.d.ts +6 -6
- package/dist/index.js +4 -4
- package/dist/{indexes-DAu2AkTW.d.ts → indexes-Cx7uMXm0.d.ts} +2 -2
- package/dist/{inspect-Bdbzvi-_.js → inspect-DhI49PSi.js} +16 -8
- package/dist/inspect-DhI49PSi.js.map +1 -0
- package/dist/{snapshot-SS8USDUF.js → log-tail-DXeDkWEp.js} +154 -83
- package/dist/log-tail-DXeDkWEp.js.map +1 -0
- package/dist/{maintenance-BRrThz8V.d.ts → maintenance-BkhUr72A.d.ts} +91 -26
- package/dist/{maintenance-ClzBC1Vv.js → maintenance-CWBQpZ2y.js} +368 -161
- package/dist/maintenance-CWBQpZ2y.js.map +1 -0
- package/dist/{maintenance-BvOv6BMM.js → maintenance-C_KSkVjd.js} +204 -82
- package/dist/maintenance-C_KSkVjd.js.map +1 -0
- package/dist/maintenance.d.ts +3 -2
- package/dist/maintenance.js +3 -2
- package/dist/node.d.ts +13 -8
- package/dist/node.js +1 -1
- package/dist/normalize-XWY25_sG.js.map +1 -1
- package/dist/{observability-CpOiEN0k.js → observability-BYd-RzEx.js} +63 -55
- package/dist/observability-BYd-RzEx.js.map +1 -0
- package/dist/observability.d.ts +3 -3
- package/dist/observability.js +1 -1
- package/dist/{plan-DOTl21vq.js → plan-DIu_B6fy.js} +7 -4
- package/dist/plan-DIu_B6fy.js.map +1 -0
- package/dist/{query-BmiQy328.js → query-sQNO5vU_.js} +1071 -1099
- package/dist/query-sQNO5vU_.js.map +1 -0
- package/dist/{rebuild-index-DC_nR6wP.js → rebuild-index-DP4CqSSs.js} +5 -4
- package/dist/rebuild-index-DP4CqSSs.js.map +1 -0
- package/dist/{restore-C6IcmLeA.js → restore-DpQYef6r.js} +362 -328
- package/dist/restore-DpQYef6r.js.map +1 -0
- package/dist/shared-secret-BJdSwpgw.js.map +1 -1
- package/dist/{src-QQ7jDeL2.js → src-CWpkSbvJ.js} +40 -20
- package/dist/src-CWpkSbvJ.js.map +1 -0
- package/dist/{src-DU1sCMlr.js → src-D24wDpzR.js} +269 -258
- package/dist/src-D24wDpzR.js.map +1 -0
- package/dist/{src-zhEAmmF7.js → src-Db4-qVtM.js} +36 -96
- package/dist/src-Db4-qVtM.js.map +1 -0
- package/dist/subcommand-CP9NY2J4.js +159 -0
- package/dist/subcommand-CP9NY2J4.js.map +1 -0
- package/dist/{usage-CLjirdD-.js → usage-CTfDq9HR.js} +3 -3
- package/dist/{usage-CLjirdD-.js.map → usage-CTfDq9HR.js.map} +1 -1
- package/dist/{validate-DCq_0DIn.js → validate-DtljsCh1.js} +51 -51
- package/dist/{validate-DCq_0DIn.js.map → validate-DtljsCh1.js.map} +1 -1
- package/package.json +42 -31
- package/dist/cloudflare-CINJPKCW.js.map +0 -1
- package/dist/config-DVfDGyw1.js +0 -278
- package/dist/config-DVfDGyw1.js.map +0 -1
- package/dist/cost-CQt1YRkA.js.map +0 -1
- package/dist/current-json-C-EyJqs0.js.map +0 -1
- package/dist/deploy-CrAbfgCq.js.map +0 -1
- package/dist/doctor-Db-hzPmE.js.map +0 -1
- package/dist/dump-BYA55NLP.js.map +0 -1
- package/dist/fsck-CPPZWt9p.js.map +0 -1
- package/dist/http-Cw8p6y5b.js.map +0 -1
- package/dist/inspect-Bdbzvi-_.js.map +0 -1
- package/dist/maintenance-BvOv6BMM.js.map +0 -1
- package/dist/maintenance-ClzBC1Vv.js.map +0 -1
- package/dist/observability-CpOiEN0k.js.map +0 -1
- package/dist/plan-DOTl21vq.js.map +0 -1
- package/dist/query-BmiQy328.js.map +0 -1
- package/dist/rebuild-index-DC_nR6wP.js.map +0 -1
- package/dist/restore-C6IcmLeA.js.map +0 -1
- package/dist/snapshot-SS8USDUF.js.map +0 -1
- package/dist/src-DU1sCMlr.js.map +0 -1
- package/dist/src-QQ7jDeL2.js.map +0 -1
- package/dist/src-zhEAmmF7.js.map +0 -1
- package/dist/subcommand-DZcHcsYp.js.map +0 -1
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# @gusto/baerly-storage
|
|
2
|
+
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 79cc324: First public release. `baerly-storage` is a vendorless document database that
|
|
8
|
+
runs over any S3-compatible bucket — the data lives in your bucket and there is
|
|
9
|
+
no runtime to operate. Commit is one conditional log append (`If-None-Match`)
|
|
10
|
+
per collection, so each collection is linearizable; compaction and GC run
|
|
11
|
+
in-band on writes (reads never tick); no operator cron or sidecar. First-class
|
|
12
|
+
on Cloudflare Workers (R2) and self-hosted Node (S3), with day-one templates for
|
|
13
|
+
both.
|
|
14
|
+
|
|
15
|
+
Versions `0.1.x`–`0.2.0` were internal/experimental builds. They remain
|
|
16
|
+
published, but this is the first release intended for outside use. **Still
|
|
17
|
+
pre-1.0:** the on-disk format and public API may change between minor versions
|
|
18
|
+
until 1.0 — pin your version.
|
|
19
|
+
|
|
20
|
+
**New here? You're done — everything above is what you get.** The rest is for
|
|
21
|
+
the few of you who ran an internal `0.1`–`0.2` build and need to know what
|
|
22
|
+
changed since `0.2.0`. Reach out and I'll help you migrate.
|
|
23
|
+
|
|
24
|
+
**Migrating from an internal build**
|
|
25
|
+
- **Cheaper commits, and a breaking on-disk format (schema v3).** A write now
|
|
26
|
+
costs 2 Class-A PUTs instead of 3 — appending the numbered `log/<seq>` entry
|
|
27
|
+
_is_ the commit, so there is no separate `current.json` write. `current.json`
|
|
28
|
+
becomes compactor-owned compaction state (`next_seq` → `tail_hint`,
|
|
29
|
+
`+mean_entry_bytes`, `−tail_bytes`), and readers discover the true tail by
|
|
30
|
+
forward-probe. **Buckets written under schema v2 are rejected with no
|
|
31
|
+
migration path** — re-create the bucket (or `admin dump` on a v2 build →
|
|
32
|
+
`admin restore` on this one). See ADR-008.
|
|
33
|
+
- **`Db.transaction` removed — the document is the atomic unit.** Single-document
|
|
34
|
+
writes are each atomic; there is no batch. Replace
|
|
35
|
+
`db.transaction(name, tx => { tx.update(a); tx.update(b) })` with individual
|
|
36
|
+
`db.collection(name).update(...)` calls. The both-or-neither guarantee is
|
|
37
|
+
gone; model a single document as your consistency boundary. Re-adding
|
|
38
|
+
transactions later is additive (ADR-002).
|
|
39
|
+
- **Tighter key-segment validation.** One shared rule validates every
|
|
40
|
+
caller-controlled segment (`_id`, `collection`, `app`, `tenant`), rejecting
|
|
41
|
+
empty / `/` / `.` / `..` / control chars / reserved leading `_` / over-length
|
|
42
|
+
as `InvalidConfig`. The per-segment byte cap drops 1024 → 256 (an existing
|
|
43
|
+
`_id` of 257–1024 bytes can no longer be read-modified), and over-long
|
|
44
|
+
assembled keys now fail early as `InvalidConfig` instead of an opaque provider
|
|
45
|
+
`KeyTooLong`. HTTP (`/v1/since`) and the `baerly admin` CLI route through the
|
|
46
|
+
same rule.
|
|
47
|
+
|
|
48
|
+
**Fixed**
|
|
49
|
+
- **The change feed no longer dies after 1024 writes to a collection.** The
|
|
50
|
+
`/v1/since` cursor's sequence segment was 10-bit (`0..1023`); the 1025th write
|
|
51
|
+
produced an invalid cursor the server then rejected with a `400`, permanently
|
|
52
|
+
killing the feed. It is now 53-bit from a single source of truth.
|
|
53
|
+
- **Concurrent create-if-absent has exactly one winner.** `LocalFsStorage` now
|
|
54
|
+
uses an atomic `link(2)` exclusive create (was a TOCTOU read-then-write that
|
|
55
|
+
could admit two winners and split-brain the commit path), and
|
|
56
|
+
`baerly doctor --bucket` gains an `ifNoneMatch-concurrent` linearizability
|
|
57
|
+
check. The property is asserted for every shipped adapter by the conformance
|
|
58
|
+
suite.
|
|
59
|
+
- **Adapter error contract + CVE floor.** Terminal socket failures from
|
|
60
|
+
`S3HttpStorage` now surface as `BaerlyError{code:"NetworkError"}` instead of
|
|
61
|
+
raw `fetch` throws; the `fast-xml-parser` floor is raised past the disclosed
|
|
62
|
+
entity/numeric-reference advisories (bundle byte-neutral); and
|
|
63
|
+
schema-mismatch errors now name the required version and prescribe recovery.
|
|
64
|
+
- **GC stays bounded under backlog and concurrency.** The live-content-hash
|
|
65
|
+
scan now walks the log in bounded chunks (was an unbounded `Promise.all` that
|
|
66
|
+
could exceed Cloudflare's subrequest cap on a backlogged tail), and
|
|
67
|
+
`gc/pending.json` is merged under CAS with bounded retry so a concurrent GC
|
|
68
|
+
pass can no longer silently lose candidate marks.
|
|
69
|
+
- **Scaffolded Node + Docker apps boot.** The `--with=docker --target=node`
|
|
70
|
+
template now copies `baerly.config.ts` into the runtime image (the server
|
|
71
|
+
entrypoint imports it), so the container no longer crashes on an
|
|
72
|
+
unresolved-import error at startup.
|
|
73
|
+
|
|
74
|
+
## 0.2.0
|
|
75
|
+
|
|
76
|
+
### Minor Changes
|
|
77
|
+
|
|
78
|
+
- React hooks are now bound to your config via the `createBaerlyReact` factory.
|
|
79
|
+
|
|
80
|
+
**Migration — agents: if you wrote the LEFT, use the RIGHT:**
|
|
81
|
+
|
|
82
|
+
```ts
|
|
83
|
+
// before — loose hook exports (removed)
|
|
84
|
+
import {
|
|
85
|
+
BaerlyProvider,
|
|
86
|
+
useQuery,
|
|
87
|
+
useMutation,
|
|
88
|
+
useBaerlyClient,
|
|
89
|
+
} from "@gusto/baerly-storage/client/react";
|
|
90
|
+
|
|
91
|
+
// after — factory bound to your defineConfig collections
|
|
92
|
+
import { createBaerlyReact } from "@gusto/baerly-storage/client/react";
|
|
93
|
+
const { Provider, useQuery, useMutation, useClient } = createBaerlyReact<typeof config>();
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
The loose exports no longer exist; obtain the hooks from the factory so
|
|
97
|
+
they are typed against your config. See ADR-002 (additive-only surface
|
|
98
|
+
lock).
|
|
99
|
+
|
|
100
|
+
## 0.1.2
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- In-band maintenance landed: compaction + GC run opportunistically on the
|
|
105
|
+
write path (reads never tick), gated so idle buckets pay zero. No operator
|
|
106
|
+
cron or sidecar required.
|
|
107
|
+
- **`LogEntry` wire shape tightened** (affects `baerly export` / log
|
|
108
|
+
consumers): `new` → `after`, `old` → `before`; `op` narrowed to
|
|
109
|
+
`"I" | "U" | "D"`; `patch` and `schema_version` removed; `doc_id` is now
|
|
110
|
+
required.
|
|
111
|
+
- Leading-underscore names are reserved for collections and indexes (one
|
|
112
|
+
`InvalidConfig` contract). A config using a `_`-prefixed collection name is
|
|
113
|
+
rejected.
|
|
114
|
+
- `adapter-node` parses S3 `<Error>` response bodies and guards against
|
|
115
|
+
`Invalid Date`.
|
|
116
|
+
- `baerly doctor --bucket <uri>` performs a live CAS probe.
|
|
117
|
+
|
|
118
|
+
## 0.1.1
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- Internal tooling only: `pnpm dev:storage` ports are parameterised so two
|
|
123
|
+
worktrees can run stacks side by side; added a package-layer DAG lint. No
|
|
124
|
+
public API changes.
|
|
125
|
+
|
|
126
|
+
## 0.1.0
|
|
127
|
+
|
|
128
|
+
### Minor Changes
|
|
129
|
+
|
|
130
|
+
- Initial release of `@gusto/baerly-storage` — a vendorless document
|
|
131
|
+
database over any S3-compatible bucket. Public surface: `Db.create()`,
|
|
132
|
+
`db.collection(...)` with the eight-verb / three-modifier / six-operator
|
|
133
|
+
query API, `defineConfig`, `createBaerlyClient`, the Cloudflare Workers and
|
|
134
|
+
self-hosted Node adapters, and the `baerly` CLI. See `dist/API.md` for the
|
|
135
|
+
full surface.
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
_Maintained by [Changesets](https://github.com/changesets/changesets); entries
|
|
140
|
+
at and below `0.2.0` were backfilled by hand from the git history. This file
|
|
141
|
+
ships in the published package at `dist/CHANGELOG.md` so an agent that expected
|
|
142
|
+
an older API can recover the current call. The `.d.ts` types are the canonical
|
|
143
|
+
authority — if this file and the types disagree, the types win. (The footer sits
|
|
144
|
+
below all versions because Changesets prepends new releases under the H1.)_
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
THIRD-PARTY SOFTWARE LICENSES
|
|
2
|
+
|
|
3
|
+
The @gusto/baerly-storage published package bundles (inlines) the
|
|
4
|
+
third-party libraries listed below into its `dist/` output. Their
|
|
5
|
+
licenses require their copyright and permission notices to travel with
|
|
6
|
+
any copy of their code. The verbatim notices follow.
|
|
7
|
+
|
|
8
|
+
This file is generated at build time from each dependency's own LICENSE
|
|
9
|
+
file and is not hand-maintained.
|
|
10
|
+
|
|
11
|
+
==============================================================================
|
|
12
|
+
@hono/node-server@2.0.4
|
|
13
|
+
License: MIT
|
|
14
|
+
Repository: git+https://github.com/honojs/node-server.git
|
|
15
|
+
|
|
16
|
+
MIT License
|
|
17
|
+
|
|
18
|
+
Copyright (c) 2022 - present, Yusuke Wada and Hono contributors
|
|
19
|
+
|
|
20
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
21
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
22
|
+
in the Software without restriction, including without limitation the rights
|
|
23
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
24
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
25
|
+
furnished to do so, subject to the following conditions:
|
|
26
|
+
|
|
27
|
+
The above copyright notice and this permission notice shall be included in all
|
|
28
|
+
copies or substantial portions of the Software.
|
|
29
|
+
|
|
30
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
31
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
32
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
33
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
34
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
35
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
36
|
+
SOFTWARE.
|
|
37
|
+
|
|
38
|
+
==============================================================================
|
|
39
|
+
@logtape/logtape@2.1.3
|
|
40
|
+
License: MIT
|
|
41
|
+
Repository: git+https://github.com/dahlia/logtape.git
|
|
42
|
+
|
|
43
|
+
MIT License
|
|
44
|
+
|
|
45
|
+
Copyright 2024–2025 Hong Minhee
|
|
46
|
+
|
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
48
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
49
|
+
the Software without restriction, including without limitation the rights to
|
|
50
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
51
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
52
|
+
subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
The above copyright notice and this permission notice shall be included in all
|
|
55
|
+
copies or substantial portions of the Software.
|
|
56
|
+
|
|
57
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
58
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
59
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
60
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
61
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
62
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
63
|
+
|
|
64
|
+
==============================================================================
|
|
65
|
+
@nodable/entities@2.1.0
|
|
66
|
+
License: MIT
|
|
67
|
+
Repository: git+https://github.com/nodable/val-parsers.git
|
|
68
|
+
|
|
69
|
+
(no license text found in package)
|
|
70
|
+
|
|
71
|
+
==============================================================================
|
|
72
|
+
aws4fetch@1.0.20
|
|
73
|
+
License: MIT
|
|
74
|
+
Repository: git+https://github.com/mhart/aws4fetch.git
|
|
75
|
+
|
|
76
|
+
Copyright 2018 Michael Hart (michael.hart.au@gmail.com)
|
|
77
|
+
|
|
78
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
79
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
80
|
+
the Software without restriction, including without limitation the rights to
|
|
81
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
82
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
83
|
+
so, subject to the following conditions:
|
|
84
|
+
|
|
85
|
+
The above copyright notice and this permission notice shall be included in all
|
|
86
|
+
copies or substantial portions of the Software.
|
|
87
|
+
|
|
88
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
89
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
90
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
91
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
92
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
93
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
94
|
+
SOFTWARE.
|
|
95
|
+
|
|
96
|
+
==============================================================================
|
|
97
|
+
citty@0.2.2
|
|
98
|
+
License: MIT
|
|
99
|
+
Repository: unjs/citty
|
|
100
|
+
|
|
101
|
+
MIT License
|
|
102
|
+
|
|
103
|
+
Copyright (c) Pooya Parsa <pooya@pi0.io>
|
|
104
|
+
|
|
105
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
106
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
107
|
+
in the Software without restriction, including without limitation the rights
|
|
108
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
109
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
110
|
+
furnished to do so, subject to the following conditions:
|
|
111
|
+
|
|
112
|
+
The above copyright notice and this permission notice shall be included in all
|
|
113
|
+
copies or substantial portions of the Software.
|
|
114
|
+
|
|
115
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
116
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
117
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
118
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
119
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
120
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
121
|
+
SOFTWARE.
|
|
122
|
+
|
|
123
|
+
==============================================================================
|
|
124
|
+
fast-xml-parser@5.8.0
|
|
125
|
+
License: MIT
|
|
126
|
+
Repository: git+https://github.com/NaturalIntelligence/fast-xml-parser.git
|
|
127
|
+
|
|
128
|
+
MIT License
|
|
129
|
+
|
|
130
|
+
Copyright (c) 2017 Amit Kumar Gupta
|
|
131
|
+
|
|
132
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
133
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
134
|
+
in the Software without restriction, including without limitation the rights
|
|
135
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
136
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
137
|
+
furnished to do so, subject to the following conditions:
|
|
138
|
+
|
|
139
|
+
The above copyright notice and this permission notice shall be included in all
|
|
140
|
+
copies or substantial portions of the Software.
|
|
141
|
+
|
|
142
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
143
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
144
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
145
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
146
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
147
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
148
|
+
SOFTWARE.
|
|
149
|
+
|
|
150
|
+
==============================================================================
|
|
151
|
+
hono@4.12.25
|
|
152
|
+
License: MIT
|
|
153
|
+
Repository: git+https://github.com/honojs/hono.git
|
|
154
|
+
|
|
155
|
+
MIT License
|
|
156
|
+
|
|
157
|
+
Copyright (c) 2021 - present, Yusuke Wada and Hono contributors
|
|
158
|
+
|
|
159
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
160
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
161
|
+
in the Software without restriction, including without limitation the rights
|
|
162
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
163
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
164
|
+
furnished to do so, subject to the following conditions:
|
|
165
|
+
|
|
166
|
+
The above copyright notice and this permission notice shall be included in all
|
|
167
|
+
copies or substantial portions of the Software.
|
|
168
|
+
|
|
169
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
170
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
171
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
172
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
173
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
174
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
175
|
+
SOFTWARE.
|
|
176
|
+
|
|
177
|
+
==============================================================================
|
|
178
|
+
jose@6.2.3
|
|
179
|
+
License: MIT
|
|
180
|
+
Repository: panva/jose
|
|
181
|
+
|
|
182
|
+
The MIT License (MIT)
|
|
183
|
+
|
|
184
|
+
Copyright (c) 2018 Filip Skokan
|
|
185
|
+
|
|
186
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
187
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
188
|
+
in the Software without restriction, including without limitation the rights
|
|
189
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
190
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
191
|
+
furnished to do so, subject to the following conditions:
|
|
192
|
+
|
|
193
|
+
The above copyright notice and this permission notice shall be included in all
|
|
194
|
+
copies or substantial portions of the Software.
|
|
195
|
+
|
|
196
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
197
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
198
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
199
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
200
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
201
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
202
|
+
SOFTWARE.
|
|
203
|
+
|
|
204
|
+
==============================================================================
|
|
205
|
+
jsonc-parser@3.3.1
|
|
206
|
+
License: MIT
|
|
207
|
+
Repository: https://github.com/microsoft/node-jsonc-parser
|
|
208
|
+
|
|
209
|
+
The MIT License (MIT)
|
|
210
|
+
|
|
211
|
+
Copyright (c) Microsoft
|
|
212
|
+
|
|
213
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
214
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
215
|
+
in the Software without restriction, including without limitation the rights
|
|
216
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
217
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
218
|
+
furnished to do so, subject to the following conditions:
|
|
219
|
+
|
|
220
|
+
The above copyright notice and this permission notice shall be included in all
|
|
221
|
+
copies or substantial portions of the Software.
|
|
222
|
+
|
|
223
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
224
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
225
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
226
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
227
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
228
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
229
|
+
SOFTWARE.
|
|
230
|
+
|
|
231
|
+
==============================================================================
|
|
232
|
+
path-expression-matcher@1.5.0
|
|
233
|
+
License: MIT
|
|
234
|
+
Repository: https://github.com/NaturalIntelligence/path-expression-matcher
|
|
235
|
+
|
|
236
|
+
MIT License
|
|
237
|
+
|
|
238
|
+
Copyright (c) 2024
|
|
239
|
+
|
|
240
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
241
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
242
|
+
in the Software without restriction, including without limitation the rights
|
|
243
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
244
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
245
|
+
furnished to do so, subject to the following conditions:
|
|
246
|
+
|
|
247
|
+
The above copyright notice and this permission notice shall be included in all
|
|
248
|
+
copies or substantial portions of the Software.
|
|
249
|
+
|
|
250
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
251
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
252
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
253
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
254
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
255
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
256
|
+
SOFTWARE.
|
|
257
|
+
|
|
258
|
+
==============================================================================
|
|
259
|
+
picocolors@1.1.1
|
|
260
|
+
License: ISC
|
|
261
|
+
Repository: alexeyraspopov/picocolors
|
|
262
|
+
|
|
263
|
+
ISC License
|
|
264
|
+
|
|
265
|
+
Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
|
|
266
|
+
|
|
267
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
268
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
269
|
+
copyright notice and this permission notice appear in all copies.
|
|
270
|
+
|
|
271
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
272
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
273
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
274
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
275
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
276
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
277
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
278
|
+
|
|
279
|
+
==============================================================================
|
|
280
|
+
strnum@2.3.0
|
|
281
|
+
License: MIT
|
|
282
|
+
Repository: https://github.com/NaturalIntelligence/strnum
|
|
283
|
+
|
|
284
|
+
MIT License
|
|
285
|
+
|
|
286
|
+
Copyright (c) 2021 Natural Intelligence
|
|
287
|
+
|
|
288
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
289
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
290
|
+
in the Software without restriction, including without limitation the rights
|
|
291
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
292
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
293
|
+
furnished to do so, subject to the following conditions:
|
|
294
|
+
|
|
295
|
+
The above copyright notice and this permission notice shall be included in all
|
|
296
|
+
copies or substantial portions of the Software.
|
|
297
|
+
|
|
298
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
299
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
300
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
301
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
302
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
303
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
304
|
+
SOFTWARE.
|
|
305
|
+
|
|
306
|
+
==============================================================================
|
|
307
|
+
xml-naming@0.1.0
|
|
308
|
+
License: MIT
|
|
309
|
+
Repository: https://github.com/NaturalIntelligence/xml-naming
|
|
310
|
+
|
|
311
|
+
(no license text found in package)
|
|
312
|
+
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
//#region packages/protocol/src/constants.d.ts
|
|
2
|
+
type MaintenanceProfileShape = Readonly<{
|
|
3
|
+
gcInterval: number;
|
|
4
|
+
gcMaxMarks: number;
|
|
5
|
+
gcMaxSweeps: number;
|
|
6
|
+
maxFoldEntriesPerPass: number;
|
|
7
|
+
maxFoldBytes: number;
|
|
8
|
+
maxFoldRows: number;
|
|
9
|
+
}>;
|
|
10
|
+
/** CF-free profile; the absent-context default. */
|
|
11
|
+
declare const MAINTENANCE_PROFILE_CF_FREE: MaintenanceProfileShape;
|
|
12
|
+
/** Node profile; 10× CF-free caps. */
|
|
13
|
+
declare const MAINTENANCE_PROFILE_NODE: MaintenanceProfileShape;
|
|
2
14
|
/**
|
|
3
15
|
* Canonical auth posture identifiers consumed by `BaerlyAppConfig.auth`,
|
|
4
16
|
* the adapter resolution path (`packages/adapter-cloudflare/src/worker.ts`,
|
|
@@ -485,5 +497,5 @@ type RowOf<C extends BaerlyConfig, N extends CollectionNames<C>> = C extends {
|
|
|
485
497
|
readonly schema: infer S;
|
|
486
498
|
} ? S extends SchemaValidator<unknown, infer Out> ? Out : Record<string, unknown> : Record<string, unknown> : Record<string, unknown> : Record<string, unknown>;
|
|
487
499
|
//#endregion
|
|
488
|
-
export { CollectionNames as a, defineConfig as c, IndexDefinition as d, DocumentData as f, CollectionDefinition as i, SchemaIssue as l, JSONValue as m, BaerlyAppConfig as n, RowOf as o, DocumentValue as p, BaerlyConfig as r, UnboundConfig as s, AuthConfig as t, SchemaValidator as u };
|
|
489
|
-
//# sourceMappingURL=app-config-
|
|
500
|
+
export { CollectionNames as a, defineConfig as c, IndexDefinition as d, DocumentData as f, MAINTENANCE_PROFILE_NODE as g, MAINTENANCE_PROFILE_CF_FREE as h, CollectionDefinition as i, SchemaIssue as l, JSONValue as m, BaerlyAppConfig as n, RowOf as o, DocumentValue as p, BaerlyConfig as r, UnboundConfig as s, AuthConfig as t, SchemaValidator as u };
|
|
501
|
+
//# sourceMappingURL=app-config-BIzyAKzy.d.ts.map
|
package/dist/app-config.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CollectionNames, c as defineConfig, f as DocumentData, i as CollectionDefinition, n as BaerlyAppConfig, o as RowOf, p as DocumentValue, r as BaerlyConfig, s as UnboundConfig, t as AuthConfig } from "./app-config-
|
|
1
|
+
import { a as CollectionNames, c as defineConfig, f as DocumentData, i as CollectionDefinition, n as BaerlyAppConfig, o as RowOf, p as DocumentValue, r as BaerlyConfig, s as UnboundConfig, t as AuthConfig } from "./app-config-BIzyAKzy.js";
|
|
2
2
|
export { AuthConfig, BaerlyAppConfig, BaerlyConfig, CollectionDefinition, CollectionNames, type DocumentData, type DocumentValue, RowOf, UnboundConfig, defineConfig };
|
package/dist/auth.d.ts
CHANGED