From 5cc277455edc7e251dd22b6ee6c4fa36a93913e9 Mon Sep 17 00:00:00 2001 From: Byron Guina Date: Wed, 12 Feb 2025 13:22:10 -0800 Subject: [PATCH 1/6] feat: initial js docs --- abis.ts | 6 ++++ constants.ts | 6 ++++ contracts.ts | 16 ++++++++-- index.ts | 55 +++++++++++++++++++++++++++++++++- package.json | 2 +- proto.ts | 13 ++++++++ src/account.ts | 6 ++++ src/blocks.ts | 20 +++++++++++++ src/core/account.ts | 7 +++++ src/core/base58.ts | 7 +++++ src/core/blocks/data.ts | 7 +++++ src/core/blocks/image.ts | 7 +++++ src/core/blocks/text.ts | 7 +++++ src/core/image.ts | 7 +++++ src/core/position.ts | 6 ++++ src/core/relation.ts | 64 +++++++++++++++++++++++++++++++++++++--- src/core/scheme.ts | 6 ++++ src/core/triple.ts | 6 ++++ src/id.ts | 7 +++++ src/image.ts | 6 ++++ src/position.ts | 5 ++++ src/relation.ts | 6 ++++ src/scheme.ts | 5 ++++ src/system-ids.ts | 6 ++++ src/triple.ts | 5 ++++ src/types.ts | 2 +- 26 files changed, 280 insertions(+), 10 deletions(-) diff --git a/abis.ts b/abis.ts index ffa9efd..209f311 100644 --- a/abis.ts +++ b/abis.ts @@ -1 +1,7 @@ +/** + * This module provides ABIs for known smart contracts used in the knowledge graph. + * + * @since 0.0.6 + */ + export * from './src/abis/index.js'; diff --git a/constants.ts b/constants.ts index e4ebd62..6f6915a 100644 --- a/constants.ts +++ b/constants.ts @@ -1,3 +1,9 @@ +/** + * This module provides common constants used in the knowledge graph. + * + * @since 0.0.6 + */ + import { Position, PositionRange } from './src/position.js'; export const INITIAL_RELATION_INDEX_VALUE = Position.createBetween(PositionRange.FIRST); diff --git a/contracts.ts b/contracts.ts index b39cf9c..14c1ff1 100644 --- a/contracts.ts +++ b/contracts.ts @@ -1,6 +1,13 @@ -// GOVERNANCE PLUGIN ADDRESSES -// from the plugin-repo-info.json in geo-contracts after deploying -// Jul 15, 2024 – L3 Testnet +/** + * This module provides the known contract addresses for smart contracts + * used in the knowledge graph. + * + * @since 0.0.6 + */ + +/** + * Mainnet contract addresses + */ export const MAINNET = { SPACE_PLUGIN_REPO_ADDRESS: '0xd9559df98e4103CDf0A119d4bff1537B383E462c', PERSONAL_SPACE_ADMIN_PLUGIN_REPO_ADDRESS: '0xa00870c6501349E126E71Dc1705fBaa2B5aeac0d', @@ -10,6 +17,9 @@ export const MAINNET = { PLUGIN_SETUP_PROCESSOR_ADDRESS: '0xfcC0Aba63c1F1f887099EAB0d1A624A5B7A82Fc2', }; +/** + * Testnet contract addresses + */ export const TESTNET = { SPACE_PLUGIN_REPO_ADDRESS: '0x0701454b0e80C53Ee8c3e0805616424758D7E7Fd', PERSONAL_SPACE_ADMIN_PLUGIN_REPO_ADDRESS: '0xAe8Ac47e5f3bDa62F6D1BD140AB8e1926D867355', diff --git a/index.ts b/index.ts index 6468268..7bdb58e 100644 --- a/index.ts +++ b/index.ts @@ -1,7 +1,21 @@ export * from './src/types.js'; +/** + * This module provides utility functions for working knowledge graph + * identifiers in TypeScript. + * + * @since 0.0.6 + */ export * as ID from './src/id.js'; + +/** + * This module provides utility functions for working with base58 ids + * in TypeScript. + * + * @since 0.0.6 + */ export { BASE58_ALLOWED_CHARS, decodeBase58ToUUID, encodeBase58 } from './src/core/base58.js'; + export { getAcceptEditorArguments, getAcceptSubspaceArguments, @@ -10,12 +24,51 @@ export { getRemoveEditorArguments, getRemoveSubspaceArguments, } from './src/encodings/index.js'; + +/** + * This module provides utility functions for working with knowledge graph + * images in TypeScript. + * + * @since 0.0.6 + */ export { Account } from './src/account.js'; -export { TextBlock, DataBlock } from './src/blocks.js'; + +export { TextBlock, DataBlock, ImageBlock } from './src/blocks.js'; + +/** + * This module provides utility functions for working with knowledge graph + * images in TypeScript. + * + * @since 0.0.6 + */ export { Image } from './src/image.js'; + export { Position, PositionRange } from './src/position.js'; + +/** + * This module provides utility functions for working with Triples in TypeScript. + * + * @since 0.0.6 + */ export { Triple } from './src/triple.js'; + +/** + * This module provides utility functions for working with Relations in TypeScript. + * + * @since 0.0.6 + */ export { Relation } from './src/relation.js'; + +/** + * This module provides utility functions for working with Graph URIs in TypeScript. + * + * @since 0.0.6 + */ export { GraphUrl } from './src/scheme.js'; + +/** + * Provides ids for commonly used entities across the Knowledge Graph. + */ export { SYSTEM_IDS, NETWORK_IDS, CONTENT_IDS } from './src/system-ids.js'; + export { getChecksumAddress } from './src/core/get-checksum-address.js'; diff --git a/package.json b/package.json index e6267ce..8e47744 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@graphprotocol/grc-20", - "version": "0.0.5", + "version": "0.0.6", "license": "MIT", "module": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/proto.ts b/proto.ts index 6107a9d..e003e23 100644 --- a/proto.ts +++ b/proto.ts @@ -1,2 +1,15 @@ +/** + * This module provides utility functions for working with GRC-20 protobufs + * in TypeScript. + * + * @since 0.0.6 + */ export * from './src/proto/gen/src/proto/ipfs_pb.js'; + +/** + * This module provides utility functions for working with the GRC-20 Edit + * protobuf in TypeScript. + * + * @since 0.0.6 + */ export * as EditProposal from './src/proto/edit.js'; diff --git a/src/account.ts b/src/account.ts index 8058ecb..af0ae04 100644 --- a/src/account.ts +++ b/src/account.ts @@ -1 +1,7 @@ +/** + * This module provides utility functions for working with knowledge graph + * images in TypeScript. + * + * @since 0.0.6 + */ export * as Account from './core/account.js'; diff --git a/src/blocks.ts b/src/blocks.ts index 60e126f..4c05c4d 100644 --- a/src/blocks.ts +++ b/src/blocks.ts @@ -1,3 +1,23 @@ +/** + * This module provides utility functions for working with data blocks + * in TypeScript. + * + * @since 0.0.6 + */ export * as DataBlock from './core/blocks/data.js'; + +/** + * This module provides utility functions for working with text blocks + * in TypeScript. + * + * @since 0.0.6 + */ export * as TextBlock from './core/blocks/text.js'; + +/** + * This module provides utility functions for working with image blocks + * in TypeScript. + * + * @since 0.0.6 + */ export * as ImageBlock from './core/blocks/image.js'; diff --git a/src/core/account.ts b/src/core/account.ts index 2b3da42..74be053 100644 --- a/src/core/account.ts +++ b/src/core/account.ts @@ -1,3 +1,10 @@ +/** + * This module provides utility functions for working with knowledge graph + * images in TypeScript. + * + * @since 0.0.6 + */ + import { make as makeId } from '../id.js'; import { Relation } from '../relation.js'; import type { CreateRelationOp, SetTripleOp } from '../types.js'; diff --git a/src/core/base58.ts b/src/core/base58.ts index c06f5fc..3a588e9 100644 --- a/src/core/base58.ts +++ b/src/core/base58.ts @@ -1,3 +1,10 @@ +/** + * This module provides utility functions for working with base58 ids + * in TypeScript. + * + * @since 0.0.6 + */ + export const BASE58_ALLOWED_CHARS = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; export type Base58 = string; diff --git a/src/core/blocks/data.ts b/src/core/blocks/data.ts index 1a0b2c3..b8522ae 100644 --- a/src/core/blocks/data.ts +++ b/src/core/blocks/data.ts @@ -1,3 +1,10 @@ +/** + * This module provides utility functions for working with data blocks + * in TypeScript. + * + * @since 0.0.6 + */ + import { make as makeId } from '../../id.js'; import { Relation } from '../../relation.js'; import { SYSTEM_IDS } from '../../system-ids.js'; diff --git a/src/core/blocks/image.ts b/src/core/blocks/image.ts index 0ddb244..5ceaf95 100644 --- a/src/core/blocks/image.ts +++ b/src/core/blocks/image.ts @@ -1,3 +1,10 @@ +/** + * This module provides utility functions for working with image blocks + * in TypeScript. + * + * @since 0.0.6 + */ + /** * Image entities and Image Blocks are functionally the same thing. The * relation consuming the entity is what gives it contextual meaning. e.g., diff --git a/src/core/blocks/text.ts b/src/core/blocks/text.ts index c25a6b6..c51c17c 100644 --- a/src/core/blocks/text.ts +++ b/src/core/blocks/text.ts @@ -1,3 +1,10 @@ +/** + * This module provides utility functions for working with text blocks + * in TypeScript. + * + * @since 0.0.6 + */ + import { make as makeId } from '../../id.js'; import { Relation } from '../../relation.js'; import { SYSTEM_IDS } from '../../system-ids.js'; diff --git a/src/core/image.ts b/src/core/image.ts index 059ceb5..e51f94d 100644 --- a/src/core/image.ts +++ b/src/core/image.ts @@ -1,3 +1,10 @@ +/** + * This module provides utility functions for working with knowledge graph + * images in TypeScript. + * + * @since 0.0.6 + */ + import { make as makeId } from '../id.js'; import { Relation } from '../relation.js'; import { SYSTEM_IDS } from '../system-ids.js'; diff --git a/src/core/position.ts b/src/core/position.ts index 8ded0a7..a4eda6a 100644 --- a/src/core/position.ts +++ b/src/core/position.ts @@ -1,3 +1,9 @@ +/** + * This module provides utility functions for working with fractional indexes in TypeScript. + * + * @since 0.0.6 + */ + import { PositionSource } from 'position-strings'; export const Position = new PositionSource(); diff --git a/src/core/relation.ts b/src/core/relation.ts index d74a491..74b05aa 100644 --- a/src/core/relation.ts +++ b/src/core/relation.ts @@ -1,17 +1,49 @@ +/** + * This module provides utility functions for working with Relations in TypeScript. + * + * @since 0.0.6 + */ + import { INITIAL_RELATION_INDEX_VALUE } from '../../constants.js'; import { make as makeId } from '../id.js'; import { SYSTEM_IDS } from '../system-ids.js'; import type { CreateRelationOp, DeleteRelationOp } from '../types.js'; import { Position } from './position.js'; +/** + * Arguments for creating a new Relation. + * + * @param relationId - optional base58 encoded v4 uuid + * @param fromId - base58 encoded v4 uuid + * @param toId - base58 encoded v4 uuid + * @param relationTypeId - base58 encoded v4 uuid + * @param position - optional fractional index using position-strings + */ interface CreateRelationArgs { relationId?: string; - fromId: string; // uuid - toId: string; // uuid - relationTypeId: string; // uuid - position?: string; // fractional index + fromId: string; + toId: string; + relationTypeId: string; + position?: string; } +/** + * Generates ops for a new Relation. + * + * ```ts + * const ops = Relation.make({ + * fromId: 'from-id', + * toId: 'to-id', + * relationTypeId: 'relation-type-id', + * // optional + * relationId: 'relation-id', + * position: 'position-string', + * }); + * ``` + * + * @param args {@link CreateRelationArgs} + * @returns {@link CreateRelationOp} + */ export function make(args: CreateRelationArgs): CreateRelationOp { const newEntityId = args.relationId ?? makeId(); @@ -27,6 +59,16 @@ export function make(args: CreateRelationArgs): CreateRelationOp { }; } +/** + * Generates ops for deleting a Relation. + * + * ```ts + * const op = Relation.remove('relation-id'); + * ``` + * + * @param relationId – base58 encoded v4 uuid representing the relation's entity id + * @returns {@link DeleteRelationOp} + */ export function remove(relationId: string): DeleteRelationOp { return { type: 'DELETE_RELATION', @@ -54,6 +96,20 @@ type ReorderRelationOp = { }; }; +/** + * Generates op for reordering a Relation using position-strings + * + * ```ts + * const op = Relation.reorder({ + * relationId: 'relation-id', + * beforeIndex: 'before-position', + * afterIndex: 'after-position', + * }); + * ``` + * + * @param args {@link ReorderRelationArgs} + * @returns {@link ReorderRelationOp} + */ export function reorder(args: ReorderRelationArgs): ReorderRelationOp { const newIndex = Position.createBetween(args.beforeIndex, args.afterIndex); diff --git a/src/core/scheme.ts b/src/core/scheme.ts index be62de1..fba03a6 100644 --- a/src/core/scheme.ts +++ b/src/core/scheme.ts @@ -1,3 +1,9 @@ +/** + * This module provides utility functions for working with Graph URIs in TypeScript. + * + * @since 0.0.6 + */ + type GraphUri = `graph://${string}`; type SchemeQueryParams = { diff --git a/src/core/triple.ts b/src/core/triple.ts index 00ba3d1..0015985 100644 --- a/src/core/triple.ts +++ b/src/core/triple.ts @@ -1,3 +1,9 @@ +/** + * This module provides utility functions for working with Triples in TypeScript. + * + * @since 0.0.6 + */ + import type { DeleteTripleOp, SetTripleOp, Value } from '../types.js'; interface CreateTripleArgs { diff --git a/src/id.ts b/src/id.ts index 6c9d379..d722069 100644 --- a/src/id.ts +++ b/src/id.ts @@ -1,3 +1,10 @@ +/** + * This module provides utility functions for working knowledge graph + * identifiers in TypeScript. + * + * @since 0.0.6 + */ + import { v4 as uuidv4 } from 'uuid'; import { encodeBase58 } from './core/base58.js'; diff --git a/src/image.ts b/src/image.ts index 8187741..fe70c9b 100644 --- a/src/image.ts +++ b/src/image.ts @@ -1 +1,7 @@ +/** + * This module provides utility functions for working with knowledge graph + * images in TypeScript. + * + * @since 0.0.6 + */ export * as Image from './core/image.js'; diff --git a/src/position.ts b/src/position.ts index c12147b..c2268c5 100644 --- a/src/position.ts +++ b/src/position.ts @@ -1 +1,6 @@ +/** + * This module provides utility functions for working with fractional indexes in TypeScript. + * + * @since 0.0.6 + */ export { PositionRange, Position } from './core/position.js'; diff --git a/src/relation.ts b/src/relation.ts index 3c9852f..e9751f9 100644 --- a/src/relation.ts +++ b/src/relation.ts @@ -1 +1,7 @@ +/** + * This module provides utility functions for working with Relations in TypeScript. + * + * @since 0.0.6 + */ + export * as Relation from './core/relation.js'; diff --git a/src/scheme.ts b/src/scheme.ts index a60b8fa..667a132 100644 --- a/src/scheme.ts +++ b/src/scheme.ts @@ -1 +1,6 @@ +/** + * This module provides utility functions for working with Graph URIs in TypeScript. + * + * @since 0.0.6 + */ export * as GraphUrl from './core/scheme.js'; diff --git a/src/system-ids.ts b/src/system-ids.ts index b87cbc9..c112fd8 100644 --- a/src/system-ids.ts +++ b/src/system-ids.ts @@ -1,3 +1,9 @@ +/** + * This module provides ids for commonly used entities across the Knowledge Graph. + * + * @since 0.0.6 + */ + export * as SYSTEM_IDS from './core/ids/system.js'; export * as NETWORK_IDS from './core/ids/network.js'; export * as CONTENT_IDS from './core/ids/content.js'; diff --git a/src/triple.ts b/src/triple.ts index 3e6ec6f..db2361c 100644 --- a/src/triple.ts +++ b/src/triple.ts @@ -1 +1,6 @@ +/** + * This module provides utility functions for working with Triples in TypeScript. + * + * @since 0.0.6 + */ export * as Triple from './core/triple.js'; diff --git a/src/types.ts b/src/types.ts index d981f8f..e8b122a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,4 @@ -export type OmitStrict = Pick>; +type OmitStrict = Pick>; export type ValueType = 'TEXT' | 'NUMBER' | 'CHECKBOX' | 'URL' | 'TIME' | 'POINT'; From e82ef913393710f92ff65f402b14e10b4c2e1542 Mon Sep 17 00:00:00 2001 From: Byron Guina Date: Wed, 12 Feb 2025 13:24:11 -0800 Subject: [PATCH 2/6] feat: add examples to relations --- src/core/relation.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/core/relation.ts b/src/core/relation.ts index 74b05aa..794fe7f 100644 --- a/src/core/relation.ts +++ b/src/core/relation.ts @@ -30,6 +30,7 @@ interface CreateRelationArgs { /** * Generates ops for a new Relation. * + * @example * ```ts * const ops = Relation.make({ * fromId: 'from-id', @@ -42,7 +43,7 @@ interface CreateRelationArgs { * ``` * * @param args {@link CreateRelationArgs} - * @returns {@link CreateRelationOp} + * @returns – {@link CreateRelationOp} */ export function make(args: CreateRelationArgs): CreateRelationOp { const newEntityId = args.relationId ?? makeId(); @@ -62,12 +63,13 @@ export function make(args: CreateRelationArgs): CreateRelationOp { /** * Generates ops for deleting a Relation. * + * @example * ```ts * const op = Relation.remove('relation-id'); * ``` * * @param relationId – base58 encoded v4 uuid representing the relation's entity id - * @returns {@link DeleteRelationOp} + * @returns – {@link DeleteRelationOp} */ export function remove(relationId: string): DeleteRelationOp { return { @@ -99,6 +101,7 @@ type ReorderRelationOp = { /** * Generates op for reordering a Relation using position-strings * + * @example * ```ts * const op = Relation.reorder({ * relationId: 'relation-id', @@ -108,7 +111,7 @@ type ReorderRelationOp = { * ``` * * @param args {@link ReorderRelationArgs} - * @returns {@link ReorderRelationOp} + * @returns – {@link ReorderRelationOp} */ export function reorder(args: ReorderRelationArgs): ReorderRelationOp { const newIndex = Position.createBetween(args.beforeIndex, args.afterIndex); From cdf97fdf5eb94f5c7fd6ee7dff12ca73776ef54b Mon Sep 17 00:00:00 2001 From: Byron Guina Date: Wed, 12 Feb 2025 13:25:37 -0800 Subject: [PATCH 3/6] feat: add examples to triples --- src/core/triple.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/core/triple.ts b/src/core/triple.ts index 0015985..2cabdd5 100644 --- a/src/core/triple.ts +++ b/src/core/triple.ts @@ -12,6 +12,23 @@ interface CreateTripleArgs { value: Value; } +/** + * Generates op for creating a new Triple. + * + * @example + * ```ts + * const op = Triple.make({ + * attributeId: 'attribute-id', + * entityId: 'entity-id', + * value: { + * type: 'TEXT', + * value: 'value', + * }, + * }); + * ``` + * @param args – {@link CreateTripleArgs} + * @returns – {@link SetTripleOp} + */ export function make(args: CreateTripleArgs): SetTripleOp { return { type: 'SET_TRIPLE', @@ -28,6 +45,20 @@ interface DeleteTripleArgs { entityId: string; } +/** + * Generates op for deleting a Triple. + * + * @example + * ```ts + * const op = Triple.remove({ + * attributeId: 'attribute-id', + * entityId: 'entity-id', + * }); + * ``` + * + * @param args – {@link DeleteTripleArgs} + * @returns – {@link DeleteTripleOp} + */ export function remove(args: DeleteTripleArgs): DeleteTripleOp { return { type: 'DELETE_TRIPLE', From 0c7ec99fdff8bb8fd5004851b1facb9c236cf6f6 Mon Sep 17 00:00:00 2001 From: Byron Guina Date: Wed, 12 Feb 2025 13:31:29 -0800 Subject: [PATCH 4/6] feat: graphuri scheme docs --- src/core/scheme.ts | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/src/core/scheme.ts b/src/core/scheme.ts index fba03a6..c6a2404 100644 --- a/src/core/scheme.ts +++ b/src/core/scheme.ts @@ -13,6 +13,22 @@ type SchemeQueryParams = { const SPACE_SEARCH_PARAM = 's'; const SCHEME_PREFIX = 'graph'; +/** + * Encodes an entity id into a Graph URI. Optionally, you can specify a space id to be included in the URI. + * + * @example + * ```ts + * const uri = GraphUrl.fromEntityId('entity-id'); + * console.log(uri); // graph://entity-id + * + * const uriWithSpaceId = GraphUrl.fromEntityId('entity-id', { spaceId: 'space-id' }); + * console.log(uriWithSpaceId); // graph://entity-id?s=space-id + * ``` + * + * @param entityId base58 encoded v4 uuid + * @param params optional params: {@link SchemeQueryParams} + * @returns Graph URI: {@link GraphUri} + */ export function fromEntityId(entityId: string, params: SchemeQueryParams = {}): GraphUri { if (isValid(entityId)) { throw new Error(`The passed in entityId should not start with ${SCHEME_PREFIX}://`); @@ -27,10 +43,43 @@ export function fromEntityId(entityId: string, params: SchemeQueryParams = {}): return uri; } +/** + * Returns true if the provided value is a valid Graph URI. + * + * @example + * ```ts + * const shouldBeTrue = GraphUrl.isValid('graph://entity-id'); + * console.log(shouldBeTrue); // true + * + * const shouldBeFalse = GraphUrl.isValid('entity-id'); + * console.log(shouldBeFalse); // false + * ``` + * + * @param value – Graph URI: {@link GraphUri} + * @returns – `true` if the value is a valid Graph URI, `false` otherwise + */ export function isValid(value: string): value is GraphUri { return value.startsWith(`${SCHEME_PREFIX}://`); } +/** + * Decodes the entity id from a Graph URI. Throws an error if the URI is not valid. + * + * @example + * ```ts + * const entityId = GraphUrl.toEntityId('graph://entity-id'); + * console.log(entityId); // entity-id + * + * const entityIdWithSpaceId = GraphUrl.toEntityId('graph://entity-id?s=space-id'); + * console.log(entityIdWithSpaceId); // entity-id + * + * const entityId = GraphUrl.toEntityId('invalid-uri'); // throws + * ``` + * + * @param uri – Graph URI: {@link GraphUri} + * @returns – base58 encoded v4 uuid representing an entity + * @throws Error if the URI is not valid + */ export function toEntityId(uri: GraphUri): string { const entity = uri.split(`${SCHEME_PREFIX}://`)?.[1]?.split('?')[0]; @@ -41,6 +90,21 @@ export function toEntityId(uri: GraphUri): string { return entity; } +/** + * Decodes the space id from a Graph URI. Throws an error if the URI is not valid. + * + * @example + * ```ts + * const spaceId = GraphUrl.toSpaceId('graph://entity-id?s=space-id'); + * console.log(spaceId); // space-id + * + * const spaceId = GraphUrl.toSpaceId('graph://entity-id'); // throws + * ``` + * + * @param uri – Graph URI: {@link GraphUri} + * @returns – base58 encoded v4 uuid representing a space + * @throws Error if the URI is not valid + */ export function toSpaceId(uri: GraphUri): string { const url = new URL(uri); const searchParams = url.searchParams; From c4cc927aa29a8f9a586deb56f4f2c9ee79dafc1c Mon Sep 17 00:00:00 2001 From: Byron Guina Date: Wed, 12 Feb 2025 13:37:27 -0800 Subject: [PATCH 5/6] feat: add js docs for dynamic entities --- src/core/account.ts | 14 ++++++++++++++ src/core/blocks/data.ts | 17 +++++++++++++++++ src/core/blocks/text.ts | 16 ++++++++++++++++ src/core/image.ts | 10 +++++++++- 4 files changed, 56 insertions(+), 1 deletion(-) diff --git a/src/core/account.ts b/src/core/account.ts index 74be053..1ef42e6 100644 --- a/src/core/account.ts +++ b/src/core/account.ts @@ -17,6 +17,20 @@ type MakeAccountReturnType = { ops: [CreateRelationOp, CreateRelationOp, SetTripleOp, SetTripleOp]; }; +/** + * Returns the ops to create an entity representing an Account. + * + * @example + * ```ts + * const { accountId, ops } = Account.make('0x1234'); + * console.log(accountId); // 'gw9uTVTnJdhtczyuzBkL3X' + * console.log(ops); // [...] + * ``` + * + * @param address – Ethereum address + * @returns accountId – base58 encoded v4 uuid representing the account entity: {@link MakeAccountReturnType} + * @returns ops – The ops for the Account entity: {@link MakeAccountReturnType} + */ export function make(address: string): MakeAccountReturnType { const accountId = makeId(); const checkedAddress = getChecksumAddress(address); diff --git a/src/core/blocks/data.ts b/src/core/blocks/data.ts index b8522ae..5c8a57e 100644 --- a/src/core/blocks/data.ts +++ b/src/core/blocks/data.ts @@ -25,6 +25,23 @@ function getSourceTypeId(sourceType: DataBlockSourceType) { type DataBlockArgs = { fromId: string; sourceType: DataBlockSourceType; position?: string; name?: string }; +/** + * Returns the ops to create an entity representing a Data Block. + * + * @example + * ```ts + * const ops = DataBlock.make({ + * fromId: 'from-id', + * sourceType: 'COLLECTION', + * // optional + * position: 'position-string', + * name: 'name', + * }); + * ``` + * + * @param param args {@link TextBlockArgs} + * @returns ops – The ops for the Data Block entity: {@link Op}[] + */ export function make({ fromId, sourceType, position, name }: DataBlockArgs): (SetTripleOp | CreateRelationOp)[] { const newBlockId = makeId(); diff --git a/src/core/blocks/text.ts b/src/core/blocks/text.ts index c51c17c..fd35967 100644 --- a/src/core/blocks/text.ts +++ b/src/core/blocks/text.ts @@ -12,6 +12,22 @@ import type { Op } from '../../types.js'; type TextBlockArgs = { fromId: string; text: string; position?: string }; +/** + * Returns the ops to create an entity representing a Text Block. + * + * @example + * ```ts + * const ops = TextBlock.make({ + * fromId: 'from-id', + * text: 'text', + * // optional + * position: 'position-string', + * }); + * ``` + * + * @param param args {@link TextBlockArgs} + * @returns ops – The ops for the Text Block entity: {@link Op}[] + */ export function make({ fromId, text, position }: TextBlockArgs): Op[] { const newBlockId = makeId(); diff --git a/src/core/image.ts b/src/core/image.ts index e51f94d..045f465 100644 --- a/src/core/image.ts +++ b/src/core/image.ts @@ -18,7 +18,15 @@ type MakeImageReturnType = { /** * Creates an entity representing an Image. * - * @returns ops: The SET_TRIPLE ops for an Image entity + * @example + * ```ts + * const { imageId, ops } = Image.make('https://example.com/image.png'); + * console.log(imageId); // 'gw9uTVTnJdhtczyuzBkL3X' + * console.log(ops); // [...] + * ``` + * + * @returns imageId – base58 encoded v4 uuid representing the image entity: {@link MakeImageReturnType} + * @returns ops – The ops for the Image entity: {@link MakeImageReturnType} */ export function make(src: string): MakeImageReturnType { const entityId = makeId(); From 68bd33b4db6affdd2985d1b229107c79bca75d04 Mon Sep 17 00:00:00 2001 From: Byron Guina Date: Wed, 12 Feb 2025 13:41:13 -0800 Subject: [PATCH 6/6] feat: add changeset --- .changeset/README.md | 8 + .changeset/config.json | 11 + .changeset/smart-rings-cry.md | 5 + package.json | 7 +- pnpm-lock.yaml | 737 ++++++++++++++++++++++++++++++++++ 5 files changed, 766 insertions(+), 2 deletions(-) create mode 100644 .changeset/README.md create mode 100644 .changeset/config.json create mode 100644 .changeset/smart-rings-cry.md diff --git a/.changeset/README.md b/.changeset/README.md new file mode 100644 index 0000000..e5b6d8d --- /dev/null +++ b/.changeset/README.md @@ -0,0 +1,8 @@ +# Changesets + +Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works +with multi-package repos, or single-package repos to help you version and publish your code. You can +find the full documentation for it [in our repository](https://github.com/changesets/changesets) + +We have a quick list of common questions to get you started engaging with this project in +[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) diff --git a/.changeset/config.json b/.changeset/config.json new file mode 100644 index 0000000..6b37255 --- /dev/null +++ b/.changeset/config.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json", + "changelog": "@changesets/cli/changelog", + "commit": false, + "fixed": [], + "linked": [], + "access": "restricted", + "baseBranch": "main", + "updateInternalDependencies": "patch", + "ignore": [] +} diff --git a/.changeset/smart-rings-cry.md b/.changeset/smart-rings-cry.md new file mode 100644 index 0000000..2ee9025 --- /dev/null +++ b/.changeset/smart-rings-cry.md @@ -0,0 +1,5 @@ +--- +'@graphprotocol/grc-20': patch +--- + +Adds JS Doc comments to APIs diff --git a/package.json b/package.json index 8e47744..c52ff3e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "main": "./dist/index.js", "ascMain": "./dist/index.js", "type": "module", - "files": ["dist"], + "files": [ + "dist" + ], "exports": { "./package.json": "./package.json", ".": "./dist/index.js", @@ -26,6 +28,7 @@ "dependencies": { "@biomejs/biome": "^1.9.4", "@bufbuild/protobuf": "^1.9.0", + "@changesets/cli": "^2.27.12", "@ethersproject/abi": "^5.6.4", "@ethersproject/providers": "^5.6.8", "@types/uuid": "^9.0.8", @@ -43,5 +46,5 @@ "prettier": "^3.2.5", "typescript": "^5.4.5" }, - "packageManager": "pnpm@9.15.4" + "packageManager": "pnpm@9.15.4" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8935869..96002ff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: '@bufbuild/protobuf': specifier: ^1.9.0 version: 1.10.0 + '@changesets/cli': + specifier: ^2.27.12 + version: 2.27.12 '@ethersproject/abi': specifier: ^5.6.4 version: 5.7.0 @@ -104,6 +107,10 @@ packages: engines: {node: '>=6.0.0'} hasBin: true + '@babel/runtime@7.26.7': + resolution: {integrity: sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ==} + engines: {node: '>=6.9.0'} + '@babel/template@7.26.8': resolution: {integrity: sha512-iNKaX3ZebKIsCvJ+0jd6embf+Aulaa3vNBqZ41kM7iTWjx5qzWKXGHiJUW3+nTpQ18SG11hdF8OAzKrpXkb96Q==} engines: {node: '>=6.9.0'} @@ -236,6 +243,61 @@ packages: '@bufbuild/protoplugin@1.10.0': resolution: {integrity: sha512-u6NE4vL0lw1+EK4/PiE/SQB7fKO4LRJNTEScIXVOi2x88K/c8WKc/k0KyEaA0asVBMpwekJQZGnRyj04ZtN5Gg==} + '@changesets/apply-release-plan@7.0.8': + resolution: {integrity: sha512-qjMUj4DYQ1Z6qHawsn7S71SujrExJ+nceyKKyI9iB+M5p9lCL55afuEd6uLBPRpLGWQwkwvWegDHtwHJb1UjpA==} + + '@changesets/assemble-release-plan@6.0.5': + resolution: {integrity: sha512-IgvBWLNKZd6k4t72MBTBK3nkygi0j3t3zdC1zrfusYo0KpdsvnDjrMM9vPnTCLCMlfNs55jRL4gIMybxa64FCQ==} + + '@changesets/changelog-git@0.2.0': + resolution: {integrity: sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==} + + '@changesets/cli@2.27.12': + resolution: {integrity: sha512-9o3fOfHYOvBnyEn0mcahB7wzaA3P4bGJf8PNqGit5PKaMEFdsRixik+txkrJWd2VX+O6wRFXpxQL8j/1ANKE9g==} + hasBin: true + + '@changesets/config@3.0.5': + resolution: {integrity: sha512-QyXLSSd10GquX7hY0Mt4yQFMEeqnO5z/XLpbIr4PAkNNoQNKwDyiSrx4yd749WddusH1v3OSiA0NRAYmH/APpQ==} + + '@changesets/errors@0.2.0': + resolution: {integrity: sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==} + + '@changesets/get-dependents-graph@2.1.2': + resolution: {integrity: sha512-sgcHRkiBY9i4zWYBwlVyAjEM9sAzs4wYVwJUdnbDLnVG3QwAaia1Mk5P8M7kraTOZN+vBET7n8KyB0YXCbFRLQ==} + + '@changesets/get-release-plan@4.0.6': + resolution: {integrity: sha512-FHRwBkY7Eili04Y5YMOZb0ezQzKikTka4wL753vfUA5COSebt7KThqiuCN9BewE4/qFGgF/5t3AuzXx1/UAY4w==} + + '@changesets/get-version-range-type@0.4.0': + resolution: {integrity: sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==} + + '@changesets/git@3.0.2': + resolution: {integrity: sha512-r1/Kju9Y8OxRRdvna+nxpQIsMsRQn9dhhAZt94FLDeu0Hij2hnOozW8iqnHBgvu+KdnJppCveQwK4odwfw/aWQ==} + + '@changesets/logger@0.1.1': + resolution: {integrity: sha512-OQtR36ZlnuTxKqoW4Sv6x5YIhOmClRd5pWsjZsddYxpWs517R0HkyiefQPIytCVh4ZcC5x9XaG8KTdd5iRQUfg==} + + '@changesets/parse@0.4.0': + resolution: {integrity: sha512-TS/9KG2CdGXS27S+QxbZXgr8uPsP4yNJYb4BC2/NeFUj80Rni3TeD2qwWmabymxmrLo7JEsytXH1FbpKTbvivw==} + + '@changesets/pre@2.0.1': + resolution: {integrity: sha512-vvBJ/If4jKM4tPz9JdY2kGOgWmCowUYOi5Ycv8dyLnEE8FgpYYUo1mgJZxcdtGGP3aG8rAQulGLyyXGSLkIMTQ==} + + '@changesets/read@0.6.2': + resolution: {integrity: sha512-wjfQpJvryY3zD61p8jR87mJdyx2FIhEcdXhKUqkja87toMrP/3jtg/Yg29upN+N4Ckf525/uvV7a4tzBlpk6gg==} + + '@changesets/should-skip-package@0.1.1': + resolution: {integrity: sha512-H9LjLbF6mMHLtJIc/eHR9Na+MifJ3VxtgP/Y+XLn4BF7tDTEN1HNYtH6QMcjP1uxp9sjaFYmW8xqloaCi/ckTg==} + + '@changesets/types@4.1.0': + resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} + + '@changesets/types@6.0.0': + resolution: {integrity: sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ==} + + '@changesets/write@0.3.2': + resolution: {integrity: sha512-kDxDrPNpUgsjDbWBvUo27PzKX4gqeKOlhibaOXDJA6kuBisGqNHv/HwGJrAu8U/dSf8ZEFIeHIPtvSlZI1kULw==} + '@esbuild/aix-ppc64@0.21.5': resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} @@ -486,6 +548,12 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@manypkg/find-root@1.1.0': + resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} + + '@manypkg/get-packages@1.1.3': + resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} + '@noble/curves@1.2.0': resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} @@ -493,6 +561,18 @@ packages: resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} engines: {node: '>= 16'} + '@nodelib/fs.scandir@2.1.5': + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + + '@nodelib/fs.stat@2.0.5': + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + + '@nodelib/fs.walk@1.2.8': + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + '@rollup/rollup-android-arm-eabi@4.34.6': resolution: {integrity: sha512-+GcCXtOQoWuC7hhX1P00LqjjIiS/iOouHXhMdiDSnq/1DGTox4SpUvO52Xm+div6+106r+TcvOeo/cxvyEyTgg==} cpu: [arm] @@ -612,6 +692,9 @@ packages: '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + '@types/node@12.20.55': + resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + '@types/seedrandom@2.4.34': resolution: {integrity: sha512-ytDiArvrn/3Xk6/vtylys5tlY6eo7Ane0hvcx++TKo6RxQXuVfW0AF/oeWqAj9dN29SyhtawuXstgmPlwNcv/A==} @@ -661,22 +744,45 @@ packages: aes-js@3.0.0: resolution: {integrity: sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==} + ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + ansi-styles@5.2.0: resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} engines: {node: '>=10'} + argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + + array-union@2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} bech32@1.1.4: resolution: {integrity: sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==} + better-path-resolve@1.0.0: + resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} + engines: {node: '>=4'} + bn.js@4.12.1: resolution: {integrity: sha512-k8TVBiPkPJT9uHLdOKfFpqcfprwBFOAAXXozRubr7R7PfIuKvQlzcI4M0pALeqXN09vdaMbUdUj+pass+uULAg==} bn.js@5.2.1: resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + brorand@1.1.0: resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} @@ -688,9 +794,16 @@ packages: resolution: {integrity: sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==} engines: {node: '>=4'} + chardet@0.7.0: + resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + check-error@1.0.3: resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + ci-info@3.9.0: + resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} + engines: {node: '>=8'} + confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} @@ -711,18 +824,35 @@ packages: resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} engines: {node: '>=6'} + detect-indent@6.1.0: + resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} + engines: {node: '>=8'} + diff-sequences@29.6.3: resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dir-glob@3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} + enquirer@2.4.1: + resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} + engines: {node: '>=8.6'} + esbuild@0.21.5: resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} engines: {node: '>=12'} hasBin: true + esprima@4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} @@ -733,6 +863,36 @@ packages: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} engines: {node: '>=16.17'} + extendable-error@0.1.7: + resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} + + external-editor@3.1.0: + resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} + engines: {node: '>=4'} + + fast-glob@3.3.3: + resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} + engines: {node: '>=8.6.0'} + + fastq@1.19.0: + resolution: {integrity: sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==} + + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + find-up@4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + + fs-extra@7.0.1: + resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} + engines: {node: '>=6 <7 || >=8'} + + fs-extra@8.1.0: + resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} + engines: {node: '>=6 <7 || >=8'} + fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -745,27 +905,69 @@ packages: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} + glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} + globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + hash.js@1.1.7: resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} hmac-drbg@1.0.1: resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} + human-id@1.0.2: + resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} + human-signals@5.0.0: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} + iconv-lite@0.4.24: + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} + + ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} + inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + is-stream@3.0.0: resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + is-subdir@1.2.0: + resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==} + engines: {node: '>=4'} + + is-windows@1.0.2: + resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} + engines: {node: '>=0.10.0'} + isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} @@ -786,6 +988,10 @@ packages: js-tokens@9.0.1: resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} + js-yaml@3.14.1: + resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} + hasBin: true + jsesc@2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} @@ -796,10 +1002,20 @@ packages: engines: {node: '>=6'} hasBin: true + jsonfile@4.0.0: + resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + local-pkg@0.5.1: resolution: {integrity: sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ==} engines: {node: '>=14'} + locate-path@5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + + lodash.startcase@4.4.0: + resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} + lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -812,6 +1028,14 @@ packages: merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} + mimic-fn@4.0.0: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} engines: {node: '>=12'} @@ -825,6 +1049,10 @@ packages: mlly@1.7.4: resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==} + mri@1.2.0: + resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} + engines: {node: '>=4'} + ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} @@ -841,10 +1069,44 @@ packages: resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} engines: {node: '>=12'} + os-tmpdir@1.0.2: + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} + + outdent@0.5.0: + resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} + + p-filter@2.1.0: + resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} + engines: {node: '>=8'} + + p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + p-limit@5.0.0: resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} engines: {node: '>=18'} + p-locate@4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + + p-map@2.1.0: + resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} + engines: {node: '>=6'} + + p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + + package-manager-detector@0.2.9: + resolution: {integrity: sha512-+vYvA/Y31l8Zk8dwxHhL3JfTuHPm6tlxM2A3GeQyl7ovYnSp1+mzAxClxaOr0qO1TtPxbQxetI7v5XqKLJZk7Q==} + + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} @@ -853,6 +1115,10 @@ packages: resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} engines: {node: '>=12'} + path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + pathe@1.1.2: resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} @@ -865,6 +1131,14 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + pify@4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + pkg-types@1.3.1: resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} @@ -875,6 +1149,11 @@ packages: resolution: {integrity: sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==} engines: {node: ^10 || ^12 || >=14} + prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} + hasBin: true + prettier@3.5.0: resolution: {integrity: sha512-quyMrVt6svPS7CjQ9gKb3GLEX/rl3BCL2oa/QkNcXv4YNVBC9olt3s+H7ukto06q7B1Qz46PbrKLO34PR6vXcA==} engines: {node: '>=14'} @@ -884,17 +1163,46 @@ packages: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + react-is@18.3.1: resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} + read-yaml-file@1.1.0: + resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} + engines: {node: '>=6'} + + regenerator-runtime@0.14.1: + resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} + + resolve-from@5.0.0: + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} + + reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + rollup@4.34.6: resolution: {integrity: sha512-wc2cBWqJgkU3Iz5oztRkQbfVkbxoz5EhnCGOrnJvnLnQ7O0WhQUYyv18qQI79O8L7DdHrrlJNeCHd4VGpnaXKQ==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + scrypt-js@3.0.1: resolution: {integrity: sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==} + semver@7.7.1: + resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + engines: {node: '>=10'} + hasBin: true + shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} @@ -910,6 +1218,10 @@ packages: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} + slash@3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -918,12 +1230,26 @@ packages: resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} engines: {node: '>=0.10.0'} + spawndamnit@3.0.1: + resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==} + + sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + stackback@0.0.2: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} std-env@3.8.0: resolution: {integrity: sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==} + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-bom@3.0.0: + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} + strip-final-newline@3.0.0: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} engines: {node: '>=12'} @@ -931,6 +1257,10 @@ packages: strip-literal@2.1.1: resolution: {integrity: sha512-631UJ6O00eNGfMiWG78ck80dfBab8X6IVFB51jZK5Icd7XAs60Z5y7QdSd/wGIklnWvRbUNloVzhOKKmutxQ6Q==} + term-size@2.2.1: + resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} + engines: {node: '>=8'} + tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} @@ -942,10 +1272,18 @@ packages: resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} engines: {node: '>=14.0.0'} + tmp@0.0.33: + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} + to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + type-detect@4.1.0: resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==} engines: {node: '>=4'} @@ -963,6 +1301,10 @@ packages: ufo@1.5.4: resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + universalify@0.1.2: + resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} + engines: {node: '>= 4.0.0'} + uuid@9.0.1: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true @@ -1123,6 +1465,10 @@ snapshots: dependencies: '@babel/types': 7.26.8 + '@babel/runtime@7.26.7': + dependencies: + regenerator-runtime: 0.14.1 + '@babel/template@7.26.8': dependencies: '@babel/code-frame': 7.26.2 @@ -1238,6 +1584,148 @@ snapshots: transitivePeerDependencies: - supports-color + '@changesets/apply-release-plan@7.0.8': + dependencies: + '@changesets/config': 3.0.5 + '@changesets/get-version-range-type': 0.4.0 + '@changesets/git': 3.0.2 + '@changesets/should-skip-package': 0.1.1 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + detect-indent: 6.1.0 + fs-extra: 7.0.1 + lodash.startcase: 4.4.0 + outdent: 0.5.0 + prettier: 2.8.8 + resolve-from: 5.0.0 + semver: 7.7.1 + + '@changesets/assemble-release-plan@6.0.5': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.2 + '@changesets/should-skip-package': 0.1.1 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + semver: 7.7.1 + + '@changesets/changelog-git@0.2.0': + dependencies: + '@changesets/types': 6.0.0 + + '@changesets/cli@2.27.12': + dependencies: + '@changesets/apply-release-plan': 7.0.8 + '@changesets/assemble-release-plan': 6.0.5 + '@changesets/changelog-git': 0.2.0 + '@changesets/config': 3.0.5 + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.2 + '@changesets/get-release-plan': 4.0.6 + '@changesets/git': 3.0.2 + '@changesets/logger': 0.1.1 + '@changesets/pre': 2.0.1 + '@changesets/read': 0.6.2 + '@changesets/should-skip-package': 0.1.1 + '@changesets/types': 6.0.0 + '@changesets/write': 0.3.2 + '@manypkg/get-packages': 1.1.3 + ansi-colors: 4.1.3 + ci-info: 3.9.0 + enquirer: 2.4.1 + external-editor: 3.1.0 + fs-extra: 7.0.1 + mri: 1.2.0 + p-limit: 2.3.0 + package-manager-detector: 0.2.9 + picocolors: 1.1.1 + resolve-from: 5.0.0 + semver: 7.7.1 + spawndamnit: 3.0.1 + term-size: 2.2.1 + + '@changesets/config@3.0.5': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.2 + '@changesets/logger': 0.1.1 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + fs-extra: 7.0.1 + micromatch: 4.0.8 + + '@changesets/errors@0.2.0': + dependencies: + extendable-error: 0.1.7 + + '@changesets/get-dependents-graph@2.1.2': + dependencies: + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + picocolors: 1.1.1 + semver: 7.7.1 + + '@changesets/get-release-plan@4.0.6': + dependencies: + '@changesets/assemble-release-plan': 6.0.5 + '@changesets/config': 3.0.5 + '@changesets/pre': 2.0.1 + '@changesets/read': 0.6.2 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + + '@changesets/get-version-range-type@0.4.0': {} + + '@changesets/git@3.0.2': + dependencies: + '@changesets/errors': 0.2.0 + '@manypkg/get-packages': 1.1.3 + is-subdir: 1.2.0 + micromatch: 4.0.8 + spawndamnit: 3.0.1 + + '@changesets/logger@0.1.1': + dependencies: + picocolors: 1.1.1 + + '@changesets/parse@0.4.0': + dependencies: + '@changesets/types': 6.0.0 + js-yaml: 3.14.1 + + '@changesets/pre@2.0.1': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + fs-extra: 7.0.1 + + '@changesets/read@0.6.2': + dependencies: + '@changesets/git': 3.0.2 + '@changesets/logger': 0.1.1 + '@changesets/parse': 0.4.0 + '@changesets/types': 6.0.0 + fs-extra: 7.0.1 + p-filter: 2.1.0 + picocolors: 1.1.1 + + '@changesets/should-skip-package@0.1.1': + dependencies: + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + + '@changesets/types@4.1.0': {} + + '@changesets/types@6.0.0': {} + + '@changesets/write@0.3.2': + dependencies: + '@changesets/types': 6.0.0 + fs-extra: 7.0.1 + human-id: 1.0.2 + prettier: 2.8.8 + '@esbuild/aix-ppc64@0.21.5': optional: true @@ -1583,12 +2071,40 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 + '@manypkg/find-root@1.1.0': + dependencies: + '@babel/runtime': 7.26.7 + '@types/node': 12.20.55 + find-up: 4.1.0 + fs-extra: 8.1.0 + + '@manypkg/get-packages@1.1.3': + dependencies: + '@babel/runtime': 7.26.7 + '@changesets/types': 4.1.0 + '@manypkg/find-root': 1.1.0 + fs-extra: 8.1.0 + globby: 11.1.0 + read-yaml-file: 1.1.0 + '@noble/curves@1.2.0': dependencies: '@noble/hashes': 1.3.2 '@noble/hashes@1.3.2': {} + '@nodelib/fs.scandir@2.1.5': + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + + '@nodelib/fs.stat@2.0.5': {} + + '@nodelib/fs.walk@1.2.8': + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.19.0 + '@rollup/rollup-android-arm-eabi@4.34.6': optional: true @@ -1675,6 +2191,8 @@ snapshots: '@types/estree@1.0.6': {} + '@types/node@12.20.55': {} + '@types/seedrandom@2.4.34': {} '@types/uuid@9.0.8': {} @@ -1727,16 +2245,34 @@ snapshots: aes-js@3.0.0: {} + ansi-colors@4.1.3: {} + + ansi-regex@5.0.1: {} + ansi-styles@5.2.0: {} + argparse@1.0.10: + dependencies: + sprintf-js: 1.0.3 + + array-union@2.1.0: {} + assertion-error@1.1.0: {} bech32@1.1.4: {} + better-path-resolve@1.0.0: + dependencies: + is-windows: 1.0.2 + bn.js@4.12.1: {} bn.js@5.2.1: {} + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + brorand@1.1.0: {} cac@6.7.14: {} @@ -1751,10 +2287,14 @@ snapshots: pathval: 1.1.1 type-detect: 4.1.0 + chardet@0.7.0: {} + check-error@1.0.3: dependencies: get-func-name: 2.0.2 + ci-info@3.9.0: {} + confbox@0.1.8: {} cross-spawn@7.0.6: @@ -1771,8 +2311,14 @@ snapshots: dependencies: type-detect: 4.1.0 + detect-indent@6.1.0: {} + diff-sequences@29.6.3: {} + dir-glob@3.0.1: + dependencies: + path-type: 4.0.0 + elliptic@6.5.4: dependencies: bn.js: 4.12.1 @@ -1783,6 +2329,11 @@ snapshots: minimalistic-assert: 1.0.1 minimalistic-crypto-utils: 1.0.1 + enquirer@2.4.1: + dependencies: + ansi-colors: 4.1.3 + strip-ansi: 6.0.1 + esbuild@0.21.5: optionalDependencies: '@esbuild/aix-ppc64': 0.21.5 @@ -1809,6 +2360,8 @@ snapshots: '@esbuild/win32-ia32': 0.21.5 '@esbuild/win32-x64': 0.21.5 + esprima@4.0.1: {} + estree-walker@3.0.3: dependencies: '@types/estree': 1.0.6 @@ -1861,6 +2414,47 @@ snapshots: signal-exit: 4.1.0 strip-final-newline: 3.0.0 + extendable-error@0.1.7: {} + + external-editor@3.1.0: + dependencies: + chardet: 0.7.0 + iconv-lite: 0.4.24 + tmp: 0.0.33 + + fast-glob@3.3.3: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.8 + + fastq@1.19.0: + dependencies: + reusify: 1.0.4 + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + find-up@4.1.0: + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + + fs-extra@7.0.1: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + + fs-extra@8.1.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + fsevents@2.3.3: optional: true @@ -1868,8 +2462,23 @@ snapshots: get-stream@8.0.1: {} + glob-parent@5.1.2: + dependencies: + is-glob: 4.0.3 + globals@11.12.0: {} + globby@11.1.0: + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.3 + ignore: 5.3.2 + merge2: 1.4.1 + slash: 3.0.0 + + graceful-fs@4.2.11: {} + hash.js@1.1.7: dependencies: inherits: 2.0.4 @@ -1881,12 +2490,34 @@ snapshots: minimalistic-assert: 1.0.1 minimalistic-crypto-utils: 1.0.1 + human-id@1.0.2: {} + human-signals@5.0.0: {} + iconv-lite@0.4.24: + dependencies: + safer-buffer: 2.1.2 + + ignore@5.3.2: {} + inherits@2.0.4: {} + is-extglob@2.1.1: {} + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-number@7.0.0: {} + is-stream@3.0.0: {} + is-subdir@1.2.0: + dependencies: + better-path-resolve: 1.0.0 + + is-windows@1.0.2: {} + isexe@2.0.0: {} isows@1.0.3(ws@8.13.0): @@ -1901,15 +2532,30 @@ snapshots: js-tokens@9.0.1: {} + js-yaml@3.14.1: + dependencies: + argparse: 1.0.10 + esprima: 4.0.1 + jsesc@2.5.2: {} jsesc@3.1.0: {} + jsonfile@4.0.0: + optionalDependencies: + graceful-fs: 4.2.11 + local-pkg@0.5.1: dependencies: mlly: 1.7.4 pkg-types: 1.3.1 + locate-path@5.0.0: + dependencies: + p-locate: 4.1.0 + + lodash.startcase@4.4.0: {} + lodash@4.17.21: {} loupe@2.3.7: @@ -1922,6 +2568,13 @@ snapshots: merge-stream@2.0.0: {} + merge2@1.4.1: {} + + micromatch@4.0.8: + dependencies: + braces: 3.0.3 + picomatch: 2.3.1 + mimic-fn@4.0.0: {} minimalistic-assert@1.0.1: {} @@ -1935,6 +2588,8 @@ snapshots: pkg-types: 1.3.1 ufo: 1.5.4 + mri@1.2.0: {} + ms@2.1.3: {} nanoid@3.3.8: {} @@ -1947,14 +2602,40 @@ snapshots: dependencies: mimic-fn: 4.0.0 + os-tmpdir@1.0.2: {} + + outdent@0.5.0: {} + + p-filter@2.1.0: + dependencies: + p-map: 2.1.0 + + p-limit@2.3.0: + dependencies: + p-try: 2.2.0 + p-limit@5.0.0: dependencies: yocto-queue: 1.1.1 + p-locate@4.1.0: + dependencies: + p-limit: 2.3.0 + + p-map@2.1.0: {} + + p-try@2.2.0: {} + + package-manager-detector@0.2.9: {} + + path-exists@4.0.0: {} + path-key@3.1.1: {} path-key@4.0.0: {} + path-type@4.0.0: {} + pathe@1.1.2: {} pathe@2.0.2: {} @@ -1963,6 +2644,10 @@ snapshots: picocolors@1.1.1: {} + picomatch@2.3.1: {} + + pify@4.0.1: {} + pkg-types@1.3.1: dependencies: confbox: 0.1.8 @@ -1979,6 +2664,8 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 + prettier@2.8.8: {} + prettier@3.5.0: {} pretty-format@29.7.0: @@ -1987,8 +2674,23 @@ snapshots: ansi-styles: 5.2.0 react-is: 18.3.1 + queue-microtask@1.2.3: {} + react-is@18.3.1: {} + read-yaml-file@1.1.0: + dependencies: + graceful-fs: 4.2.11 + js-yaml: 3.14.1 + pify: 4.0.1 + strip-bom: 3.0.0 + + regenerator-runtime@0.14.1: {} + + resolve-from@5.0.0: {} + + reusify@1.0.4: {} + rollup@4.34.6: dependencies: '@types/estree': 1.0.6 @@ -2014,8 +2716,16 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.34.6 fsevents: 2.3.3 + run-parallel@1.2.0: + dependencies: + queue-microtask: 1.2.3 + + safer-buffer@2.1.2: {} + scrypt-js@3.0.1: {} + semver@7.7.1: {} + shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 @@ -2026,28 +2736,53 @@ snapshots: signal-exit@4.1.0: {} + slash@3.0.0: {} + source-map-js@1.2.1: {} source-map@0.5.7: {} + spawndamnit@3.0.1: + dependencies: + cross-spawn: 7.0.6 + signal-exit: 4.1.0 + + sprintf-js@1.0.3: {} + stackback@0.0.2: {} std-env@3.8.0: {} + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-bom@3.0.0: {} + strip-final-newline@3.0.0: {} strip-literal@2.1.1: dependencies: js-tokens: 9.0.1 + term-size@2.2.1: {} + tinybench@2.9.0: {} tinypool@0.8.4: {} tinyspy@2.2.1: {} + tmp@0.0.33: + dependencies: + os-tmpdir: 1.0.2 + to-fast-properties@2.0.0: {} + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + type-detect@4.1.0: {} typescript@4.5.2: {} @@ -2056,6 +2791,8 @@ snapshots: ufo@1.5.4: {} + universalify@0.1.2: {} + uuid@9.0.1: {} viem@1.21.4(typescript@5.7.3):