@beechcms/client 0.8.0-preview.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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/client.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import type { BeechClientConfig, BeechResult, ListQuery, ListMeta } from './types.js';
2
- export type Listable<TRow> = {
2
+ type Listable<TRow> = {
3
3
  data: TRow[];
4
4
  meta: ListMeta;
5
5
  };
6
- export type Single<TRow> = {
6
+ type Single<TRow> = {
7
7
  data: TRow;
8
8
  meta: {
9
9
  seed: string;
@@ -23,4 +23,5 @@ export interface BeechClient<TRegistry> {
23
23
  content<K extends keyof TRegistry & string>(seed: K): ContentResource<TRegistry[K]>;
24
24
  }
25
25
  export declare function createBeechClient<TRegistry = Record<string, unknown>>(config: BeechClientConfig): BeechClient<TRegistry>;
26
+ export {};
26
27
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
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,MAAM,MAAM,QAAQ,CAAC,IAAI,IAAI;IAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAA;AAC7D,MAAM,MAAM,MAAM,CAAC,IAAI,IAAM;IAAE,IAAI,EAAE,IAAI,CAAC;IAAG,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAA;AAErE,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,SA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,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/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';
@@ -0,0 +1,21 @@
1
+ export type MediaFormat = 'original' | 'webp' | 'jpeg';
2
+ export type MediaQuality = 'low' | 'medium' | 'high';
3
+ /** Scale presets are always named after their width; the server rejects any other shape. */
4
+ export type MediaScalePreset = `w-${number}`;
5
+ export interface MediaUrlOptions {
6
+ /** BeechCMS API origin. Used only when `keyOrUrl` is a bare storage key; omitted → root-relative URL. */
7
+ baseUrl?: string;
8
+ format?: MediaFormat;
9
+ quality?: MediaQuality;
10
+ }
11
+ export interface MediaOptions extends MediaUrlOptions {
12
+ preset: string;
13
+ }
14
+ /** Canonical URL of a preset variant. Existing query and hash on `keyOrUrl` are discarded. */
15
+ export declare function media(keyOrUrl: string, options: MediaOptions): string;
16
+ /**
17
+ * `srcset` value built only from scale presets (`w-<width>`), ascending, de-duplicated.
18
+ * Crop presets are refused: a srcset of fixed crops would lie about intrinsic widths.
19
+ */
20
+ export declare function mediaSrcSet(keyOrUrl: string, presets: readonly MediaScalePreset[], options?: MediaUrlOptions): string;
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/media/index.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;AACtD,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAA;AACpD,4FAA4F;AAC5F,MAAM,MAAM,gBAAgB,GAAG,KAAK,MAAM,EAAE,CAAA;AAE5C,MAAM,WAAW,eAAe;IAC9B,yGAAyG;IACzG,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,CAAA;CACvB;AAED,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,MAAM,EAAE,MAAM,CAAA;CACf;AAyBD,8FAA8F;AAC9F,wBAAgB,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,GAAG,MAAM,CAGrE;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,gBAAgB,EAAE,EAAE,OAAO,GAAE,eAAoB,GAAG,MAAM,CAYzH"}
@@ -0,0 +1,50 @@
1
+ // SPDX-License-Identifier: MIT
2
+ // Copyright (c) 2024–2026 Flavio De Musso
3
+ const MEDIA_PATH = '/api/media/';
4
+ const SCALE_PRESET_PATTERN = /^w-([1-9]\d*)$/;
5
+ function canonicalQuery(preset, format = 'original', quality = 'medium') {
6
+ let query = `preset=${encodeURIComponent(preset)}`;
7
+ if (format !== 'original')
8
+ query += `&format=${format}`;
9
+ if (quality !== 'medium')
10
+ query += `&quality=${quality}`;
11
+ return query;
12
+ }
13
+ function resolveMediaPath(keyOrUrl, baseUrl) {
14
+ const bare = keyOrUrl.split('#')[0].split('?')[0];
15
+ if (!bare)
16
+ throw new TypeError('media(): keyOrUrl is empty');
17
+ if (/^https?:\/\//i.test(bare) || bare.startsWith('/')) {
18
+ if (!new URL(bare, 'http://placeholder.invalid').pathname.startsWith(MEDIA_PATH)) {
19
+ throw new TypeError(`media(): "${keyOrUrl}" is not a ${MEDIA_PATH} URL; only the BeechCMS media route transforms images`);
20
+ }
21
+ return bare;
22
+ }
23
+ const encodedKey = bare.split('/').map(encodeURIComponent).join('/');
24
+ return `${(baseUrl ?? '').replace(/\/+$/, '')}${MEDIA_PATH}${encodedKey}`;
25
+ }
26
+ /** Canonical URL of a preset variant. Existing query and hash on `keyOrUrl` are discarded. */
27
+ export function media(keyOrUrl, options) {
28
+ if (!options.preset)
29
+ throw new TypeError('media(): preset is required');
30
+ return `${resolveMediaPath(keyOrUrl, options.baseUrl)}?${canonicalQuery(options.preset, options.format, options.quality)}`;
31
+ }
32
+ /**
33
+ * `srcset` value built only from scale presets (`w-<width>`), ascending, de-duplicated.
34
+ * Crop presets are refused: a srcset of fixed crops would lie about intrinsic widths.
35
+ */
36
+ export function mediaSrcSet(keyOrUrl, presets, options = {}) {
37
+ if (presets.length === 0)
38
+ throw new TypeError('mediaSrcSet(): at least one scale preset is required');
39
+ const widths = new Map();
40
+ for (const preset of presets) {
41
+ const match = SCALE_PRESET_PATTERN.exec(preset);
42
+ if (!match)
43
+ throw new TypeError(`mediaSrcSet(): "${preset}" is not a scale preset (w-<width>)`);
44
+ widths.set(Number(match[1]), preset);
45
+ }
46
+ return [...widths.entries()]
47
+ .sort(([a], [b]) => a - b)
48
+ .map(([width, preset]) => `${media(keyOrUrl, { ...options, preset })} ${width}w`)
49
+ .join(', ');
50
+ }
@@ -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,OAAO,KAAK,EAAuB,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAO3J,MAAM,MAAM,aAAa,CAAC,IAAI,IAAI;IAChC,KAAK,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC3F,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,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C,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,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,IAAI,CAAC,EAAE;QACL,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;QAC3B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAChB,CAAA;IACD,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,8DAA8D;AAC9D,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM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
2
  // Copyright (c) 2024–2026 Flavio De Musso
3
- export {};
3
+ /** Stub for the auto-generated schema fingerprint */
4
+ export const SCHEMA_FINGERPRINT = '';
@@ -0,0 +1,3 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,7 @@
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
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/webhooks/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,yBAAyB,CAAA;AAK5D,qBAAa,wBAAyB,SAAQ,KAAK;gBACrC,OAAO,EAAE,MAAM;CAK5B;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,MAAM,EAAE,MAAM,CAAA;CACf;AA6BD;;;;GAIG;AACH,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,6BAA6B,GACrC,OAAO,CAAC,OAAO,CAAC,CA2BlB;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrE,OAAO,EAAE,4BAA4B,GACpC,OAAO,CAAC,CAAC,CAAC,CAuBZ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/webhooks/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,yBAAyB,CAAA;AAK5D,qBAAa,wBAAyB,SAAQ,KAAK;IACjD,YAAY,OAAO,EAAE,MAAM,EAI1B;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,MAAM,EAAE,MAAM,CAAA;CACf;AA6BD;;;;GAIG;AACH,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,6BAA6B,GACrC,OAAO,CAAC,OAAO,CAAC,CA2BlB;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrE,OAAO,EAAE,4BAA4B,GACpC,OAAO,CAAC,CAAC,CAAC,CAuBZ"}
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@beechcms/client",
3
- "version": "0.8.0-preview.1",
3
+ "version": "0.9.0",
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
  ".": {
@@ -32,10 +33,10 @@
32
33
  },
33
34
  "dependencies": {},
34
35
  "devDependencies": {
35
- "@types/node": "^24.10.1",
36
- "@vitest/coverage-v8": "^4.1.0",
37
- "typescript": "^5.9.3",
38
- "vitest": "^4.1.0"
36
+ "@types/node": "^26.5.1",
37
+ "@vitest/coverage-v8": "^5.0.0",
38
+ "typescript": "^7.0.2",
39
+ "vitest": "^5.0.0"
39
40
  },
40
41
  "license": "MIT",
41
42
  "scripts": {
@@ -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
- {"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/react/jsx-runtime.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@24.13.2/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/utility.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/client-stats.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/round-robin-pool.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/h2c-client.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@7.18.2/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@24.13.2/node_modules/@types/node/index.d.ts"],"fileIdsList":[[81,133,134,136,153,154],[81,135,136,153,154],[136,153,154],[81,136,141,153,154,171],[81,136,137,142,147,153,154,156,168,179],[81,136,137,138,147,153,154,156],[81,136,153,154],[81,136,139,153,154,180],[81,136,140,141,148,153,154,157],[81,136,141,153,154,168,176],[81,136,142,144,147,153,154,156],[81,135,136,143,153,154],[81,136,144,145,153,154],[81,136,146,147,153,154],[81,135,136,147,153,154],[81,136,147,148,149,153,154,168,179],[81,136,147,148,149,153,154,163,168,171],[81,128,136,144,147,150,153,154,156,168,179],[81,136,147,148,150,151,153,154,156,168,176,179],[81,136,150,152,153,154,168,176,179],[79,80,81,82,83,84,85,86,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],[81,136,147,153,154],[81,136,153,154,155,179],[81,136,144,147,153,154,156,168],[81,136,153,154,157],[81,136,153,154,158],[81,135,136,153,154,159],[81,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],[81,136,153,154,161],[81,136,153,154,162],[81,136,147,153,154,163,164],[81,136,153,154,163,165,180,182],[81,136,148,153,154],[81,136,147,153,154,168,169,171],[81,136,153,154,170,171],[81,136,153,154,168,169],[81,136,153,154,171],[81,136,153,154,172],[81,133,136,153,154,168,173,179],[81,136,147,153,154,174,175],[81,136,153,154,174,175],[81,136,141,153,154,156,168,176],[81,136,153,154,177],[81,136,153,154,156,178],[81,136,150,153,154,162,179],[81,136,141,153,154,180],[81,136,153,154,168,181],[81,136,153,154,155,182],[81,136,153,154,183],[81,136,141,153,154],[81,128,136,153,154],[81,136,153,154,184],[81,128,136,147,149,153,154,159,168,171,179,181,182,184],[81,136,153,154,168,185],[81,93,96,99,100,136,153,154,179],[81,96,136,153,154,168,179],[81,96,100,136,153,154,179],[81,136,153,154,168],[81,90,136,153,154],[81,94,136,153,154],[81,92,93,96,136,153,154,179],[81,136,153,154,156,176],[81,136,153,154,186],[81,90,136,153,154,186],[81,92,96,136,153,154,156,179],[81,87,88,89,91,95,136,147,153,154,168,179],[81,96,105,113,136,153,154],[81,88,94,136,153,154],[81,96,122,123,136,153,154],[81,88,91,96,136,153,154,171,179,186],[81,96,136,153,154],[81,92,96,136,153,154,179],[81,87,136,153,154],[81,90,91,92,94,95,96,97,98,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,136,153,154],[81,96,115,118,136,144,153,154],[81,96,105,106,107,136,153,154],[81,94,96,106,108,136,153,154],[81,95,136,153,154],[81,88,90,96,136,153,154],[81,96,100,106,108,136,153,154],[81,100,136,153,154],[81,94,96,99,136,153,154,179],[81,88,92,96,105,136,153,154],[81,96,115,136,153,154],[81,108,136,153,154],[81,90,96,122,136,153,154,171,184,186],[61,62,81,136,153,154],[63,81,136,153,154],[64,65,66,67,81,136,153,154],[64,65,70,81,136,153,154],[64,65,81,136,153,154],[64,65,67,68,81,136,153,154],[64,81,136,153,154],[64,72,73,74,75,81,136,153,154],[64,73,74,81,136,153,154],[64,72,73,81,136,153,154],[64,65,77,81,136,153,154]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e29f41b158de217f94cb9676bf9cbd0cd9b5a46e1985141ed36e075c52bf6ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"dc0a7f107690ee5cd8afc8dbf05c4df78085471ce16bdd9881642ec738bc81fe","impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"97a9c752cd4049041057ed8024199a230262155106431256799778b118ceb260","signature":"b5f6bd1f4adbb04a9e83b71ec8b95c75918ceb2c1ea3665fc8047f57a81cd3f2","impliedFormat":99},{"version":"8afa86b37669c61fd1dea743134b0cc7e2b586d1a9d32d4d5a4b20798a3e7c1f","signature":"29973504172d2c779063bdee14e67fbb5f305327a0713c8c4c4acd8c2b538610","impliedFormat":99},{"version":"5c11d1ed97308404d69a05bc0e574da6cd174cf8f3f227770156e07422abf1c1","signature":"afdffd445a1c1b1e8962e3e454790c19c9d8538b6d5690204b062418e5e836c0","impliedFormat":99},{"version":"d13e21e5bdbbc3c874ef97ef470bfc5c814a94dc9b8af35010930313560d3b19","signature":"da2b86cd3b858db2eed6080ef0702406acdbce77d87db599f0bac9895bf39e4e","impliedFormat":99},{"version":"414c6eea8e9be172d9c2f05113d0c8d1dfad19063dc61a927b8349ce730c3a17","signature":"b5ac9eb0691b3ca93bfc4a4ce5aa368cbcde0cc53f50ccb4bc460f0bc4562e1f","impliedFormat":99},{"version":"dd7b14b5a093e23828a6aa9a1b62fc7bb70ab06cd5855a2adc2e22a5484a26a2","signature":"1d66aeca0e238f693479d6f05a6246eef7c68d56dabe984d49f59a4484461411","impliedFormat":99},{"version":"9748a15446970f68706e41b3398caf012b04d68297b60844607f8e83d58009a4","signature":"8203ca642a9fae1443613a3211fd2d093b579498a5487fd4636156255af881eb","impliedFormat":99},{"version":"c81215cb461b6baf722ab2b95b6115b226d478e0c887764ba6147984e552455e","signature":"30ce12bdb5685f2f51bf99f0378d27ba6a63c0542912e14675fb6c47aabe3e78","impliedFormat":99},{"version":"45f18ebdd37171250c5c071b2bf70584fcc8566c89159fe97722e10d0fb10f16","signature":"e58383679e063e6168c53ea7926b64afc4729a93462359fe85eea329dd89bada","impliedFormat":99},{"version":"ef59f9fbfa87ab40495cb6b788db775ff529e6ea73aea9e72f70fee00748f810","signature":"437af1ee4d474b3e69b9c076d995ec89d6729941d04a6a3e7a97b42f63916f10","impliedFormat":99},{"version":"5ea354c28ee54722bd0ac492c4228708b43a776edad600e669ee493e5f4599ac","signature":"7f41ba4babb4946976eba7dd0f74940e8add152c8a14858583270a7d383b7d0e","impliedFormat":99},{"version":"2ccb9f51885a1b275559f059c4e9e1f6c87931300e77e786bd1f519fe072f10c","signature":"b4e08301bfb10facf1203836440c8cc57e032a4631d3a1a48adc7208cc162a07","impliedFormat":99},{"version":"48c28eb300c4a8e7e7c2f9f4b72fee1f353ef1f93b2271ffdda5f5e4159b923d","signature":"439d35b3d53f68dbb7f1da9b713d1d29bec3c2dbb068ce4f07d81fe2a140bf1c","impliedFormat":99},{"version":"884944512d4124cce92d9589e4f7e7a36ceb3669d1e394aeb4032cb79ca25206","signature":"fc0117ad1211b41c9b4f3482f7993e9719472f5f67df4c8a592eb4659780a2c9","impliedFormat":99},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"378281aa35786c27d5811af7e6bcaa492eebd0c7013d48137c35bbc69a2b9751","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"10ec5e82144dfac6f04fa5d1d6c11763b3e4dbbac6d99101427219ab3e2ae887","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"074de5b2fdead0165a2757e3aaef20f27a6347b1c36adea27d51456795b37682","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"24371e69a38fc33e268d4a8716dbcda430d6c2c414a99ff9669239c4b8f40dea","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"3e11fce78ad8c0e1d1db4ba5f0652285509be3acdd519529bc8fcef85f7dafd9","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"9c32412007b5662fd34a8eb04292fb5314ec370d7016d1c2fb8aa193c807fe22","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"6ebe8ebb8659aaa9d1acbf3710d7dae3e923e97610238b9511c25dc39023a166","impliedFormat":1},{"version":"e85d7f8068f6a26710bff0cc8c0fc5e47f71089c3780fbede05857331d2ddec9","impliedFormat":1},{"version":"7befaf0e76b5671be1d47b77fcc65f2b0aad91cc26529df1904f4a7c46d216e9","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"c63b9ada8c72f95aac5db92aea07e5e87ec810353cdf63b2d78f49a58662cf6c","impliedFormat":1},{"version":"1cc2a09e1a61a5222d4174ab358a9f9de5e906afe79dbf7363d871a7edda3955","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"b64d4d1c5f877f9c666e98e833f0205edb9384acc46e98a1fef344f64d6aba44","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"c9381908473a1c92cb8c516b184e75f4d226dad95c3a85a5af35f670064d9a2f","impliedFormat":1},{"version":"f724236417941ea77ec8d38c6b7021f5fb7f8521c7f8c1538e87661f2c6a0774","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"c06b2652ffeb89afd0f1c52c165ced77032f9cd09bc481153fbd6b5504c69494","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"9d8f9e63e29a3396285620908e7f14d874d066caea747dc4b2c378f0599166b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"612422d5ba6b4a5c4537f423e9199645468ad80a689801da63ab7edb43f7b835","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"1cbdcdef62bf42688e5d825898c3a59458466c48ad8a4ef3f88d8a1cd04310d6","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc8c6f5322961b56d9906601b20798725df60baeab45ec014fba9f795d5596fd","impliedFormat":1},{"version":"0904660ae854e6d41f6ff25356db1d654436c6305b0f0aa89d1532df0253486e","impliedFormat":1},{"version":"060d305fe4494d8cb2b99d620928d369d1ee55c1645f5e729a2aca07d0f108cb","impliedFormat":1},{"version":"5b22bf96be06fca1e134e3a85351ffe7aa2edf0c9a5bd175b7239ee48186dbf5","impliedFormat":1},{"version":"0c50296ee73dae94efc3f0da4936b1146ca6ce2217acfabb44c19c9a33fa30e5","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"5b48cc670da1dfe926036deaf349085caf822def460a6d50de23f1cc12a5f8cd","impliedFormat":1},{"version":"418f34087d52d001e2688a6282a5de9bf583ff771ed5546af0ae36e4f60a458b","affectsGlobalScope":true,"impliedFormat":1},{"version":"036c9a03b01281f99f8251fdc7088e894566be44b3f139a9d48501a978b611df","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"04bf1aa481d1adfb16d93d76e44ce71c51c8ef68039d849926551199489637f6","impliedFormat":1},{"version":"2c9adcc85574b002c9a6311ff2141055769e0071856ec979d92ff989042b1f1b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1569ad5969ae0de6ad0bdfaaab0dabcd8878bc3147ab096206eed2019bb84e7f","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"42a350ce4f6f291198dc89833afcc4fd078248b4e1fdc9d05c846c66a670f710","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"b03754211d839cdc48979996525a32eb62130682c2f9801dfc2f25533ce7238d","impliedFormat":1},{"version":"3910dab597c40e173bf0e0d419d3ce9682c54ebf6ae84849f9b829b1451a17ec","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"486c074a5c0f2254345c0d1c9540380f5463999e42d7e1a159305ea823d3c4b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"f4d99ac08c4097a3cc202bec2c7198c19dcdd80d4ec6c62d1356b10d03b119d5","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"ca77e83162eccec633513723d178d4203bdd5465297267696be08013bab0aa1d","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"f61c153d5abbe4381a1fba0d41be0babdd5de51c626ee7ff14cede14dedc33f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7803171d745ab18e77f16bf82e742268ff72b7f7382ab191e4277527580c2d89","affectsGlobalScope":true,"impliedFormat":1},{"version":"0e9ba65cd3d6d194bdda7343f9f2917f7144ead96a924ca58d1a14919992dc20","impliedFormat":1},{"version":"255d948f87f24ffd57bcb2fdf95792fd418a2e1f712a98cf2cce88744d75085c","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"0b0dfb2d3e8420ead06f6a11acfb02ddcec42257e6ce391993e895ba0af86de4","affectsGlobalScope":true,"impliedFormat":1},{"version":"bfd3b3c21a56104693183942e221c1896ee23bcb8f8d91ab0b941f7b32985411","impliedFormat":1},{"version":"d7e9ab1b0996639047c61c1e62f85c620e4382206b3abb430d9a21fb7bc23c77","impliedFormat":1}],"root":[[65,78]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":4,"module":199,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":99,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[133,1],[134,1],[135,2],[81,3],[136,4],[137,5],[138,6],[79,7],[139,8],[140,9],[141,10],[142,11],[143,12],[144,13],[145,13],[146,14],[147,15],[148,16],[149,17],[82,7],[80,7],[150,18],[151,19],[152,20],[186,21],[153,22],[154,7],[155,23],[156,24],[157,25],[158,26],[159,27],[160,28],[161,29],[162,30],[163,31],[164,31],[165,32],[166,7],[167,33],[168,34],[170,35],[169,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],[83,7],[84,50],[85,7],[86,7],[129,51],[130,52],[131,7],[132,37],[184,53],[185,54],[59,7],[60,7],[10,7],[12,7],[11,7],[2,7],[13,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[20,7],[3,7],[21,7],[22,7],[4,7],[23,7],[27,7],[24,7],[25,7],[26,7],[28,7],[29,7],[30,7],[5,7],[31,7],[32,7],[33,7],[34,7],[6,7],[38,7],[35,7],[36,7],[37,7],[39,7],[7,7],[40,7],[45,7],[46,7],[41,7],[42,7],[43,7],[44,7],[8,7],[50,7],[47,7],[48,7],[49,7],[51,7],[9,7],[52,7],[53,7],[54,7],[56,7],[55,7],[1,7],[57,7],[58,7],[105,55],[117,56],[102,57],[118,58],[127,59],[93,60],[94,61],[92,62],[126,63],[121,64],[125,65],[96,66],[114,67],[95,68],[124,69],[90,70],[91,64],[97,71],[98,7],[104,72],[101,71],[88,73],[128,74],[119,75],[108,76],[107,71],[109,77],[112,78],[106,79],[110,80],[122,63],[99,81],[100,82],[113,83],[89,58],[116,84],[115,71],[103,82],[111,85],[120,7],[87,7],[123,86],[61,7],[63,87],[64,88],[62,7],[70,89],[71,90],[66,91],[69,92],[67,91],[72,93],[76,94],[75,95],[74,96],[73,93],[77,89],[78,97],[65,93],[68,93]],"latestChangedDtsFile":"./types.d.ts","version":"5.9.3"}