@beechcms/client 0.8.0 → 0.9.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/browser/client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAA+B,MAAM,aAAa,CAAA;AAIrG,wBAAgB,wBAAwB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1E,MAAM,EAAE,iBAAiB,GACxB,kBAAkB,CAAC,SAAS,CAAC,CAoB/B;AAED,yCAAyC;AACzC,eAAO,MAAM,iBAAiB,iCAA2B,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/browser/client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAA0E,MAAM,aAAa,CAAA;AAahJ,wBAAgB,wBAAwB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1E,MAAM,EAAE,iBAAiB,GACxB,kBAAkB,CAAC,SAAS,CAAC,CAqC/B;AAED,yCAAyC;AACzC,eAAO,MAAM,iBAAiB,iCAA2B,CAAA"}
@@ -1,22 +1,49 @@
1
1
  // SPDX-License-Identifier: MIT
2
2
  // Copyright (c) 2024–2026 Flavio De Musso
3
- import { buildSearchParams } from '../query-builder.js';
3
+ import { SCHEMA_FINGERPRINT } from '../types.js';
4
+ import { FluentQueryBuilder, buildSearchParams } from '../query-builder.js';
4
5
  import { request, validateClientConfig } from '../http.js';
6
+ function verifySchemaFingerprint(res) {
7
+ const revision = res.headers?.get('X-Schema-Revision');
8
+ if (SCHEMA_FINGERPRINT && revision && revision !== SCHEMA_FINGERPRINT) {
9
+ return { data: null, error: { type: 'schema_drift', title: 'Stale Types', status: 409, detail: 'Client types stale, regenerate with `beech types generate`' } };
10
+ }
11
+ return res;
12
+ }
5
13
  export function createBeechBrowserClient(config) {
6
14
  validateClientConfig(config);
7
15
  return {
8
- content(seed) {
16
+ collection(seed) {
9
17
  const enc = encodeURIComponent(seed);
10
- return {
11
- list: (q, options) => request(config, 'GET', `/${enc}`, {
12
- params: buildSearchParams(q),
13
- options,
14
- }),
15
- get: (sel, options) => {
16
- const p = new URLSearchParams('id' in sel ? { id: sel.id } : { slug: sel.slug });
17
- return request(config, 'GET', `/${enc}`, { params: p, options });
18
+ const executor = {
19
+ list: async (q, options) => {
20
+ const res = await request(config, 'GET', `/${enc}`, {
21
+ params: buildSearchParams(q),
22
+ options,
23
+ });
24
+ const checked = verifySchemaFingerprint(res);
25
+ if (options?.validate && !checked.error) {
26
+ // stub zod parsing/validation logic
27
+ }
28
+ return checked;
18
29
  },
30
+ first: async (q, options) => {
31
+ // to get first, we can just limit to 1
32
+ const qFirst = { ...q, limit: 1 };
33
+ const res = await request(config, 'GET', `/${enc}`, {
34
+ params: buildSearchParams(qFirst),
35
+ options,
36
+ });
37
+ const checked = verifySchemaFingerprint(res);
38
+ if (checked.error)
39
+ return checked;
40
+ const singleData = checked.data.data[0];
41
+ if (!singleData)
42
+ return { data: null, error: { type: 'not_found', title: 'Not Found', status: 404, detail: 'No result' } };
43
+ return { data: { data: singleData, meta: { seed: seed } }, error: null };
44
+ }
19
45
  };
46
+ return new FluentQueryBuilder(executor);
20
47
  },
21
48
  };
22
49
  }
package/dist/http.js CHANGED
@@ -41,9 +41,9 @@ export async function request(cfg, method, path, opts = {}) {
41
41
  const ct = res.headers.get('Content-Type') ?? '';
42
42
  const payload = ct.includes('json') ? await res.json().catch(() => null) : null;
43
43
  if (!res.ok) {
44
- return { data: null, error: normalizeProblem(res.status, payload, res.statusText) };
44
+ return { data: null, error: normalizeProblem(res.status, payload, res.statusText), headers: res.headers };
45
45
  }
46
- return { data: payload, error: null };
46
+ return { data: payload, error: null, headers: res.headers };
47
47
  }
48
48
  function networkProblem(e) {
49
49
  return {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export { buildSearchParams } from './query-builder.js';
2
- export type { BeechClientConfig, RequestOptions, BeechResult, BeechProblem, BeechFilterOperator, FieldFilter, ListQuery, ListMeta, Listable, Single, BrowserContentResource, BeechBrowserClient, ServerContentResource, BeechServerClient, } from './types.js';
2
+ export type { BeechClientConfig, RequestOptions, BeechResult, BeechProblem, BeechFilterOperator, FieldFilter, ListQuery, ListMeta, Listable, Single, BrowserContentResource, BeechBrowserClient, ServerContentResource, BeechServerClient, FluentQuery, RelationSubquery, } from './types.js';
3
3
  export { BEECH_SIGNATURE_HEADER, WebhookVerificationError, verifyBeechWebhookSignature, constructWebhookEvent, } from './webhooks/index.js';
4
4
  export type { VerifyWebhookSignatureOptions, ConstructWebhookEventOptions, } from './webhooks/index.js';
5
+ export { media, mediaSrcSet } from './media/index.js';
6
+ export type { MediaFormat, MediaQuality, MediaScalePreset, MediaOptions, MediaUrlOptions } from './media/index.js';
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,YAAY,EACV,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,YAAY,CAAA;AAEnB,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,YAAY,EACV,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,gBAAgB,GACjB,MAAM,YAAY,CAAA;AAEnB,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACrD,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA"}
package/dist/index.js CHANGED
@@ -2,3 +2,4 @@
2
2
  // Copyright (c) 2024–2026 Flavio De Musso
3
3
  export { buildSearchParams } from './query-builder.js';
4
4
  export { BEECH_SIGNATURE_HEADER, WebhookVerificationError, verifyBeechWebhookSignature, constructWebhookEvent, } from './webhooks/index.js';
5
+ export { media, mediaSrcSet } from './media/index.js';
@@ -15,7 +15,7 @@ function resolveMediaPath(keyOrUrl, baseUrl) {
15
15
  if (!bare)
16
16
  throw new TypeError('media(): keyOrUrl is empty');
17
17
  if (/^https?:\/\//i.test(bare) || bare.startsWith('/')) {
18
- if (!bare.includes(MEDIA_PATH)) {
18
+ if (!new URL(bare, 'http://placeholder.invalid').pathname.startsWith(MEDIA_PATH)) {
19
19
  throw new TypeError(`media(): "${keyOrUrl}" is not a ${MEDIA_PATH} URL; only the BeechCMS media route transforms images`);
20
20
  }
21
21
  return bare;
@@ -1,4 +1,30 @@
1
- import type { ListQuery } from './types.js';
1
+ import type { ListQuery, FluentQuery, FieldFilter, RequestOptions, BeechResult, Single, Listable, RelationSubquery } from './types.js';
2
+ export type QueryExecutor<TRow> = {
3
+ first(query: ListQuery<TRow>, options?: RequestOptions): Promise<BeechResult<Single<TRow>>>;
4
+ list(query: ListQuery<TRow>, options?: RequestOptions & {
5
+ validate?: boolean;
6
+ }): Promise<BeechResult<Listable<TRow>>>;
7
+ };
8
+ export declare class FluentQueryBuilder<TRow> implements FluentQuery<TRow> {
9
+ private executor;
10
+ private query;
11
+ constructor(executor: QueryExecutor<TRow>);
12
+ where(filter: Record<string, FieldFilter>): this;
13
+ include(relations: string[]): this;
14
+ select(fields: Extract<keyof TRow, string>[]): this;
15
+ whereRelation(alias: Extract<keyof TRow, string>, subquery: RelationSubquery): this;
16
+ logic(operator: 'AND' | 'OR'): this;
17
+ orderBy(field: Extract<keyof TRow, string>, direction?: 'asc' | 'desc'): this;
18
+ search(term: string): this;
19
+ limit(count: number): this;
20
+ page(number: number): this;
21
+ lang(code: string): this;
22
+ first(options?: RequestOptions): Promise<BeechResult<Single<TRow>>>;
23
+ list(options?: RequestOptions & {
24
+ validate?: boolean;
25
+ }): Promise<BeechResult<Listable<TRow>>>;
26
+ build(): URLSearchParams;
27
+ }
2
28
  /** { status:'published', price:{ gt:10 } } → { where:[{field,op,value}], logic } */
3
29
  export declare function buildSearchParams(query?: ListQuery<Record<string, unknown>>): URLSearchParams;
4
30
  //# sourceMappingURL=query-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-builder.d.ts","sourceRoot":"","sources":["../src/query-builder.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAuB,SAAS,EAAE,MAAM,YAAY,CAAA;AAOhE,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,KAAK,GAAE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM,GAAG,eAAe,CAiCjG"}
1
+ {"version":3,"file":"query-builder.d.ts","sourceRoot":"","sources":["../src/query-builder.ts"],"names":[],"mappings":"AAGA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MAAM,CAAC,EAAE,SAAS,GAAE,KAAK,GAAG,MAAe,GAAG,IAAI,CAGpF;IAED,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAGzB;IAED,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAGzB;IAED,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAGzB;IAED,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAGvB;IAED,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAElE;IAED,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAE5F;IAED,KAAK,IAAI,eAAe,CAEvB;CACF;AAqBD,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,KAAK,GAAE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM,GAAG,eAAe,CA8BjG"}
@@ -4,27 +4,158 @@ const OPERATORS = new Set([
4
4
  'eq', 'neq', 'gt', 'gte', 'lt', 'lte', 'contains', 'not_contains', 'starts_with',
5
5
  'ends_with', 'is_empty', 'is_not_empty', 'in', 'not_in', 'has_tag', 'has_any_tag', 'has_all_tags',
6
6
  ]);
7
- /** { status:'published', price:{ gt:10 } } → { where:[{field,op,value}], logic } */
8
- export function buildSearchParams(query = {}) {
9
- const params = new URLSearchParams();
10
- if (query.filter) {
11
- const where = [];
12
- for (const [field, raw] of Object.entries(query.filter)) {
13
- if (raw !== null && typeof raw === 'object' && !Array.isArray(raw)) {
14
- for (const [op, value] of Object.entries(raw)) {
15
- if (!OPERATORS.has(op)) {
16
- throw new TypeError(`Invalid filter operator '${op}' on field '${field}'`);
17
- }
18
- where.push({ field, op: op, value });
19
- }
7
+ function areFilterValuesEqual(a, b) {
8
+ if (Object.is(a, b))
9
+ return true;
10
+ if (typeof a !== 'object' || a === null || typeof b !== 'object' || b === null) {
11
+ return false;
12
+ }
13
+ if (Array.isArray(a) || Array.isArray(b)) {
14
+ if (!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length)
15
+ return false;
16
+ for (let i = 0; i < a.length; i++) {
17
+ if (!areFilterValuesEqual(a[i], b[i]))
18
+ return false;
19
+ }
20
+ return true;
21
+ }
22
+ const aKeys = Object.keys(a);
23
+ const bKeys = Object.keys(b);
24
+ if (aKeys.length !== bKeys.length)
25
+ return false;
26
+ for (const key of aKeys) {
27
+ if (!Object.hasOwn(b, key) || !areFilterValuesEqual(a[key], b[key])) {
28
+ return false;
29
+ }
30
+ }
31
+ return true;
32
+ }
33
+ function toOperatorRecord(filter) {
34
+ if (filter !== null && typeof filter === 'object' && !Array.isArray(filter)) {
35
+ return { ...filter };
36
+ }
37
+ return { eq: filter };
38
+ }
39
+ function mergeFieldFilter(existing, incoming, field) {
40
+ const existingIsRecord = existing !== null && typeof existing === 'object' && !Array.isArray(existing);
41
+ const incomingIsRecord = incoming !== null && typeof incoming === 'object' && !Array.isArray(incoming);
42
+ if (!existingIsRecord && !incomingIsRecord) {
43
+ if (areFilterValuesEqual(existing, incoming)) {
44
+ return existing;
45
+ }
46
+ throw new Error(`Conflicting filter operator 'eq' on field '${field}' with different values`);
47
+ }
48
+ const merged = toOperatorRecord(existing);
49
+ const incomingRecord = toOperatorRecord(incoming);
50
+ for (const [op, value] of Object.entries(incomingRecord)) {
51
+ if (Object.hasOwn(merged, op)) {
52
+ if (!areFilterValuesEqual(merged[op], value)) {
53
+ throw new Error(`Conflicting filter operator '${op}' on field '${field}' with different values`);
54
+ }
55
+ }
56
+ else {
57
+ merged[op] = value;
58
+ }
59
+ }
60
+ return merged;
61
+ }
62
+ export class FluentQueryBuilder {
63
+ executor;
64
+ query = {};
65
+ constructor(executor) {
66
+ this.executor = executor;
67
+ }
68
+ where(filter) {
69
+ const current = { ...(this.query.filter ?? {}) };
70
+ for (const [field, incoming] of Object.entries(filter)) {
71
+ if (Object.hasOwn(current, field) && current[field] !== undefined) {
72
+ current[field] = mergeFieldFilter(current[field], incoming, field);
20
73
  }
21
74
  else {
22
- where.push({ field, op: 'eq', value: raw });
75
+ current[field] = incoming;
23
76
  }
24
77
  }
25
- if (where.length) {
26
- params.set('filter', JSON.stringify({ logic: query.logic ?? 'AND', where }));
78
+ this.query.filter = current;
79
+ return this;
80
+ }
81
+ include(relations) {
82
+ this.query.include = relations;
83
+ return this;
84
+ }
85
+ select(fields) {
86
+ this.query.fields = fields;
87
+ return this;
88
+ }
89
+ whereRelation(alias, subquery) {
90
+ this.query.relationFilters = { ...this.query.relationFilters, [alias]: subquery };
91
+ return this;
92
+ }
93
+ logic(operator) {
94
+ this.query.logic = operator;
95
+ return this;
96
+ }
97
+ // The wire contract carries a single orderBy/orderDir pair, so a second call replaces
98
+ // the first rather than accumulating a sort list the server would discard.
99
+ orderBy(field, direction = 'desc') {
100
+ this.query.sort = { [field]: direction };
101
+ return this;
102
+ }
103
+ search(term) {
104
+ this.query.search = term;
105
+ return this;
106
+ }
107
+ limit(count) {
108
+ this.query.limit = count;
109
+ return this;
110
+ }
111
+ page(number) {
112
+ this.query.page = number;
113
+ return this;
114
+ }
115
+ lang(code) {
116
+ this.query.lang = code;
117
+ return this;
118
+ }
119
+ first(options) {
120
+ return this.executor.first(this.query, options);
121
+ }
122
+ list(options) {
123
+ return this.executor.list(this.query, options);
124
+ }
125
+ build() {
126
+ return buildSearchParams(this.query);
127
+ }
128
+ }
129
+ function toWireConditions(filter) {
130
+ const where = [];
131
+ for (const [field, raw] of Object.entries(filter)) {
132
+ if (raw !== null && typeof raw === 'object' && !Array.isArray(raw)) {
133
+ for (const [op, value] of Object.entries(raw)) {
134
+ if (!OPERATORS.has(op)) {
135
+ throw new TypeError(`Invalid filter operator '${op}' on field '${field}'`);
136
+ }
137
+ where.push({ field, op: op, value });
138
+ }
27
139
  }
140
+ else {
141
+ where.push({ field, op: 'eq', value: raw });
142
+ }
143
+ }
144
+ return where;
145
+ }
146
+ /** { status:'published', price:{ gt:10 } } → { where:[{field,op,value}], logic } */
147
+ export function buildSearchParams(query = {}) {
148
+ const params = new URLSearchParams();
149
+ const where = query.filter ? toWireConditions(query.filter) : [];
150
+ for (const [alias, subquery] of Object.entries(query.relationFilters ?? {})) {
151
+ where.push({
152
+ field: alias,
153
+ op: 'in',
154
+ value: { logic: subquery.logic ?? 'AND', where: toWireConditions(subquery.where) },
155
+ });
156
+ }
157
+ if (where.length) {
158
+ params.set('filter', JSON.stringify({ logic: query.logic ?? 'AND', where }));
28
159
  }
29
160
  if (query.sort) {
30
161
  const [col, dir] = Object.entries(query.sort)[0] ?? [];
@@ -37,11 +168,15 @@ export function buildSearchParams(query = {}) {
37
168
  params.set('search', query.search);
38
169
  if (query.fields?.length)
39
170
  params.set('fields', query.fields.join(','));
171
+ if (query.include?.length)
172
+ params.set('include', query.include.join(','));
40
173
  if (typeof query.latest === 'number')
41
174
  params.set('latest', String(query.latest));
42
175
  if (typeof query.page === 'number')
43
176
  params.set('page', String(query.page));
44
177
  if (typeof query.limit === 'number')
45
178
  params.set('limit', String(Math.min(query.limit, 100)));
179
+ if (query.lang)
180
+ params.set('lang', query.lang);
46
181
  return params;
47
182
  }
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/server/client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAe,iBAAiB,EAA+B,MAAM,aAAa,CAAA;AAsCjH,wBAAgB,uBAAuB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzE,MAAM,EAAE,iBAAiB,GACxB,iBAAiB,CAAC,SAAS,CAAC,CA8B9B;AAED,wCAAwC;AACxC,eAAO,MAAM,iBAAiB,gCAA0B,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/server/client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAe,iBAAiB,EAA6D,MAAM,aAAa,CAAA;AA+C/I,wBAAgB,uBAAuB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzE,MAAM,EAAE,iBAAiB,GACxB,iBAAiB,CAAC,SAAS,CAAC,CAmD9B;AAED,wCAAwC;AACxC,eAAO,MAAM,iBAAiB,gCAA0B,CAAA"}
@@ -1,7 +1,15 @@
1
1
  // SPDX-License-Identifier: MIT
2
2
  // Copyright (c) 2024–2026 Flavio De Musso
3
- import { buildSearchParams } from '../query-builder.js';
3
+ import { SCHEMA_FINGERPRINT } from '../types.js';
4
+ import { FluentQueryBuilder, buildSearchParams } from '../query-builder.js';
4
5
  import { request, validateClientConfig } from '../http.js';
6
+ function verifySchemaFingerprint(res) {
7
+ const revision = res.headers?.get('X-Schema-Revision');
8
+ if (SCHEMA_FINGERPRINT && revision && revision !== SCHEMA_FINGERPRINT) {
9
+ return { data: null, error: { type: 'schema_drift', title: 'Stale Types', status: 409, detail: 'Client types stale, regenerate with `beech types generate`' } };
10
+ }
11
+ return res;
12
+ }
5
13
  function normalizeInput(input) {
6
14
  if (!input || typeof input !== 'object' || Array.isArray(input)) {
7
15
  return input;
@@ -37,28 +45,49 @@ function normalizeSingleResult(result, seed) {
37
45
  export function createBeechServerClient(config) {
38
46
  validateClientConfig(config);
39
47
  return {
40
- content(seed) {
48
+ collection(seed) {
41
49
  const enc = encodeURIComponent(seed);
42
- return {
43
- list: (q, options) => request(config, 'GET', `/${enc}`, {
44
- params: buildSearchParams(q),
45
- options,
46
- }),
47
- get: (sel, options) => {
48
- const p = new URLSearchParams('id' in sel ? { id: sel.id } : { slug: sel.slug });
49
- return request(config, 'GET', `/${enc}`, { params: p, options });
50
+ const executor = {
51
+ list: async (q, options) => {
52
+ const res = await request(config, 'GET', `/${enc}`, {
53
+ params: buildSearchParams(q),
54
+ options,
55
+ });
56
+ const checked = verifySchemaFingerprint(res);
57
+ if (options?.validate && !checked.error) {
58
+ // stub zod parsing/validation logic
59
+ }
60
+ return checked;
50
61
  },
62
+ first: async (q, options) => {
63
+ const qFirst = { ...q, limit: 1 };
64
+ const res = await request(config, 'GET', `/${enc}`, {
65
+ params: buildSearchParams(qFirst),
66
+ options,
67
+ });
68
+ const checked = verifySchemaFingerprint(res);
69
+ if (checked.error)
70
+ return checked;
71
+ const singleData = checked.data.data[0];
72
+ if (!singleData)
73
+ return { data: null, error: { type: 'not_found', title: 'Not Found', status: 404, detail: 'No result' } };
74
+ return { data: { data: singleData, meta: { seed: seed } }, error: null };
75
+ }
76
+ };
77
+ const builder = new FluentQueryBuilder(executor);
78
+ // Merge create/update methods into the returned object
79
+ return Object.assign(builder, {
51
80
  create: async (input, options) => {
52
81
  const body = normalizeInput(input);
53
82
  const res = await request(config, 'POST', `/${enc}/add`, { body, options });
54
- return normalizeSingleResult(res, seed);
83
+ return normalizeSingleResult(verifySchemaFingerprint(res), seed);
55
84
  },
56
85
  update: async (id, input, options) => {
57
86
  const body = normalizeInput(input);
58
87
  const res = await request(config, 'PUT', `/${enc}/edit/${encodeURIComponent(id)}`, { body, options });
59
- return normalizeSingleResult(res, seed);
88
+ return normalizeSingleResult(verifySchemaFingerprint(res), seed);
60
89
  },
61
- };
90
+ });
62
91
  },
63
92
  };
64
93
  }
package/dist/types.d.ts CHANGED
@@ -5,10 +5,12 @@ export interface BeechClientConfig {
5
5
  fetch?: typeof fetch;
6
6
  headers?: Record<string, string> | Headers;
7
7
  }
8
+ /** Mirrors the DOM `RequestCache` union without depending on the `dom` lib. */
9
+ export type FetchCacheMode = 'default' | 'no-store' | 'reload' | 'no-cache' | 'force-cache' | 'only-if-cached';
8
10
  export interface RequestOptions {
9
11
  headers?: Record<string, string> | Headers;
10
12
  signal?: AbortSignal | null;
11
- cache?: RequestCache;
13
+ cache?: FetchCacheMode;
12
14
  next?: {
13
15
  revalidate?: number | false;
14
16
  tags?: string[];
@@ -33,9 +35,11 @@ export interface BeechProblem {
33
35
  export type BeechResult<T> = {
34
36
  data: T;
35
37
  error: null;
38
+ headers?: Headers;
36
39
  } | {
37
40
  data: null;
38
41
  error: BeechProblem;
42
+ headers?: Headers;
39
43
  };
40
44
  export type Listable<TRow> = {
41
45
  data: TRow[];
@@ -49,6 +53,11 @@ export type Single<TRow> = {
49
53
  };
50
54
  /** Ergonomic per-field comparator object → compiled to {field,op,value} server-side. */
51
55
  export type FieldFilter = string | number | boolean | null | Partial<Record<BeechFilterOperator, unknown>>;
56
+ /** Inner query of a relation subquery filter: resolved server-side against the relation's target seed. */
57
+ export interface RelationSubquery {
58
+ where: Record<string, FieldFilter>;
59
+ logic?: 'AND' | 'OR';
60
+ }
52
61
  export interface ListQuery<TRow> {
53
62
  filter?: {
54
63
  [K in keyof TRow]?: FieldFilter;
@@ -57,9 +66,14 @@ export interface ListQuery<TRow> {
57
66
  sort?: Partial<Record<keyof TRow & string, 'asc' | 'desc'>>;
58
67
  search?: string;
59
68
  fields?: (keyof TRow & string)[];
69
+ include?: string[];
70
+ /** Relation alias → subquery. Encoded into the `filter` parameter as a nested `in` value. */
71
+ relationFilters?: Record<string, RelationSubquery>;
60
72
  page?: number;
61
73
  limit?: number;
62
74
  latest?: number;
75
+ /** Response language (`?lang`). The API falls back to Accept-Language, then the project default. */
76
+ lang?: string;
63
77
  }
64
78
  export interface ListMeta {
65
79
  total: number;
@@ -68,6 +82,12 @@ export interface ListMeta {
68
82
  returned: number;
69
83
  seed: string;
70
84
  }
85
+ /** Stub for the auto-generated registry types */
86
+ export interface SeedRegistryTypes {
87
+ [key: string]: Record<string, unknown>;
88
+ }
89
+ /** Stub for the auto-generated schema fingerprint */
90
+ export declare const SCHEMA_FINGERPRINT = "";
71
91
  /** Browser Client Content Resource: Strictly Read-Only (no create/update). */
72
92
  export interface BrowserContentResource<TRow> {
73
93
  list(query?: ListQuery<TRow>, options?: RequestOptions): Promise<BeechResult<Listable<TRow>>>;
@@ -77,9 +97,39 @@ export interface BrowserContentResource<TRow> {
77
97
  slug: string;
78
98
  }, options?: RequestOptions): Promise<BeechResult<Single<TRow>>>;
79
99
  }
100
+ export interface FluentQuery<TRow> {
101
+ where(filter: Record<string, FieldFilter>): this;
102
+ include(relations: string[]): this;
103
+ select(fields: Extract<keyof TRow, string>[]): this;
104
+ /**
105
+ * Filters the collection through a declared relation: keeps entries whose `alias` relation
106
+ * points at any entry of the target seed matching `subquery`. Depth 1; the server refuses a
107
+ * relation that `?include=` could not traverse, and refuses an over-broad subquery with 400.
108
+ */
109
+ whereRelation(alias: Extract<keyof TRow, string>, subquery: RelationSubquery): this;
110
+ /** Combines every `where()`/`whereRelation()` condition with AND (default) or OR. */
111
+ logic(operator: 'AND' | 'OR'): this;
112
+ /** Sorts on one column. The Public API honours a single sort key; a later call replaces the earlier one. */
113
+ orderBy(field: Extract<keyof TRow, string>, direction?: 'asc' | 'desc'): this;
114
+ /** Full-text keyword search across the seed's searchable branches. */
115
+ search(term: string): this;
116
+ /** Page size. The serializer caps it at the Public API maximum of 100. */
117
+ limit(count: number): this;
118
+ /** 1-based page number. */
119
+ page(number: number): this;
120
+ /**
121
+ * Requests one language: localized fields come back as plain values in that language, and filters and
122
+ * sort compare in it. An unregistered code falls back to the project default; a malformed one is a 400.
123
+ */
124
+ lang(code: string): this;
125
+ first(options?: RequestOptions): Promise<BeechResult<Single<TRow>>>;
126
+ list(options?: RequestOptions & {
127
+ validate?: boolean;
128
+ }): Promise<BeechResult<Listable<TRow>>>;
129
+ }
80
130
  /** Browser Client Interface. */
81
- export interface BeechBrowserClient<TRegistry = Record<string, unknown>> {
82
- content<K extends keyof TRegistry & string>(seed: K): BrowserContentResource<TRegistry[K]>;
131
+ export interface BeechBrowserClient<TRegistry = SeedRegistryTypes> {
132
+ collection<K extends keyof TRegistry & string>(seed: K): FluentQuery<TRegistry[K]>;
83
133
  }
84
134
  /** Server Client Content Resource: Content mutation and query operations (create, update, list, get). */
85
135
  export interface ServerContentResource<TRow> {
@@ -93,7 +143,10 @@ export interface ServerContentResource<TRow> {
93
143
  update(id: string, input: Partial<TRow>, options?: RequestOptions): Promise<BeechResult<Single<TRow>>>;
94
144
  }
95
145
  /** Server Client Interface. */
96
- export interface BeechServerClient<TRegistry = Record<string, unknown>> {
97
- content<K extends keyof TRegistry & string>(seed: K): ServerContentResource<TRegistry[K]>;
146
+ export interface BeechServerClient<TRegistry = SeedRegistryTypes> {
147
+ collection<K extends keyof TRegistry & string>(seed: K): FluentQuery<TRegistry[K]> & {
148
+ create(input: Partial<TRegistry[K]>, options?: RequestOptions): Promise<BeechResult<Single<TRegistry[K]>>>;
149
+ update(id: string, input: Partial<TRegistry[K]>, options?: RequestOptions): Promise<BeechResult<Single<TRegistry[K]>>>;
150
+ };
98
151
  }
99
152
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,mBAAmB,GAC3B,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,GAC1C,UAAU,GAAG,cAAc,GAAG,aAAa,GAAG,WAAW,GACzD,UAAU,GAAG,cAAc,GAAG,IAAI,GAAG,QAAQ,GAC7C,SAAS,GAAG,aAAa,GAAG,cAAc,CAAA;AAE9C,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,KAAK,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAA;CAC3C;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAA;IAC1C,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,KA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O,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAC1G,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KACvH,CAAA;CACF"}
package/dist/types.js CHANGED
@@ -1,3 +1,4 @@
1
1
  // SPDX-License-Identifier: MIT
2
2
  // Copyright (c) 2024–2026 Flavio De Musso
3
- export {};
3
+ /** Stub for the auto-generated schema fingerprint */
4
+ export const SCHEMA_FINGERPRINT = '';
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@beechcms/client",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "files": [
9
- "dist"
9
+ "dist",
10
+ "!dist/.tsbuildinfo"
10
11
  ],
11
12
  "exports": {
12
13
  ".": {
@@ -44,6 +45,7 @@
44
45
  "lint": "eslint .",
45
46
  "type-check": "tsc --noEmit",
46
47
  "test": "vitest run",
48
+ "test:unit": "vitest run",
47
49
  "test:coverage": "vitest run --coverage"
48
50
  }
49
51
  }
package/dist/.tsbuildinfo DELETED
@@ -1 +0,0 @@
1
- {"version":"7.0.2","root":[[61,74]],"packageJsons":["../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/package.json","../../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/package.json","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/package.json","../../../node_modules/punycode/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/assert/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/assert/strict/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/async_hooks/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/buffer/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/child_process/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/cluster/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/console/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/constants/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/crypto/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/dgram/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/diagnostics_channel/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/dns/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/dns/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/domain/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/events/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/fs/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/fs/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/http/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/http2/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/https/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/inspector/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/inspector/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/module/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/net/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/assert/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/dns/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/fs/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/inspector/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/path/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/readline/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/stream/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/test/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/timers/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/util/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/zlib/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/os/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/path/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/path/posix/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/path/win32/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/perf_hooks/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/process/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/punycode/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/querystring/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/readline/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/readline/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/repl/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/stream/consumers/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/stream/iter/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/stream/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/stream/web/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/string_decoder/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/timers/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/timers/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/trace_events/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/tty/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/url/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/util/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/util/types/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/v8/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/vm/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/wasi/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/worker_threads/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/assert/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/assert/strict/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/async_hooks/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/buffer/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/child_process/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/cluster/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/console/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/constants/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/crypto/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/dgram/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/diagnostics_channel/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/dns/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/dns/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/domain/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/events/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/fs/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/fs/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/http/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/http2/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/https/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/inspector/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/inspector/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/module/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/net/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/os/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/path/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/path/posix/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/path/win32/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/perf_hooks/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/process/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/punycode/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/querystring/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/readline/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/readline/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/repl/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/stream/consumers/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/stream/iter/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/stream/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/stream/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/stream/web/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/string_decoder/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/timers/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/timers/promises/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/tls/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/trace_events/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/tty/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/url/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/util/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/util/types/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/v8/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/vm/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/wasi/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/zlib/package.json","../../../node_modules/.pnpm/node_modules/@types/assert/package.json","../../../node_modules/.pnpm/node_modules/@types/assert/strict/package.json","../../../node_modules/.pnpm/node_modules/@types/async_hooks/package.json","../../../node_modules/.pnpm/node_modules/@types/buffer/package.json","../../../node_modules/.pnpm/node_modules/@types/child_process/package.json","../../../node_modules/.pnpm/node_modules/@types/cluster/package.json","../../../node_modules/.pnpm/node_modules/@types/console/package.json","../../../node_modules/.pnpm/node_modules/@types/constants/package.json","../../../node_modules/.pnpm/node_modules/@types/crypto/package.json","../../../node_modules/.pnpm/node_modules/@types/dgram/package.json","../../../node_modules/.pnpm/node_modules/@types/diagnostics_channel/package.json","../../../node_modules/.pnpm/node_modules/@types/dns/package.json","../../../node_modules/.pnpm/node_modules/@types/dns/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/domain/package.json","../../../node_modules/.pnpm/node_modules/@types/events/package.json","../../../node_modules/.pnpm/node_modules/@types/fs/package.json","../../../node_modules/.pnpm/node_modules/@types/fs/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/http/package.json","../../../node_modules/.pnpm/node_modules/@types/http2/package.json","../../../node_modules/.pnpm/node_modules/@types/https/package.json","../../../node_modules/.pnpm/node_modules/@types/inspector/package.json","../../../node_modules/.pnpm/node_modules/@types/inspector/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/module/package.json","../../../node_modules/.pnpm/node_modules/@types/net/package.json","../../../node_modules/.pnpm/node_modules/@types/os/package.json","../../../node_modules/.pnpm/node_modules/@types/path/package.json","../../../node_modules/.pnpm/node_modules/@types/path/posix/package.json","../../../node_modules/.pnpm/node_modules/@types/path/win32/package.json","../../../node_modules/.pnpm/node_modules/@types/perf_hooks/package.json","../../../node_modules/.pnpm/node_modules/@types/process/package.json","../../../node_modules/.pnpm/node_modules/@types/punycode/package.json","../../../node_modules/.pnpm/node_modules/@types/querystring/package.json","../../../node_modules/.pnpm/node_modules/@types/readline/package.json","../../../node_modules/.pnpm/node_modules/@types/readline/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/repl/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/consumers/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/iter/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/stream/web/package.json","../../../node_modules/.pnpm/node_modules/@types/string_decoder/package.json","../../../node_modules/.pnpm/node_modules/@types/timers/package.json","../../../node_modules/.pnpm/node_modules/@types/timers/promises/package.json","../../../node_modules/.pnpm/node_modules/@types/tls/package.json","../../../node_modules/.pnpm/node_modules/@types/trace_events/package.json","../../../node_modules/.pnpm/node_modules/@types/tty/package.json","../../../node_modules/.pnpm/node_modules/@types/url/package.json","../../../node_modules/.pnpm/node_modules/@types/util/package.json","../../../node_modules/.pnpm/node_modules/@types/util/types/package.json","../../../node_modules/.pnpm/node_modules/@types/v8/package.json","../../../node_modules/.pnpm/node_modules/@types/vm/package.json","../../../node_modules/.pnpm/node_modules/@types/wasi/package.json","../../../node_modules/.pnpm/node_modules/@types/worker_threads/package.json","../../../node_modules/.pnpm/node_modules/@types/zlib/package.json","../../../node_modules/.pnpm/node_modules/assert/package.json","../../../node_modules/.pnpm/node_modules/assert/strict/package.json","../../../node_modules/.pnpm/node_modules/async_hooks/package.json","../../../node_modules/.pnpm/node_modules/buffer/package.json","../../../node_modules/.pnpm/node_modules/child_process/package.json","../../../node_modules/.pnpm/node_modules/cluster/package.json","../../../node_modules/.pnpm/node_modules/console/package.json","../../../node_modules/.pnpm/node_modules/constants/package.json","../../../node_modules/.pnpm/node_modules/crypto/package.json","../../../node_modules/.pnpm/node_modules/dgram/package.json","../../../node_modules/.pnpm/node_modules/diagnostics_channel/package.json","../../../node_modules/.pnpm/node_modules/dns/package.json","../../../node_modules/.pnpm/node_modules/dns/promises/package.json","../../../node_modules/.pnpm/node_modules/domain/package.json","../../../node_modules/.pnpm/node_modules/events/package.json","../../../node_modules/.pnpm/node_modules/fs/package.json","../../../node_modules/.pnpm/node_modules/fs/promises/package.json","../../../node_modules/.pnpm/node_modules/http/package.json","../../../node_modules/.pnpm/node_modules/http2/package.json","../../../node_modules/.pnpm/node_modules/https/package.json","../../../node_modules/.pnpm/node_modules/inspector/package.json","../../../node_modules/.pnpm/node_modules/inspector/promises/package.json","../../../node_modules/.pnpm/node_modules/module/package.json","../../../node_modules/.pnpm/node_modules/net/package.json","../../../node_modules/.pnpm/node_modules/os/package.json","../../../node_modules/.pnpm/node_modules/path/package.json","../../../node_modules/.pnpm/node_modules/path/posix/package.json","../../../node_modules/.pnpm/node_modules/path/win32/package.json","../../../node_modules/.pnpm/node_modules/perf_hooks/package.json","../../../node_modules/.pnpm/node_modules/process/package.json","../../../node_modules/.pnpm/node_modules/querystring/package.json","../../../node_modules/.pnpm/node_modules/readline/package.json","../../../node_modules/.pnpm/node_modules/readline/promises/package.json","../../../node_modules/.pnpm/node_modules/repl/package.json","../../../node_modules/.pnpm/node_modules/stream/consumers/package.json","../../../node_modules/.pnpm/node_modules/stream/iter/package.json","../../../node_modules/.pnpm/node_modules/stream/package.json","../../../node_modules/.pnpm/node_modules/stream/promises/package.json","../../../node_modules/.pnpm/node_modules/stream/web/package.json","../../../node_modules/.pnpm/node_modules/string_decoder/package.json","../../../node_modules/.pnpm/node_modules/timers/package.json","../../../node_modules/.pnpm/node_modules/timers/promises/package.json","../../../node_modules/.pnpm/node_modules/tls/package.json","../../../node_modules/.pnpm/node_modules/trace_events/package.json","../../../node_modules/.pnpm/node_modules/tty/package.json","../../../node_modules/.pnpm/node_modules/url/package.json","../../../node_modules/.pnpm/node_modules/util/package.json","../../../node_modules/.pnpm/node_modules/util/types/package.json","../../../node_modules/.pnpm/node_modules/v8/package.json","../../../node_modules/.pnpm/node_modules/vm/package.json","../../../node_modules/.pnpm/node_modules/wasi/package.json","../../../node_modules/.pnpm/node_modules/worker_threads/package.json","../../../node_modules/.pnpm/node_modules/zlib/package.json","../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/buffer/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/iter/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/buffer/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/events/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/module/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/process/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/iter/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tty/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.dom.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2025.float16.d.ts","lib.esnext.disposable.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../src/types.ts","../src/http.ts","../src/query-builder.ts","../src/webhooks/index.ts","../src/index.ts","../src/browser/client.ts","../src/browser/index.ts","../src/richtext/escape.ts","../src/richtext/types.ts","../src/richtext/render.ts","../src/richtext/plain-text.ts","../src/richtext/index.ts","../src/server/client.ts","../src/server/index.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/blob.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/console.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/encoding.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/utility.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/client-stats.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/round-robin-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/h2c-client.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/dispatcher1-wrapper.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/socks5-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/importmeta.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/messaging.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/performance.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/timers.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/web-globals/url.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/ffi.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/inspector/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/path/posix.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/path/win32.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/quic.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/stream/iter.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/test/reporters.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/util/types.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/vfs.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/zlib/iter.d.ts","../../../node_modules/.pnpm/@types+node@26.6.2/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"447fd23784bc3ddc942a64d89b73c830","signature":"46f0c65c719243b0c5feb9f28852cdd0","impliedNodeFormat":99},{"version":"5afe578e861f266a296f6b0356fa317e","signature":"1447fd7d4c8c1111053fb6a50470b206","impliedNodeFormat":99},{"version":"a1b972905f01261303d7f4dcaa834a81","signature":"b73afd9d2fdfd34691e84509d4afa3c2","impliedNodeFormat":99},{"version":"b46e973fdb0d905e8b0fc15b56e0462d","signature":"4ee43e54349f7c6acb51d262d438f689","impliedNodeFormat":99},{"version":"cf766464c963d74ec1fa2285ee489c52","signature":"e0f648f8f3e741dbf113694806037857","impliedNodeFormat":99},{"version":"a4c5a7014c99d9d142a064b23bc1d276","signature":"6126f50372055864995bc2b2d3e76c18","impliedNodeFormat":99},{"version":"eb4c18e190214607f8eb0812e244d9e4","signature":"9eb90fb1d49b59995282cf09197b67c9","impliedNodeFormat":99},{"version":"e073355f139a22ef00bff8ace4f40418","signature":"c0d15403f82613be164dfdb93658ae2d","impliedNodeFormat":99},{"version":"e830f1324492bd6ed694aeae7abed8b8","signature":"5ceb54a4b6c0a12eee574c19421b9f5c","impliedNodeFormat":99},{"version":"245f5cbbc731d1ed70ccfacc0a786ac0","signature":"e1a819dc5b9672527c6087d7b3fbcd6a","impliedNodeFormat":99},{"version":"d56c1a822db7700db828ac5769471d5e","signature":"9aa96b706daa5b9b1bd8b3e1ccdcb2dd","impliedNodeFormat":99},{"version":"feb6778accfa805fedca95bc38cfa3a9","signature":"8faea187b29a04ed5ccad36f7f84c896","impliedNodeFormat":99},{"version":"a69bb9bdd2810ac9f746ce9855743814","signature":"da8678f1d8dbdaed638e988437e5ab2f","impliedNodeFormat":99},{"version":"dd4d6e66d411e0549d9dbe56c5bfbd0c","signature":"dbc533be1315912915c0ee21e5d4c766","impliedNodeFormat":99},{"version":"014eb4d3e0618e548a7001fb52d9f78b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8ab4edc191017b1a2ad5b3cb8b46cdb8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"c5eb15737c858d986e0d5a542103b1df","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ec83150a952000d42a7e6ccedac2d892","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"494755686d9e421e630117d917760e4f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"c3f3d4053311f68af31e07f6e167faf6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"86013697f2045d357ef20d7a952cdc12","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"fbef359f7184dcd12e5b3b95b171cca0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1ca5302f6fe11154128eef397b5a285b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"13835e9ba9b025ad7cab01fe7bad1fe3","affectsGlobalScope":true,"impliedNodeFormat":1},"49133c0dfbc32ab95668c3443dea49e5","d0b24ed45e91de84ca0fbafde3797006","9f970a4ba4bb3ed6326d46b3ddab3f63","96ba11caeccd16d10bad9d2b0a526f71","75de66fc4824402123c0d694ccc0a085","663a11ae1a7cf12ee62a6115788e062e","fcd1a513c1e5802916fa602e8b8e64bc","6067c37647d54fed3b84e8e3b80d132c","fc942a51d11220e05fb8f8db94a66968","3aff72fc424bff391326b2d8ce217223","705645fe223430c696f47b708d592ca8","28d57c837c94adb42add03d499793cab","8c01a9bbae8449be21b3e018d59a74ac","b4a1cb50a619bde79c20d19aeb560633","e0d4cf02c9db1b65c96bc9f8fca50bc7","74d351e4ed233e82c6d74c444c1a6b86","35b9b5981aa2c74f808ba3334548e89b","81870445ff689f1a6c65a6d62e034298","d7131a7789ae06e6ba79d7cd1841fde7","dd373f44a8c44dd9286f3b43e07fc873","11a3d499bb2ea1e069ca07d1a6ee36bb","c2364011a80b6a9e3cc0e77895bad577","38da5c670190f4a35cbc204ca6c616bf","d95cc0eb29beed58f5ce72db21398f53","ecd53256b1ec7379c73316eaf392a69c","9871d4fb594b51eb13a3f6db71e01844","69c7bb9c3befe9ae37eed0e6a6310fee","aeb3ed08a06b14187647c60fbbc5c5a6","71e556084722c2a3f00f47d999db1e35","094ecadae30f65a82b77343dde77a666","f75df12d75dd783b03a0329b95abdb25","b438b08b2f0ed94a95a75c8990d9021b","f2becd2589591db92ab14e803eb8bdd5","230b29c24dac9c9800ba909debbaf7c4","d0b34032dba04ba8965b21800fabf34a","0468c0ccd0ec7770b76481b165564d62","055683572390c8c0cc09712529d2da6e","4c116bcf0a47ea8fbf4072f380925fa7","213fda99209bff9d0330b6d9f5c9c7f3","add85ec26ba695fc99c698dbec065f8c","5bfde23f96fc502b5413d772c35e1abf","b744265d8ad12b7d4d5c5dc35d18d44e","eff32168b8348b822afeed9cbf61afa7","531a291f1cbe853ce3a138313c7448e9",{"version":"3b4fc11e9a5d20c846f1ba38889cbc8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"53b0e86dfe96eb781a056e2662bf1e3b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d0bac56ae60094675c08a325b81d3b1a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"292c9398a407b33b1d9c9812b673387a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"83bc735c360e42b09f2b102d7b831ede","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"45df94b3c51b898624bacc2bcd6d9eb2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e5e7257c9c73a3d3375ebaaa3f235a60","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8617a23553d74c31be6da303c668bd18","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3f2d808ba5f1ae3681bf7df616488dcd","affectsGlobalScope":true,"impliedNodeFormat":1},"4e58ba439fc661a1e2337fd17ae89d94","604aab8dd7c02abe3fcf1218fa951439","eb8c0e64b0e0e76f43e7c552937a365f",{"version":"be9d688d1b98dac4baa179f5f2496299","affectsGlobalScope":true,"impliedNodeFormat":1},"8640cefabfec4e39625a4a03405282bf","2c43726da10a0a524992e6fd4a561aba","75c6ee2c7a0e7d54f06ae1941553f44f","9af5958f27aacf7d18939d710f5b0da4","ba61abd6eb8faf29fd5c0ef81b76af6d","f30f64747df91267926bcf85bb6baa63","fde089ac8f5fd5a9b1339138ad616156","4fbcefaa3aa9d4af9d76d946c7c445cc","949ce92cb920c39fb4ff87098ebe56af","2d8ebe6eb639d14875e12acf069d9c65",{"version":"2d30f3e526b72134674afeee7eb5f870","affectsGlobalScope":true,"impliedNodeFormat":1},"c9ec66897bf7abe3e9b90550ef4990c4","516b9a8f5be6176b42a139206d8a4b0f","c01d3dfae670c432efbc2a173594b5a1","3d9c76ea754f044cd8014c9d4a711fd6","998a378175a0a2f529f557e57cc32ccd","8383fa58c2f75291c454f84915f12190","4516059403323bf291a537284f4f0d21","fc81ee7b08868ee0973983110e2ef386","f7be6b8b253b7d07c8476f23bbdc98c1",{"version":"48b2540ad661c32ab2cf99d5d0300f98","affectsGlobalScope":true,"impliedNodeFormat":1},"ef19af71d6857bef230cad7a114b24ff","beb256af4099983453b3f33660699c9a","860f49c8d6ad48b19bf7ed0bc5d2824e","235cc33b85ac998f0f2df0807648acb8","c0c62035e8f8a0b6da47b6277fd6dbb2","7668bb8e6905358161aab991ee3262d5",{"version":"0869186cc4c3104e17c7f0a4a31befca","affectsGlobalScope":true,"impliedNodeFormat":1},"196cd3003168b4ee2df015d15cfed000","66b5b9b84ab95e019a6e1f5edb8bd250","3e990b7197b3f4f0ae8e70a49787b32e","2e2ed32d5133fb4c60f95543217e669e","2580385b74019e646d76a9f68fdbf31b","aa0f7a546acda88ef0a5df40ff0e5122","b3bdce048b1c601e1a19a4c3ee32053b","948b8517c9f39acc6e1c356773f8a660",{"version":"c18928bec3bc65892c54962be1683163","affectsGlobalScope":true,"impliedNodeFormat":1},"f9c43b0225ab4f6dc8aff6e619d322a8","83d512bcf62b30a1da2baca6a6afab6f","6e1de2df81bd936ffb5509f921f1fc8c","61446ea9e2f262915384073de5666ae7","9959a7e96eedcbc697460cf0d31bda74","e0616fcd6f10a3b54430cd9b51e79992","406b001983720d19482211ff4e664d24",{"version":"b73a052b5fd08948bd559dcca4424ede","affectsGlobalScope":true,"impliedNodeFormat":1},"e6ad9a1d5cc3099621a4a7bba328d248","5544d0f87288197e580ce5b142318af4","b4dbe09999921e219d6ff56b29720eae","5d46377ba24278d5476dc24dcb760b20","93f25f3a36ba4dd4c8efff0cc442f118","513ff65469f15b8059ed4edd7033614a","b0466c3034f5921a2c78e7da534f2b19","4c638ae62e5dbcc434c231576773dd6c","166e5722d90e072a9181ddda6ee7cf49","020e28bad81b80d13c875ef644df1647","3b1ae8bab308b1e5ac7e7a26d27167ad","d1094418f31621a51800e32b70d6e361","42db6292007bd2639a140ea3efdf97ee","6728fae9ef4170f6403bf6db25cc60c6","8989c3c06069b305178e23d87eae41e7"],"fileIdsList":[[76,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,128,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[75,76,77,78,79,80,81,82,83,84,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,198,199,200],[76,128,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,128,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[76,91,94,97,98,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,94,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,94,98,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,88,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,92,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,90,91,94,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],[76,88,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],[76,90,94,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,85,86,87,89,93,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,94,103,112,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,86,92,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,94,122,123,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,86,89,94,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],[76,85,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,88,89,90,92,93,94,95,96,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,123,124,125,126,127,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,94,115,118,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,94,103,105,106,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,92,94,105,107,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,93,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,86,88,94,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,94,98,105,107,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,98,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,92,94,97,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,86,90,94,103,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,94,115,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,107,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,86,90,94,98,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[76,88,94,122,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],[61,62,63,76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[61,66,76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[61,76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[61,63,64,76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[68,69,70,71,76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[69,70,76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[68,69,76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[61,73,76,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200]],"options":{"composite":true,"declaration":true,"declarationMap":true,"jsx":4,"module":199,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":99,"tsBuildInfoFile":"./.tsbuildinfo","allowSyntheticDefaultImports":true,"esModuleInterop":true},"referencedMap":[[138,1],[139,2],[140,3],[76,4],[141,5],[142,6],[143,7],[144,8],[145,9],[146,10],[147,11],[148,12],[149,13],[150,14],[151,15],[152,16],[153,17],[154,18],[155,19],[77,20],[75,20],[156,21],[157,22],[158,23],[201,24],[159,25],[160,26],[161,27],[162,28],[163,29],[164,30],[165,31],[166,32],[167,33],[168,34],[169,35],[170,36],[171,37],[172,38],[173,39],[174,40],[175,41],[176,42],[177,43],[178,44],[179,45],[180,46],[181,47],[182,48],[183,49],[184,50],[185,51],[186,52],[187,53],[188,54],[189,55],[190,56],[191,57],[192,58],[193,59],[194,60],[195,61],[196,62],[197,63],[78,20],[79,20],[80,20],[81,20],[82,20],[83,20],[84,20],[129,64],[130,20],[131,20],[132,20],[133,20],[134,20],[135,20],[136,20],[137,20],[198,65],[199,66],[200,67],[59,20],[60,20],[10,20],[12,20],[11,20],[2,20],[13,20],[14,20],[15,20],[16,20],[17,20],[18,20],[19,20],[20,20],[3,20],[21,20],[22,20],[4,20],[23,20],[27,20],[24,20],[25,20],[26,20],[28,20],[29,20],[30,20],[5,20],[31,20],[32,20],[33,20],[34,20],[6,20],[38,20],[35,20],[36,20],[37,20],[39,20],[7,20],[40,20],[45,20],[46,20],[41,20],[42,20],[43,20],[44,20],[8,20],[50,20],[47,20],[48,20],[49,20],[51,20],[9,20],[52,20],[53,20],[54,20],[56,20],[55,20],[57,20],[1,20],[58,20],[103,68],[117,69],[100,70],[118,20],[127,71],[91,72],[92,73],[90,20],[126,74],[121,75],[125,76],[94,77],[104,69],[114,78],[93,79],[124,80],[88,81],[89,75],[95,69],[96,20],[102,76],[99,69],[86,82],[128,83],[119,84],[107,85],[106,69],[108,86],[111,87],[105,88],[109,89],[122,74],[97,90],[98,91],[112,92],[87,20],[116,93],[115,69],[101,91],[110,94],[113,95],[120,20],[85,20],[123,96],[66,97],[67,98],[62,99],[65,100],[63,99],[68,20],[72,101],[71,102],[70,103],[69,20],[73,97],[74,104],[61,20],[64,20]],"latestChangedDtsFile":"./server/index.d.ts"}
package/dist/client.d.ts DELETED
@@ -1,27 +0,0 @@
1
- import type { BeechClientConfig, BeechResult, ListQuery, ListMeta } from './types.js';
2
- type Listable<TRow> = {
3
- data: TRow[];
4
- meta: ListMeta;
5
- };
6
- type Single<TRow> = {
7
- data: TRow;
8
- meta: {
9
- seed: string;
10
- };
11
- };
12
- export interface ContentResource<TRow> {
13
- list(query?: ListQuery<TRow>): Promise<BeechResult<Listable<TRow>>>;
14
- get(selector: {
15
- id: string;
16
- } | {
17
- slug: string;
18
- }): Promise<BeechResult<Single<TRow>>>;
19
- create(input: Partial<TRow>): Promise<BeechResult<Single<TRow>>>;
20
- update(id: string, input: Partial<TRow>): Promise<BeechResult<Single<TRow>>>;
21
- }
22
- export interface BeechClient<TRegistry> {
23
- content<K extends keyof TRegistry & string>(seed: K): ContentResource<TRegistry[K]>;
24
- }
25
- export declare function createBeechClient<TRegistry = Record<string, unknown>>(config: BeechClientConfig): BeechClient<TRegistry>;
26
- export {};
27
- //# sourceMappingURL=client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAIrF,KAAK,QAAQ,CAAC,IAAI,IAAI;IAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAA;AACtD,KAAK,MAAM,CAAC,IAAI,IAAM;IAAE,IAAI,EAAE,IAAI,CAAC;IAAG,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAA;AAE9D,MAAM,WAAW,eAAe,CAAC,IAAI;IACnC,IAAI,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACnE,GAAG,CAAC,QAAQ,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACpF,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAChE,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;CAC7E;AAED,MAAM,WAAW,WAAW,CAAC,SAAS;IACpC,OAAO,CAAC,CAAC,SAAS,MAAM,SAAS,GAAG,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;CACpF;AAED,wBAAgB,iBAAiB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnE,MAAM,EAAE,iBAAiB,GACxB,WAAW,CAAC,SAAS,CAAC,CAkBxB"}
package/dist/client.js DELETED
@@ -1,20 +0,0 @@
1
- // SPDX-License-Identifier: MIT
2
- // Copyright (c) 2024–2026 Flavio De Musso
3
- import { buildSearchParams } from './query-builder.js';
4
- import { request } from './http.js';
5
- export function createBeechClient(config) {
6
- return {
7
- content(seed) {
8
- const enc = encodeURIComponent(seed);
9
- return {
10
- list: (q) => request(config, 'GET', `/${enc}`, { params: buildSearchParams(q) }),
11
- get: (sel) => {
12
- const p = new URLSearchParams('id' in sel ? { id: sel.id } : { slug: sel.slug });
13
- return request(config, 'GET', `/${enc}`, { params: p });
14
- },
15
- create: (input) => request(config, 'POST', `/${enc}/add`, { body: input }),
16
- update: (id, input) => request(config, 'PUT', `/${enc}/edit/${encodeURIComponent(id)}`, { body: input }),
17
- };
18
- },
19
- };
20
- }
package/dist/webhook.d.ts DELETED
@@ -1,3 +0,0 @@
1
- /** Validates an inbound BeechCMS webhook (X-BeechCMS-Signature) against the shared secret. */
2
- export declare function verifyBeechSignature(body: string, signature: string | null, secret: string): Promise<boolean>;
3
- //# sourceMappingURL=webhook.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../src/webhook.ts"],"names":[],"mappings":"AAKA,8FAA8F;AAC9F,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,GAAG,IAAI,EACxB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,CAElB"}
package/dist/webhook.js DELETED
@@ -1,7 +0,0 @@
1
- // SPDX-License-Identifier: MIT
2
- // Copyright (c) 2024–2026 Flavio De Musso
3
- import { verifyWebhookSignature } from '@beechcms/core/webhook-crypto';
4
- /** Validates an inbound BeechCMS webhook (X-BeechCMS-Signature) against the shared secret. */
5
- export async function verifyBeechSignature(body, signature, secret) {
6
- return verifyWebhookSignature(body, signature, secret);
7
- }