a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
99
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: enable allowImportingTsExtensions

Mary ece2cea2 eefcc7ce

+1678 -1552
+2 -2
packages/bluesky/moderation/lib/_test-util/moderation-behavior.ts
··· 2 2 3 3 import { expect } from 'vitest'; 4 4 5 - import { LabelPreference, type DisplayRestrictions, type ModerationOptions } from '../index.js'; 5 + import { LabelPreference, type DisplayRestrictions, type ModerationOptions } from '../index.ts'; 6 6 7 - import * as m from './mock.js'; 7 + import * as m from './mock.ts'; 8 8 9 9 export type ModerationTestSuiteResultFlag = 'filter' | 'blur' | 'alert' | 'inform' | 'noOverride'; 10 10
+2 -2
packages/bluesky/moderation/lib/behaviors.test.ts
··· 6 6 type SuiteConfigurations, 7 7 type SuiteScenarios, 8 8 type SuiteUsers, 9 - } from './_test-util/moderation-behavior.js'; 9 + } from './_test-util/moderation-behavior.ts'; 10 10 import { 11 11 DisplayContext, 12 12 getDisplayRestrictions, 13 13 LabelPreference, 14 14 moderatePost, 15 15 moderateProfile, 16 - } from './index.js'; 16 + } from './index.ts'; 17 17 18 18 const USERS: SuiteUsers = { 19 19 self: {
+3 -3
packages/bluesky/moderation/lib/custom-labels.test.ts
··· 2 2 3 3 import { describe, expect, it } from 'vitest'; 4 4 5 - import * as mock from './_test-util/mock.js'; 6 - import { type ModerationTestSuiteResultFlag } from './_test-util/moderation-behavior.js'; 5 + import * as mock from './_test-util/mock.ts'; 6 + import { type ModerationTestSuiteResultFlag } from './_test-util/moderation-behavior.ts'; 7 7 import { 8 8 DisplayContext, 9 9 type InterpretedLabelDefinition, ··· 13 13 interpretLabelValueDefinition, 14 14 moderatePost, 15 15 moderateProfile, 16 - } from './index.js'; 16 + } from './index.ts'; 17 17 18 18 interface ScenarioResult { 19 19 profileList?: ModerationTestSuiteResultFlag[];
+4 -4
packages/bluesky/moderation/lib/decision.ts
··· 1 1 import type { AppBskyGraphDefs } from '@atcute/bluesky'; 2 2 import type { Did } from '@atcute/lexicons'; 3 3 4 - import { DisplayContext, ModerationAction, type BehaviorMapping, type LabelTarget } from './behaviors.js'; 5 - import type { KeywordFilter } from './keyword-filter.js'; 4 + import { DisplayContext, ModerationAction, type BehaviorMapping, type LabelTarget } from './behaviors.ts'; 5 + import type { KeywordFilter } from './keyword-filter.ts'; 6 6 import { 7 7 BUILTIN_LABELS, 8 8 isCustomLabelValue, 9 9 LabelFlags, 10 10 LabelPreference, 11 11 type InterpretedLabelDefinition, 12 - } from './label.js'; 13 - import type { Label, LabelerPreference, ModerationOptions } from './types.js'; 12 + } from './label.ts'; 13 + import type { Label, LabelerPreference, ModerationOptions } from './types.ts'; 14 14 15 15 const enum ModerationSeverity { 16 16 High = 1,
+11 -11
packages/bluesky/moderation/lib/index.ts
··· 4 4 ModerationAction, 5 5 type BehaviorMapping, 6 6 type LabelBehaviorMatrix, 7 - } from './behaviors.js'; 7 + } from './behaviors.ts'; 8 8 export { 9 9 ModerationCauseType, 10 10 type BlockedByModerationCause, ··· 16 16 type MutedKeywordModerationCause, 17 17 type MutedPermanentModerationCause, 18 18 type MutedTemporaryModerationCause, 19 - } from './decision.js'; 19 + } from './decision.ts'; 20 20 21 21 export { 22 22 createKeywordPattern, ··· 25 25 KeywordFilterFlags, 26 26 type KeywordFilter, 27 27 type KeywordMatch, 28 - } from './keyword-filter.js'; 28 + } from './keyword-filter.ts'; 29 29 export { 30 30 BlurLevel, 31 31 interpretLabelerDefinition, ··· 38 38 type InterpretedLabelDefinition, 39 39 type InterpretedLabelMapping, 40 40 type LabelLocale, 41 - } from './label.js'; 41 + } from './label.ts'; 42 42 43 43 export { 44 44 type FeedGeneratorSubject, ··· 50 50 type NotificationSubject, 51 51 type PostSubject, 52 52 type ProfileSubject, 53 - } from './types.js'; 53 + } from './types.ts'; 54 54 55 - export { getDisplayRestrictions, type DisplayRestrictions } from './ui.js'; 55 + export { getDisplayRestrictions, type DisplayRestrictions } from './ui.ts'; 56 56 57 - export { moderateFeedGenerator } from './subjects/feed-generator.js'; 58 - export { moderateList } from './subjects/list.js'; 59 - export { moderateNotification } from './subjects/notification.js'; 60 - export { moderatePost } from './subjects/post.js'; 61 - export { moderateProfile } from './subjects/profile.js'; 57 + export { moderateFeedGenerator } from './subjects/feed-generator.ts'; 58 + export { moderateList } from './subjects/list.ts'; 59 + export { moderateNotification } from './subjects/notification.ts'; 60 + export { moderatePost } from './subjects/post.ts'; 61 + export { moderateProfile } from './subjects/profile.ts';
+1 -1
packages/bluesky/moderation/lib/internal/keyword-filter.ts
··· 1 1 import type { AppBskyActorDefs } from '@atcute/bluesky'; 2 2 3 - import { KeywordFilterFlags, type KeywordFilter } from '../keyword-filter.js'; 3 + import { KeywordFilterFlags, type KeywordFilter } from '../keyword-filter.ts'; 4 4 5 5 const EMPTY_ARRAY: never[] = []; 6 6
+1 -1
packages/bluesky/moderation/lib/label.ts
··· 2 2 import type { AppBskyLabelerDefs } from '@atcute/bluesky'; 3 3 import type { Did } from '@atcute/lexicons'; 4 4 5 - import { DisplayContext, LabelTarget, ModerationAction, type LabelBehaviorMatrix } from './behaviors.js'; 5 + import { DisplayContext, LabelTarget, ModerationAction, type LabelBehaviorMatrix } from './behaviors.ts'; 6 6 7 7 export enum LabelPreference { 8 8 /** ignore this label */
+3 -3
packages/bluesky/moderation/lib/quotes.test.ts
··· 2 2 3 3 import { describe, expect, it } from 'vitest'; 4 4 5 - import * as mock from './_test-util/mock.js'; 6 - import { type ModerationTestSuiteResultFlag } from './_test-util/moderation-behavior.js'; 5 + import * as mock from './_test-util/mock.ts'; 6 + import { type ModerationTestSuiteResultFlag } from './_test-util/moderation-behavior.ts'; 7 7 import { 8 8 DisplayContext, 9 9 getDisplayRestrictions, ··· 12 12 moderatePost, 13 13 type InterpretedLabelDefinition, 14 14 type ModerationOptions, 15 - } from './index.js'; 15 + } from './index.ts'; 16 16 17 17 interface ScenarioResult { 18 18 profileList?: ModerationTestSuiteResultFlag[];
+4 -4
packages/bluesky/moderation/lib/subjects/feed-generator.ts
··· 1 - import { LabelTarget } from '../behaviors.js'; 1 + import { LabelTarget } from '../behaviors.ts'; 2 2 import { 3 3 considerLabels, 4 4 createModerationDecision, 5 5 mergeModerationDecisions, 6 6 type ModerationDecision, 7 - } from '../decision.js'; 8 - import type { FeedGeneratorSubject, ModerationOptions } from '../types.js'; 7 + } from '../decision.ts'; 8 + import type { FeedGeneratorSubject, ModerationOptions } from '../types.ts'; 9 9 10 - import { moderateProfile } from './profile.js'; 10 + import { moderateProfile } from './profile.ts'; 11 11 12 12 export const moderateFeedGenerator = ( 13 13 subject: FeedGeneratorSubject,
+4 -4
packages/bluesky/moderation/lib/subjects/list.ts
··· 1 1 import { parseCanonicalResourceUri } from '@atcute/lexicons'; 2 2 3 - import { LabelTarget } from '../behaviors.js'; 3 + import { LabelTarget } from '../behaviors.ts'; 4 4 import { 5 5 considerLabels, 6 6 createModerationDecision, 7 7 mergeModerationDecisions, 8 8 type ModerationDecision, 9 - } from '../decision.js'; 10 - import type { ListSubject, ModerationOptions } from '../types.js'; 9 + } from '../decision.ts'; 10 + import type { ListSubject, ModerationOptions } from '../types.ts'; 11 11 12 - import { moderateProfile } from './profile.js'; 12 + import { moderateProfile } from './profile.ts'; 13 13 14 14 export const moderateList = (subject: ListSubject, opts: ModerationOptions): ModerationDecision => { 15 15 if ('creator' in subject) {
+4 -4
packages/bluesky/moderation/lib/subjects/notification.ts
··· 1 - import { LabelTarget } from '../behaviors.js'; 1 + import { LabelTarget } from '../behaviors.ts'; 2 2 import { 3 3 considerLabels, 4 4 createModerationDecision, 5 5 mergeModerationDecisions, 6 6 type ModerationDecision, 7 - } from '../decision.js'; 8 - import type { ModerationOptions, NotificationSubject } from '../types.js'; 7 + } from '../decision.ts'; 8 + import type { ModerationOptions, NotificationSubject } from '../types.ts'; 9 9 10 - import { moderateProfile } from './profile.js'; 10 + import { moderateProfile } from './profile.ts'; 11 11 12 12 export const moderateNotification = ( 13 13 subject: NotificationSubject,
+6 -6
packages/bluesky/moderation/lib/subjects/post.ts
··· 8 8 } from '@atcute/bluesky'; 9 9 import type { CanonicalResourceUri } from '@atcute/lexicons'; 10 10 11 - import { LabelTarget } from '../behaviors.js'; 11 + import { LabelTarget } from '../behaviors.ts'; 12 12 import { 13 13 considerBlockedBy, 14 14 considerBlocking, ··· 19 19 downgradeDecision, 20 20 mergeModerationDecisions, 21 21 type ModerationDecision, 22 - } from '../decision.js'; 23 - import { matchesKeywordFilters } from '../internal/keyword-filter.js'; 24 - import type { KeywordFilter } from '../keyword-filter.js'; 25 - import type { ModerationOptions, PostSubject } from '../types.js'; 22 + } from '../decision.ts'; 23 + import { matchesKeywordFilters } from '../internal/keyword-filter.ts'; 24 + import type { KeywordFilter } from '../keyword-filter.ts'; 25 + import type { ModerationOptions, PostSubject } from '../types.ts'; 26 26 27 - import { moderateProfile } from './profile.js'; 27 + import { moderateProfile } from './profile.ts'; 28 28 29 29 export const moderatePost = (subject: PostSubject, opts: ModerationOptions) => { 30 30 return mergeModerationDecisions(
+3 -3
packages/bluesky/moderation/lib/subjects/profile.ts
··· 1 - import { LabelTarget } from '../behaviors.js'; 1 + import { LabelTarget } from '../behaviors.ts'; 2 2 import { 3 3 considerBlockedBy, 4 4 considerBlocking, ··· 6 6 considerPermanentMute, 7 7 createModerationDecision, 8 8 type ModerationDecision, 9 - } from '../decision.js'; 10 - import type { ModerationOptions, ProfileSubject } from '../types.js'; 9 + } from '../decision.ts'; 10 + import type { ModerationOptions, ProfileSubject } from '../types.ts'; 11 11 12 12 export const moderateProfile = (subject: ProfileSubject, opts: ModerationOptions): ModerationDecision => { 13 13 const decision = createModerationDecision(subject.did, opts);
+2 -2
packages/bluesky/moderation/lib/types.ts
··· 8 8 } from '@atcute/bluesky'; 9 9 import type { CanonicalResourceUri, Did } from '@atcute/lexicons'; 10 10 11 - import type { KeywordFilter } from './keyword-filter.js'; 12 - import type { InterpretedLabelMapping, LabelPreference } from './label.js'; 11 + import type { KeywordFilter } from './keyword-filter.ts'; 12 + import type { InterpretedLabelMapping, LabelPreference } from './label.ts'; 13 13 14 14 export type Label = ComAtprotoLabelDefs.Label; 15 15
+3 -3
packages/bluesky/moderation/lib/ui.ts
··· 6 6 LabelTarget, 7 7 ModerationAction, 8 8 MUTE_BEHAVIOR, 9 - } from './behaviors.js'; 10 - import { ModerationCauseType, type ModerationCause, type ModerationDecision } from './decision.js'; 11 - import { LabelPreference } from './label.js'; 9 + } from './behaviors.ts'; 10 + import { ModerationCauseType, type ModerationCause, type ModerationDecision } from './decision.ts'; 11 + import { LabelPreference } from './label.ts'; 12 12 13 13 export interface DisplayRestrictions { 14 14 noOverride: boolean;
+2
packages/bluesky/moderation/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2
packages/bluesky/richtext-builder/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/bluesky/richtext-parser/lib/index.test.ts
··· 1 1 import { expect, it } from 'vitest'; 2 2 3 - import { tokenize } from './index.js'; 3 + import { tokenize } from './index.ts'; 4 4 5 5 it('plain', () => { 6 6 expect(tokenize('hello world')).toEqual([
+2
packages/bluesky/richtext-parser/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/bluesky/richtext-segmenter/lib/index.bench.ts
··· 2 2 import '@atcute/bluesky/lexicons'; 3 3 import { bench, run } from 'mitata'; 4 4 5 - import { segmentize } from './index.js'; 5 + import { segmentize } from './index.ts'; 6 6 7 7 interface TestCase { 8 8 name: string;
+1 -1
packages/bluesky/richtext-segmenter/lib/index.test.ts
··· 2 2 3 3 import { expect, expectTypeOf, it } from 'vitest'; 4 4 5 - import { segmentize, type Facet, type RichtextSegment } from './index.js'; 5 + import { segmentize, type Facet, type RichtextSegment } from './index.ts'; 6 6 7 7 it('does utf8 slicing', () => { 8 8 expect(
+2
packages/bluesky/richtext-segmenter/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/bluesky/search-parser/lib/index.test.ts
··· 1 1 import * as fc from 'fast-check'; 2 2 import { expect, it } from 'vitest'; 3 3 4 - import { tokenize, type Token } from './index.js'; 4 + import { tokenize, type Token } from './index.ts'; 5 5 6 6 it('tokenizes search queries', () => { 7 7 expect(tokenize(`hello world`)).toEqual([
+2
packages/bluesky/search-parser/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+4 -4
packages/bluesky/threading/lib/index.ts
··· 17 17 import type { $type, Blob as AtBlob, CanonicalResourceUri, ResourceUri } from '@atcute/lexicons'; 18 18 import * as TID from '@atcute/tid'; 19 19 20 - import { serializeRecordCid } from './cbor.js'; 21 - import { getNow } from './time.js'; 20 + import { serializeRecordCid } from './cbor.ts'; 21 + import { getNow } from './time.ts'; 22 22 import type { 23 23 ComposedThread, 24 24 ComposedThreadgate, 25 25 PostEmbed, 26 26 PostMediaEmbed, 27 27 PostRecordEmbed, 28 - } from './types.js'; 28 + } from './types.ts'; 29 29 30 - export type * from './types.js'; 30 + export type * from './types.ts'; 31 31 32 32 /** 33 33 * Create post records and publish them
+2
packages/bluesky/threading/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+3 -3
packages/clients/cache/lib/index.ts
··· 1 - export { NormalizedCache } from './store.js'; 2 - export type { NormalizedCacheOptions } from './store.js'; 3 - export type { EntityDefinition, EntitySubscriber, EntityTypeId, TypeSubscriber } from './types.js'; 1 + export { NormalizedCache } from './store.ts'; 2 + export type { NormalizedCacheOptions } from './store.ts'; 3 + export type { EntityDefinition, EntitySubscriber, EntityTypeId, TypeSubscriber } from './types.ts';
+1 -1
packages/clients/cache/lib/store.test.ts
··· 3 3 4 4 import { describe, expect, it, vi } from 'vitest'; 5 5 6 - import { NormalizedCache } from './store.js'; 6 + import { NormalizedCache } from './store.ts'; 7 7 8 8 // sample data from https://api.bsky.app/xrpc/app.bsky.feed.getFeed 9 9 const sampleFeedResponse: AppBskyFeedGetFeed.$output = {
+3 -3
packages/clients/cache/lib/store.ts
··· 1 1 import type { BaseSchema, InferOutput, ObjectSchema } from '@atcute/lexicons/validations'; 2 2 3 - import type { EntityDefinition, EntitySubscriber, EntityTypeId, TypeSubscriber } from './types.js'; 4 - import { getTypeIdFromSchema } from './types.js'; 5 - import { WalkerCache } from './walker.js'; 3 + import type { EntityDefinition, EntitySubscriber, EntityTypeId, TypeSubscriber } from './types.ts'; 4 + import { getTypeIdFromSchema } from './types.ts'; 5 + import { WalkerCache } from './walker.ts'; 6 6 7 7 type AnyEntityDefinition = EntityDefinition<ObjectSchema>; 8 8
+1 -1
packages/clients/cache/lib/types.ts
··· 1 1 import type { BaseSchema, InferOutput, ObjectSchema } from '@atcute/lexicons/validations'; 2 2 3 - import { isLiteralSchema, isOptionalSchema } from './predicates.js'; 3 + import { isLiteralSchema, isOptionalSchema } from './predicates.ts'; 4 4 5 5 /** entity type identifier, extracted from schema's $type literal */ 6 6 export type EntityTypeId = string;
+3 -3
packages/clients/cache/lib/walker.ts
··· 6 6 isObjectSchema, 7 7 isOptionalSchema, 8 8 isVariantSchema, 9 - } from './predicates.js'; 10 - import type { EntityTypeId } from './types.js'; 11 - import { getTypeIdFromSchema } from './types.js'; 9 + } from './predicates.ts'; 10 + import type { EntityTypeId } from './types.ts'; 11 + import { getTypeIdFromSchema } from './types.ts'; 12 12 13 13 /** 14 14 * compiled walk function for a schema
+2
packages/clients/cache/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+3 -3
packages/clients/client/lib/agent.test.ts
··· 3 3 4 4 import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest'; 5 5 6 - import { Client, ok } from './client.js'; 7 - import { CredentialManager, type AtpSessionData } from './credential-manager.js'; 8 - import { simpleFetchHandler } from './fetch-handler.js'; 6 + import { Client, ok } from './client.ts'; 7 + import { CredentialManager, type AtpSessionData } from './credential-manager.ts'; 8 + import { simpleFetchHandler } from './fetch-handler.ts'; 9 9 10 10 let network: TestNetwork; 11 11
+2 -2
packages/clients/client/lib/client.test.ts
··· 2 2 3 3 import { assertType, describe, expect, it, vi } from 'vitest'; 4 4 5 - import { Client, ClientValidationError } from './client.js'; 6 - import type { FetchHandler } from './fetch-handler.js'; 5 + import { Client, ClientValidationError } from './client.ts'; 6 + import type { FetchHandler } from './fetch-handler.ts'; 7 7 8 8 const headersContaining = (expected: Record<string, string>) => ({ 9 9 asymmetricMatch(actual: unknown) {
+1 -1
packages/clients/client/lib/client.ts
··· 11 11 XRPCQueryMetadata, 12 12 } from '@atcute/lexicons/validations'; 13 13 14 - import { buildFetchHandler, type FetchHandler, type FetchHandlerObject } from './fetch-handler.js'; 14 + import { buildFetchHandler, type FetchHandler, type FetchHandlerObject } from './fetch-handler.ts'; 15 15 16 16 // #region Type utilities 17 17 type RequiredKeysOf<TType extends object> = TType extends any
+3 -3
packages/clients/client/lib/credential-manager.ts
··· 2 2 import { getPdsEndpoint, type DidDocument } from '@atcute/identity'; 3 3 import type { Did } from '@atcute/lexicons'; 4 4 5 - import { Client, ClientResponseError, isXRPCErrorPayload, ok } from './client.js'; 6 - import { simpleFetchHandler, type FetchHandlerObject } from './fetch-handler.js'; 7 - import { decodeJwt } from './utils/jwt.js'; 5 + import { Client, ClientResponseError, isXRPCErrorPayload, ok } from './client.ts'; 6 + import { simpleFetchHandler, type FetchHandlerObject } from './fetch-handler.ts'; 7 + import { decodeJwt } from './utils/jwt.ts'; 8 8 9 9 /** 10 10 * represents the decoded access token, for convenience
+3 -3
packages/clients/client/lib/index.ts
··· 1 - export * from './client.js'; 2 - export * from './fetch-handler.js'; 3 - export * from './credential-manager.js'; 1 + export * from './client.ts'; 2 + export * from './fetch-handler.ts'; 3 + export * from './credential-manager.ts';
+2
packages/clients/client/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1 -1
packages/clients/firehose/lib/frame-decoder.ts
··· 1 1 import { decode, decodeFirst } from '@atcute/cbor'; 2 2 3 - import type { DecodedFrame, ErrorFrameBody, FrameHeader } from './types.js'; 3 + import type { DecodedFrame, ErrorFrameBody, FrameHeader } from './types.ts'; 4 4 5 5 /** 6 6 * decodes a CBOR frame from a buffer
+2 -2
packages/clients/firehose/lib/index.ts
··· 1 - export { FirehoseSubscription } from './subscription.js'; 2 - export type { FirehoseSubscriptionOptions, MessageOf, ParamsOf } from './types.js'; 1 + export { FirehoseSubscription } from './subscription.ts'; 2 + export type { FirehoseSubscriptionOptions, MessageOf, ParamsOf } from './types.ts';
+2 -2
packages/clients/firehose/lib/subscription.ts
··· 5 5 import { WebSocket as ReconnectingWebSocket } from 'partysocket'; 6 6 import type { ReadonlyDeep } from 'type-fest'; 7 7 8 - import { addTypeToBody, decodeFrame } from './frame-decoder.js'; 9 - import type { FirehoseSubscriptionOptions, MessageOf, ParamsOf } from './types.js'; 8 + import { addTypeToBody, decodeFrame } from './frame-decoder.ts'; 9 + import type { FirehoseSubscriptionOptions, MessageOf, ParamsOf } from './types.ts'; 10 10 11 11 /** 12 12 * generic XRPC subscription client for AT Protocol
+2
packages/clients/firehose/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+3 -3
packages/clients/jetstream/lib/index.ts
··· 1 - export * from './subscription.js'; 2 - export * from './types.js'; 3 - export * from './typedefs.js'; 1 + export * from './subscription.ts'; 2 + export * from './types.ts'; 3 + export * from './typedefs.ts';
+2 -2
packages/clients/jetstream/lib/subscription.ts
··· 6 6 import type { CloseEvent, ErrorEvent, Options } from 'partysocket/ws'; 7 7 import type { ReadonlyDeep } from 'type-fest'; 8 8 9 - import { jetstreamEventSchema } from './typedefs.js'; 10 - import type { JetstreamEvent, JetstreamProcedure } from './types.js'; 9 + import { jetstreamEventSchema } from './typedefs.ts'; 10 + import type { JetstreamEvent, JetstreamProcedure } from './types.ts'; 11 11 12 12 export interface JetstreamSubscriptionOptions { 13 13 url: string | string[];
+1 -1
packages/clients/jetstream/lib/typedefs.ts
··· 2 2 3 3 import * as v from '@badrap/valita'; 4 4 5 - import type * as t from './types.js'; 5 + import type * as t from './types.ts'; 6 6 7 7 const cidString = v.string().assert(isCid, `must be a cid`); 8 8 const datetimeString = v.string().assert(isDatetime, `must be a datetime`);
+2
packages/clients/jetstream/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1 -1
packages/clients/tap/lib/dev-index.ts
··· 1 - import { TapClient } from './tap-client.js'; 1 + import { TapClient } from './tap-client.ts'; 2 2 3 3 const tap = new TapClient({ url: 'http://localhost:2480' }); 4 4
+4 -4
packages/clients/tap/lib/index.ts
··· 1 - export { TapClient } from './tap-client.js'; 2 - export { TapSubscription } from './tap-subscription.js'; 1 + export { TapClient } from './tap-client.ts'; 2 + export { TapSubscription } from './tap-subscription.ts'; 3 3 4 - export * as defs from './typedefs.js'; 5 - export type * from './types.js'; 4 + export * as defs from './typedefs.ts'; 5 + export type * from './types.ts';
+4 -4
packages/clients/tap/lib/tap-client.ts
··· 1 1 import { defs as identityDefs, type DidDocument } from '@atcute/identity'; 2 2 import type { Did } from '@atcute/lexicons'; 3 3 4 - import { TapSubscription } from './tap-subscription.js'; 5 - import { repoInfoSchema } from './typedefs.js'; 6 - import type { RepoInfo, TapClientOptions, TapSubscribeOptions } from './types.js'; 7 - import { formatAdminAuthHeader } from './utils.js'; 4 + import { TapSubscription } from './tap-subscription.ts'; 5 + import { repoInfoSchema } from './typedefs.ts'; 6 + import type { RepoInfo, TapClientOptions, TapSubscribeOptions } from './types.ts'; 7 + import { formatAdminAuthHeader } from './utils.ts'; 8 8 9 9 export class TapClient { 10 10 #url: URL;
+2 -2
packages/clients/tap/lib/tap-subscription.test.ts
··· 4 4 import { describe, expect, it } from 'vitest'; 5 5 import { WebSocketServer, type RawData, type WebSocket } from 'ws'; 6 6 7 - import { TapSubscription } from './tap-subscription.js'; 8 - import { flattenTapEvent, tapEventWireSchema, tapRecordEventWireSchema } from './typedefs.js'; 7 + import { TapSubscription } from './tap-subscription.ts'; 8 + import { flattenTapEvent, tapEventWireSchema, tapRecordEventWireSchema } from './typedefs.ts'; 9 9 10 10 type RecordEventWire = v.Infer<typeof tapRecordEventWireSchema>; 11 11
+3 -3
packages/clients/tap/lib/tap-subscription.ts
··· 5 5 import { WebSocket as ReconnectingWebSocket } from 'partysocket'; 6 6 import type { ReadonlyDeep } from 'type-fest'; 7 7 8 - import { flattenTapEvent, tapEventWireSchema } from './typedefs.js'; 9 - import type { TapEvent, TapSubscribeOptions, TapSubscriptionMessage } from './types.js'; 10 - import { formatAdminAuthHeader } from './utils.js'; 8 + import { flattenTapEvent, tapEventWireSchema } from './typedefs.ts'; 9 + import type { TapEvent, TapSubscribeOptions, TapSubscriptionMessage } from './types.ts'; 10 + import { formatAdminAuthHeader } from './utils.ts'; 11 11 12 12 export interface TapSubscriptionOptions extends TapSubscribeOptions { 13 13 url: string;
+1 -1
packages/clients/tap/lib/typedefs.ts
··· 2 2 3 3 import * as v from '@badrap/valita'; 4 4 5 - import type * as t from './types.js'; 5 + import type * as t from './types.ts'; 6 6 7 7 const didString = v.string().assert(isDid, `must be a did`); 8 8 const handleString = v.string().assert(isHandle, `must be a handle`);
+2
packages/clients/tap/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/atproto/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 7 8 pull: { 8 9 outdir: 'lexicons/',
+1 -1
packages/definitions/atproto/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+95 -95
packages/definitions/atproto/lib/lexicons/index.ts
··· 1 - export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs.js'; 2 - export * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount.js'; 3 - export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites.js'; 4 - export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes.js'; 5 - export * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites.js'; 6 - export * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo.js'; 7 - export * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos.js'; 8 - export * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes.js'; 9 - export * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus.js'; 10 - export * as ComAtprotoAdminSearchAccounts from './types/com/atproto/admin/searchAccounts.js'; 11 - export * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail.js'; 12 - export * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail.js'; 13 - export * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle.js'; 14 - export * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword.js'; 15 - export * as ComAtprotoAdminUpdateAccountSigningKey from './types/com/atproto/admin/updateAccountSigningKey.js'; 16 - export * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus.js'; 17 - export * as ComAtprotoIdentityDefs from './types/com/atproto/identity/defs.js'; 18 - export * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials.js'; 19 - export * as ComAtprotoIdentityRefreshIdentity from './types/com/atproto/identity/refreshIdentity.js'; 20 - export * as ComAtprotoIdentityRequestPlcOperationSignature from './types/com/atproto/identity/requestPlcOperationSignature.js'; 21 - export * as ComAtprotoIdentityResolveDid from './types/com/atproto/identity/resolveDid.js'; 22 - export * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle.js'; 23 - export * as ComAtprotoIdentityResolveIdentity from './types/com/atproto/identity/resolveIdentity.js'; 24 - export * as ComAtprotoIdentitySignPlcOperation from './types/com/atproto/identity/signPlcOperation.js'; 25 - export * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/identity/submitPlcOperation.js'; 26 - export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js'; 27 - export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js'; 28 - export * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js'; 29 - export * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js'; 30 - export * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js'; 31 - export * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js'; 32 - export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js'; 33 - export * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.js'; 34 - export * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js'; 35 - export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js'; 36 - export * as ComAtprotoRepoDefs from './types/com/atproto/repo/defs.js'; 37 - export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.js'; 38 - export * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo.js'; 39 - export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.js'; 40 - export * as ComAtprotoRepoImportRepo from './types/com/atproto/repo/importRepo.js'; 41 - export * as ComAtprotoRepoListMissingBlobs from './types/com/atproto/repo/listMissingBlobs.js'; 42 - export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords.js'; 43 - export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js'; 44 - export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef.js'; 45 - export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob.js'; 46 - export * as ComAtprotoServerActivateAccount from './types/com/atproto/server/activateAccount.js'; 47 - export * as ComAtprotoServerCheckAccountStatus from './types/com/atproto/server/checkAccountStatus.js'; 48 - export * as ComAtprotoServerConfirmEmail from './types/com/atproto/server/confirmEmail.js'; 49 - export * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount.js'; 50 - export * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword.js'; 51 - export * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode.js'; 52 - export * as ComAtprotoServerCreateInviteCodes from './types/com/atproto/server/createInviteCodes.js'; 53 - export * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession.js'; 54 - export * as ComAtprotoServerDeactivateAccount from './types/com/atproto/server/deactivateAccount.js'; 55 - export * as ComAtprotoServerDefs from './types/com/atproto/server/defs.js'; 56 - export * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount.js'; 57 - export * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession.js'; 58 - export * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer.js'; 59 - export * as ComAtprotoServerGetAccountInviteCodes from './types/com/atproto/server/getAccountInviteCodes.js'; 60 - export * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.js'; 61 - export * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession.js'; 62 - export * as ComAtprotoServerListAppPasswords from './types/com/atproto/server/listAppPasswords.js'; 63 - export * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession.js'; 64 - export * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete.js'; 65 - export * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation.js'; 66 - export * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate.js'; 67 - export * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset.js'; 68 - export * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey.js'; 69 - export * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword.js'; 70 - export * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword.js'; 71 - export * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail.js'; 72 - export * as ComAtprotoSyncDefs from './types/com/atproto/sync/defs.js'; 73 - export * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob.js'; 74 - export * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks.js'; 75 - export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout.js'; 76 - export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead.js'; 77 - export * as ComAtprotoSyncGetHostStatus from './types/com/atproto/sync/getHostStatus.js'; 78 - export * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit.js'; 79 - export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord.js'; 80 - export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo.js'; 81 - export * as ComAtprotoSyncGetRepoStatus from './types/com/atproto/sync/getRepoStatus.js'; 82 - export * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs.js'; 83 - export * as ComAtprotoSyncListHosts from './types/com/atproto/sync/listHosts.js'; 84 - export * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos.js'; 85 - export * as ComAtprotoSyncListReposByCollection from './types/com/atproto/sync/listReposByCollection.js'; 86 - export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate.js'; 87 - export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl.js'; 88 - export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos.js'; 89 - export * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js'; 90 - export * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js'; 91 - export * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js'; 92 - export * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/dereferenceScope.js'; 93 - export * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'; 94 - export * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'; 95 - export * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js'; 1 + export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs.ts'; 2 + export * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount.ts'; 3 + export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites.ts'; 4 + export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes.ts'; 5 + export * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites.ts'; 6 + export * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo.ts'; 7 + export * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos.ts'; 8 + export * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes.ts'; 9 + export * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus.ts'; 10 + export * as ComAtprotoAdminSearchAccounts from './types/com/atproto/admin/searchAccounts.ts'; 11 + export * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail.ts'; 12 + export * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail.ts'; 13 + export * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle.ts'; 14 + export * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword.ts'; 15 + export * as ComAtprotoAdminUpdateAccountSigningKey from './types/com/atproto/admin/updateAccountSigningKey.ts'; 16 + export * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus.ts'; 17 + export * as ComAtprotoIdentityDefs from './types/com/atproto/identity/defs.ts'; 18 + export * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials.ts'; 19 + export * as ComAtprotoIdentityRefreshIdentity from './types/com/atproto/identity/refreshIdentity.ts'; 20 + export * as ComAtprotoIdentityRequestPlcOperationSignature from './types/com/atproto/identity/requestPlcOperationSignature.ts'; 21 + export * as ComAtprotoIdentityResolveDid from './types/com/atproto/identity/resolveDid.ts'; 22 + export * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle.ts'; 23 + export * as ComAtprotoIdentityResolveIdentity from './types/com/atproto/identity/resolveIdentity.ts'; 24 + export * as ComAtprotoIdentitySignPlcOperation from './types/com/atproto/identity/signPlcOperation.ts'; 25 + export * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/identity/submitPlcOperation.ts'; 26 + export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.ts'; 27 + export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.ts'; 28 + export * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.ts'; 29 + export * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.ts'; 30 + export * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.ts'; 31 + export * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.ts'; 32 + export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.ts'; 33 + export * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.ts'; 34 + export * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.ts'; 35 + export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.ts'; 36 + export * as ComAtprotoRepoDefs from './types/com/atproto/repo/defs.ts'; 37 + export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.ts'; 38 + export * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo.ts'; 39 + export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.ts'; 40 + export * as ComAtprotoRepoImportRepo from './types/com/atproto/repo/importRepo.ts'; 41 + export * as ComAtprotoRepoListMissingBlobs from './types/com/atproto/repo/listMissingBlobs.ts'; 42 + export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords.ts'; 43 + export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.ts'; 44 + export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef.ts'; 45 + export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob.ts'; 46 + export * as ComAtprotoServerActivateAccount from './types/com/atproto/server/activateAccount.ts'; 47 + export * as ComAtprotoServerCheckAccountStatus from './types/com/atproto/server/checkAccountStatus.ts'; 48 + export * as ComAtprotoServerConfirmEmail from './types/com/atproto/server/confirmEmail.ts'; 49 + export * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount.ts'; 50 + export * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword.ts'; 51 + export * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode.ts'; 52 + export * as ComAtprotoServerCreateInviteCodes from './types/com/atproto/server/createInviteCodes.ts'; 53 + export * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession.ts'; 54 + export * as ComAtprotoServerDeactivateAccount from './types/com/atproto/server/deactivateAccount.ts'; 55 + export * as ComAtprotoServerDefs from './types/com/atproto/server/defs.ts'; 56 + export * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount.ts'; 57 + export * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession.ts'; 58 + export * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer.ts'; 59 + export * as ComAtprotoServerGetAccountInviteCodes from './types/com/atproto/server/getAccountInviteCodes.ts'; 60 + export * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.ts'; 61 + export * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession.ts'; 62 + export * as ComAtprotoServerListAppPasswords from './types/com/atproto/server/listAppPasswords.ts'; 63 + export * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession.ts'; 64 + export * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete.ts'; 65 + export * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation.ts'; 66 + export * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate.ts'; 67 + export * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset.ts'; 68 + export * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey.ts'; 69 + export * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword.ts'; 70 + export * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword.ts'; 71 + export * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail.ts'; 72 + export * as ComAtprotoSyncDefs from './types/com/atproto/sync/defs.ts'; 73 + export * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob.ts'; 74 + export * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks.ts'; 75 + export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout.ts'; 76 + export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead.ts'; 77 + export * as ComAtprotoSyncGetHostStatus from './types/com/atproto/sync/getHostStatus.ts'; 78 + export * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit.ts'; 79 + export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord.ts'; 80 + export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo.ts'; 81 + export * as ComAtprotoSyncGetRepoStatus from './types/com/atproto/sync/getRepoStatus.ts'; 82 + export * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs.ts'; 83 + export * as ComAtprotoSyncListHosts from './types/com/atproto/sync/listHosts.ts'; 84 + export * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos.ts'; 85 + export * as ComAtprotoSyncListReposByCollection from './types/com/atproto/sync/listReposByCollection.ts'; 86 + export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate.ts'; 87 + export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl.ts'; 88 + export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos.ts'; 89 + export * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.ts'; 90 + export * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.ts'; 91 + export * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.ts'; 92 + export * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/dereferenceScope.ts'; 93 + export * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.ts'; 94 + export * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.ts'; 95 + export * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.ts';
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/admin/defs.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as ComAtprotoServerDefs from '../server/defs.js'; 4 + import * as ComAtprotoServerDefs from '../server/defs.ts'; 5 5 6 6 const _accountViewSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.admin.defs#accountView')),
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/admin/getAccountInfo.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoAdminDefs from './defs.js'; 5 + import * as ComAtprotoAdminDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getAccountInfo', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/admin/getAccountInfos.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoAdminDefs from './defs.js'; 5 + import * as ComAtprotoAdminDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getAccountInfos', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/admin/getInviteCodes.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoServerDefs from '../server/defs.js'; 5 + import * as ComAtprotoServerDefs from '../server/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getInviteCodes', { 8 8 params: /*#__PURE__*/ v.object({
+2 -2
packages/definitions/atproto/lib/lexicons/types/com/atproto/admin/getSubjectStatus.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoRepoStrongRef from '../repo/strongRef.js'; 5 + import * as ComAtprotoRepoStrongRef from '../repo/strongRef.ts'; 6 6 7 - import * as ComAtprotoAdminDefs from './defs.js'; 7 + import * as ComAtprotoAdminDefs from './defs.ts'; 8 8 9 9 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getSubjectStatus', { 10 10 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/admin/searchAccounts.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoAdminDefs from './defs.js'; 5 + import * as ComAtprotoAdminDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.searchAccounts', { 8 8 params: /*#__PURE__*/ v.object({
+2 -2
packages/definitions/atproto/lib/lexicons/types/com/atproto/admin/updateSubjectStatus.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoRepoStrongRef from '../repo/strongRef.js'; 5 + import * as ComAtprotoRepoStrongRef from '../repo/strongRef.ts'; 6 6 7 - import * as ComAtprotoAdminDefs from './defs.js'; 7 + import * as ComAtprotoAdminDefs from './defs.ts'; 8 8 9 9 const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.updateSubjectStatus', { 10 10 params: null,
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/identity/refreshIdentity.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoIdentityDefs from './defs.js'; 5 + import * as ComAtprotoIdentityDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.identity.refreshIdentity', { 8 8 params: null,
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/identity/resolveIdentity.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoIdentityDefs from './defs.js'; 5 + import * as ComAtprotoIdentityDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.identity.resolveIdentity', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/label/queryLabels.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoLabelDefs from './defs.js'; 5 + import * as ComAtprotoLabelDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.label.queryLabels', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/label/subscribeLabels.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoLabelDefs from './defs.js'; 5 + import * as ComAtprotoLabelDefs from './defs.ts'; 6 6 7 7 const _infoSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.subscribeLabels#info')),
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/lexicon/resolveLexicon.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoLexiconSchema from './schema.js'; 5 + import * as ComAtprotoLexiconSchema from './schema.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.lexicon.resolveLexicon', { 8 8 params: /*#__PURE__*/ v.object({
+3 -3
packages/definitions/atproto/lib/lexicons/types/com/atproto/moderation/createReport.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoAdminDefs from '../admin/defs.js'; 6 - import * as ComAtprotoRepoStrongRef from '../repo/strongRef.js'; 5 + import * as ComAtprotoAdminDefs from '../admin/defs.ts'; 6 + import * as ComAtprotoRepoStrongRef from '../repo/strongRef.ts'; 7 7 8 - import * as ComAtprotoModerationDefs from './defs.js'; 8 + import * as ComAtprotoModerationDefs from './defs.ts'; 9 9 10 10 const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createReport', { 11 11 params: null,
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/repo/applyWrites.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoRepoDefs from './defs.js'; 5 + import * as ComAtprotoRepoDefs from './defs.ts'; 6 6 7 7 const _createSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.repo.applyWrites#create')),
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/repo/createRecord.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoRepoDefs from './defs.js'; 5 + import * as ComAtprotoRepoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.createRecord', { 8 8 params: null,
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/repo/deleteRecord.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoRepoDefs from './defs.js'; 5 + import * as ComAtprotoRepoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.deleteRecord', { 8 8 params: null,
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/repo/putRecord.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoRepoDefs from './defs.js'; 5 + import * as ComAtprotoRepoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.putRecord', { 8 8 params: null,
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/server/getAccountInviteCodes.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoServerDefs from './defs.js'; 5 + import * as ComAtprotoServerDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.getAccountInviteCodes', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/sync/getHostStatus.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoSyncDefs from './defs.js'; 5 + import * as ComAtprotoSyncDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getHostStatus', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/sync/listHosts.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoSyncDefs from './defs.js'; 5 + import * as ComAtprotoSyncDefs from './defs.ts'; 6 6 7 7 const _hostSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listHosts#host')),
+1 -1
packages/definitions/atproto/lib/lexicons/types/com/atproto/temp/fetchLabels.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComAtprotoLabelDefs from '../label/defs.js'; 5 + import * as ComAtprotoLabelDefs from '../label/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.fetchLabels', { 8 8 params: /*#__PURE__*/ v.object({
+2
packages/definitions/atproto/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/bluemoji/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto', '@atcute/bluesky'], 7 8 8 9 // pull: {
+1 -1
packages/definitions/bluemoji/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+13 -13
packages/definitions/bluemoji/lib/lexicons/index.ts
··· 1 - export * as BlueMojiCollectionDefs from './types/blue/moji/collection/defs.js'; 2 - export * as BlueMojiCollectionGetItem from './types/blue/moji/collection/getItem.js'; 3 - export * as BlueMojiCollectionItem from './types/blue/moji/collection/item.js'; 4 - export * as BlueMojiCollectionListCollection from './types/blue/moji/collection/listCollection.js'; 5 - export * as BlueMojiCollectionPutItem from './types/blue/moji/collection/putItem.js'; 6 - export * as BlueMojiCollectionSaveToCollection from './types/blue/moji/collection/saveToCollection.js'; 7 - export * as BlueMojiPacksDefs from './types/blue/moji/packs/defs.js'; 8 - export * as BlueMojiPacksGetActorPacks from './types/blue/moji/packs/getActorPacks.js'; 9 - export * as BlueMojiPacksGetPack from './types/blue/moji/packs/getPack.js'; 10 - export * as BlueMojiPacksGetPacks from './types/blue/moji/packs/getPacks.js'; 11 - export * as BlueMojiPacksPack from './types/blue/moji/packs/pack.js'; 12 - export * as BlueMojiPacksPackitem from './types/blue/moji/packs/packitem.js'; 13 - export * as BlueMojiRichtextFacet from './types/blue/moji/richtext/facet.js'; 1 + export * as BlueMojiCollectionDefs from './types/blue/moji/collection/defs.ts'; 2 + export * as BlueMojiCollectionGetItem from './types/blue/moji/collection/getItem.ts'; 3 + export * as BlueMojiCollectionItem from './types/blue/moji/collection/item.ts'; 4 + export * as BlueMojiCollectionListCollection from './types/blue/moji/collection/listCollection.ts'; 5 + export * as BlueMojiCollectionPutItem from './types/blue/moji/collection/putItem.ts'; 6 + export * as BlueMojiCollectionSaveToCollection from './types/blue/moji/collection/saveToCollection.ts'; 7 + export * as BlueMojiPacksDefs from './types/blue/moji/packs/defs.ts'; 8 + export * as BlueMojiPacksGetActorPacks from './types/blue/moji/packs/getActorPacks.ts'; 9 + export * as BlueMojiPacksGetPack from './types/blue/moji/packs/getPack.ts'; 10 + export * as BlueMojiPacksGetPacks from './types/blue/moji/packs/getPacks.ts'; 11 + export * as BlueMojiPacksPack from './types/blue/moji/packs/pack.ts'; 12 + export * as BlueMojiPacksPackitem from './types/blue/moji/packs/packitem.ts'; 13 + export * as BlueMojiRichtextFacet from './types/blue/moji/richtext/facet.ts';
+1 -1
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/collection/getItem.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as BlueMojiCollectionItem from './item.js'; 5 + import * as BlueMojiCollectionItem from './item.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('blue.moji.collection.getItem', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/collection/listCollection.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as BlueMojiCollectionItem from './item.js'; 5 + import * as BlueMojiCollectionItem from './item.ts'; 6 6 7 7 const _itemViewSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blue.moji.collection.listCollection#itemView')),
+1 -1
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/collection/putItem.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as BlueMojiCollectionItem from './item.js'; 5 + import * as BlueMojiCollectionItem from './item.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('blue.moji.collection.putItem', { 8 8 params: null,
+1 -1
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/collection/saveToCollection.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as BlueMojiCollectionItem from './item.js'; 5 + import * as BlueMojiCollectionItem from './item.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('blue.moji.collection.saveToCollection', { 8 8 params: null,
+2 -2
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/packs/defs.ts
··· 4 4 import type {} from '@atcute/lexicons'; 5 5 import * as v from '@atcute/lexicons/validations'; 6 6 7 - import * as BlueMojiCollectionItem from '../collection/item.js'; 8 - import * as BlueMojiRichtextFacet from '../richtext/facet.js'; 7 + import * as BlueMojiCollectionItem from '../collection/item.ts'; 8 + import * as BlueMojiRichtextFacet from '../richtext/facet.ts'; 9 9 10 10 const _packItemViewSchema = /*#__PURE__*/ v.object({ 11 11 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blue.moji.packs.defs#packItemView')),
+1 -1
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/packs/getActorPacks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as BlueMojiPacksDefs from './defs.js'; 5 + import * as BlueMojiPacksDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('blue.moji.packs.getActorPacks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/packs/getPack.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as BlueMojiPacksDefs from './defs.js'; 5 + import * as BlueMojiPacksDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('blue.moji.packs.getPack', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/packs/getPacks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as BlueMojiPacksDefs from './defs.js'; 5 + import * as BlueMojiPacksDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('blue.moji.packs.getPacks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluemoji/lib/lexicons/types/blue/moji/packs/pack.ts
··· 3 3 import type {} from '@atcute/lexicons/ambient'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as BlueMojiRichtextFacet from '../richtext/facet.js'; 6 + import * as BlueMojiRichtextFacet from '../richtext/facet.ts'; 7 7 8 8 const _mainSchema = /*#__PURE__*/ v.record( 9 9 /*#__PURE__*/ v.tidString(),
+2
packages/definitions/bluemoji/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/bluesky/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto'], 7 8 8 9 pull: {
+5 -5
packages/definitions/bluesky/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts'; 2 2 3 - export * from './utilities/embeds.js'; 4 - export * from './utilities/list.js'; 5 - export * from './utilities/profile.js'; 6 - export * from './utilities/starterpack.js'; 3 + export * from './utilities/embeds.ts'; 4 + export * from './utilities/list.ts'; 5 + export * from './utilities/profile.ts'; 6 + export * from './utilities/starterpack.ts';
+1 -1
packages/definitions/bluesky/lib/lexicons.bench.ts
··· 3 3 import * as atproto from '@atproto/api'; 4 4 import { bench, do_not_optimize, run, summary } from 'mitata'; 5 5 6 - import * as atcute from './lexicons/index.js'; 6 + import * as atcute from './lexicons/index.ts'; 7 7 8 8 summary(() => { 9 9 bench('atcute', function* () {
+1 -1
packages/definitions/bluesky/lib/lexicons.test.ts
··· 2 2 3 3 import { describe, it } from 'vitest'; 4 4 5 - import { AppBskyFeedDefs, AppBskyFeedPost } from './lexicons/index.js'; 5 + import { AppBskyFeedDefs, AppBskyFeedPost } from './lexicons/index.ts'; 6 6 7 7 describe('app.bsky.feed.post', () => { 8 8 it('validates post record', () => {
+162 -162
packages/definitions/bluesky/lib/lexicons/index.ts
··· 1 - export * as AppBskyActorDefs from './types/app/bsky/actor/defs.js'; 2 - export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences.js'; 3 - export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile.js'; 4 - export * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles.js'; 5 - export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions.js'; 6 - export * as AppBskyActorProfile from './types/app/bsky/actor/profile.js'; 7 - export * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferences.js'; 8 - export * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors.js'; 9 - export * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead.js'; 10 - export * as AppBskyActorStatus from './types/app/bsky/actor/status.js'; 11 - export * as AppBskyAgeassuranceBegin from './types/app/bsky/ageassurance/begin.js'; 12 - export * as AppBskyAgeassuranceDefs from './types/app/bsky/ageassurance/defs.js'; 13 - export * as AppBskyAgeassuranceGetConfig from './types/app/bsky/ageassurance/getConfig.js'; 14 - export * as AppBskyAgeassuranceGetState from './types/app/bsky/ageassurance/getState.js'; 15 - export * as AppBskyBookmarkCreateBookmark from './types/app/bsky/bookmark/createBookmark.js'; 16 - export * as AppBskyBookmarkDefs from './types/app/bsky/bookmark/defs.js'; 17 - export * as AppBskyBookmarkDeleteBookmark from './types/app/bsky/bookmark/deleteBookmark.js'; 18 - export * as AppBskyBookmarkGetBookmarks from './types/app/bsky/bookmark/getBookmarks.js'; 19 - export * as AppBskyContactDefs from './types/app/bsky/contact/defs.js'; 20 - export * as AppBskyContactDismissMatch from './types/app/bsky/contact/dismissMatch.js'; 21 - export * as AppBskyContactGetMatches from './types/app/bsky/contact/getMatches.js'; 22 - export * as AppBskyContactGetSyncStatus from './types/app/bsky/contact/getSyncStatus.js'; 23 - export * as AppBskyContactImportContacts from './types/app/bsky/contact/importContacts.js'; 24 - export * as AppBskyContactRemoveData from './types/app/bsky/contact/removeData.js'; 25 - export * as AppBskyContactSendNotification from './types/app/bsky/contact/sendNotification.js'; 26 - export * as AppBskyContactStartPhoneVerification from './types/app/bsky/contact/startPhoneVerification.js'; 27 - export * as AppBskyContactVerifyPhone from './types/app/bsky/contact/verifyPhone.js'; 28 - export * as AppBskyDraftCreateDraft from './types/app/bsky/draft/createDraft.js'; 29 - export * as AppBskyDraftDefs from './types/app/bsky/draft/defs.js'; 30 - export * as AppBskyDraftDeleteDraft from './types/app/bsky/draft/deleteDraft.js'; 31 - export * as AppBskyDraftGetDrafts from './types/app/bsky/draft/getDrafts.js'; 32 - export * as AppBskyDraftUpdateDraft from './types/app/bsky/draft/updateDraft.js'; 33 - export * as AppBskyEmbedDefs from './types/app/bsky/embed/defs.js'; 34 - export * as AppBskyEmbedExternal from './types/app/bsky/embed/external.js'; 35 - export * as AppBskyEmbedImages from './types/app/bsky/embed/images.js'; 36 - export * as AppBskyEmbedRecord from './types/app/bsky/embed/record.js'; 37 - export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia.js'; 38 - export * as AppBskyEmbedVideo from './types/app/bsky/embed/video.js'; 39 - export * as AppBskyFeedDefs from './types/app/bsky/feed/defs.js'; 40 - export * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator.js'; 41 - export * as AppBskyFeedGenerator from './types/app/bsky/feed/generator.js'; 42 - export * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds.js'; 43 - export * as AppBskyFeedGetActorLikes from './types/app/bsky/feed/getActorLikes.js'; 44 - export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed.js'; 45 - export * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed.js'; 46 - export * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator.js'; 47 - export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators.js'; 48 - export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js'; 49 - export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js'; 50 - export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js'; 51 - export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'; 52 - export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'; 53 - export * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js'; 54 - export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js'; 55 - export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js'; 56 - export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline.js'; 57 - export * as AppBskyFeedLike from './types/app/bsky/feed/like.js'; 58 - export * as AppBskyFeedPost from './types/app/bsky/feed/post.js'; 59 - export * as AppBskyFeedPostgate from './types/app/bsky/feed/postgate.js'; 60 - export * as AppBskyFeedRepost from './types/app/bsky/feed/repost.js'; 61 - export * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts.js'; 62 - export * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteractions.js'; 63 - export * as AppBskyFeedThreadgate from './types/app/bsky/feed/threadgate.js'; 64 - export * as AppBskyGraphBlock from './types/app/bsky/graph/block.js'; 65 - export * as AppBskyGraphDefs from './types/app/bsky/graph/defs.js'; 66 - export * as AppBskyGraphFollow from './types/app/bsky/graph/follow.js'; 67 - export * as AppBskyGraphGetActorStarterPacks from './types/app/bsky/graph/getActorStarterPacks.js'; 68 - export * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks.js'; 69 - export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers.js'; 70 - export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows.js'; 71 - export * as AppBskyGraphGetKnownFollowers from './types/app/bsky/graph/getKnownFollowers.js'; 72 - export * as AppBskyGraphGetList from './types/app/bsky/graph/getList.js'; 73 - export * as AppBskyGraphGetListBlocks from './types/app/bsky/graph/getListBlocks.js'; 74 - export * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes.js'; 75 - export * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists.js'; 76 - export * as AppBskyGraphGetListsWithMembership from './types/app/bsky/graph/getListsWithMembership.js'; 77 - export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes.js'; 78 - export * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelationships.js'; 79 - export * as AppBskyGraphGetStarterPack from './types/app/bsky/graph/getStarterPack.js'; 80 - export * as AppBskyGraphGetStarterPacks from './types/app/bsky/graph/getStarterPacks.js'; 81 - export * as AppBskyGraphGetStarterPacksWithMembership from './types/app/bsky/graph/getStarterPacksWithMembership.js'; 82 - export * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor.js'; 83 - export * as AppBskyGraphList from './types/app/bsky/graph/list.js'; 84 - export * as AppBskyGraphListblock from './types/app/bsky/graph/listblock.js'; 85 - export * as AppBskyGraphListitem from './types/app/bsky/graph/listitem.js'; 86 - export * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor.js'; 87 - export * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList.js'; 88 - export * as AppBskyGraphMuteThread from './types/app/bsky/graph/muteThread.js'; 89 - export * as AppBskyGraphSearchStarterPacks from './types/app/bsky/graph/searchStarterPacks.js'; 90 - export * as AppBskyGraphStarterpack from './types/app/bsky/graph/starterpack.js'; 91 - export * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor.js'; 92 - export * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList.js'; 93 - export * as AppBskyGraphUnmuteThread from './types/app/bsky/graph/unmuteThread.js'; 94 - export * as AppBskyGraphVerification from './types/app/bsky/graph/verification.js'; 95 - export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js'; 96 - export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js'; 97 - export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js'; 98 - export * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.js'; 99 - export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js'; 100 - export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js'; 101 - export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js'; 102 - export * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.js'; 103 - export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js'; 104 - export * as AppBskyNotificationPutActivitySubscription from './types/app/bsky/notification/putActivitySubscription.js'; 105 - export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js'; 106 - export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js'; 107 - export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js'; 108 - export * as AppBskyNotificationUnregisterPush from './types/app/bsky/notification/unregisterPush.js'; 109 - export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js'; 110 - export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js'; 111 - export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js'; 112 - export * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js'; 113 - export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'; 114 - export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js'; 115 - export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js'; 116 - export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'; 117 - export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js'; 118 - export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'; 119 - export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'; 120 - export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'; 121 - export * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js'; 122 - export * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js'; 123 - export * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.js'; 124 - export * as AppBskyUnspeccedGetSuggestedUsersSkeleton from './types/app/bsky/unspecced/getSuggestedUsersSkeleton.js'; 125 - export * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspecced/getSuggestionsSkeleton.js'; 126 - export * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions.js'; 127 - export * as AppBskyUnspeccedGetTrendingTopics from './types/app/bsky/unspecced/getTrendingTopics.js'; 128 - export * as AppBskyUnspeccedGetTrends from './types/app/bsky/unspecced/getTrends.js'; 129 - export * as AppBskyUnspeccedGetTrendsSkeleton from './types/app/bsky/unspecced/getTrendsSkeleton.js'; 130 - export * as AppBskyUnspeccedInitAgeAssurance from './types/app/bsky/unspecced/initAgeAssurance.js'; 131 - export * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton.js'; 132 - export * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton.js'; 133 - export * as AppBskyUnspeccedSearchStarterPacksSkeleton from './types/app/bsky/unspecced/searchStarterPacksSkeleton.js'; 134 - export * as AppBskyVideoDefs from './types/app/bsky/video/defs.js'; 135 - export * as AppBskyVideoGetJobStatus from './types/app/bsky/video/getJobStatus.js'; 136 - export * as AppBskyVideoGetUploadLimits from './types/app/bsky/video/getUploadLimits.js'; 137 - export * as AppBskyVideoUploadVideo from './types/app/bsky/video/uploadVideo.js'; 138 - export * as ChatBskyActorDeclaration from './types/chat/bsky/actor/declaration.js'; 139 - export * as ChatBskyActorDefs from './types/chat/bsky/actor/defs.js'; 140 - export * as ChatBskyActorDeleteAccount from './types/chat/bsky/actor/deleteAccount.js'; 141 - export * as ChatBskyActorExportAccountData from './types/chat/bsky/actor/exportAccountData.js'; 142 - export * as ChatBskyConvoAcceptConvo from './types/chat/bsky/convo/acceptConvo.js'; 143 - export * as ChatBskyConvoAddReaction from './types/chat/bsky/convo/addReaction.js'; 144 - export * as ChatBskyConvoDefs from './types/chat/bsky/convo/defs.js'; 145 - export * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/deleteMessageForSelf.js'; 146 - export * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js'; 147 - export * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js'; 148 - export * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.js'; 149 - export * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.js'; 150 - export * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.js'; 151 - export * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.js'; 152 - export * as ChatBskyConvoListConvos from './types/chat/bsky/convo/listConvos.js'; 153 - export * as ChatBskyConvoMuteConvo from './types/chat/bsky/convo/muteConvo.js'; 154 - export * as ChatBskyConvoRemoveReaction from './types/chat/bsky/convo/removeReaction.js'; 155 - export * as ChatBskyConvoSendMessage from './types/chat/bsky/convo/sendMessage.js'; 156 - export * as ChatBskyConvoSendMessageBatch from './types/chat/bsky/convo/sendMessageBatch.js'; 157 - export * as ChatBskyConvoUnmuteConvo from './types/chat/bsky/convo/unmuteConvo.js'; 158 - export * as ChatBskyConvoUpdateAllRead from './types/chat/bsky/convo/updateAllRead.js'; 159 - export * as ChatBskyConvoUpdateRead from './types/chat/bsky/convo/updateRead.js'; 160 - export * as ChatBskyModerationGetActorMetadata from './types/chat/bsky/moderation/getActorMetadata.js'; 161 - export * as ChatBskyModerationGetMessageContext from './types/chat/bsky/moderation/getMessageContext.js'; 162 - export * as ChatBskyModerationUpdateActorAccess from './types/chat/bsky/moderation/updateActorAccess.js'; 1 + export * as AppBskyActorDefs from './types/app/bsky/actor/defs.ts'; 2 + export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences.ts'; 3 + export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile.ts'; 4 + export * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles.ts'; 5 + export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions.ts'; 6 + export * as AppBskyActorProfile from './types/app/bsky/actor/profile.ts'; 7 + export * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferences.ts'; 8 + export * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors.ts'; 9 + export * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead.ts'; 10 + export * as AppBskyActorStatus from './types/app/bsky/actor/status.ts'; 11 + export * as AppBskyAgeassuranceBegin from './types/app/bsky/ageassurance/begin.ts'; 12 + export * as AppBskyAgeassuranceDefs from './types/app/bsky/ageassurance/defs.ts'; 13 + export * as AppBskyAgeassuranceGetConfig from './types/app/bsky/ageassurance/getConfig.ts'; 14 + export * as AppBskyAgeassuranceGetState from './types/app/bsky/ageassurance/getState.ts'; 15 + export * as AppBskyBookmarkCreateBookmark from './types/app/bsky/bookmark/createBookmark.ts'; 16 + export * as AppBskyBookmarkDefs from './types/app/bsky/bookmark/defs.ts'; 17 + export * as AppBskyBookmarkDeleteBookmark from './types/app/bsky/bookmark/deleteBookmark.ts'; 18 + export * as AppBskyBookmarkGetBookmarks from './types/app/bsky/bookmark/getBookmarks.ts'; 19 + export * as AppBskyContactDefs from './types/app/bsky/contact/defs.ts'; 20 + export * as AppBskyContactDismissMatch from './types/app/bsky/contact/dismissMatch.ts'; 21 + export * as AppBskyContactGetMatches from './types/app/bsky/contact/getMatches.ts'; 22 + export * as AppBskyContactGetSyncStatus from './types/app/bsky/contact/getSyncStatus.ts'; 23 + export * as AppBskyContactImportContacts from './types/app/bsky/contact/importContacts.ts'; 24 + export * as AppBskyContactRemoveData from './types/app/bsky/contact/removeData.ts'; 25 + export * as AppBskyContactSendNotification from './types/app/bsky/contact/sendNotification.ts'; 26 + export * as AppBskyContactStartPhoneVerification from './types/app/bsky/contact/startPhoneVerification.ts'; 27 + export * as AppBskyContactVerifyPhone from './types/app/bsky/contact/verifyPhone.ts'; 28 + export * as AppBskyDraftCreateDraft from './types/app/bsky/draft/createDraft.ts'; 29 + export * as AppBskyDraftDefs from './types/app/bsky/draft/defs.ts'; 30 + export * as AppBskyDraftDeleteDraft from './types/app/bsky/draft/deleteDraft.ts'; 31 + export * as AppBskyDraftGetDrafts from './types/app/bsky/draft/getDrafts.ts'; 32 + export * as AppBskyDraftUpdateDraft from './types/app/bsky/draft/updateDraft.ts'; 33 + export * as AppBskyEmbedDefs from './types/app/bsky/embed/defs.ts'; 34 + export * as AppBskyEmbedExternal from './types/app/bsky/embed/external.ts'; 35 + export * as AppBskyEmbedImages from './types/app/bsky/embed/images.ts'; 36 + export * as AppBskyEmbedRecord from './types/app/bsky/embed/record.ts'; 37 + export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia.ts'; 38 + export * as AppBskyEmbedVideo from './types/app/bsky/embed/video.ts'; 39 + export * as AppBskyFeedDefs from './types/app/bsky/feed/defs.ts'; 40 + export * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator.ts'; 41 + export * as AppBskyFeedGenerator from './types/app/bsky/feed/generator.ts'; 42 + export * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds.ts'; 43 + export * as AppBskyFeedGetActorLikes from './types/app/bsky/feed/getActorLikes.ts'; 44 + export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed.ts'; 45 + export * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed.ts'; 46 + export * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator.ts'; 47 + export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators.ts'; 48 + export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.ts'; 49 + export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.ts'; 50 + export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.ts'; 51 + export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.ts'; 52 + export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.ts'; 53 + export * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.ts'; 54 + export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.ts'; 55 + export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.ts'; 56 + export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline.ts'; 57 + export * as AppBskyFeedLike from './types/app/bsky/feed/like.ts'; 58 + export * as AppBskyFeedPost from './types/app/bsky/feed/post.ts'; 59 + export * as AppBskyFeedPostgate from './types/app/bsky/feed/postgate.ts'; 60 + export * as AppBskyFeedRepost from './types/app/bsky/feed/repost.ts'; 61 + export * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts.ts'; 62 + export * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteractions.ts'; 63 + export * as AppBskyFeedThreadgate from './types/app/bsky/feed/threadgate.ts'; 64 + export * as AppBskyGraphBlock from './types/app/bsky/graph/block.ts'; 65 + export * as AppBskyGraphDefs from './types/app/bsky/graph/defs.ts'; 66 + export * as AppBskyGraphFollow from './types/app/bsky/graph/follow.ts'; 67 + export * as AppBskyGraphGetActorStarterPacks from './types/app/bsky/graph/getActorStarterPacks.ts'; 68 + export * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks.ts'; 69 + export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers.ts'; 70 + export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows.ts'; 71 + export * as AppBskyGraphGetKnownFollowers from './types/app/bsky/graph/getKnownFollowers.ts'; 72 + export * as AppBskyGraphGetList from './types/app/bsky/graph/getList.ts'; 73 + export * as AppBskyGraphGetListBlocks from './types/app/bsky/graph/getListBlocks.ts'; 74 + export * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes.ts'; 75 + export * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists.ts'; 76 + export * as AppBskyGraphGetListsWithMembership from './types/app/bsky/graph/getListsWithMembership.ts'; 77 + export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes.ts'; 78 + export * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelationships.ts'; 79 + export * as AppBskyGraphGetStarterPack from './types/app/bsky/graph/getStarterPack.ts'; 80 + export * as AppBskyGraphGetStarterPacks from './types/app/bsky/graph/getStarterPacks.ts'; 81 + export * as AppBskyGraphGetStarterPacksWithMembership from './types/app/bsky/graph/getStarterPacksWithMembership.ts'; 82 + export * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor.ts'; 83 + export * as AppBskyGraphList from './types/app/bsky/graph/list.ts'; 84 + export * as AppBskyGraphListblock from './types/app/bsky/graph/listblock.ts'; 85 + export * as AppBskyGraphListitem from './types/app/bsky/graph/listitem.ts'; 86 + export * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor.ts'; 87 + export * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList.ts'; 88 + export * as AppBskyGraphMuteThread from './types/app/bsky/graph/muteThread.ts'; 89 + export * as AppBskyGraphSearchStarterPacks from './types/app/bsky/graph/searchStarterPacks.ts'; 90 + export * as AppBskyGraphStarterpack from './types/app/bsky/graph/starterpack.ts'; 91 + export * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor.ts'; 92 + export * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList.ts'; 93 + export * as AppBskyGraphUnmuteThread from './types/app/bsky/graph/unmuteThread.ts'; 94 + export * as AppBskyGraphVerification from './types/app/bsky/graph/verification.ts'; 95 + export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.ts'; 96 + export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.ts'; 97 + export * as AppBskyLabelerService from './types/app/bsky/labeler/service.ts'; 98 + export * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.ts'; 99 + export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.ts'; 100 + export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.ts'; 101 + export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.ts'; 102 + export * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.ts'; 103 + export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.ts'; 104 + export * as AppBskyNotificationPutActivitySubscription from './types/app/bsky/notification/putActivitySubscription.ts'; 105 + export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.ts'; 106 + export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.ts'; 107 + export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.ts'; 108 + export * as AppBskyNotificationUnregisterPush from './types/app/bsky/notification/unregisterPush.ts'; 109 + export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.ts'; 110 + export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.ts'; 111 + export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.ts'; 112 + export * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.ts'; 113 + export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.ts'; 114 + export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts'; 115 + export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.ts'; 116 + export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.ts'; 117 + export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.ts'; 118 + export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.ts'; 119 + export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.ts'; 120 + export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts'; 121 + export * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.ts'; 122 + export * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts'; 123 + export * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.ts'; 124 + export * as AppBskyUnspeccedGetSuggestedUsersSkeleton from './types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts'; 125 + export * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspecced/getSuggestionsSkeleton.ts'; 126 + export * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions.ts'; 127 + export * as AppBskyUnspeccedGetTrendingTopics from './types/app/bsky/unspecced/getTrendingTopics.ts'; 128 + export * as AppBskyUnspeccedGetTrends from './types/app/bsky/unspecced/getTrends.ts'; 129 + export * as AppBskyUnspeccedGetTrendsSkeleton from './types/app/bsky/unspecced/getTrendsSkeleton.ts'; 130 + export * as AppBskyUnspeccedInitAgeAssurance from './types/app/bsky/unspecced/initAgeAssurance.ts'; 131 + export * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton.ts'; 132 + export * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton.ts'; 133 + export * as AppBskyUnspeccedSearchStarterPacksSkeleton from './types/app/bsky/unspecced/searchStarterPacksSkeleton.ts'; 134 + export * as AppBskyVideoDefs from './types/app/bsky/video/defs.ts'; 135 + export * as AppBskyVideoGetJobStatus from './types/app/bsky/video/getJobStatus.ts'; 136 + export * as AppBskyVideoGetUploadLimits from './types/app/bsky/video/getUploadLimits.ts'; 137 + export * as AppBskyVideoUploadVideo from './types/app/bsky/video/uploadVideo.ts'; 138 + export * as ChatBskyActorDeclaration from './types/chat/bsky/actor/declaration.ts'; 139 + export * as ChatBskyActorDefs from './types/chat/bsky/actor/defs.ts'; 140 + export * as ChatBskyActorDeleteAccount from './types/chat/bsky/actor/deleteAccount.ts'; 141 + export * as ChatBskyActorExportAccountData from './types/chat/bsky/actor/exportAccountData.ts'; 142 + export * as ChatBskyConvoAcceptConvo from './types/chat/bsky/convo/acceptConvo.ts'; 143 + export * as ChatBskyConvoAddReaction from './types/chat/bsky/convo/addReaction.ts'; 144 + export * as ChatBskyConvoDefs from './types/chat/bsky/convo/defs.ts'; 145 + export * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/deleteMessageForSelf.ts'; 146 + export * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.ts'; 147 + export * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.ts'; 148 + export * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.ts'; 149 + export * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.ts'; 150 + export * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.ts'; 151 + export * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.ts'; 152 + export * as ChatBskyConvoListConvos from './types/chat/bsky/convo/listConvos.ts'; 153 + export * as ChatBskyConvoMuteConvo from './types/chat/bsky/convo/muteConvo.ts'; 154 + export * as ChatBskyConvoRemoveReaction from './types/chat/bsky/convo/removeReaction.ts'; 155 + export * as ChatBskyConvoSendMessage from './types/chat/bsky/convo/sendMessage.ts'; 156 + export * as ChatBskyConvoSendMessageBatch from './types/chat/bsky/convo/sendMessageBatch.ts'; 157 + export * as ChatBskyConvoUnmuteConvo from './types/chat/bsky/convo/unmuteConvo.ts'; 158 + export * as ChatBskyConvoUpdateAllRead from './types/chat/bsky/convo/updateAllRead.ts'; 159 + export * as ChatBskyConvoUpdateRead from './types/chat/bsky/convo/updateRead.ts'; 160 + export * as ChatBskyModerationGetActorMetadata from './types/chat/bsky/moderation/getActorMetadata.ts'; 161 + export * as ChatBskyModerationGetMessageContext from './types/chat/bsky/moderation/getMessageContext.ts'; 162 + export * as ChatBskyModerationUpdateActorAccess from './types/chat/bsky/moderation/updateActorAccess.ts';
+5 -5
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/defs.ts
··· 3 3 import type {} from '@atcute/lexicons'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as AppBskyEmbedExternal from '../embed/external.js'; 7 - import * as AppBskyFeedPostgate from '../feed/postgate.js'; 8 - import * as AppBskyFeedThreadgate from '../feed/threadgate.js'; 9 - import * as AppBskyGraphDefs from '../graph/defs.js'; 10 - import * as AppBskyNotificationDefs from '../notification/defs.js'; 6 + import * as AppBskyEmbedExternal from '../embed/external.ts'; 7 + import * as AppBskyFeedPostgate from '../feed/postgate.ts'; 8 + import * as AppBskyFeedThreadgate from '../feed/threadgate.ts'; 9 + import * as AppBskyGraphDefs from '../graph/defs.ts'; 10 + import * as AppBskyNotificationDefs from '../notification/defs.ts'; 11 11 12 12 const _adultContentPrefSchema = /*#__PURE__*/ v.object({ 13 13 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#adultContentPref')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/getPreferences.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from './defs.js'; 5 + import * as AppBskyActorDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.getPreferences', { 8 8 params: /*#__PURE__*/ v.object({}),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/getProfile.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from './defs.js'; 5 + import * as AppBskyActorDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.getProfile', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/getProfiles.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from './defs.js'; 5 + import * as AppBskyActorDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.getProfiles', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/getSuggestions.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from './defs.js'; 5 + import * as AppBskyActorDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.getSuggestions', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/putPreferences.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from './defs.js'; 5 + import * as AppBskyActorDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.actor.putPreferences', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/searchActors.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from './defs.js'; 5 + import * as AppBskyActorDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.searchActors', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/searchActorsTypeahead.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from './defs.js'; 5 + import * as AppBskyActorDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.searchActorsTypeahead', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/status.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyEmbedExternal from '../embed/external.js'; 5 + import * as AppBskyEmbedExternal from '../embed/external.ts'; 6 6 7 7 const _liveSchema = /*#__PURE__*/ v.literal('app.bsky.actor.status#live'); 8 8 const _mainSchema = /*#__PURE__*/ v.record(
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/ageassurance/begin.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyAgeassuranceDefs from './defs.js'; 5 + import * as AppBskyAgeassuranceDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.ageassurance.begin', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/ageassurance/getConfig.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyAgeassuranceDefs from './defs.js'; 5 + import * as AppBskyAgeassuranceDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.ageassurance.getConfig', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/ageassurance/getState.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyAgeassuranceDefs from './defs.js'; 5 + import * as AppBskyAgeassuranceDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.ageassurance.getState', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/bookmark/defs.ts
··· 2 2 import type {} from '@atcute/lexicons'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from '../feed/defs.js'; 5 + import * as AppBskyFeedDefs from '../feed/defs.ts'; 6 6 7 7 const _bookmarkSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.bookmark.defs#bookmark')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/bookmark/getBookmarks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyBookmarkDefs from './defs.js'; 5 + import * as AppBskyBookmarkDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.bookmark.getBookmarks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/contact/defs.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as AppBskyActorDefs from '../actor/defs.js'; 4 + import * as AppBskyActorDefs from '../actor/defs.ts'; 5 5 6 6 const _matchAndContactIndexSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.contact.defs#matchAndContactIndex')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/contact/getMatches.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.contact.getMatches', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/contact/getSyncStatus.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyContactDefs from './defs.js'; 5 + import * as AppBskyContactDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.contact.getSyncStatus', { 8 8 params: /*#__PURE__*/ v.object({}),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/contact/importContacts.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyContactDefs from './defs.js'; 5 + import * as AppBskyContactDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.contact.importContacts', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/draft/createDraft.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyDraftDefs from './defs.js'; 5 + import * as AppBskyDraftDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.draft.createDraft', { 8 8 params: null,
+2 -2
packages/definitions/bluesky/lib/lexicons/types/app/bsky/draft/defs.ts
··· 3 3 import type {} from '@atcute/lexicons'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as AppBskyFeedPostgate from '../feed/postgate.js'; 7 - import * as AppBskyFeedThreadgate from '../feed/threadgate.js'; 6 + import * as AppBskyFeedPostgate from '../feed/postgate.ts'; 7 + import * as AppBskyFeedThreadgate from '../feed/threadgate.ts'; 8 8 9 9 const _draftSchema = /*#__PURE__*/ v.object({ 10 10 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.draft.defs#draft')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/draft/getDrafts.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyDraftDefs from './defs.js'; 5 + import * as AppBskyDraftDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.draft.getDrafts', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/draft/updateDraft.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyDraftDefs from './defs.js'; 5 + import * as AppBskyDraftDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.draft.updateDraft', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/embed/images.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as AppBskyEmbedDefs from './defs.js'; 4 + import * as AppBskyEmbedDefs from './defs.ts'; 5 5 6 6 const _imageSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images#image')),
+8 -8
packages/definitions/bluesky/lib/lexicons/types/app/bsky/embed/record.ts
··· 3 3 import type {} from '@atcute/lexicons'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as AppBskyActorDefs from '../actor/defs.js'; 7 - import * as AppBskyFeedDefs from '../feed/defs.js'; 8 - import * as AppBskyGraphDefs from '../graph/defs.js'; 9 - import * as AppBskyLabelerDefs from '../labeler/defs.js'; 6 + import * as AppBskyActorDefs from '../actor/defs.ts'; 7 + import * as AppBskyFeedDefs from '../feed/defs.ts'; 8 + import * as AppBskyGraphDefs from '../graph/defs.ts'; 9 + import * as AppBskyLabelerDefs from '../labeler/defs.ts'; 10 10 11 - import * as AppBskyEmbedExternal from './external.js'; 12 - import * as AppBskyEmbedImages from './images.js'; 13 - import * as AppBskyEmbedRecordWithMedia from './recordWithMedia.js'; 14 - import * as AppBskyEmbedVideo from './video.js'; 11 + import * as AppBskyEmbedExternal from './external.ts'; 12 + import * as AppBskyEmbedImages from './images.ts'; 13 + import * as AppBskyEmbedRecordWithMedia from './recordWithMedia.ts'; 14 + import * as AppBskyEmbedVideo from './video.ts'; 15 15 16 16 const _mainSchema = /*#__PURE__*/ v.object({ 17 17 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.record')),
+4 -4
packages/definitions/bluesky/lib/lexicons/types/app/bsky/embed/recordWithMedia.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as AppBskyEmbedExternal from './external.js'; 5 - import * as AppBskyEmbedImages from './images.js'; 6 - import * as AppBskyEmbedRecord from './record.js'; 7 - import * as AppBskyEmbedVideo from './video.js'; 4 + import * as AppBskyEmbedExternal from './external.ts'; 5 + import * as AppBskyEmbedImages from './images.ts'; 6 + import * as AppBskyEmbedRecord from './record.ts'; 7 + import * as AppBskyEmbedVideo from './video.ts'; 8 8 9 9 const _mainSchema = /*#__PURE__*/ v.object({ 10 10 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.recordWithMedia')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/embed/video.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as AppBskyEmbedDefs from './defs.js'; 4 + import * as AppBskyEmbedDefs from './defs.ts'; 5 5 6 6 const _captionSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.video#caption')),
+8 -8
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/defs.ts
··· 2 2 import type {} from '@atcute/lexicons'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 6 - import * as AppBskyEmbedExternal from '../embed/external.js'; 7 - import * as AppBskyEmbedImages from '../embed/images.js'; 8 - import * as AppBskyEmbedRecord from '../embed/record.js'; 9 - import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.js'; 10 - import * as AppBskyEmbedVideo from '../embed/video.js'; 11 - import * as AppBskyGraphDefs from '../graph/defs.js'; 12 - import * as AppBskyRichtextFacet from '../richtext/facet.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 + import * as AppBskyEmbedExternal from '../embed/external.ts'; 7 + import * as AppBskyEmbedImages from '../embed/images.ts'; 8 + import * as AppBskyEmbedRecord from '../embed/record.ts'; 9 + import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.ts'; 10 + import * as AppBskyEmbedVideo from '../embed/video.ts'; 11 + import * as AppBskyGraphDefs from '../graph/defs.ts'; 12 + import * as AppBskyRichtextFacet from '../richtext/facet.ts'; 13 13 14 14 const _blockedAuthorSchema = /*#__PURE__*/ v.object({ 15 15 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.defs#blockedAuthor')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/generator.ts
··· 3 3 import type {} from '@atcute/lexicons/ambient'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as AppBskyRichtextFacet from '../richtext/facet.js'; 6 + import * as AppBskyRichtextFacet from '../richtext/facet.ts'; 7 7 8 8 const _mainSchema = /*#__PURE__*/ v.record( 9 9 /*#__PURE__*/ v.string(),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getActorFeeds.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getActorFeeds', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getActorLikes.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getActorLikes', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getAuthorFeed.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getAuthorFeed', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getFeed.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getFeed', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getFeedGenerator.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getFeedGenerator', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getFeedGenerators.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getFeedGenerators', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getFeedSkeleton.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getFeedSkeleton', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getLikes.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _likeSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.getLikes#like')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getListFeed.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getListFeed', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getPostThread.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getPostThread', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getPosts.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getPosts', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getQuotes.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getQuotes', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getRepostedBy.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getRepostedBy', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getSuggestedFeeds.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getSuggestedFeeds', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getTimeline.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getTimeline', { 8 8 params: /*#__PURE__*/ v.object({
+6 -6
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/post.ts
··· 4 4 import type {} from '@atcute/lexicons/ambient'; 5 5 import * as v from '@atcute/lexicons/validations'; 6 6 7 - import * as AppBskyEmbedExternal from '../embed/external.js'; 8 - import * as AppBskyEmbedImages from '../embed/images.js'; 9 - import * as AppBskyEmbedRecord from '../embed/record.js'; 10 - import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.js'; 11 - import * as AppBskyEmbedVideo from '../embed/video.js'; 12 - import * as AppBskyRichtextFacet from '../richtext/facet.js'; 7 + import * as AppBskyEmbedExternal from '../embed/external.ts'; 8 + import * as AppBskyEmbedImages from '../embed/images.ts'; 9 + import * as AppBskyEmbedRecord from '../embed/record.ts'; 10 + import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.ts'; 11 + import * as AppBskyEmbedVideo from '../embed/video.ts'; 12 + import * as AppBskyRichtextFacet from '../richtext/facet.ts'; 13 13 14 14 const _entitySchema = /*#__PURE__*/ v.object({ 15 15 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.post#entity')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/searchPosts.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.searchPosts', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/sendInteractions.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from './defs.js'; 5 + import * as AppBskyFeedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.feed.sendInteractions', { 8 8 params: null,
+3 -3
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/defs.ts
··· 2 2 import type {} from '@atcute/lexicons'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 6 - import * as AppBskyFeedDefs from '../feed/defs.js'; 7 - import * as AppBskyRichtextFacet from '../richtext/facet.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 + import * as AppBskyFeedDefs from '../feed/defs.ts'; 7 + import * as AppBskyRichtextFacet from '../richtext/facet.ts'; 8 8 9 9 const _curatelistSchema = /*#__PURE__*/ v.literal('app.bsky.graph.defs#curatelist'); 10 10 const _listItemViewSchema = /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getActorStarterPacks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getActorStarterPacks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getBlocks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getBlocks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getFollowers.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getFollowers', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getFollows.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getFollows', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getKnownFollowers.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getKnownFollowers', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getList.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getList', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getListBlocks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getListBlocks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getListMutes.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getListMutes', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getLists.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getLists', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getListsWithMembership.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _listWithMembershipSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getMutes.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getMutes', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getRelationships.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getRelationships', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getStarterPack.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getStarterPack', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getStarterPacks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getStarterPacks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getStarterPacksWithMembership.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getStarterPacksWithMembership', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.getSuggestedFollowsByActor', { 8 8 params: /*#__PURE__*/ v.object({
+2 -2
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/list.ts
··· 3 3 import type {} from '@atcute/lexicons/ambient'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as AppBskyRichtextFacet from '../richtext/facet.js'; 6 + import * as AppBskyRichtextFacet from '../richtext/facet.ts'; 7 7 8 - import * as AppBskyGraphDefs from './defs.js'; 8 + import * as AppBskyGraphDefs from './defs.ts'; 9 9 10 10 const _mainSchema = /*#__PURE__*/ v.record( 11 11 /*#__PURE__*/ v.tidString(),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/searchStarterPacks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from './defs.js'; 5 + import * as AppBskyGraphDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.graph.searchStarterPacks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/graph/starterpack.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyRichtextFacet from '../richtext/facet.js'; 5 + import * as AppBskyRichtextFacet from '../richtext/facet.ts'; 6 6 7 7 const _feedItemSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.graph.starterpack#feedItem')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/labeler/defs.ts
··· 3 3 import type {} from '@atcute/lexicons'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as AppBskyActorDefs from '../actor/defs.js'; 6 + import * as AppBskyActorDefs from '../actor/defs.ts'; 7 7 8 8 const _labelerPoliciesSchema = /*#__PURE__*/ v.object({ 9 9 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.labeler.defs#labelerPolicies')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/labeler/getServices.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyLabelerDefs from './defs.js'; 5 + import * as AppBskyLabelerDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.labeler.getServices', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/labeler/service.ts
··· 4 4 import type {} from '@atcute/lexicons/ambient'; 5 5 import * as v from '@atcute/lexicons/validations'; 6 6 7 - import * as AppBskyLabelerDefs from './defs.js'; 7 + import * as AppBskyLabelerDefs from './defs.ts'; 8 8 9 9 const _mainSchema = /*#__PURE__*/ v.record( 10 10 /*#__PURE__*/ v.literal('self'),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/notification/getPreferences.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyNotificationDefs from './defs.js'; 5 + import * as AppBskyNotificationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.notification.getPreferences', { 8 8 params: /*#__PURE__*/ v.object({}),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/notification/listActivitySubscriptions.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.notification.listActivitySubscriptions', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/notification/listNotifications.ts
··· 3 3 import type {} from '@atcute/lexicons/ambient'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as AppBskyActorDefs from '../actor/defs.js'; 6 + import * as AppBskyActorDefs from '../actor/defs.ts'; 7 7 8 8 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.notification.listNotifications', { 9 9 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/notification/putActivitySubscription.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyNotificationDefs from './defs.js'; 5 + import * as AppBskyNotificationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.notification.putActivitySubscription', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/notification/putPreferencesV2.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyNotificationDefs from './defs.js'; 5 + import * as AppBskyNotificationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.notification.putPreferencesV2', { 8 8 params: null,
+2 -2
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/defs.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 - import * as AppBskyFeedDefs from '../feed/defs.js'; 4 + import * as AppBskyActorDefs from '../actor/defs.ts'; 5 + import * as AppBskyFeedDefs from '../feed/defs.ts'; 6 6 7 7 const _ageAssuranceEventSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.defs#ageAssuranceEvent')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getAgeAssuranceState.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getAgeAssuranceState', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from '../graph/defs.js'; 5 + import * as AppBskyGraphDefs from '../graph/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getOnboardingSuggestedStarterPacks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from '../feed/defs.js'; 5 + import * as AppBskyFeedDefs from '../feed/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPopularFeedGenerators', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getPostThreadOtherV2.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadOtherV2', { 8 8 params: /*#__PURE__*/ v.object({
+2 -2
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getPostThreadV2.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from '../feed/defs.js'; 5 + import * as AppBskyFeedDefs from '../feed/defs.ts'; 6 6 7 - import * as AppBskyUnspeccedDefs from './defs.js'; 7 + import * as AppBskyUnspeccedDefs from './defs.ts'; 8 8 9 9 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadV2', { 10 10 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getSuggestedFeeds.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyFeedDefs from '../feed/defs.js'; 5 + import * as AppBskyFeedDefs from '../feed/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getSuggestedFeeds', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyGraphDefs from '../graph/defs.js'; 5 + import * as AppBskyGraphDefs from '../graph/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getSuggestedStarterPacks', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getSuggestedUsers.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../actor/defs.js'; 5 + import * as AppBskyActorDefs from '../actor/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getSuggestedUsers', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getSuggestionsSkeleton', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getTrendingTopics.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getTrendingTopics', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getTrends.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getTrends', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getTrendsSkeleton', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/initAgeAssurance.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.unspecced.initAgeAssurance', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.searchActorsSkeleton', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.searchPostsSkeleton', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyUnspeccedDefs from './defs.js'; 5 + import * as AppBskyUnspeccedDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.searchStarterPacksSkeleton', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/video/getJobStatus.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyVideoDefs from './defs.js'; 5 + import * as AppBskyVideoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.video.getJobStatus', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/video/uploadVideo.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyVideoDefs from './defs.js'; 5 + import * as AppBskyVideoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.video.uploadVideo', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/actor/defs.ts
··· 2 2 import type {} from '@atcute/lexicons'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as AppBskyActorDefs from '../../../app/bsky/actor/defs.js'; 5 + import * as AppBskyActorDefs from '../../../app/bsky/actor/defs.ts'; 6 6 7 7 const _profileViewBasicSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('chat.bsky.actor.defs#profileViewBasic')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/addReaction.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('chat.bsky.convo.addReaction', { 8 8 params: null,
+3 -3
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/defs.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as AppBskyEmbedRecord from '../../../app/bsky/embed/record.js'; 5 - import * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.js'; 6 - import * as ChatBskyActorDefs from '../actor/defs.js'; 4 + import * as AppBskyEmbedRecord from '../../../app/bsky/embed/record.ts'; 5 + import * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.ts'; 6 + import * as ChatBskyActorDefs from '../actor/defs.ts'; 7 7 8 8 const _convoViewSchema = /*#__PURE__*/ v.object({ 9 9 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('chat.bsky.convo.defs#convoView')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/deleteMessageForSelf.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('chat.bsky.convo.deleteMessageForSelf', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/getConvo.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.convo.getConvo', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/getConvoAvailability.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.convo.getConvoAvailability', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/getConvoForMembers.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.convo.getConvoForMembers', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/getLog.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.convo.getLog', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/getMessages.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.convo.getMessages', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/listConvos.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.convo.listConvos', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/muteConvo.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('chat.bsky.convo.muteConvo', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/removeReaction.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('chat.bsky.convo.removeReaction', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/sendMessage.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('chat.bsky.convo.sendMessage', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/sendMessageBatch.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _batchItemSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('chat.bsky.convo.sendMessageBatch#batchItem')),
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/unmuteConvo.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('chat.bsky.convo.unmuteConvo', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/convo/updateRead.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from './defs.js'; 5 + import * as ChatBskyConvoDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('chat.bsky.convo.updateRead', { 8 8 params: null,
+1 -1
packages/definitions/bluesky/lib/lexicons/types/chat/bsky/moderation/getMessageContext.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ChatBskyConvoDefs from '../convo/defs.js'; 5 + import * as ChatBskyConvoDefs from '../convo/defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.moderation.getMessageContext', { 8 8 params: /*#__PURE__*/ v.object({
+4 -4
packages/definitions/bluesky/lib/utilities/embeds.ts
··· 1 1 import type { $type } from '@atcute/lexicons'; 2 2 3 - import type * as AppBskyEmbedRecord from '../lexicons/types/app/bsky/embed/record.js'; 4 - import type * as AppBskyEmbedRecordWithMedia from '../lexicons/types/app/bsky/embed/recordWithMedia.js'; 5 - import type * as AppBskyFeedDefs from '../lexicons/types/app/bsky/feed/defs.js'; 6 - import type * as AppBskyFeedPost from '../lexicons/types/app/bsky/feed/post.js'; 3 + import type * as AppBskyEmbedRecord from '../lexicons/types/app/bsky/embed/record.ts'; 4 + import type * as AppBskyEmbedRecordWithMedia from '../lexicons/types/app/bsky/embed/recordWithMedia.ts'; 5 + import type * as AppBskyFeedDefs from '../lexicons/types/app/bsky/feed/defs.ts'; 6 + import type * as AppBskyFeedPost from '../lexicons/types/app/bsky/feed/post.ts'; 7 7 8 8 /** 9 9 * a union type of all possible raw embeds.
+1 -1
packages/definitions/bluesky/lib/utilities/list.ts
··· 1 - import type { AppBskyGraphDefs } from '../lexicons/index.js'; 1 + import type { AppBskyGraphDefs } from '../lexicons/index.ts'; 2 2 3 3 /** 4 4 * a union type of all possible list views.
+1 -1
packages/definitions/bluesky/lib/utilities/profile.ts
··· 1 - import type { AppBskyActorDefs, ChatBskyActorDefs } from '../lexicons/index.js'; 1 + import type { AppBskyActorDefs, ChatBskyActorDefs } from '../lexicons/index.ts'; 2 2 3 3 /** 4 4 * a union type of all possible profile views.
+1 -1
packages/definitions/bluesky/lib/utilities/starterpack.ts
··· 1 - import type { AppBskyGraphDefs } from '../lexicons/index.js'; 1 + import type { AppBskyGraphDefs } from '../lexicons/index.ts'; 2 2 3 3 /** 4 4 * a union type of all possible starterpack views.
+2
packages/definitions/bluesky/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/frontpage/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto'], 7 8 8 9 pull: {
+1 -1
packages/definitions/frontpage/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+7 -7
packages/definitions/frontpage/lib/lexicons/index.ts
··· 1 - export * as FyiFrontpageFeedComment from './types/fyi/frontpage/feed/comment.js'; 2 - export * as FyiFrontpageFeedPost from './types/fyi/frontpage/feed/post.js'; 3 - export * as FyiFrontpageFeedVote from './types/fyi/frontpage/feed/vote.js'; 4 - export * as FyiFrontpageRichtextBlock from './types/fyi/frontpage/richtext/block.js'; 5 - export * as FyiUnravelFrontpageComment from './types/fyi/unravel/frontpage/comment.js'; 6 - export * as FyiUnravelFrontpagePost from './types/fyi/unravel/frontpage/post.js'; 7 - export * as FyiUnravelFrontpageVote from './types/fyi/unravel/frontpage/vote.js'; 1 + export * as FyiFrontpageFeedComment from './types/fyi/frontpage/feed/comment.ts'; 2 + export * as FyiFrontpageFeedPost from './types/fyi/frontpage/feed/post.ts'; 3 + export * as FyiFrontpageFeedVote from './types/fyi/frontpage/feed/vote.ts'; 4 + export * as FyiFrontpageRichtextBlock from './types/fyi/frontpage/richtext/block.ts'; 5 + export * as FyiUnravelFrontpageComment from './types/fyi/unravel/frontpage/comment.ts'; 6 + export * as FyiUnravelFrontpagePost from './types/fyi/unravel/frontpage/post.ts'; 7 + export * as FyiUnravelFrontpageVote from './types/fyi/unravel/frontpage/vote.ts';
+1 -1
packages/definitions/frontpage/lib/lexicons/types/fyi/frontpage/feed/comment.ts
··· 3 3 import type {} from '@atcute/lexicons/ambient'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as FyiFrontpageRichtextBlock from '../richtext/block.js'; 6 + import * as FyiFrontpageRichtextBlock from '../richtext/block.ts'; 7 7 8 8 const _mainSchema = /*#__PURE__*/ v.record( 9 9 /*#__PURE__*/ v.tidString(),
+2
packages/definitions/frontpage/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/leaflet/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto'], 7 8 8 9 pull: {
+1 -1
packages/definitions/leaflet/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+27 -27
packages/definitions/leaflet/lib/lexicons/index.ts
··· 1 - export * as PubLeafletBlocksBlockquote from './types/pub/leaflet/blocks/blockquote.js'; 2 - export * as PubLeafletBlocksBskyPost from './types/pub/leaflet/blocks/bskyPost.js'; 3 - export * as PubLeafletBlocksButton from './types/pub/leaflet/blocks/button.js'; 4 - export * as PubLeafletBlocksCode from './types/pub/leaflet/blocks/code.js'; 5 - export * as PubLeafletBlocksHeader from './types/pub/leaflet/blocks/header.js'; 6 - export * as PubLeafletBlocksHorizontalRule from './types/pub/leaflet/blocks/horizontalRule.js'; 7 - export * as PubLeafletBlocksIframe from './types/pub/leaflet/blocks/iframe.js'; 8 - export * as PubLeafletBlocksImage from './types/pub/leaflet/blocks/image.js'; 9 - export * as PubLeafletBlocksMath from './types/pub/leaflet/blocks/math.js'; 10 - export * as PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.js'; 11 - export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.js'; 12 - export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.js'; 13 - export * as PubLeafletBlocksUnorderedList from './types/pub/leaflet/blocks/unorderedList.js'; 14 - export * as PubLeafletBlocksWebsite from './types/pub/leaflet/blocks/website.js'; 15 - export * as PubLeafletComment from './types/pub/leaflet/comment.js'; 16 - export * as PubLeafletContent from './types/pub/leaflet/content.js'; 17 - export * as PubLeafletDocument from './types/pub/leaflet/document.js'; 18 - export * as PubLeafletGraphSubscription from './types/pub/leaflet/graph/subscription.js'; 19 - export * as PubLeafletInteractionsRecommend from './types/pub/leaflet/interactions/recommend.js'; 20 - export * as PubLeafletPagesCanvas from './types/pub/leaflet/pages/canvas.js'; 21 - export * as PubLeafletPagesLinearDocument from './types/pub/leaflet/pages/linearDocument.js'; 22 - export * as PubLeafletPollDefinition from './types/pub/leaflet/poll/definition.js'; 23 - export * as PubLeafletPollVote from './types/pub/leaflet/poll/vote.js'; 24 - export * as PubLeafletPublication from './types/pub/leaflet/publication.js'; 25 - export * as PubLeafletRichtextFacet from './types/pub/leaflet/richtext/facet.js'; 26 - export * as PubLeafletThemeBackgroundImage from './types/pub/leaflet/theme/backgroundImage.js'; 27 - export * as PubLeafletThemeColor from './types/pub/leaflet/theme/color.js'; 1 + export * as PubLeafletBlocksBlockquote from './types/pub/leaflet/blocks/blockquote.ts'; 2 + export * as PubLeafletBlocksBskyPost from './types/pub/leaflet/blocks/bskyPost.ts'; 3 + export * as PubLeafletBlocksButton from './types/pub/leaflet/blocks/button.ts'; 4 + export * as PubLeafletBlocksCode from './types/pub/leaflet/blocks/code.ts'; 5 + export * as PubLeafletBlocksHeader from './types/pub/leaflet/blocks/header.ts'; 6 + export * as PubLeafletBlocksHorizontalRule from './types/pub/leaflet/blocks/horizontalRule.ts'; 7 + export * as PubLeafletBlocksIframe from './types/pub/leaflet/blocks/iframe.ts'; 8 + export * as PubLeafletBlocksImage from './types/pub/leaflet/blocks/image.ts'; 9 + export * as PubLeafletBlocksMath from './types/pub/leaflet/blocks/math.ts'; 10 + export * as PubLeafletBlocksPage from './types/pub/leaflet/blocks/page.ts'; 11 + export * as PubLeafletBlocksPoll from './types/pub/leaflet/blocks/poll.ts'; 12 + export * as PubLeafletBlocksText from './types/pub/leaflet/blocks/text.ts'; 13 + export * as PubLeafletBlocksUnorderedList from './types/pub/leaflet/blocks/unorderedList.ts'; 14 + export * as PubLeafletBlocksWebsite from './types/pub/leaflet/blocks/website.ts'; 15 + export * as PubLeafletComment from './types/pub/leaflet/comment.ts'; 16 + export * as PubLeafletContent from './types/pub/leaflet/content.ts'; 17 + export * as PubLeafletDocument from './types/pub/leaflet/document.ts'; 18 + export * as PubLeafletGraphSubscription from './types/pub/leaflet/graph/subscription.ts'; 19 + export * as PubLeafletInteractionsRecommend from './types/pub/leaflet/interactions/recommend.ts'; 20 + export * as PubLeafletPagesCanvas from './types/pub/leaflet/pages/canvas.ts'; 21 + export * as PubLeafletPagesLinearDocument from './types/pub/leaflet/pages/linearDocument.ts'; 22 + export * as PubLeafletPollDefinition from './types/pub/leaflet/poll/definition.ts'; 23 + export * as PubLeafletPollVote from './types/pub/leaflet/poll/vote.ts'; 24 + export * as PubLeafletPublication from './types/pub/leaflet/publication.ts'; 25 + export * as PubLeafletRichtextFacet from './types/pub/leaflet/richtext/facet.ts'; 26 + export * as PubLeafletThemeBackgroundImage from './types/pub/leaflet/theme/backgroundImage.ts'; 27 + export * as PubLeafletThemeColor from './types/pub/leaflet/theme/color.ts';
+1 -1
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/blocks/blockquote.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as PubLeafletRichtextFacet from '../richtext/facet.js'; 4 + import * as PubLeafletRichtextFacet from '../richtext/facet.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.blockquote')),
+1 -1
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/blocks/header.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as PubLeafletRichtextFacet from '../richtext/facet.js'; 4 + import * as PubLeafletRichtextFacet from '../richtext/facet.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.header')),
+1 -1
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/blocks/text.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as PubLeafletRichtextFacet from '../richtext/facet.js'; 4 + import * as PubLeafletRichtextFacet from '../richtext/facet.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.text')),
+3 -3
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/blocks/unorderedList.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as PubLeafletBlocksHeader from './header.js'; 5 - import * as PubLeafletBlocksImage from './image.js'; 6 - import * as PubLeafletBlocksText from './text.js'; 4 + import * as PubLeafletBlocksHeader from './header.ts'; 5 + import * as PubLeafletBlocksImage from './image.ts'; 6 + import * as PubLeafletBlocksText from './text.ts'; 7 7 8 8 const _listItemSchema = /*#__PURE__*/ v.object({ 9 9 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.unorderedList#listItem')),
+2 -2
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/comment.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js'; 6 - import * as PubLeafletRichtextFacet from './richtext/facet.js'; 5 + import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts'; 6 + import * as PubLeafletRichtextFacet from './richtext/facet.ts'; 7 7 8 8 const _linearDocumentQuoteSchema = /*#__PURE__*/ v.object({ 9 9 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.comment#linearDocumentQuote')),
+2 -2
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/content.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as PubLeafletPagesCanvas from './pages/canvas.js'; 5 - import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js'; 4 + import * as PubLeafletPagesCanvas from './pages/canvas.ts'; 5 + import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.content')),
+3 -3
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/document.ts
··· 3 3 import type {} from '@atcute/lexicons/ambient'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as PubLeafletPagesCanvas from './pages/canvas.js'; 7 - import * as PubLeafletPagesLinearDocument from './pages/linearDocument.js'; 8 - import * as PubLeafletPublication from './publication.js'; 6 + import * as PubLeafletPagesCanvas from './pages/canvas.ts'; 7 + import * as PubLeafletPagesLinearDocument from './pages/linearDocument.ts'; 8 + import * as PubLeafletPublication from './publication.ts'; 9 9 10 10 const _mainSchema = /*#__PURE__*/ v.record( 11 11 /*#__PURE__*/ v.tidString(),
+14 -14
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/pages/canvas.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.js'; 5 - import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.js'; 6 - import * as PubLeafletBlocksButton from '../blocks/button.js'; 7 - import * as PubLeafletBlocksCode from '../blocks/code.js'; 8 - import * as PubLeafletBlocksHeader from '../blocks/header.js'; 9 - import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js'; 10 - import * as PubLeafletBlocksIframe from '../blocks/iframe.js'; 11 - import * as PubLeafletBlocksImage from '../blocks/image.js'; 12 - import * as PubLeafletBlocksMath from '../blocks/math.js'; 13 - import * as PubLeafletBlocksPage from '../blocks/page.js'; 14 - import * as PubLeafletBlocksPoll from '../blocks/poll.js'; 15 - import * as PubLeafletBlocksText from '../blocks/text.js'; 16 - import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.js'; 17 - import * as PubLeafletBlocksWebsite from '../blocks/website.js'; 4 + import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.ts'; 5 + import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.ts'; 6 + import * as PubLeafletBlocksButton from '../blocks/button.ts'; 7 + import * as PubLeafletBlocksCode from '../blocks/code.ts'; 8 + import * as PubLeafletBlocksHeader from '../blocks/header.ts'; 9 + import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.ts'; 10 + import * as PubLeafletBlocksIframe from '../blocks/iframe.ts'; 11 + import * as PubLeafletBlocksImage from '../blocks/image.ts'; 12 + import * as PubLeafletBlocksMath from '../blocks/math.ts'; 13 + import * as PubLeafletBlocksPage from '../blocks/page.ts'; 14 + import * as PubLeafletBlocksPoll from '../blocks/poll.ts'; 15 + import * as PubLeafletBlocksText from '../blocks/text.ts'; 16 + import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts'; 17 + import * as PubLeafletBlocksWebsite from '../blocks/website.ts'; 18 18 19 19 const _blockSchema = /*#__PURE__*/ v.object({ 20 20 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.pages.canvas#block')),
+14 -14
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/pages/linearDocument.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.js'; 5 - import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.js'; 6 - import * as PubLeafletBlocksButton from '../blocks/button.js'; 7 - import * as PubLeafletBlocksCode from '../blocks/code.js'; 8 - import * as PubLeafletBlocksHeader from '../blocks/header.js'; 9 - import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js'; 10 - import * as PubLeafletBlocksIframe from '../blocks/iframe.js'; 11 - import * as PubLeafletBlocksImage from '../blocks/image.js'; 12 - import * as PubLeafletBlocksMath from '../blocks/math.js'; 13 - import * as PubLeafletBlocksPage from '../blocks/page.js'; 14 - import * as PubLeafletBlocksPoll from '../blocks/poll.js'; 15 - import * as PubLeafletBlocksText from '../blocks/text.js'; 16 - import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.js'; 17 - import * as PubLeafletBlocksWebsite from '../blocks/website.js'; 4 + import * as PubLeafletBlocksBlockquote from '../blocks/blockquote.ts'; 5 + import * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.ts'; 6 + import * as PubLeafletBlocksButton from '../blocks/button.ts'; 7 + import * as PubLeafletBlocksCode from '../blocks/code.ts'; 8 + import * as PubLeafletBlocksHeader from '../blocks/header.ts'; 9 + import * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.ts'; 10 + import * as PubLeafletBlocksIframe from '../blocks/iframe.ts'; 11 + import * as PubLeafletBlocksImage from '../blocks/image.ts'; 12 + import * as PubLeafletBlocksMath from '../blocks/math.ts'; 13 + import * as PubLeafletBlocksPage from '../blocks/page.ts'; 14 + import * as PubLeafletBlocksPoll from '../blocks/poll.ts'; 15 + import * as PubLeafletBlocksText from '../blocks/text.ts'; 16 + import * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.ts'; 17 + import * as PubLeafletBlocksWebsite from '../blocks/website.ts'; 18 18 19 19 const _blockSchema = /*#__PURE__*/ v.object({ 20 20 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.pages.linearDocument#block')),
+2 -2
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/publication.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as PubLeafletThemeBackgroundImage from './theme/backgroundImage.js'; 6 - import * as PubLeafletThemeColor from './theme/color.js'; 5 + import * as PubLeafletThemeBackgroundImage from './theme/backgroundImage.ts'; 6 + import * as PubLeafletThemeColor from './theme/color.ts'; 7 7 8 8 const _mainSchema = /*#__PURE__*/ v.record( 9 9 /*#__PURE__*/ v.tidString(),
+2
packages/definitions/leaflet/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/lexicon-community/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto'], 7 8 8 9 pull: {
+1 -1
packages/definitions/lexicon-community/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+10 -10
packages/definitions/lexicon-community/lib/lexicons/index.ts
··· 1 - export * as CommunityLexiconBookmarksBookmark from './types/community/lexicon/bookmarks/bookmark.js'; 2 - export * as CommunityLexiconBookmarksGetActorBookmarks from './types/community/lexicon/bookmarks/getActorBookmarks.js'; 3 - export * as CommunityLexiconCalendarEvent from './types/community/lexicon/calendar/event.js'; 4 - export * as CommunityLexiconCalendarRsvp from './types/community/lexicon/calendar/rsvp.js'; 5 - export * as CommunityLexiconInteractionLike from './types/community/lexicon/interaction/like.js'; 6 - export * as CommunityLexiconLocationAddress from './types/community/lexicon/location/address.js'; 7 - export * as CommunityLexiconLocationFsq from './types/community/lexicon/location/fsq.js'; 8 - export * as CommunityLexiconLocationGeo from './types/community/lexicon/location/geo.js'; 9 - export * as CommunityLexiconLocationHthree from './types/community/lexicon/location/hthree.js'; 10 - export * as CommunityLexiconPaymentsWebMonetization from './types/community/lexicon/payments/webMonetization.js'; 1 + export * as CommunityLexiconBookmarksBookmark from './types/community/lexicon/bookmarks/bookmark.ts'; 2 + export * as CommunityLexiconBookmarksGetActorBookmarks from './types/community/lexicon/bookmarks/getActorBookmarks.ts'; 3 + export * as CommunityLexiconCalendarEvent from './types/community/lexicon/calendar/event.ts'; 4 + export * as CommunityLexiconCalendarRsvp from './types/community/lexicon/calendar/rsvp.ts'; 5 + export * as CommunityLexiconInteractionLike from './types/community/lexicon/interaction/like.ts'; 6 + export * as CommunityLexiconLocationAddress from './types/community/lexicon/location/address.ts'; 7 + export * as CommunityLexiconLocationFsq from './types/community/lexicon/location/fsq.ts'; 8 + export * as CommunityLexiconLocationGeo from './types/community/lexicon/location/geo.ts'; 9 + export * as CommunityLexiconLocationHthree from './types/community/lexicon/location/hthree.ts'; 10 + export * as CommunityLexiconPaymentsWebMonetization from './types/community/lexicon/payments/webMonetization.ts';
+1 -1
packages/definitions/lexicon-community/lib/lexicons/types/community/lexicon/bookmarks/getActorBookmarks.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as CommunityLexiconBookmarksBookmark from './bookmark.js'; 5 + import * as CommunityLexiconBookmarksBookmark from './bookmark.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('community.lexicon.bookmarks.getActorBookmarks', { 8 8 params: /*#__PURE__*/ v.object({
+4 -4
packages/definitions/lexicon-community/lib/lexicons/types/community/lexicon/calendar/event.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as CommunityLexiconLocationAddress from '../location/address.js'; 6 - import * as CommunityLexiconLocationFsq from '../location/fsq.js'; 7 - import * as CommunityLexiconLocationGeo from '../location/geo.js'; 8 - import * as CommunityLexiconLocationHthree from '../location/hthree.js'; 5 + import * as CommunityLexiconLocationAddress from '../location/address.ts'; 6 + import * as CommunityLexiconLocationFsq from '../location/fsq.ts'; 7 + import * as CommunityLexiconLocationGeo from '../location/geo.ts'; 8 + import * as CommunityLexiconLocationHthree from '../location/hthree.ts'; 9 9 10 10 const _cancelledSchema = /*#__PURE__*/ v.literal('community.lexicon.calendar.event#cancelled'); 11 11 const _hybridSchema = /*#__PURE__*/ v.literal('community.lexicon.calendar.event#hybrid');
+2
packages/definitions/lexicon-community/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/microcosm/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons-src/**/*.ts'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 export: { 7 8 outdir: 'lexicons/', 8 9 clean: true,
+1 -1
packages/definitions/microcosm/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+7 -7
packages/definitions/microcosm/lib/lexicons/index.ts
··· 1 - export * as BlueMicrocosmIdentityResolveMiniDoc from './types/blue/microcosm/identity/resolveMiniDoc.js'; 2 - export * as BlueMicrocosmLinksGetBacklinks from './types/blue/microcosm/links/getBacklinks.js'; 3 - export * as BlueMicrocosmLinksGetBacklinksCount from './types/blue/microcosm/links/getBacklinksCount.js'; 4 - export * as BlueMicrocosmLinksGetManyToManyCounts from './types/blue/microcosm/links/getManyToManyCounts.js'; 5 - export * as BlueMicrocosmRepoGetRecordByUri from './types/blue/microcosm/repo/getRecordByUri.js'; 6 - export * as ComBadExampleIdentityResolveMiniDoc from './types/com/bad-example/identity/resolveMiniDoc.js'; 7 - export * as ComBadExampleRepoGetUriRecord from './types/com/bad-example/repo/getUriRecord.js'; 1 + export * as BlueMicrocosmIdentityResolveMiniDoc from './types/blue/microcosm/identity/resolveMiniDoc.ts'; 2 + export * as BlueMicrocosmLinksGetBacklinks from './types/blue/microcosm/links/getBacklinks.ts'; 3 + export * as BlueMicrocosmLinksGetBacklinksCount from './types/blue/microcosm/links/getBacklinksCount.ts'; 4 + export * as BlueMicrocosmLinksGetManyToManyCounts from './types/blue/microcosm/links/getManyToManyCounts.ts'; 5 + export * as BlueMicrocosmRepoGetRecordByUri from './types/blue/microcosm/repo/getRecordByUri.ts'; 6 + export * as ComBadExampleIdentityResolveMiniDoc from './types/com/bad-example/identity/resolveMiniDoc.ts'; 7 + export * as ComBadExampleRepoGetUriRecord from './types/com/bad-example/repo/getUriRecord.ts';
+2
packages/definitions/microcosm/tsconfig.lib.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1
packages/definitions/ozone/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto', '@atcute/bluesky'], 7 8 8 9 pull: {
+1 -1
packages/definitions/ozone/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+54 -54
packages/definitions/ozone/lib/lexicons/index.ts
··· 1 - export * as ToolsOzoneCommunicationCreateTemplate from './types/tools/ozone/communication/createTemplate.js'; 2 - export * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/defs.js'; 3 - export * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate.js'; 4 - export * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates.js'; 5 - export * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate.js'; 6 - export * as ToolsOzoneHostingGetAccountHistory from './types/tools/ozone/hosting/getAccountHistory.js'; 7 - export * as ToolsOzoneModerationCancelScheduledActions from './types/tools/ozone/moderation/cancelScheduledActions.js'; 8 - export * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs.js'; 9 - export * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent.js'; 10 - export * as ToolsOzoneModerationGetAccountTimeline from './types/tools/ozone/moderation/getAccountTimeline.js'; 11 - export * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent.js'; 12 - export * as ToolsOzoneModerationGetRecord from './types/tools/ozone/moderation/getRecord.js'; 13 - export * as ToolsOzoneModerationGetRecords from './types/tools/ozone/moderation/getRecords.js'; 14 - export * as ToolsOzoneModerationGetRepo from './types/tools/ozone/moderation/getRepo.js'; 15 - export * as ToolsOzoneModerationGetReporterStats from './types/tools/ozone/moderation/getReporterStats.js'; 16 - export * as ToolsOzoneModerationGetRepos from './types/tools/ozone/moderation/getRepos.js'; 17 - export * as ToolsOzoneModerationGetSubjects from './types/tools/ozone/moderation/getSubjects.js'; 18 - export * as ToolsOzoneModerationListScheduledActions from './types/tools/ozone/moderation/listScheduledActions.js'; 19 - export * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.js'; 20 - export * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.js'; 21 - export * as ToolsOzoneModerationScheduleAction from './types/tools/ozone/moderation/scheduleAction.js'; 22 - export * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos.js'; 23 - export * as ToolsOzoneReportDefs from './types/tools/ozone/report/defs.js'; 24 - export * as ToolsOzoneSafelinkAddRule from './types/tools/ozone/safelink/addRule.js'; 25 - export * as ToolsOzoneSafelinkDefs from './types/tools/ozone/safelink/defs.js'; 26 - export * as ToolsOzoneSafelinkQueryEvents from './types/tools/ozone/safelink/queryEvents.js'; 27 - export * as ToolsOzoneSafelinkQueryRules from './types/tools/ozone/safelink/queryRules.js'; 28 - export * as ToolsOzoneSafelinkRemoveRule from './types/tools/ozone/safelink/removeRule.js'; 29 - export * as ToolsOzoneSafelinkUpdateRule from './types/tools/ozone/safelink/updateRule.js'; 30 - export * as ToolsOzoneServerGetConfig from './types/tools/ozone/server/getConfig.js'; 31 - export * as ToolsOzoneSetAddValues from './types/tools/ozone/set/addValues.js'; 32 - export * as ToolsOzoneSetDefs from './types/tools/ozone/set/defs.js'; 33 - export * as ToolsOzoneSetDeleteSet from './types/tools/ozone/set/deleteSet.js'; 34 - export * as ToolsOzoneSetDeleteValues from './types/tools/ozone/set/deleteValues.js'; 35 - export * as ToolsOzoneSetGetValues from './types/tools/ozone/set/getValues.js'; 36 - export * as ToolsOzoneSetQuerySets from './types/tools/ozone/set/querySets.js'; 37 - export * as ToolsOzoneSetUpsertSet from './types/tools/ozone/set/upsertSet.js'; 38 - export * as ToolsOzoneSettingDefs from './types/tools/ozone/setting/defs.js'; 39 - export * as ToolsOzoneSettingListOptions from './types/tools/ozone/setting/listOptions.js'; 40 - export * as ToolsOzoneSettingRemoveOptions from './types/tools/ozone/setting/removeOptions.js'; 41 - export * as ToolsOzoneSettingUpsertOption from './types/tools/ozone/setting/upsertOption.js'; 42 - export * as ToolsOzoneSignatureDefs from './types/tools/ozone/signature/defs.js'; 43 - export * as ToolsOzoneSignatureFindCorrelation from './types/tools/ozone/signature/findCorrelation.js'; 44 - export * as ToolsOzoneSignatureFindRelatedAccounts from './types/tools/ozone/signature/findRelatedAccounts.js'; 45 - export * as ToolsOzoneSignatureSearchAccounts from './types/tools/ozone/signature/searchAccounts.js'; 46 - export * as ToolsOzoneTeamAddMember from './types/tools/ozone/team/addMember.js'; 47 - export * as ToolsOzoneTeamDefs from './types/tools/ozone/team/defs.js'; 48 - export * as ToolsOzoneTeamDeleteMember from './types/tools/ozone/team/deleteMember.js'; 49 - export * as ToolsOzoneTeamListMembers from './types/tools/ozone/team/listMembers.js'; 50 - export * as ToolsOzoneTeamUpdateMember from './types/tools/ozone/team/updateMember.js'; 51 - export * as ToolsOzoneVerificationDefs from './types/tools/ozone/verification/defs.js'; 52 - export * as ToolsOzoneVerificationGrantVerifications from './types/tools/ozone/verification/grantVerifications.js'; 53 - export * as ToolsOzoneVerificationListVerifications from './types/tools/ozone/verification/listVerifications.js'; 54 - export * as ToolsOzoneVerificationRevokeVerifications from './types/tools/ozone/verification/revokeVerifications.js'; 1 + export * as ToolsOzoneCommunicationCreateTemplate from './types/tools/ozone/communication/createTemplate.ts'; 2 + export * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/defs.ts'; 3 + export * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate.ts'; 4 + export * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates.ts'; 5 + export * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate.ts'; 6 + export * as ToolsOzoneHostingGetAccountHistory from './types/tools/ozone/hosting/getAccountHistory.ts'; 7 + export * as ToolsOzoneModerationCancelScheduledActions from './types/tools/ozone/moderation/cancelScheduledActions.ts'; 8 + export * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs.ts'; 9 + export * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent.ts'; 10 + export * as ToolsOzoneModerationGetAccountTimeline from './types/tools/ozone/moderation/getAccountTimeline.ts'; 11 + export * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent.ts'; 12 + export * as ToolsOzoneModerationGetRecord from './types/tools/ozone/moderation/getRecord.ts'; 13 + export * as ToolsOzoneModerationGetRecords from './types/tools/ozone/moderation/getRecords.ts'; 14 + export * as ToolsOzoneModerationGetRepo from './types/tools/ozone/moderation/getRepo.ts'; 15 + export * as ToolsOzoneModerationGetReporterStats from './types/tools/ozone/moderation/getReporterStats.ts'; 16 + export * as ToolsOzoneModerationGetRepos from './types/tools/ozone/moderation/getRepos.ts'; 17 + export * as ToolsOzoneModerationGetSubjects from './types/tools/ozone/moderation/getSubjects.ts'; 18 + export * as ToolsOzoneModerationListScheduledActions from './types/tools/ozone/moderation/listScheduledActions.ts'; 19 + export * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.ts'; 20 + export * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.ts'; 21 + export * as ToolsOzoneModerationScheduleAction from './types/tools/ozone/moderation/scheduleAction.ts'; 22 + export * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos.ts'; 23 + export * as ToolsOzoneReportDefs from './types/tools/ozone/report/defs.ts'; 24 + export * as ToolsOzoneSafelinkAddRule from './types/tools/ozone/safelink/addRule.ts'; 25 + export * as ToolsOzoneSafelinkDefs from './types/tools/ozone/safelink/defs.ts'; 26 + export * as ToolsOzoneSafelinkQueryEvents from './types/tools/ozone/safelink/queryEvents.ts'; 27 + export * as ToolsOzoneSafelinkQueryRules from './types/tools/ozone/safelink/queryRules.ts'; 28 + export * as ToolsOzoneSafelinkRemoveRule from './types/tools/ozone/safelink/removeRule.ts'; 29 + export * as ToolsOzoneSafelinkUpdateRule from './types/tools/ozone/safelink/updateRule.ts'; 30 + export * as ToolsOzoneServerGetConfig from './types/tools/ozone/server/getConfig.ts'; 31 + export * as ToolsOzoneSetAddValues from './types/tools/ozone/set/addValues.ts'; 32 + export * as ToolsOzoneSetDefs from './types/tools/ozone/set/defs.ts'; 33 + export * as ToolsOzoneSetDeleteSet from './types/tools/ozone/set/deleteSet.ts'; 34 + export * as ToolsOzoneSetDeleteValues from './types/tools/ozone/set/deleteValues.ts'; 35 + export * as ToolsOzoneSetGetValues from './types/tools/ozone/set/getValues.ts'; 36 + export * as ToolsOzoneSetQuerySets from './types/tools/ozone/set/querySets.ts'; 37 + export * as ToolsOzoneSetUpsertSet from './types/tools/ozone/set/upsertSet.ts'; 38 + export * as ToolsOzoneSettingDefs from './types/tools/ozone/setting/defs.ts'; 39 + export * as ToolsOzoneSettingListOptions from './types/tools/ozone/setting/listOptions.ts'; 40 + export * as ToolsOzoneSettingRemoveOptions from './types/tools/ozone/setting/removeOptions.ts'; 41 + export * as ToolsOzoneSettingUpsertOption from './types/tools/ozone/setting/upsertOption.ts'; 42 + export * as ToolsOzoneSignatureDefs from './types/tools/ozone/signature/defs.ts'; 43 + export * as ToolsOzoneSignatureFindCorrelation from './types/tools/ozone/signature/findCorrelation.ts'; 44 + export * as ToolsOzoneSignatureFindRelatedAccounts from './types/tools/ozone/signature/findRelatedAccounts.ts'; 45 + export * as ToolsOzoneSignatureSearchAccounts from './types/tools/ozone/signature/searchAccounts.ts'; 46 + export * as ToolsOzoneTeamAddMember from './types/tools/ozone/team/addMember.ts'; 47 + export * as ToolsOzoneTeamDefs from './types/tools/ozone/team/defs.ts'; 48 + export * as ToolsOzoneTeamDeleteMember from './types/tools/ozone/team/deleteMember.ts'; 49 + export * as ToolsOzoneTeamListMembers from './types/tools/ozone/team/listMembers.ts'; 50 + export * as ToolsOzoneTeamUpdateMember from './types/tools/ozone/team/updateMember.ts'; 51 + export * as ToolsOzoneVerificationDefs from './types/tools/ozone/verification/defs.ts'; 52 + export * as ToolsOzoneVerificationGrantVerifications from './types/tools/ozone/verification/grantVerifications.ts'; 53 + export * as ToolsOzoneVerificationListVerifications from './types/tools/ozone/verification/listVerifications.ts'; 54 + export * as ToolsOzoneVerificationRevokeVerifications from './types/tools/ozone/verification/revokeVerifications.ts';
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/communication/createTemplate.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneCommunicationDefs from './defs.js'; 5 + import * as ToolsOzoneCommunicationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.communication.createTemplate', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/communication/listTemplates.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneCommunicationDefs from './defs.js'; 5 + import * as ToolsOzoneCommunicationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.communication.listTemplates', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/communication/updateTemplate.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneCommunicationDefs from './defs.js'; 5 + import * as ToolsOzoneCommunicationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.communication.updateTemplate', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/emitEvent.ts
··· 4 4 import type {} from '@atcute/lexicons/ambient'; 5 5 import * as v from '@atcute/lexicons/validations'; 6 6 7 - import * as ToolsOzoneModerationDefs from './defs.js'; 7 + import * as ToolsOzoneModerationDefs from './defs.ts'; 8 8 9 9 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.moderation.emitEvent', { 10 10 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/getEvent.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.getEvent', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/getRecord.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.getRecord', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/getRecords.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.getRecords', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/getRepo.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.getRepo', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/getReporterStats.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.getReporterStats', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/getRepos.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.getRepos', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/getSubjects.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.getSubjects', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/listScheduledActions.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.moderation.listScheduledActions', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/queryEvents.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.queryEvents', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/queryStatuses.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.queryStatuses', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/scheduleAction.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _failedSchedulingSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/searchRepos.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneModerationDefs from './defs.js'; 5 + import * as ToolsOzoneModerationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.moderation.searchRepos', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/safelink/addRule.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSafelinkDefs from './defs.js'; 5 + import * as ToolsOzoneSafelinkDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.safelink.addRule', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/safelink/queryEvents.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSafelinkDefs from './defs.js'; 5 + import * as ToolsOzoneSafelinkDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.safelink.queryEvents', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/safelink/queryRules.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSafelinkDefs from './defs.js'; 5 + import * as ToolsOzoneSafelinkDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.safelink.queryRules', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/safelink/removeRule.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSafelinkDefs from './defs.js'; 5 + import * as ToolsOzoneSafelinkDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.safelink.removeRule', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/safelink/updateRule.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSafelinkDefs from './defs.js'; 5 + import * as ToolsOzoneSafelinkDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.safelink.updateRule', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/set/getValues.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSetDefs from './defs.js'; 5 + import * as ToolsOzoneSetDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.set.getValues', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/set/querySets.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSetDefs from './defs.js'; 5 + import * as ToolsOzoneSetDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.set.querySets', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/set/upsertSet.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSetDefs from './defs.js'; 5 + import * as ToolsOzoneSetDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.set.upsertSet', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/setting/listOptions.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSettingDefs from './defs.js'; 5 + import * as ToolsOzoneSettingDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.setting.listOptions', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/setting/upsertOption.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSettingDefs from './defs.js'; 5 + import * as ToolsOzoneSettingDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.setting.upsertOption', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/signature/findCorrelation.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneSignatureDefs from './defs.js'; 5 + import * as ToolsOzoneSignatureDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.signature.findCorrelation', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/signature/findRelatedAccounts.ts
··· 3 3 import type {} from '@atcute/lexicons/ambient'; 4 4 import * as v from '@atcute/lexicons/validations'; 5 5 6 - import * as ToolsOzoneSignatureDefs from './defs.js'; 6 + import * as ToolsOzoneSignatureDefs from './defs.ts'; 7 7 8 8 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.signature.findRelatedAccounts', { 9 9 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/team/addMember.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneTeamDefs from './defs.js'; 5 + import * as ToolsOzoneTeamDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.team.addMember', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/team/listMembers.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneTeamDefs from './defs.js'; 5 + import * as ToolsOzoneTeamDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.team.listMembers', { 8 8 params: /*#__PURE__*/ v.object({
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/team/updateMember.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneTeamDefs from './defs.js'; 5 + import * as ToolsOzoneTeamDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.procedure('tools.ozone.team.updateMember', { 8 8 params: null,
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/verification/defs.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as ToolsOzoneModerationDefs from '../moderation/defs.js'; 4 + import * as ToolsOzoneModerationDefs from '../moderation/defs.ts'; 5 5 6 6 const _verificationViewSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('tools.ozone.verification.defs#verificationView')),
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/verification/grantVerifications.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneVerificationDefs from './defs.js'; 5 + import * as ToolsOzoneVerificationDefs from './defs.ts'; 6 6 7 7 const _grantErrorSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(
+1 -1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/verification/listVerifications.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ToolsOzoneVerificationDefs from './defs.js'; 5 + import * as ToolsOzoneVerificationDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('tools.ozone.verification.listVerifications', { 8 8 params: /*#__PURE__*/ v.object({
+2
packages/definitions/ozone/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/pckt/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto'], 7 8 8 9 pull: {
+1 -1
packages/definitions/pckt/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+27 -27
packages/definitions/pckt/lib/lexicons/index.ts
··· 1 - export * as BlogPcktBlockBlockquote from './types/blog/pckt/block/blockquote.js'; 2 - export * as BlogPcktBlockBlueskyEmbed from './types/blog/pckt/block/blueskyEmbed.js'; 3 - export * as BlogPcktBlockBulletList from './types/blog/pckt/block/bulletList.js'; 4 - export * as BlogPcktBlockCodeBlock from './types/blog/pckt/block/codeBlock.js'; 5 - export * as BlogPcktBlockGallery from './types/blog/pckt/block/gallery.js'; 6 - export * as BlogPcktBlockHardBreak from './types/blog/pckt/block/hardBreak.js'; 7 - export * as BlogPcktBlockHeading from './types/blog/pckt/block/heading.js'; 8 - export * as BlogPcktBlockHorizontalRule from './types/blog/pckt/block/horizontalRule.js'; 9 - export * as BlogPcktBlockIframe from './types/blog/pckt/block/iframe.js'; 10 - export * as BlogPcktBlockImage from './types/blog/pckt/block/image.js'; 11 - export * as BlogPcktBlockListItem from './types/blog/pckt/block/listItem.js'; 12 - export * as BlogPcktBlockMention from './types/blog/pckt/block/mention.js'; 13 - export * as BlogPcktBlockOrderedList from './types/blog/pckt/block/orderedList.js'; 14 - export * as BlogPcktBlockTable from './types/blog/pckt/block/table.js'; 15 - export * as BlogPcktBlockTableCell from './types/blog/pckt/block/tableCell.js'; 16 - export * as BlogPcktBlockTableHeader from './types/blog/pckt/block/tableHeader.js'; 17 - export * as BlogPcktBlockTableRow from './types/blog/pckt/block/tableRow.js'; 18 - export * as BlogPcktBlockTaskItem from './types/blog/pckt/block/taskItem.js'; 19 - export * as BlogPcktBlockTaskList from './types/blog/pckt/block/taskList.js'; 20 - export * as BlogPcktBlockText from './types/blog/pckt/block/text.js'; 21 - export * as BlogPcktBlockWebsite from './types/blog/pckt/block/website.js'; 22 - export * as BlogPcktContent from './types/blog/pckt/content.js'; 23 - export * as BlogPcktDocument from './types/blog/pckt/document.js'; 24 - export * as BlogPcktGallery from './types/blog/pckt/gallery.js'; 25 - export * as BlogPcktPublication from './types/blog/pckt/publication.js'; 26 - export * as BlogPcktRichtextFacet from './types/blog/pckt/richtext/facet.js'; 27 - export * as BlogPcktTheme from './types/blog/pckt/theme.js'; 1 + export * as BlogPcktBlockBlockquote from './types/blog/pckt/block/blockquote.ts'; 2 + export * as BlogPcktBlockBlueskyEmbed from './types/blog/pckt/block/blueskyEmbed.ts'; 3 + export * as BlogPcktBlockBulletList from './types/blog/pckt/block/bulletList.ts'; 4 + export * as BlogPcktBlockCodeBlock from './types/blog/pckt/block/codeBlock.ts'; 5 + export * as BlogPcktBlockGallery from './types/blog/pckt/block/gallery.ts'; 6 + export * as BlogPcktBlockHardBreak from './types/blog/pckt/block/hardBreak.ts'; 7 + export * as BlogPcktBlockHeading from './types/blog/pckt/block/heading.ts'; 8 + export * as BlogPcktBlockHorizontalRule from './types/blog/pckt/block/horizontalRule.ts'; 9 + export * as BlogPcktBlockIframe from './types/blog/pckt/block/iframe.ts'; 10 + export * as BlogPcktBlockImage from './types/blog/pckt/block/image.ts'; 11 + export * as BlogPcktBlockListItem from './types/blog/pckt/block/listItem.ts'; 12 + export * as BlogPcktBlockMention from './types/blog/pckt/block/mention.ts'; 13 + export * as BlogPcktBlockOrderedList from './types/blog/pckt/block/orderedList.ts'; 14 + export * as BlogPcktBlockTable from './types/blog/pckt/block/table.ts'; 15 + export * as BlogPcktBlockTableCell from './types/blog/pckt/block/tableCell.ts'; 16 + export * as BlogPcktBlockTableHeader from './types/blog/pckt/block/tableHeader.ts'; 17 + export * as BlogPcktBlockTableRow from './types/blog/pckt/block/tableRow.ts'; 18 + export * as BlogPcktBlockTaskItem from './types/blog/pckt/block/taskItem.ts'; 19 + export * as BlogPcktBlockTaskList from './types/blog/pckt/block/taskList.ts'; 20 + export * as BlogPcktBlockText from './types/blog/pckt/block/text.ts'; 21 + export * as BlogPcktBlockWebsite from './types/blog/pckt/block/website.ts'; 22 + export * as BlogPcktContent from './types/blog/pckt/content.ts'; 23 + export * as BlogPcktDocument from './types/blog/pckt/document.ts'; 24 + export * as BlogPcktGallery from './types/blog/pckt/gallery.ts'; 25 + export * as BlogPcktPublication from './types/blog/pckt/publication.ts'; 26 + export * as BlogPcktRichtextFacet from './types/blog/pckt/richtext/facet.ts'; 27 + export * as BlogPcktTheme from './types/blog/pckt/theme.ts';
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/blockquote.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockText from './text.js'; 4 + import * as BlogPcktBlockText from './text.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.blockquote')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/bulletList.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockListItem from './listItem.js'; 4 + import * as BlogPcktBlockListItem from './listItem.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.bulletList')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/heading.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktRichtextFacet from '../richtext/facet.js'; 4 + import * as BlogPcktRichtextFacet from '../richtext/facet.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.heading')),
+3 -3
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/listItem.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockBulletList from './bulletList.js'; 5 - import * as BlogPcktBlockOrderedList from './orderedList.js'; 6 - import * as BlogPcktBlockText from './text.js'; 4 + import * as BlogPcktBlockBulletList from './bulletList.ts'; 5 + import * as BlogPcktBlockOrderedList from './orderedList.ts'; 6 + import * as BlogPcktBlockText from './text.ts'; 7 7 8 8 const _mainSchema = /*#__PURE__*/ v.object({ 9 9 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.listItem')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/orderedList.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockListItem from './listItem.js'; 4 + import * as BlogPcktBlockListItem from './listItem.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.orderedList')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/table.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockTableRow from './tableRow.js'; 4 + import * as BlogPcktBlockTableRow from './tableRow.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.table')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/tableCell.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockText from './text.js'; 4 + import * as BlogPcktBlockText from './text.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.tableCell')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/tableHeader.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockText from './text.js'; 4 + import * as BlogPcktBlockText from './text.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.tableHeader')),
+2 -2
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/tableRow.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockTableCell from './tableCell.js'; 5 - import * as BlogPcktBlockTableHeader from './tableHeader.js'; 4 + import * as BlogPcktBlockTableCell from './tableCell.ts'; 5 + import * as BlogPcktBlockTableHeader from './tableHeader.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.tableRow')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/taskItem.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockText from './text.js'; 4 + import * as BlogPcktBlockText from './text.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.taskItem')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/taskList.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktBlockTaskItem from './taskItem.js'; 4 + import * as BlogPcktBlockTaskItem from './taskItem.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.taskList')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/block/text.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as BlogPcktRichtextFacet from '../richtext/facet.js'; 4 + import * as BlogPcktRichtextFacet from '../richtext/facet.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.block.text')),
+1 -1
packages/definitions/pckt/lib/lexicons/types/blog/pckt/gallery.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as BlogPcktBlockImage from './block/image.js'; 5 + import * as BlogPcktBlockImage from './block/image.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.record( 8 8 /*#__PURE__*/ v.tidString(),
+2
packages/definitions/pckt/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/standard-site/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto'], 7 8 8 9 pull: {
+1 -1
packages/definitions/standard-site/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+5 -5
packages/definitions/standard-site/lib/lexicons/index.ts
··· 1 - export * as SiteStandardDocument from './types/site/standard/document.js'; 2 - export * as SiteStandardGraphSubscription from './types/site/standard/graph/subscription.js'; 3 - export * as SiteStandardPublication from './types/site/standard/publication.js'; 4 - export * as SiteStandardThemeBasic from './types/site/standard/theme/basic.js'; 5 - export * as SiteStandardThemeColor from './types/site/standard/theme/color.js'; 1 + export * as SiteStandardDocument from './types/site/standard/document.ts'; 2 + export * as SiteStandardGraphSubscription from './types/site/standard/graph/subscription.ts'; 3 + export * as SiteStandardPublication from './types/site/standard/publication.ts'; 4 + export * as SiteStandardThemeBasic from './types/site/standard/theme/basic.ts'; 5 + export * as SiteStandardThemeColor from './types/site/standard/theme/color.ts';
+1 -1
packages/definitions/standard-site/lib/lexicons/types/site/standard/publication.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as SiteStandardThemeBasic from './theme/basic.js'; 5 + import * as SiteStandardThemeBasic from './theme/basic.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.record( 8 8 /*#__PURE__*/ v.tidString(),
+1 -1
packages/definitions/standard-site/lib/lexicons/types/site/standard/theme/basic.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 - import * as SiteStandardThemeColor from './color.js'; 4 + import * as SiteStandardThemeColor from './color.ts'; 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.object({ 7 7 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('site.standard.theme.basic')),
+2
packages/definitions/standard-site/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/tangled/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 imports: ['@atcute/atproto'], 7 8 8 9 pull: {
+1 -1
packages/definitions/tangled/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+57 -57
packages/definitions/tangled/lib/lexicons/index.ts
··· 1 - export * as ShTangledActorProfile from './types/sh/tangled/actor/profile.js'; 2 - export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.js'; 3 - export * as ShTangledFeedStar from './types/sh/tangled/feed/star.js'; 4 - export * as ShTangledGitRefUpdate from './types/sh/tangled/git/refUpdate.js'; 5 - export * as ShTangledGraphFollow from './types/sh/tangled/graph/follow.js'; 6 - export * as ShTangledKnot from './types/sh/tangled/knot.js'; 7 - export * as ShTangledKnotListKeys from './types/sh/tangled/knot/listKeys.js'; 8 - export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js'; 9 - export * as ShTangledKnotVersion from './types/sh/tangled/knot/version.js'; 10 - export * as ShTangledLabelDefinition from './types/sh/tangled/label/definition.js'; 11 - export * as ShTangledLabelOp from './types/sh/tangled/label/op.js'; 12 - export * as ShTangledOwner from './types/sh/tangled/owner.js'; 13 - export * as ShTangledPipeline from './types/sh/tangled/pipeline.js'; 14 - export * as ShTangledPipelineCancelPipeline from './types/sh/tangled/pipeline/cancelPipeline.js'; 15 - export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.js'; 16 - export * as ShTangledPublicKey from './types/sh/tangled/publicKey.js'; 17 - export * as ShTangledRepo from './types/sh/tangled/repo.js'; 18 - export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.js'; 19 - export * as ShTangledRepoArchive from './types/sh/tangled/repo/archive.js'; 20 - export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js'; 21 - export * as ShTangledRepoBlob from './types/sh/tangled/repo/blob.js'; 22 - export * as ShTangledRepoBranch from './types/sh/tangled/repo/branch.js'; 23 - export * as ShTangledRepoBranches from './types/sh/tangled/repo/branches.js'; 24 - export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.js'; 25 - export * as ShTangledRepoCompare from './types/sh/tangled/repo/compare.js'; 26 - export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.js'; 27 - export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.js'; 28 - export * as ShTangledRepoDeleteBranch from './types/sh/tangled/repo/deleteBranch.js'; 29 - export * as ShTangledRepoDiff from './types/sh/tangled/repo/diff.js'; 30 - export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.js'; 31 - export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.js'; 32 - export * as ShTangledRepoGetDefaultBranch from './types/sh/tangled/repo/getDefaultBranch.js'; 33 - export * as ShTangledRepoHiddenRef from './types/sh/tangled/repo/hiddenRef.js'; 34 - export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js'; 35 - export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js'; 36 - export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js'; 37 - export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js'; 38 - export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js'; 39 - export * as ShTangledRepoLanguages from './types/sh/tangled/repo/languages.js'; 40 - export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.js'; 41 - export * as ShTangledRepoLog from './types/sh/tangled/repo/log.js'; 42 - export * as ShTangledRepoMerge from './types/sh/tangled/repo/merge.js'; 43 - export * as ShTangledRepoMergeCheck from './types/sh/tangled/repo/mergeCheck.js'; 44 - export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js'; 45 - export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.js'; 46 - export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.js'; 47 - export * as ShTangledRepoPullStatusClosed from './types/sh/tangled/repo/pull/status/closed.js'; 48 - export * as ShTangledRepoPullStatusMerged from './types/sh/tangled/repo/pull/status/merged.js'; 49 - export * as ShTangledRepoPullStatusOpen from './types/sh/tangled/repo/pull/status/open.js'; 50 - export * as ShTangledRepoRemoveSecret from './types/sh/tangled/repo/removeSecret.js'; 51 - export * as ShTangledRepoSetDefaultBranch from './types/sh/tangled/repo/setDefaultBranch.js'; 52 - export * as ShTangledRepoTag from './types/sh/tangled/repo/tag.js'; 53 - export * as ShTangledRepoTags from './types/sh/tangled/repo/tags.js'; 54 - export * as ShTangledRepoTree from './types/sh/tangled/repo/tree.js'; 55 - export * as ShTangledSpindle from './types/sh/tangled/spindle.js'; 56 - export * as ShTangledSpindleMember from './types/sh/tangled/spindle/member.js'; 57 - export * as ShTangledString from './types/sh/tangled/string.js'; 1 + export * as ShTangledActorProfile from './types/sh/tangled/actor/profile.ts'; 2 + export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.ts'; 3 + export * as ShTangledFeedStar from './types/sh/tangled/feed/star.ts'; 4 + export * as ShTangledGitRefUpdate from './types/sh/tangled/git/refUpdate.ts'; 5 + export * as ShTangledGraphFollow from './types/sh/tangled/graph/follow.ts'; 6 + export * as ShTangledKnot from './types/sh/tangled/knot.ts'; 7 + export * as ShTangledKnotListKeys from './types/sh/tangled/knot/listKeys.ts'; 8 + export * as ShTangledKnotMember from './types/sh/tangled/knot/member.ts'; 9 + export * as ShTangledKnotVersion from './types/sh/tangled/knot/version.ts'; 10 + export * as ShTangledLabelDefinition from './types/sh/tangled/label/definition.ts'; 11 + export * as ShTangledLabelOp from './types/sh/tangled/label/op.ts'; 12 + export * as ShTangledOwner from './types/sh/tangled/owner.ts'; 13 + export * as ShTangledPipeline from './types/sh/tangled/pipeline.ts'; 14 + export * as ShTangledPipelineCancelPipeline from './types/sh/tangled/pipeline/cancelPipeline.ts'; 15 + export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.ts'; 16 + export * as ShTangledPublicKey from './types/sh/tangled/publicKey.ts'; 17 + export * as ShTangledRepo from './types/sh/tangled/repo.ts'; 18 + export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.ts'; 19 + export * as ShTangledRepoArchive from './types/sh/tangled/repo/archive.ts'; 20 + export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.ts'; 21 + export * as ShTangledRepoBlob from './types/sh/tangled/repo/blob.ts'; 22 + export * as ShTangledRepoBranch from './types/sh/tangled/repo/branch.ts'; 23 + export * as ShTangledRepoBranches from './types/sh/tangled/repo/branches.ts'; 24 + export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.ts'; 25 + export * as ShTangledRepoCompare from './types/sh/tangled/repo/compare.ts'; 26 + export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.ts'; 27 + export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.ts'; 28 + export * as ShTangledRepoDeleteBranch from './types/sh/tangled/repo/deleteBranch.ts'; 29 + export * as ShTangledRepoDiff from './types/sh/tangled/repo/diff.ts'; 30 + export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.ts'; 31 + export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.ts'; 32 + export * as ShTangledRepoGetDefaultBranch from './types/sh/tangled/repo/getDefaultBranch.ts'; 33 + export * as ShTangledRepoHiddenRef from './types/sh/tangled/repo/hiddenRef.ts'; 34 + export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.ts'; 35 + export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.ts'; 36 + export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.ts'; 37 + export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.ts'; 38 + export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.ts'; 39 + export * as ShTangledRepoLanguages from './types/sh/tangled/repo/languages.ts'; 40 + export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.ts'; 41 + export * as ShTangledRepoLog from './types/sh/tangled/repo/log.ts'; 42 + export * as ShTangledRepoMerge from './types/sh/tangled/repo/merge.ts'; 43 + export * as ShTangledRepoMergeCheck from './types/sh/tangled/repo/mergeCheck.ts'; 44 + export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.ts'; 45 + export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.ts'; 46 + export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.ts'; 47 + export * as ShTangledRepoPullStatusClosed from './types/sh/tangled/repo/pull/status/closed.ts'; 48 + export * as ShTangledRepoPullStatusMerged from './types/sh/tangled/repo/pull/status/merged.ts'; 49 + export * as ShTangledRepoPullStatusOpen from './types/sh/tangled/repo/pull/status/open.ts'; 50 + export * as ShTangledRepoRemoveSecret from './types/sh/tangled/repo/removeSecret.ts'; 51 + export * as ShTangledRepoSetDefaultBranch from './types/sh/tangled/repo/setDefaultBranch.ts'; 52 + export * as ShTangledRepoTag from './types/sh/tangled/repo/tag.ts'; 53 + export * as ShTangledRepoTags from './types/sh/tangled/repo/tags.ts'; 54 + export * as ShTangledRepoTree from './types/sh/tangled/repo/tree.ts'; 55 + export * as ShTangledSpindle from './types/sh/tangled/spindle.ts'; 56 + export * as ShTangledSpindleMember from './types/sh/tangled/spindle/member.ts'; 57 + export * as ShTangledString from './types/sh/tangled/string.ts';
+2
packages/definitions/tangled/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1
packages/definitions/whitewind/lex.config.js
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['lexicons/com/whtwnd/**/*.json'], 5 5 outdir: 'lib/lexicons/', 6 + modules: { importSuffix: '.ts' }, 6 7 7 8 pull: { 8 9 outdir: 'lexicons/',
+1 -1
packages/definitions/whitewind/lib/index.ts
··· 1 - export * from './lexicons/index.js'; 1 + export * from './lexicons/index.ts';
+6 -6
packages/definitions/whitewind/lib/lexicons/index.ts
··· 1 - export * as ComWhtwndBlogDefs from './types/com/whtwnd/blog/defs.js'; 2 - export * as ComWhtwndBlogEntry from './types/com/whtwnd/blog/entry.js'; 3 - export * as ComWhtwndBlogGetAuthorPosts from './types/com/whtwnd/blog/getAuthorPosts.js'; 4 - export * as ComWhtwndBlogGetEntryMetadataByName from './types/com/whtwnd/blog/getEntryMetadataByName.js'; 5 - export * as ComWhtwndBlogGetMentionsByEntry from './types/com/whtwnd/blog/getMentionsByEntry.js'; 6 - export * as ComWhtwndBlogNotifyOfNewEntry from './types/com/whtwnd/blog/notifyOfNewEntry.js'; 1 + export * as ComWhtwndBlogDefs from './types/com/whtwnd/blog/defs.ts'; 2 + export * as ComWhtwndBlogEntry from './types/com/whtwnd/blog/entry.ts'; 3 + export * as ComWhtwndBlogGetAuthorPosts from './types/com/whtwnd/blog/getAuthorPosts.ts'; 4 + export * as ComWhtwndBlogGetEntryMetadataByName from './types/com/whtwnd/blog/getEntryMetadataByName.ts'; 5 + export * as ComWhtwndBlogGetMentionsByEntry from './types/com/whtwnd/blog/getMentionsByEntry.ts'; 6 + export * as ComWhtwndBlogNotifyOfNewEntry from './types/com/whtwnd/blog/notifyOfNewEntry.ts';
+1 -1
packages/definitions/whitewind/lib/lexicons/types/com/whtwnd/blog/entry.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComWhtwndBlogDefs from './defs.js'; 5 + import * as ComWhtwndBlogDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.record( 8 8 /*#__PURE__*/ v.tidString(),
+1 -1
packages/definitions/whitewind/lib/lexicons/types/com/whtwnd/blog/getAuthorPosts.ts
··· 2 2 import type {} from '@atcute/lexicons/ambient'; 3 3 import * as v from '@atcute/lexicons/validations'; 4 4 5 - import * as ComWhtwndBlogDefs from './defs.js'; 5 + import * as ComWhtwndBlogDefs from './defs.ts'; 6 6 7 7 const _mainSchema = /*#__PURE__*/ v.query('com.whtwnd.blog.getAuthorPosts', { 8 8 params: /*#__PURE__*/ v.object({
+2
packages/definitions/whitewind/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+3 -3
packages/identity/did-plc/lib/client.test.ts
··· 3 3 4 4 import { afterAll, beforeAll, describe, expect, it } from 'vitest'; 5 5 6 - import { PlcClient, PlcClientError } from './client.js'; 7 - import type * as t from './types.js'; 8 - import { deriveDidFromGenesisOp, signOperation } from './utils.js'; 6 + import { PlcClient, PlcClientError } from './client.ts'; 7 + import type * as t from './types.ts'; 8 + import { deriveDidFromGenesisOp, signOperation } from './utils.ts'; 9 9 10 10 describe('PlcClient', () => { 11 11 let plc: TestPlcServer;
+2 -2
packages/identity/did-plc/lib/client.ts
··· 2 2 import { defs as identityDefs } from '@atcute/identity'; 3 3 import { parseResponseAsJson, pipe, validateJsonWith } from '@atcute/util-fetch'; 4 4 5 - import * as defs from './typedefs.js'; 6 - import * as t from './types.js'; 5 + import * as defs from './typedefs.ts'; 6 + import * as t from './types.ts'; 7 7 8 8 const MAX_RESPONSE_SIZE = 64 * 1024; 9 9
+4 -4
packages/identity/did-plc/lib/data.test.ts
··· 2 2 3 3 import { describe, expect, it } from 'vitest'; 4 4 5 - import { processIndexedEntryLog } from './data.js'; 6 - import { indexedEntryLog } from './typedefs.js'; 7 - import type * as t from './types.js'; 8 - import { deriveDidFromGenesisOp, isSignedOperationValid, signOperation } from './utils.js'; 5 + import { processIndexedEntryLog } from './data.ts'; 6 + import { indexedEntryLog } from './typedefs.ts'; 7 + import type * as t from './types.ts'; 8 + import { deriveDidFromGenesisOp, isSignedOperationValid, signOperation } from './utils.ts'; 9 9 10 10 describe('processIndexedEntryLog()', () => { 11 11 it('validates an operation log', async () => {
+4 -4
packages/identity/did-plc/lib/data.ts
··· 2 2 import * as CID from '@atcute/cid'; 3 3 import { isKeyDid } from '@atcute/identity'; 4 4 5 - import { DISPUTE_WINDOW } from './constants.js'; 6 - import * as err from './errors.js'; 7 - import * as t from './types.js'; 8 - import { deriveDidFromGenesisOp, isSignedOperationValid, normalizeOp } from './utils.js'; 5 + import { DISPUTE_WINDOW } from './constants.ts'; 6 + import * as err from './errors.ts'; 7 + import * as t from './types.ts'; 8 + import { deriveDidFromGenesisOp, isSignedOperationValid, normalizeOp } from './utils.ts'; 9 9 10 10 // soft constraint limits for incoming operations 11 11 const MAX_OP_BYTES = 4000;
+1 -1
packages/identity/did-plc/lib/errors.ts
··· 1 - import * as t from './types.js'; 1 + import * as t from './types.ts'; 2 2 3 3 export class PlcError extends Error { 4 4 override name = 'PlcError';
+7 -7
packages/identity/did-plc/lib/index.ts
··· 1 - export * as defs from './typedefs.js'; 2 - export * from './types.js'; 1 + export * as defs from './typedefs.ts'; 2 + export * from './types.ts'; 3 3 4 - export * from './client.js'; 5 - export * from './constants.js'; 6 - export * from './data.js'; 7 - export * from './errors.js'; 8 - export * from './utils.js'; 4 + export * from './client.ts'; 5 + export * from './constants.ts'; 6 + export * from './data.ts'; 7 + export * from './errors.ts'; 8 + export * from './utils.ts';
+1 -1
packages/identity/did-plc/lib/typedefs.ts
··· 4 4 5 5 import * as v from '@badrap/valita'; 6 6 7 - import * as t from './types.js'; 7 + import * as t from './types.ts'; 8 8 9 9 // #region Strings 10 10 export const didPlcString = v.string().assert(isPlcDid, `must be a did:plc`);
+1 -1
packages/identity/did-plc/lib/utils.ts
··· 4 4 import { fromBase64Url, toBase32, toBase64Url } from '@atcute/multibase'; 5 5 import { toSha256 } from '@atcute/uint8array'; 6 6 7 - import * as t from './types.js'; 7 + import * as t from './types.ts'; 8 8 9 9 export const wrapHttpPrefix = (str: string): string => { 10 10 if (str.startsWith('http://') || str.startsWith('https://')) {
+2
packages/identity/did-plc/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/identity/identity-resolver-node/lib/index.ts
··· 1 - export * from './did/methods/node.js'; 1 + export * from './did/methods/node.ts';
+2
packages/identity/identity-resolver-node/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2 -2
packages/identity/identity-resolver/lib/actor/local.ts
··· 1 1 import { getAtprotoHandle, getPdsEndpoint } from '@atcute/identity'; 2 2 import { isDid, type ActorIdentifier, type Did, type Handle } from '@atcute/lexicons/syntax'; 3 3 4 - import { ActorResolutionError } from '../errors.js'; 4 + import { ActorResolutionError } from '../errors.ts'; 5 5 import type { 6 6 ActorResolver, 7 7 DidDocumentResolver, 8 8 HandleResolver, 9 9 ResolveActorOptions, 10 10 ResolvedActor, 11 - } from '../types.js'; 11 + } from '../types.ts'; 12 12 13 13 export interface LocalActorResolverOptions { 14 14 handleResolver: HandleResolver;
+2 -2
packages/identity/identity-resolver/lib/did/composite.ts
··· 1 1 import { extractDidMethod, type DidDocument } from '@atcute/identity'; 2 2 import type { Did } from '@atcute/lexicons/syntax'; 3 3 4 - import * as err from '../errors.js'; 5 - import type { DidDocumentResolver, ResolveDidDocumentOptions } from '../types.js'; 4 + import * as err from '../errors.ts'; 5 + import type { DidDocumentResolver, ResolveDidDocumentOptions } from '../types.ts'; 6 6 7 7 export interface CompositeDidDocumentResolverOptions<M extends string> { 8 8 methods: { [K in M]: DidDocumentResolver<K> };
+1 -1
packages/identity/identity-resolver/lib/did/methods/plc.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { PlcDidDocumentResolver } from './plc.js'; 3 + import { PlcDidDocumentResolver } from './plc.ts'; 4 4 5 5 describe('PlcDidDocumentResolver', () => { 6 6 const EXAMPLE_DOCUMENT = {
+3 -3
packages/identity/identity-resolver/lib/did/methods/plc.ts
··· 2 2 import type { Did } from '@atcute/lexicons/syntax'; 3 3 import { FailedResponseError } from '@atcute/util-fetch'; 4 4 5 - import * as err from '../../errors.js'; 6 - import type { DidDocumentResolver, ResolveDidDocumentOptions } from '../../types.js'; 7 - import { fetchDocHandler } from '../utils.js'; 5 + import * as err from '../../errors.ts'; 6 + import type { DidDocumentResolver, ResolveDidDocumentOptions } from '../../types.ts'; 7 + import { fetchDocHandler } from '../utils.ts'; 8 8 9 9 export interface PlcDidDocumentResolverOptions { 10 10 apiUrl?: string;
+1 -1
packages/identity/identity-resolver/lib/did/methods/web.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { WebDidDocumentResolver } from './web.js'; 3 + import { WebDidDocumentResolver } from './web.ts'; 4 4 5 5 describe('WebDidDocumentResolver', () => { 6 6 const EXAMPLE_DOCUMENT = {
+3 -3
packages/identity/identity-resolver/lib/did/methods/web.ts
··· 2 2 import type { Did } from '@atcute/lexicons/syntax'; 3 3 import { FailedResponseError } from '@atcute/util-fetch'; 4 4 5 - import * as err from '../../errors.js'; 6 - import type { DidDocumentResolver, ResolveDidDocumentOptions } from '../../types.js'; 7 - import { fetchDocHandler } from '../utils.js'; 5 + import * as err from '../../errors.ts'; 6 + import type { DidDocumentResolver, ResolveDidDocumentOptions } from '../../types.ts'; 7 + import { fetchDocHandler } from '../utils.ts'; 8 8 9 9 export interface WebDidDocumentResolverOptions { 10 10 fetch?: typeof fetch;
+2 -2
packages/identity/identity-resolver/lib/did/methods/xrpc.ts
··· 10 10 11 11 import * as v from '@badrap/valita'; 12 12 13 - import * as err from '../../errors.js'; 14 - import type { DidDocumentResolver, ResolveDidDocumentOptions } from '../../types.js'; 13 + import * as err from '../../errors.ts'; 14 + import type { DidDocumentResolver, ResolveDidDocumentOptions } from '../../types.ts'; 15 15 16 16 const fetchXrpcHandler = pipe( 17 17 isResponseOk,
+2 -2
packages/identity/identity-resolver/lib/handle/composite.ts
··· 1 1 import type { AtprotoDid, Handle } from '@atcute/lexicons/syntax'; 2 2 3 - import * as err from '../errors.js'; 4 - import type { HandleResolver, ResolveHandleOptions } from '../types.js'; 3 + import * as err from '../errors.ts'; 4 + import type { HandleResolver, ResolveHandleOptions } from '../types.ts'; 5 5 6 6 export type CompositeStrategy = 'http-first' | 'dns-first' | 'race' | 'both'; 7 7
+2 -2
packages/identity/identity-resolver/lib/handle/methods/doh-json.test.ts
··· 5 5 DidNotFoundError, 6 6 FailedHandleResolutionError, 7 7 InvalidResolvedHandleError, 8 - } from '../../errors.js'; 8 + } from '../../errors.ts'; 9 9 10 - import { DohJsonHandleResolver } from './doh-json.js'; 10 + import { DohJsonHandleResolver } from './doh-json.ts'; 11 11 12 12 const DOH_URL = 'https://dns.resolver.com/dns-query'; 13 13
+2 -2
packages/identity/identity-resolver/lib/handle/methods/doh-json.ts
··· 2 2 import type { AtprotoDid, Handle } from '@atcute/lexicons/syntax'; 3 3 import { type DohJsonTxtResult, fetchDohJsonTxt } from '@atcute/util-fetch'; 4 4 5 - import * as err from '../../errors.js'; 6 - import type { HandleResolver, ResolveHandleOptions } from '../../types.js'; 5 + import * as err from '../../errors.ts'; 6 + import type { HandleResolver, ResolveHandleOptions } from '../../types.ts'; 7 7 8 8 const SUBDOMAIN = '_atproto'; 9 9 const PREFIX = 'did=';
+2 -2
packages/identity/identity-resolver/lib/handle/methods/well-known.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { DidNotFoundError, FailedHandleResolutionError, InvalidResolvedHandleError } from '../../errors.js'; 3 + import { DidNotFoundError, FailedHandleResolutionError, InvalidResolvedHandleError } from '../../errors.ts'; 4 4 5 - import { WellKnownHandleResolver } from './well-known.js'; 5 + import { WellKnownHandleResolver } from './well-known.ts'; 6 6 7 7 describe('WellKnownHandleResolver', () => { 8 8 it('resolves handle correctly', async () => {
+2 -2
packages/identity/identity-resolver/lib/handle/methods/well-known.ts
··· 2 2 import type { AtprotoDid, Handle } from '@atcute/lexicons/syntax'; 3 3 import { FailedResponseError, isResponseOk, pipe, readResponseAsText } from '@atcute/util-fetch'; 4 4 5 - import * as err from '../../errors.js'; 6 - import type { HandleResolver, ResolveHandleOptions } from '../../types.js'; 5 + import * as err from '../../errors.ts'; 6 + import type { HandleResolver, ResolveHandleOptions } from '../../types.ts'; 7 7 8 8 export interface WellKnownHandleResolverOptions { 9 9 fetch?: typeof fetch;
+1 -1
packages/identity/identity-resolver/lib/handle/methods/xrpc.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { XrpcHandleResolver } from './xrpc.js'; 3 + import { XrpcHandleResolver } from './xrpc.ts'; 4 4 5 5 const SERVICE_URL = 'https://pds.example.com'; 6 6
+2 -2
packages/identity/identity-resolver/lib/handle/methods/xrpc.ts
··· 10 10 11 11 import * as v from '@badrap/valita'; 12 12 13 - import * as err from '../../errors.js'; 14 - import type { HandleResolver, ResolveHandleOptions } from '../../types.js'; 13 + import * as err from '../../errors.ts'; 14 + import type { HandleResolver, ResolveHandleOptions } from '../../types.ts'; 15 15 16 16 const response = v.object({ 17 17 did: v.string().assert((input) => isAtprotoDid(input)),
+11 -11
packages/identity/identity-resolver/lib/index.ts
··· 1 - export * from './actor/local.js'; 1 + export * from './actor/local.ts'; 2 2 3 - export * from './did/composite.js'; 4 - export * from './did/methods/plc.js'; 5 - export * from './did/methods/web.js'; 6 - export * from './did/methods/xrpc.js'; 3 + export * from './did/composite.ts'; 4 + export * from './did/methods/plc.ts'; 5 + export * from './did/methods/web.ts'; 6 + export * from './did/methods/xrpc.ts'; 7 7 8 - export * from './handle/composite.js'; 9 - export * from './handle/methods/doh-json.js'; 10 - export * from './handle/methods/well-known.js'; 11 - export * from './handle/methods/xrpc.js'; 8 + export * from './handle/composite.ts'; 9 + export * from './handle/methods/doh-json.ts'; 10 + export * from './handle/methods/well-known.ts'; 11 + export * from './handle/methods/xrpc.ts'; 12 12 13 - export * from './errors.js'; 14 - export * from './types.js'; 13 + export * from './errors.ts'; 14 + export * from './types.ts';
+2
packages/identity/identity-resolver/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2 -2
packages/identity/identity/lib/did.ts
··· 1 1 import type { AtprotoAudience, AtprotoDid, Did } from '@atcute/lexicons/syntax'; 2 2 3 - import { isPlcDid } from './methods/plc.js'; 4 - import { isAtprotoWebDid } from './methods/web.js'; 3 + import { isPlcDid } from './methods/plc.ts'; 4 + import { isAtprotoWebDid } from './methods/web.ts'; 5 5 6 6 const FRAGMENT_RE = /^(?:[A-Za-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9A-Fa-f]{2})*$/; 7 7
+7 -7
packages/identity/identity/lib/index.ts
··· 1 - export * as defs from './typedefs.js'; 2 - export * from './types.js'; 1 + export * as defs from './typedefs.ts'; 2 + export * from './types.ts'; 3 3 4 - export * from './utils.js'; 4 + export * from './utils.ts'; 5 5 6 - export * from './did.js'; 7 - export * from './methods/key.js'; 8 - export * from './methods/plc.js'; 9 - export * from './methods/web.js'; 6 + export * from './did.ts'; 7 + export * from './methods/key.ts'; 8 + export * from './methods/plc.ts'; 9 + export * from './methods/web.ts';
+1 -1
packages/identity/identity/lib/typedefs.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { didDocument } from './typedefs.js'; 3 + import { didDocument } from './typedefs.ts'; 4 4 5 5 describe('didDocument', () => { 6 6 it('parses a did:plc document', () => {
+1 -1
packages/identity/identity/lib/typedefs.ts
··· 2 2 3 3 import * as v from '@badrap/valita'; 4 4 5 - import * as t from './types.js'; 5 + import * as t from './types.ts'; 6 6 7 7 /** @deprecated */ 8 8 export const FRAGMENT_RE = /^#[^#]+$/;
+2 -2
packages/identity/identity/lib/utils.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { didDocument } from './typedefs.js'; 3 + import { didDocument } from './typedefs.ts'; 4 4 import { 5 5 getAtprotoLabelerVerificationMaterial, 6 6 getAtprotoVerificationMaterial, 7 7 getLabelerEndpoint, 8 8 getPdsEndpoint, 9 - } from './utils.js'; 9 + } from './utils.ts'; 10 10 11 11 const PRONOUNS_LABELER_DID_DOC = didDocument.parse({ 12 12 '@context': [
+1 -1
packages/identity/identity/lib/utils.ts
··· 1 1 import type { Handle } from '@atcute/lexicons'; 2 2 import { isHandle } from '@atcute/lexicons/syntax'; 3 3 4 - import * as t from './types.js'; 4 + import * as t from './types.ts'; 5 5 6 6 export interface VerificationMaterial { 7 7 type: string;
+2
packages/identity/identity/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+5 -5
packages/internal/dev-env/lib/index.ts
··· 1 - export * from './constants.js'; 2 - export * from './network.js'; 3 - export * from './pds.js'; 4 - export * from './plc.js'; 5 - export * from './utils.js'; 1 + export * from './constants.ts'; 2 + export * from './network.ts'; 3 + export * from './pds.ts'; 4 + export * from './plc.ts'; 5 + export * from './utils.ts';
+3 -3
packages/internal/dev-env/lib/network.ts
··· 1 - import { TestPdsServer, type PdsServerOptions } from './pds.js'; 2 - import { TestPlcServer, type PlcServerOptions } from './plc.js'; 3 - import { mockNetworkUtilities } from './utils.js'; 1 + import { TestPdsServer, type PdsServerOptions } from './pds.ts'; 2 + import { TestPlcServer, type PlcServerOptions } from './plc.ts'; 3 + import { mockNetworkUtilities } from './utils.ts'; 4 4 5 5 export type NetworkConfig = { 6 6 pds: Partial<PdsServerOptions>;
+1 -1
packages/internal/dev-env/lib/pds.ts
··· 7 7 import getPort from 'get-port'; 8 8 import * as ui8 from 'uint8arrays'; 9 9 10 - import { ADMIN_PASSWORD, JWT_SECRET } from './constants.js'; 10 + import { ADMIN_PASSWORD, JWT_SECRET } from './constants.ts'; 11 11 12 12 export interface PdsServerOptions extends Partial<pds.ServerEnvironment> { 13 13 didPlcUrl: string;
+1 -1
packages/internal/dev-env/lib/utils.ts
··· 1 1 import type { IdResolver } from '@atproto/identity'; 2 2 import axios from 'axios'; 3 3 4 - import type { TestPdsServer } from './pds.js'; 4 + import type { TestPdsServer } from './pds.ts'; 5 5 6 6 export const mockNetworkUtilities = (pds: TestPdsServer) => { 7 7 mockResolvers(pds.ctx.idResolver, pds);
+2
packages/internal/dev-env/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+3 -3
packages/lexicons/lex-cli/src/cli.ts
··· 1 1 import { or } from '@optique/core/constructs'; 2 2 import { run } from '@optique/run'; 3 3 4 - import { exportCommandSchema, runExport } from './commands/export.js'; 5 - import { generateCommandSchema, runGenerate } from './commands/generate.js'; 6 - import { pullCommandSchema, runPull } from './commands/pull.js'; 4 + import { exportCommandSchema, runExport } from './commands/export.ts'; 5 + import { generateCommandSchema, runGenerate } from './commands/generate.ts'; 6 + import { pullCommandSchema, runPull } from './commands/pull.ts'; 7 7 8 8 const parser = or(generateCommandSchema, pullCommandSchema, exportCommandSchema); 9 9
+3 -3
packages/lexicons/lex-cli/src/commands/export.ts
··· 10 10 import pc from 'picocolors'; 11 11 import prettier from 'prettier'; 12 12 13 - import { loadConfig, type ExportConfig, type NormalizedConfig } from '../config.js'; 14 - import { loadLexicons } from '../lexicon-loader.js'; 15 - import { sharedOptions } from '../shared-options.js'; 13 + import { loadConfig, type ExportConfig, type NormalizedConfig } from '../config.ts'; 14 + import { loadLexicons } from '../lexicon-loader.ts'; 15 + import { sharedOptions } from '../shared-options.ts'; 16 16 17 17 export const exportCommandSchema = command( 18 18 'export',
+5 -5
packages/lexicons/lex-cli/src/commands/generate.ts
··· 7 7 import { command, constant } from '@optique/core/primitives'; 8 8 import pc from 'picocolors'; 9 9 10 - import { generateLexiconApi, type ImportMapping } from '../codegen.js'; 11 - import { loadConfig } from '../config.js'; 12 - import { loadLexicons } from '../lexicon-loader.js'; 13 - import { packageJsonSchema } from '../lexicon-metadata.js'; 14 - import { sharedOptions } from '../shared-options.js'; 10 + import { generateLexiconApi, type ImportMapping } from '../codegen.ts'; 11 + import { loadConfig } from '../config.ts'; 12 + import { loadLexicons } from '../lexicon-loader.ts'; 13 + import { packageJsonSchema } from '../lexicon-metadata.ts'; 14 + import { sharedOptions } from '../shared-options.ts'; 15 15 16 16 /** 17 17 * resolves package imports to ImportMapping[]
+5 -5
packages/lexicons/lex-cli/src/commands/pull.ts
··· 10 10 import pc from 'picocolors'; 11 11 import prettier from 'prettier'; 12 12 13 - import { loadConfig, type NormalizedConfig, type PullConfig, type SourceConfig } from '../config.js'; 14 - import { pullAtprotoSource } from '../pull-sources/atproto.js'; 15 - import { pullGitSource } from '../pull-sources/git.js'; 16 - import type { PullResult, PulledLexicon, SourceLocation } from '../pull-sources/types.js'; 17 - import { sharedOptions } from '../shared-options.js'; 13 + import { loadConfig, type NormalizedConfig, type PullConfig, type SourceConfig } from '../config.ts'; 14 + import { pullAtprotoSource } from '../pull-sources/atproto.ts'; 15 + import { pullGitSource } from '../pull-sources/git.ts'; 16 + import type { PullResult, PulledLexicon, SourceLocation } from '../pull-sources/types.ts'; 17 + import { sharedOptions } from '../shared-options.ts'; 18 18 19 19 export const pullCommandSchema = command( 20 20 'pull',
+1 -1
packages/lexicons/lex-cli/src/config.ts
··· 8 8 import * as v from '@badrap/valita'; 9 9 import pc from 'picocolors'; 10 10 11 - import type { ImportMapping } from './codegen.js'; 11 + import type { ImportMapping } from './codegen.ts'; 12 12 13 13 const gitSourceConfigSchema = v.object({ 14 14 type: v.literal('git'),
+1 -1
packages/lexicons/lex-cli/src/index.ts
··· 1 - import { lexiconConfigSchema, type LexiconConfig } from './config.js'; 1 + import { lexiconConfigSchema, type LexiconConfig } from './config.ts'; 2 2 3 3 export type { LexiconConfig }; 4 4
+2 -2
packages/lexicons/lex-cli/src/pull-sources/atproto.ts
··· 20 20 21 21 import pc from 'picocolors'; 22 22 23 - import type { AtprotoSourceConfig } from '../config.js'; 23 + import type { AtprotoSourceConfig } from '../config.ts'; 24 24 25 - import type { PullResult, SourceLocation } from './types.js'; 25 + import type { PullResult, SourceLocation } from './types.ts'; 26 26 27 27 /** 28 28 * discovers all published lexicons for an authority by listing records in the
+3 -3
packages/lexicons/lex-cli/src/pull-sources/git.ts
··· 6 6 7 7 import pc from 'picocolors'; 8 8 9 - import type { GitSourceConfig } from '../config.js'; 10 - import { runGit, GitError } from '../git.js'; 9 + import type { GitSourceConfig } from '../config.ts'; 10 + import { runGit, GitError } from '../git.ts'; 11 11 12 - import type { PullResult, PulledLexicon, SourceLocation } from './types.js'; 12 + import type { PullResult, PulledLexicon, SourceLocation } from './types.ts'; 13 13 14 14 /** 15 15 * pulls lexicon documents from a git repository source
+2
packages/lexicons/lex-cli/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 14 + "rewriteRelativeImportExtensions": true, 13 15 "strict": true, 14 16 "noImplicitOverride": true, 15 17 "noUnusedLocals": true,
+1 -1
packages/lexicons/lexicon-doc/lib/builder.test.ts
··· 21 21 subscription, 22 22 token, 23 23 unknown, 24 - } from './builder.js'; 24 + } from './builder.ts'; 25 25 26 26 describe('builder', () => { 27 27 describe('boolean', () => {
+3 -3
packages/lexicons/lexicon-doc/lib/builder.ts
··· 2 2 import { getUtf8Length, isUtf8LengthInRange } from '@atcute/uint8array'; 3 3 import { getGraphemeLength, isGraphemeLengthInRange } from '@atcute/util-text'; 4 4 5 - import { DELIMITED_MIME_TYPE_RE, KEY_RE, MIME_TYPE_RE, validateStringFormat } from './internal/validation.js'; 6 - import type * as t from './types.js'; 7 - import { formatLexiconRef, type ParsedLexiconRef } from './utils/refs.js'; 5 + import { DELIMITED_MIME_TYPE_RE, KEY_RE, MIME_TYPE_RE, validateStringFormat } from './internal/validation.ts'; 6 + import type * as t from './types.ts'; 7 + import { formatLexiconRef, type ParsedLexiconRef } from './utils/refs.ts'; 8 8 9 9 // #region Utilities 10 10 type BuildContext = {
+4 -4
packages/lexicons/lexicon-doc/lib/index.ts
··· 1 - export * from './refinements.js'; 2 - export * from './typedefs.js'; 3 - export * from './types.js'; 4 - export * from './utils/refs.js'; 1 + export * from './refinements.ts'; 2 + export * from './typedefs.ts'; 3 + export * from './types.ts'; 4 + export * from './utils/refs.ts';
+1 -1
packages/lexicons/lexicon-doc/lib/internal/validation.ts
··· 12 12 isTid, 13 13 } from '@atcute/lexicons/syntax'; 14 14 15 - import * as t from '../types.js'; 15 + import * as t from '../types.ts'; 16 16 17 17 export const KEY_RE = /^[a-zA-Z][a-zA-Z0-9_]{0,62}?$/; 18 18
+2 -2
packages/lexicons/lexicon-doc/lib/refinements.ts
··· 9 9 REF_RE, 10 10 validateRecordKey, 11 11 validateStringFormat, 12 - } from './internal/validation.js'; 13 - import type * as t from './types.js'; 12 + } from './internal/validation.ts'; 13 + import type * as t from './types.ts'; 14 14 15 15 export interface RefineIssue { 16 16 message: string;
+1 -1
packages/lexicons/lexicon-doc/lib/typedefs.json-schema.ts
··· 1 1 import * as v from 'valibot'; 2 2 3 - import type * as t from './types.js'; 3 + import type * as t from './types.ts'; 4 4 5 5 const NSID_RE = 6 6 /^[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+\.[a-zA-Z][a-zA-Z0-9]{0,62}?$/;
+1 -1
packages/lexicons/lexicon-doc/lib/typedefs.ts
··· 2 2 3 3 import * as v from '@badrap/valita'; 4 4 5 - import * as t from './types.js'; 5 + import * as t from './types.ts'; 6 6 7 7 const integer = v 8 8 .number()
+2 -2
packages/lexicons/lexicon-doc/lib/utils/refs.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import type { LexiconDoc } from '../types.js'; 3 + import type { LexiconDoc } from '../types.ts'; 4 4 5 - import { findExternalReferences, formatLexiconRef, parseLexiconRef } from './refs.js'; 5 + import { findExternalReferences, formatLexiconRef, parseLexiconRef } from './refs.ts'; 6 6 7 7 describe('formatLexiconRef', () => { 8 8 it('formats nsid with main defId as bare nsid', () => {
+1 -1
packages/lexicons/lexicon-doc/lib/utils/refs.ts
··· 1 1 import { isNsid, type Nsid } from '@atcute/lexicons/syntax'; 2 2 3 - import type { LexiconDoc, LexRefVariant, LexUserType } from '../types.js'; 3 + import type { LexiconDoc, LexRefVariant, LexUserType } from '../types.ts'; 4 4 5 5 /** 6 6 * represents a lexicon definition reference
+3 -3
packages/lexicons/lexicon-doc/lib/validations.test.ts
··· 12 12 object, 13 13 required, 14 14 string, 15 - } from './builder.js'; 16 - import type * as t from './types.js'; 17 - import { RecordValidator } from './validations.js'; 15 + } from './builder.ts'; 16 + import type * as t from './types.ts'; 17 + import { RecordValidator } from './validations.ts'; 18 18 19 19 // shared test schemas 20 20 const subjectRef = object({
+3 -3
packages/lexicons/lexicon-doc/lib/validations.ts
··· 13 13 refineLexRefUnion, 14 14 refineLexString, 15 15 type RefineIssue, 16 - } from './refinements.js'; 17 - import type * as t from './types.js'; 18 - import { formatLexiconRef, parseLexiconRef, type ParsedLexiconRef } from './utils/refs.js'; 16 + } from './refinements.ts'; 17 + import type * as t from './types.ts'; 18 + import { formatLexiconRef, parseLexiconRef, type ParsedLexiconRef } from './utils/refs.ts'; 19 19 20 20 export interface RecordValidatorInput { 21 21 key: string | null;
+2
packages/lexicons/lexicon-doc/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/lexicons/lexicon-resolver-node/lib/index.ts
··· 1 - export * from './authority/node-dns.js'; 1 + export * from './authority/node-dns.ts';
+2
packages/lexicons/lexicon-resolver-node/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2 -2
packages/lexicons/lexicon-resolver/lib/authority/doh-json.test.ts
··· 5 5 AuthorityNotFoundError, 6 6 FailedAuthorityResolutionError, 7 7 InvalidResolvedAuthorityError, 8 - } from '../errors.js'; 8 + } from '../errors.ts'; 9 9 10 - import { DohJsonLexiconAuthorityResolver } from './doh-json.js'; 10 + import { DohJsonLexiconAuthorityResolver } from './doh-json.ts'; 11 11 12 12 const DOH_URL = 'https://dns.resolver.com/dns-query'; 13 13
+3 -3
packages/lexicons/lexicon-resolver/lib/authority/doh-json.ts
··· 2 2 import type { AtprotoDid, Nsid } from '@atcute/lexicons/syntax'; 3 3 import { type DohJsonTxtResult, fetchDohJsonTxt } from '@atcute/util-fetch'; 4 4 5 - import * as err from '../errors.js'; 6 - import type { LexiconAuthorityResolver, ResolveLexiconAuthorityOptions } from '../types.js'; 7 - import { nsidToLookupDomain } from '../utils.js'; 5 + import * as err from '../errors.ts'; 6 + import type { LexiconAuthorityResolver, ResolveLexiconAuthorityOptions } from '../types.ts'; 7 + import { nsidToLookupDomain } from '../utils.ts'; 8 8 9 9 const SUBDOMAIN = '_lexicon'; 10 10 const PREFIX = 'did=';
+5 -5
packages/lexicons/lexicon-resolver/lib/index.ts
··· 1 - export * from './authority/doh-json.js'; 2 - export * from './errors.js'; 3 - export * from './schemas/xrpc.js'; 4 - export * from './types.js'; 5 - export * from './utils.js'; 1 + export * from './authority/doh-json.ts'; 2 + export * from './errors.ts'; 3 + export * from './schemas/xrpc.ts'; 4 + export * from './types.ts'; 5 + export * from './utils.ts';
+3 -3
packages/lexicons/lexicon-resolver/lib/schemas/xrpc.ts
··· 11 11 import { verifyRecord, type VerifiedRecord } from '@atcute/repo'; 12 12 import { FailedResponseError } from '@atcute/util-fetch'; 13 13 14 - import { LEXICON_SCHEMA_COLLECTION } from '../constants.js'; 15 - import * as err from '../errors.js'; 16 - import type { ResolvedSchema, ResolveLexiconRecordOptions } from '../types.js'; 14 + import { LEXICON_SCHEMA_COLLECTION } from '../constants.ts'; 15 + import * as err from '../errors.ts'; 16 + import type { ResolvedSchema, ResolveLexiconRecordOptions } from '../types.ts'; 17 17 18 18 export interface LexiconSchemaResolverOptions { 19 19 didDocumentResolver: DidDocumentResolver;
+2
packages/lexicons/lexicon-resolver/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+16 -16
packages/lexicons/lexicons/lib/index.ts
··· 1 - export type { ActorIdentifier } from './syntax/at-identifier.js'; 1 + export type { ActorIdentifier } from './syntax/at-identifier.ts'; 2 2 export { 3 3 isCanonicalResourceUri, 4 4 isResourceUri, ··· 8 8 type ParsedCanonicalResourceUri, 9 9 type ParsedResourceUri, 10 10 type ResourceUri, 11 - } from './syntax/at-uri.js'; 12 - export type { Cid } from './syntax/cid.js'; 13 - export type { Datetime } from './syntax/datetime.js'; 14 - export type { Did } from './syntax/did.js'; 15 - export type { Handle } from './syntax/handle.js'; 16 - export type { LanguageCode } from './syntax/language.js'; 17 - export type { Nsid } from './syntax/nsid.js'; 18 - export type { RecordKey } from './syntax/record-key.js'; 19 - export type { Tid } from './syntax/tid.js'; 20 - export type { GenericUri } from './syntax/uri.js'; 11 + } from './syntax/at-uri.ts'; 12 + export type { Cid } from './syntax/cid.ts'; 13 + export type { Datetime } from './syntax/datetime.ts'; 14 + export type { Did } from './syntax/did.ts'; 15 + export type { Handle } from './syntax/handle.ts'; 16 + export type { LanguageCode } from './syntax/language.ts'; 17 + export type { Nsid } from './syntax/nsid.ts'; 18 + export type { RecordKey } from './syntax/record-key.ts'; 19 + export type { Tid } from './syntax/tid.ts'; 20 + export type { GenericUri } from './syntax/uri.ts'; 21 21 22 - export type { Blob, LegacyBlob } from './interfaces/blob.js'; 23 - export type { Bytes } from './interfaces/bytes.js'; 24 - export type { CidLink } from './interfaces/cid-link.js'; 22 + export type { Blob, LegacyBlob } from './interfaces/blob.ts'; 23 + export type { Bytes } from './interfaces/bytes.ts'; 24 + export type { CidLink } from './interfaces/cid-link.ts'; 25 25 26 - export type { $type } from './types/brand.js'; 26 + export type { $type } from './types/brand.ts'; 27 27 28 28 export { 29 29 is, ··· 35 35 type InferXRPCBodyInput, 36 36 type InferXRPCBodyOutput, 37 37 type ValidationResult, 38 - } from './validations/index.js'; 38 + } from './validations/index.ts';
+2 -2
packages/lexicons/lexicons/lib/interfaces/blob.ts
··· 1 - import type { Cid } from '../syntax/cid.js'; 1 + import type { Cid } from '../syntax/cid.ts'; 2 2 3 - import { isCidLink, type CidLink } from './cid-link.js'; 3 + import { isCidLink, type CidLink } from './cid-link.ts'; 4 4 5 5 /** 6 6 * represents a reference to a data blob
+1 -1
packages/lexicons/lexicons/lib/interfaces/cid-link.ts
··· 1 - import { isCid, type Cid } from '../syntax/cid.js'; 1 + import { isCid, type Cid } from '../syntax/cid.ts'; 2 2 3 3 /** 4 4 * represents a content identifier (CID) reference
+3 -3
packages/lexicons/lexicons/lib/interfaces/index.ts
··· 1 - export { isBlob, isLegacyBlob, type Blob, type LegacyBlob } from './blob.js'; 2 - export { isBytes, type Bytes } from './bytes.js'; 3 - export { isCidLink, type CidLink } from './cid-link.js'; 1 + export { isBlob, isLegacyBlob, type Blob, type LegacyBlob } from './blob.ts'; 2 + export { isBytes, type Bytes } from './bytes.ts'; 3 + export { isCidLink, type CidLink } from './cid-link.ts';
+1 -1
packages/lexicons/lexicons/lib/syntax/at-identifier.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isActorIdentifier } from './at-identifier.js'; 3 + import { isActorIdentifier } from './at-identifier.ts'; 4 4 5 5 describe('at-identifier validation', () => { 6 6 it('validates at-identifier', () => {
+2 -2
packages/lexicons/lexicons/lib/syntax/at-identifier.ts
··· 1 - import { isDid, type Did } from './did.js'; 2 - import { isHandle, type Handle } from './handle.js'; 1 + import { isDid, type Did } from './did.ts'; 2 + import { isHandle, type Handle } from './handle.ts'; 3 3 4 4 /** 5 5 * represents an account's identifier, either a {@link Did} or a
+1 -1
packages/lexicons/lexicons/lib/syntax/at-uri.test.ts
··· 5 5 parseResourceUri, 6 6 isCanonicalResourceUri, 7 7 parseCanonicalResourceUri, 8 - } from './at-uri.js'; 8 + } from './at-uri.ts'; 9 9 10 10 describe('resourceUri validation', () => { 11 11 it('validates at-uri', () => {
+5 -5
packages/lexicons/lexicons/lib/syntax/at-uri.ts
··· 1 - import { type Result } from '../utils.js'; 1 + import { type Result } from '../utils.ts'; 2 2 3 - import { isActorIdentifier, type ActorIdentifier } from './at-identifier.js'; 4 - import { isDid, type Did } from './did.js'; 5 - import { isNsid, type Nsid } from './nsid.js'; 6 - import { isRecordKey, type RecordKey } from './record-key.js'; 3 + import { isActorIdentifier, type ActorIdentifier } from './at-identifier.ts'; 4 + import { isDid, type Did } from './did.ts'; 5 + import { isNsid, type Nsid } from './nsid.ts'; 6 + import { isRecordKey, type RecordKey } from './record-key.ts'; 7 7 8 8 /** 9 9 * represents a general AT Protocol URI, representing either an entire
+1 -1
packages/lexicons/lexicons/lib/syntax/cid.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isCid } from './cid.js'; 3 + import { isCid } from './cid.ts'; 4 4 5 5 describe('cid validation', () => { 6 6 it('validates cid', () => {
+1 -1
packages/lexicons/lexicons/lib/syntax/datetime.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isDatetime } from './datetime.js'; 3 + import { isDatetime } from './datetime.ts'; 4 4 5 5 describe('datetime validation', () => { 6 6 it('validates datetime', () => {
+1 -1
packages/lexicons/lexicons/lib/syntax/did.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isDid } from './did.js'; 3 + import { isDid } from './did.ts'; 4 4 5 5 describe('did validation', () => { 6 6 it('validates did', () => {
+1 -1
packages/lexicons/lexicons/lib/syntax/handle.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isHandle } from './handle.js'; 3 + import { isHandle } from './handle.ts'; 4 4 5 5 describe('handle validation', () => { 6 6 it('validates handle', () => {
+11 -11
packages/lexicons/lexicons/lib/syntax/index.ts
··· 1 - export * from './at-identifier.js'; 2 - export * from './at-uri.js'; 3 - export * from './cid.js'; 4 - export * from './datetime.js'; 5 - export * from './did.js'; 6 - export * from './handle.js'; 7 - export * from './language.js'; 8 - export * from './nsid.js'; 9 - export * from './record-key.js'; 10 - export * from './tid.js'; 11 - export * from './uri.js'; 1 + export * from './at-identifier.ts'; 2 + export * from './at-uri.ts'; 3 + export * from './cid.ts'; 4 + export * from './datetime.ts'; 5 + export * from './did.ts'; 6 + export * from './handle.ts'; 7 + export * from './language.ts'; 8 + export * from './nsid.ts'; 9 + export * from './record-key.ts'; 10 + export * from './tid.ts'; 11 + export * from './uri.ts';
+1 -1
packages/lexicons/lexicons/lib/syntax/language.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isLanguageCode } from './language.js'; 3 + import { isLanguageCode } from './language.ts'; 4 4 5 5 describe('language code validation', () => { 6 6 it('validates language code', () => {
+1 -1
packages/lexicons/lexicons/lib/syntax/nsid.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isNsid } from './nsid.js'; 3 + import { isNsid } from './nsid.ts'; 4 4 5 5 describe('nsid validation', () => { 6 6 it('validates nsid', () => {
+1 -1
packages/lexicons/lexicons/lib/syntax/record-key.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isRecordKey } from './record-key.js'; 3 + import { isRecordKey } from './record-key.ts'; 4 4 5 5 describe('record key validation', () => { 6 6 it('validates record key', () => {
+1 -1
packages/lexicons/lexicons/lib/syntax/tid.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isTid } from './tid.js'; 3 + import { isTid } from './tid.ts'; 4 4 5 5 describe('tid validation', () => { 6 6 it('validates tid', () => {
+1 -1
packages/lexicons/lexicons/lib/syntax/uri.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { isGenericUri } from './uri.js'; 3 + import { isGenericUri } from './uri.ts'; 4 4 5 5 describe('uri validation', () => { 6 6 it('validates uri', () => {
+2 -2
packages/lexicons/lexicons/lib/validations/index.test.ts
··· 3 3 4 4 import { assert, describe, expect, it, vi } from 'vitest'; 5 5 6 - import * as v from './index.js'; 7 - import { allowsEval } from './utils.js'; 6 + import * as v from './index.ts'; 7 + import { allowsEval } from './utils.ts'; 8 8 9 9 describe(`validation errors`, () => { 10 10 it(`throws ValidationError`, () => {
+6 -6
packages/lexicons/lexicons/lib/validations/index.ts
··· 3 3 4 4 import type { StandardSchemaV1 } from '@standard-schema/spec'; 5 5 6 - import { _isBytesWrapper } from '../interfaces/bytes.js'; 7 - import * as interfaces from '../interfaces/index.js'; 8 - import * as syntax from '../syntax/index.js'; 9 - import type { $type } from '../types/brand.js'; 10 - import { assert } from '../utils.js'; 6 + import { _isBytesWrapper } from '../interfaces/bytes.ts'; 7 + import * as interfaces from '../interfaces/index.ts'; 8 + import * as syntax from '../syntax/index.ts'; 9 + import type { $type } from '../types/brand.ts'; 10 + import { assert } from '../utils.ts'; 11 11 12 - import { allowsEval, isArray, isObject, lazy, lazyProperty } from './utils.js'; 12 + import { allowsEval, isArray, isObject, lazy, lazyProperty } from './utils.ts'; 13 13 14 14 /** 15 15 * flag indicating whether xrpc schema generation helpers are used. set to true
+2
packages/lexicons/lexicons/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2
packages/misc/time-ms/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2
packages/misc/uint8array/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2 -2
packages/misc/util-fetch/lib/doh-json.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { pipe } from './pipeline.js'; 4 - import { isResponseOk, parseResponseAsJson, validateJsonWith } from './transformers.js'; 3 + import { pipe } from './pipeline.ts'; 4 + import { isResponseOk, parseResponseAsJson, validateJsonWith } from './transformers.ts'; 5 5 6 6 const uint32 = v.number().assert((input) => Number.isInteger(input) && input >= 0 && input <= 2 ** 32 - 1); 7 7
+4 -4
packages/misc/util-fetch/lib/index.ts
··· 1 - export * from './doh-json.js'; 2 - export * from './errors.js'; 3 - export * from './pipeline.js'; 4 - export * from './transformers.js'; 1 + export * from './doh-json.ts'; 2 + export * from './errors.ts'; 3 + export * from './pipeline.ts'; 4 + export * from './transformers.ts';
+1 -1
packages/misc/util-fetch/lib/streams/size-limit.ts
··· 1 - import * as err from '../errors.js'; 1 + import * as err from '../errors.ts'; 2 2 3 3 export class SizeLimitStream extends TransformStream<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>> { 4 4 constructor(maxSize: number) {
+2 -2
packages/misc/util-fetch/lib/transformers.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import * as err from './errors.js'; 4 - import { SizeLimitStream } from './streams/size-limit.js'; 3 + import * as err from './errors.ts'; 4 + import { SizeLimitStream } from './streams/size-limit.ts'; 5 5 6 6 export type TextResponse = { 7 7 response: Response;
+2
packages/misc/util-fetch/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2
packages/misc/util-text/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+6 -6
packages/oauth/browser-client/lib/agents/exchange.ts
··· 5 5 6 6 import { nanoid } from 'nanoid'; 7 7 8 - import { CLIENT_ID, database, REDIRECT_URI } from '../environment.js'; 9 - import { AuthorizationError, LoginError } from '../errors.js'; 10 - import { resolveFromIdentifier, resolveFromService } from '../resolvers.js'; 11 - import type { Session } from '../types/token.js'; 8 + import { CLIENT_ID, database, REDIRECT_URI } from '../environment.ts'; 9 + import { AuthorizationError, LoginError } from '../errors.ts'; 10 + import { resolveFromIdentifier, resolveFromService } from '../resolvers.ts'; 11 + import type { Session } from '../types/token.ts'; 12 12 13 - import { OAuthServerAgent } from './server-agent.js'; 14 - import { storeSession } from './sessions.js'; 13 + import { OAuthServerAgent } from './server-agent.ts'; 14 + import { storeSession } from './sessions.ts'; 15 15 16 16 export type AuthorizeTargetOptions = 17 17 | { type: 'account'; identifier: ActorIdentifier }
+8 -8
packages/oauth/browser-client/lib/agents/server-agent.ts
··· 2 2 import { createDpopProofSigner, type DpopPrivateJwk } from '@atcute/oauth-crypto'; 3 3 import type { AtprotoOAuthTokenResponse, OAuthParResponse } from '@atcute/oauth-types'; 4 4 5 - import { createDPoPFetch } from '../dpop.js'; 6 - import { CLIENT_ID, fetchClientAssertion, REDIRECT_URI } from '../environment.js'; 7 - import { FetchResponseError, OAuthResponseError, TokenRefreshError } from '../errors.js'; 8 - import { resolveFromIdentifier } from '../resolvers.js'; 9 - import type { PersistedAuthorizationServerMetadata } from '../types/server.js'; 10 - import type { ExchangeInfo, TokenInfo } from '../types/token.js'; 11 - import { pick } from '../utils/misc.js'; 12 - import { extractContentType } from '../utils/response.js'; 5 + import { createDPoPFetch } from '../dpop.ts'; 6 + import { CLIENT_ID, fetchClientAssertion, REDIRECT_URI } from '../environment.ts'; 7 + import { FetchResponseError, OAuthResponseError, TokenRefreshError } from '../errors.ts'; 8 + import { resolveFromIdentifier } from '../resolvers.ts'; 9 + import type { PersistedAuthorizationServerMetadata } from '../types/server.ts'; 10 + import type { ExchangeInfo, TokenInfo } from '../types/token.ts'; 11 + import { pick } from '../utils/misc.ts'; 12 + import { extractContentType } from '../utils/response.ts'; 13 13 14 14 export class OAuthServerAgent { 15 15 #fetch: typeof fetch;
+6 -6
packages/oauth/browser-client/lib/agents/sessions.ts
··· 1 1 import type { Did } from '@atcute/lexicons'; 2 2 3 - import { database } from '../environment.js'; 4 - import { OAuthResponseError, TokenRefreshError } from '../errors.js'; 5 - import type { RawSession, Session } from '../types/token.js'; 6 - import { isLegacyDpopKey, migrateLegacyDpopKey } from '../utils/dpop-key.js'; 7 - import { locks } from '../utils/runtime.js'; 3 + import { database } from '../environment.ts'; 4 + import { OAuthResponseError, TokenRefreshError } from '../errors.ts'; 5 + import type { RawSession, Session } from '../types/token.ts'; 6 + import { isLegacyDpopKey, migrateLegacyDpopKey } from '../utils/dpop-key.ts'; 7 + import { locks } from '../utils/runtime.ts'; 8 8 9 - import { OAuthServerAgent } from './server-agent.js'; 9 + import { OAuthServerAgent } from './server-agent.ts'; 10 10 11 11 export interface SessionGetOptions { 12 12 signal?: AbortSignal;
+4 -4
packages/oauth/browser-client/lib/agents/user-agent.ts
··· 1 1 import type { FetchHandlerObject } from '@atcute/client'; 2 2 import type { Did } from '@atcute/lexicons'; 3 3 4 - import { createDPoPFetch } from '../dpop.js'; 5 - import type { Session } from '../types/token.js'; 4 + import { createDPoPFetch } from '../dpop.ts'; 5 + import type { Session } from '../types/token.ts'; 6 6 7 - import { OAuthServerAgent } from './server-agent.js'; 8 - import { type SessionGetOptions, deleteStoredSession, getSession } from './sessions.js'; 7 + import { OAuthServerAgent } from './server-agent.ts'; 8 + import { type SessionGetOptions, deleteStoredSession, getSession } from './sessions.ts'; 9 9 10 10 export class OAuthUserAgent implements FetchHandlerObject { 11 11 #fetch: typeof fetch;
+2 -2
packages/oauth/browser-client/lib/dpop.ts
··· 1 1 import { createDpopProofSigner, sha256Base64Url, type DpopPrivateJwk } from '@atcute/oauth-crypto'; 2 2 3 - import { database } from './environment.js'; 4 - import { extractContentType } from './utils/response.js'; 3 + import { database } from './environment.ts'; 4 + import { extractContentType } from './utils/response.ts'; 5 5 6 6 export const createDPoPFetch = (dpopKey: DpopPrivateJwk, isAuthServer?: boolean): typeof fetch => { 7 7 const nonces = database.dpopNonces;
+2 -2
packages/oauth/browser-client/lib/environment.ts
··· 1 1 import type { ActorResolver } from '@atcute/identity-resolver'; 2 2 3 - import { createOAuthDatabase, type OAuthDatabase } from './store/db.js'; 4 - import type { ClientAssertionFetcher } from './types/client-assertion.js'; 3 + import { createOAuthDatabase, type OAuthDatabase } from './store/db.ts'; 4 + import type { ClientAssertionFetcher } from './types/client-assertion.ts'; 5 5 6 6 export let CLIENT_ID: string; 7 7 export let REDIRECT_URI: string;
+7 -7
packages/oauth/browser-client/lib/index.ts
··· 1 - export { configureOAuth, type ConfigureOAuthOptions } from './environment.js'; 1 + export { configureOAuth, type ConfigureOAuthOptions } from './environment.ts'; 2 2 3 - export * from './errors.js'; 3 + export * from './errors.ts'; 4 4 5 - export * from './agents/exchange.js'; 5 + export * from './agents/exchange.ts'; 6 6 export { 7 7 getSession, 8 8 deleteStoredSession, 9 9 listStoredSessions, 10 10 type SessionGetOptions, 11 - } from './agents/sessions.js'; 12 - export * from './agents/user-agent.js'; 11 + } from './agents/sessions.ts'; 12 + export * from './agents/user-agent.ts'; 13 13 14 14 export type { 15 15 ClientAssertionCredentials, 16 16 ClientAssertionFetcher, 17 17 FetchClientAssertionParams, 18 - } from './types/client-assertion.js'; 19 - export type { TokenInfo, ExchangeInfo, Session } from './types/token.js'; 18 + } from './types/client-assertion.ts'; 19 + export type { TokenInfo, ExchangeInfo, Session } from './types/token.ts';
+4 -4
packages/oauth/browser-client/lib/resolvers.ts
··· 2 2 import type { ActorIdentifier } from '@atcute/lexicons'; 3 3 import type { OAuthAuthorizationServerMetadata, OAuthProtectedResourceMetadata } from '@atcute/oauth-types'; 4 4 5 - import { identityResolver } from './environment.js'; 6 - import { ResolverError } from './errors.js'; 7 - import { extractContentType } from './utils/response.js'; 8 - import { isValidUrl } from './utils/strings.js'; 5 + import { identityResolver } from './environment.ts'; 6 + import { ResolverError } from './errors.ts'; 7 + import { extractContentType } from './utils/response.ts'; 8 + import { isValidUrl } from './utils/strings.ts'; 9 9 10 10 export const resolveFromIdentifier = async ( 11 11 ident: ActorIdentifier,
+3 -3
packages/oauth/browser-client/lib/store/db.ts
··· 2 2 import type { DpopPrivateJwk } from '@atcute/oauth-crypto'; 3 3 import type { OAuthAuthorizationServerMetadata } from '@atcute/oauth-types'; 4 4 5 - import type { SimpleStore } from '../types/store.js'; 6 - import type { RawSession } from '../types/token.js'; 7 - import { locks } from '../utils/runtime.js'; 5 + import type { SimpleStore } from '../types/store.ts'; 6 + import type { RawSession } from '../types/token.ts'; 7 + import { locks } from '../utils/runtime.ts'; 8 8 9 9 export interface OAuthDatabaseOptions { 10 10 name: string;
+2 -2
packages/oauth/browser-client/lib/types/token.ts
··· 1 1 import type { Did } from '@atcute/lexicons'; 2 2 import type { DpopPrivateJwk } from '@atcute/oauth-crypto'; 3 3 4 - import type { LegacyDpopKey } from '../utils/dpop-key.js'; 4 + import type { LegacyDpopKey } from '../utils/dpop-key.ts'; 5 5 6 - import type { PersistedAuthorizationServerMetadata } from './server.js'; 6 + import type { PersistedAuthorizationServerMetadata } from './server.ts'; 7 7 8 8 export interface TokenInfo { 9 9 scope: string;
+2
packages/oauth/browser-client/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+3 -3
packages/oauth/crypto/lib/client-assertion/create-client-assertion.ts
··· 1 1 import { nanoid } from 'nanoid'; 2 2 3 - import { getCachedKeyMaterial } from '../internal/key-cache.js'; 4 - import { signJwt } from '../jwt/index.js'; 3 + import { getCachedKeyMaterial } from '../internal/key-cache.ts'; 4 + import { signJwt } from '../jwt/index.ts'; 5 5 6 - import type { ClientAssertionPrivateJwk } from './types.js'; 6 + import type { ClientAssertionPrivateJwk } from './types.ts'; 7 7 8 8 export interface CreateClientAssertionOptions { 9 9 /** client id */
+5 -5
packages/oauth/crypto/lib/client-assertion/generate-key.ts
··· 1 - import { getGenerateAlgorithm } from '../internal/crypto.js'; 2 - import { exportPrivateJwkFromKey } from '../internal/jwk.js'; 3 - import { setCachedKeyMaterial } from '../internal/key-cache.js'; 4 - import type { SigningAlgorithm } from '../jwk/types.js'; 1 + import { getGenerateAlgorithm } from '../internal/crypto.ts'; 2 + import { exportPrivateJwkFromKey } from '../internal/jwk.ts'; 3 + import { setCachedKeyMaterial } from '../internal/key-cache.ts'; 4 + import type { SigningAlgorithm } from '../jwk/types.ts'; 5 5 6 - import type { ClientAssertionPrivateJwk } from './types.js'; 6 + import type { ClientAssertionPrivateJwk } from './types.ts'; 7 7 8 8 /** 9 9 * generates a new client assertion private key.
+4 -4
packages/oauth/crypto/lib/client-assertion/index.ts
··· 1 - export { createClientAssertion } from './create-client-assertion.js'; 2 - export { generateClientAssertionKey } from './generate-key.js'; 3 - export { importClientAssertionPkcs8 } from './keys.js'; 4 - export type { ClientAssertionPrivateJwk } from './types.js'; 1 + export { createClientAssertion } from './create-client-assertion.ts'; 2 + export { generateClientAssertionKey } from './generate-key.ts'; 3 + export { importClientAssertionPkcs8 } from './keys.ts'; 4 + export type { ClientAssertionPrivateJwk } from './types.ts';
+4 -4
packages/oauth/crypto/lib/client-assertion/keys.ts
··· 1 - import { exportPrivateJwkFromKey, importPkcs8PrivateKey } from '../internal/jwk.js'; 2 - import { setCachedKeyMaterial } from '../internal/key-cache.js'; 3 - import type { SigningAlgorithm } from '../jwk/types.js'; 1 + import { exportPrivateJwkFromKey, importPkcs8PrivateKey } from '../internal/jwk.ts'; 2 + import { setCachedKeyMaterial } from '../internal/key-cache.ts'; 3 + import type { SigningAlgorithm } from '../jwk/types.ts'; 4 4 5 - import type { ClientAssertionPrivateJwk } from './types.js'; 5 + import type { ClientAssertionPrivateJwk } from './types.ts'; 6 6 7 7 /** 8 8 * imports a client assertion private key from a pkcs8 pem string.
+1 -1
packages/oauth/crypto/lib/client-assertion/types.ts
··· 1 - import type { PrivateJwk, SigningAlgorithm } from '../jwk/types.js'; 1 + import type { PrivateJwk, SigningAlgorithm } from '../jwk/types.ts'; 2 2 3 3 /** 4 4 * private jwk for client assertion signing.
+3 -3
packages/oauth/crypto/lib/dpop/fetch.test.ts
··· 1 1 import { describe, expect, it, vi } from 'vitest'; 2 2 3 - import { createDpopFetch } from './fetch.js'; 4 - import { generateDpopKey } from './generate-key.js'; 5 - import type { DpopNonceCache } from './types.js'; 3 + import { createDpopFetch } from './fetch.ts'; 4 + import { generateDpopKey } from './generate-key.ts'; 5 + import type { DpopNonceCache } from './types.ts'; 6 6 7 7 const createMemoryNonceCache = (): DpopNonceCache => { 8 8 const map = new Map<string, string>();
+3 -3
packages/oauth/crypto/lib/dpop/fetch.ts
··· 1 - import { sha256Base64Url } from '../hash/sha256.js'; 1 + import { sha256Base64Url } from '../hash/sha256.ts'; 2 2 3 - import { createDpopProofSigner } from './proof.js'; 4 - import type { DpopPrivateJwk, DpopNonceCache } from './types.js'; 3 + import { createDpopProofSigner } from './proof.ts'; 4 + import type { DpopPrivateJwk, DpopNonceCache } from './types.ts'; 5 5 6 6 export interface CreateDpopFetchOptions { 7 7 /** DPoP private key (JWK with `alg` set) */
+1 -1
packages/oauth/crypto/lib/dpop/generate-key.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { generateDpopKey } from './generate-key.js'; 3 + import { generateDpopKey } from './generate-key.ts'; 4 4 5 5 describe('generateDpopKey', () => { 6 6 it('should generate ES256 key by default', async () => {
+5 -5
packages/oauth/crypto/lib/dpop/generate-key.ts
··· 1 - import { getGenerateAlgorithm } from '../internal/crypto.js'; 2 - import { exportPrivateJwkFromKey, isSigningAlgorithm } from '../internal/jwk.js'; 3 - import { setCachedKeyMaterial } from '../internal/key-cache.js'; 4 - import type { SigningAlgorithm } from '../jwk/types.js'; 1 + import { getGenerateAlgorithm } from '../internal/crypto.ts'; 2 + import { exportPrivateJwkFromKey, isSigningAlgorithm } from '../internal/jwk.ts'; 3 + import { setCachedKeyMaterial } from '../internal/key-cache.ts'; 4 + import type { SigningAlgorithm } from '../jwk/types.ts'; 5 5 6 - import type { DpopPrivateJwk } from './types.js'; 6 + import type { DpopPrivateJwk } from './types.ts'; 7 7 8 8 /** 9 9 * preferred algorithm order for DPoP key generation.
+5 -5
packages/oauth/crypto/lib/dpop/index.ts
··· 1 - export { createDpopFetch } from './fetch.js'; 2 - export { generateDpopKey } from './generate-key.js'; 3 - export { createDpopProofSigner } from './proof.js'; 4 - export type { DpopNonceCache, DpopPrivateJwk } from './types.js'; 1 + export { createDpopFetch } from './fetch.ts'; 2 + export { generateDpopKey } from './generate-key.ts'; 3 + export { createDpopProofSigner } from './proof.ts'; 4 + export type { DpopNonceCache, DpopPrivateJwk } from './types.ts'; 5 5 export { 6 6 DpopVerifyError, 7 7 verifyDpopProof, 8 8 type DpopClaims, 9 9 type DpopVerifyOptions, 10 10 type DpopVerifyResult, 11 - } from './verify.js'; 11 + } from './verify.ts';
+4 -4
packages/oauth/crypto/lib/dpop/proof.ts
··· 1 1 import { nanoid } from 'nanoid'; 2 2 3 - import type { CachedKeyMaterial } from '../internal/key-cache.js'; 4 - import { getCachedKeyMaterial } from '../internal/key-cache.js'; 5 - import { signJwt } from '../jwt/index.js'; 3 + import type { CachedKeyMaterial } from '../internal/key-cache.ts'; 4 + import { getCachedKeyMaterial } from '../internal/key-cache.ts'; 5 + import { signJwt } from '../jwt/index.ts'; 6 6 7 - import type { DpopPrivateJwk } from './types.js'; 7 + import type { DpopPrivateJwk } from './types.ts'; 8 8 9 9 /** 10 10 * creates a DPoP proof signer.
+1 -1
packages/oauth/crypto/lib/dpop/types.ts
··· 1 - import type { PrivateJwk, SigningAlgorithm } from '../jwk/types.js'; 1 + import type { PrivateJwk, SigningAlgorithm } from '../jwk/types.ts'; 2 2 3 3 export type Awaitable<T> = T | Promise<T>; 4 4
+5 -5
packages/oauth/crypto/lib/dpop/verify.ts
··· 3 3 4 4 import * as v from '@badrap/valita'; 5 5 6 - import { getImportAlgorithm } from '../internal/crypto.js'; 7 - import { computeJktFromJwk } from '../jwk/compute-jkt.js'; 8 - import type { PublicJwk, SigningAlgorithm } from '../jwk/types.js'; 9 - import { verifyJwt } from '../jwt/index.js'; 6 + import { getImportAlgorithm } from '../internal/crypto.ts'; 7 + import { computeJktFromJwk } from '../jwk/compute-jkt.ts'; 8 + import type { PublicJwk, SigningAlgorithm } from '../jwk/types.ts'; 9 + import { verifyJwt } from '../jwt/index.ts'; 10 10 11 - import type { Awaitable } from './types.js'; 11 + import type { Awaitable } from './types.ts'; 12 12 13 13 const dpopJwkSchema = v.union( 14 14 v.object({
+2 -2
packages/oauth/crypto/lib/hash/index.ts
··· 1 - export { generatePkce } from './pkce.js'; 2 - export { sha256Base64Url } from './sha256.js'; 1 + export { generatePkce } from './pkce.ts'; 2 + export { sha256Base64Url } from './sha256.ts';
+1 -1
packages/oauth/crypto/lib/hash/pkce.ts
··· 1 1 import { nanoid } from 'nanoid'; 2 2 3 - import { sha256Base64Url } from './sha256.js'; 3 + import { sha256Base64Url } from './sha256.ts'; 4 4 5 5 /** 6 6 * generates pkce verifier and challenge (s256).
+5 -5
packages/oauth/crypto/lib/index.ts
··· 1 - export * from './client-assertion/index.js'; 2 - export * from './dpop/index.js'; 3 - export * from './hash/index.js'; 4 - export * from './jwk/index.js'; 5 - export * from './jwt/index.js'; 1 + export * from './client-assertion/index.ts'; 2 + export * from './dpop/index.ts'; 3 + export * from './hash/index.ts'; 4 + export * from './jwk/index.ts'; 5 + export * from './jwt/index.ts';
+1 -1
packages/oauth/crypto/lib/internal/crypto.ts
··· 1 - import type { SigningAlgorithm } from '../jwk/types.js'; 1 + import type { SigningAlgorithm } from '../jwk/types.ts'; 2 2 3 3 const HASH_BY_ALG: Record<SigningAlgorithm, 'SHA-256' | 'SHA-384' | 'SHA-512'> = { 4 4 ES256: 'SHA-256',
+2 -2
packages/oauth/crypto/lib/internal/jwk.ts
··· 1 1 import { fromBase64Pad, toBase64Pad } from '@atcute/multibase'; 2 2 3 - import type { PrivateJwk, PublicJwk, SigningAlgorithm } from '../jwk/types.js'; 3 + import type { PrivateJwk, PublicJwk, SigningAlgorithm } from '../jwk/types.ts'; 4 4 5 - import { getImportAlgorithm } from './crypto.js'; 5 + import { getImportAlgorithm } from './crypto.ts'; 6 6 7 7 const SIGNING_ALGORITHMS: readonly SigningAlgorithm[] = [ 8 8 'ES256',
+2 -2
packages/oauth/crypto/lib/internal/key-cache.ts
··· 1 - import type { PrivateJwk, PublicJwk } from '../jwk/types.js'; 1 + import type { PrivateJwk, PublicJwk } from '../jwk/types.ts'; 2 2 3 - import { derivePublicJwk, importPrivateKeyFromJwk } from './jwk.js'; 3 + import { derivePublicJwk, importPrivateKeyFromJwk } from './jwk.ts'; 4 4 5 5 /** 6 6 * cached key material for a JWK.
+1 -1
packages/oauth/crypto/lib/jwk/compute-jkt.ts
··· 1 1 import { toBase64Url } from '@atcute/multibase'; 2 2 import { encodeUtf8, toSha256 } from '@atcute/uint8array'; 3 3 4 - import type { PublicJwk } from './types.js'; 4 + import type { PublicJwk } from './types.ts'; 5 5 6 6 /** 7 7 * computes the jwk thumbprint (rfc 7638) for a public key.
+4 -4
packages/oauth/crypto/lib/jwk/index.ts
··· 1 - export { computeJktFromJwk } from './compute-jkt.js'; 2 - export { derivePublicJwk } from '../internal/jwk.js'; 3 - export { exportPkcs8PrivateKey } from './keys.js'; 1 + export { computeJktFromJwk } from './compute-jkt.ts'; 2 + export { derivePublicJwk } from '../internal/jwk.ts'; 3 + export { exportPkcs8PrivateKey } from './keys.ts'; 4 4 export type { 5 5 EcPrivateJwk, 6 6 EcPublicJwk, ··· 9 9 RsaPrivateJwk, 10 10 RsaPublicJwk, 11 11 SigningAlgorithm, 12 - } from './types.js'; 12 + } from './types.ts';
+3 -3
packages/oauth/crypto/lib/jwk/keys.ts
··· 1 - import { exportPkcs8PrivateKey as exportPkcs8 } from '../internal/jwk.js'; 2 - import { getCachedKeyMaterial } from '../internal/key-cache.js'; 1 + import { exportPkcs8PrivateKey as exportPkcs8 } from '../internal/jwk.ts'; 2 + import { getCachedKeyMaterial } from '../internal/key-cache.ts'; 3 3 4 - import type { PrivateJwk } from './types.js'; 4 + import type { PrivateJwk } from './types.ts'; 5 5 6 6 /** 7 7 * exports a private JWK to PKCS8 PEM format.
+2 -2
packages/oauth/crypto/lib/jwt/index.ts
··· 1 1 import { fromBase64Url, toBase64Url } from '@atcute/multibase'; 2 2 import { decodeUtf8From, encodeUtf8 } from '@atcute/uint8array'; 3 3 4 - import { getSignAlgorithm } from '../internal/crypto.js'; 5 - import type { SigningAlgorithm } from '../jwk/types.js'; 4 + import { getSignAlgorithm } from '../internal/crypto.ts'; 5 + import type { SigningAlgorithm } from '../jwk/types.ts'; 6 6 7 7 /** 8 8 * signs a jwt using webcrypto.
+2
packages/oauth/crypto/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2 -2
packages/oauth/keyset/lib/index.ts
··· 1 - export { Keyset } from './keyset.js'; 2 - export type { KeySearchOptions } from './types.js'; 1 + export { Keyset } from './keyset.ts'; 2 + export type { KeySearchOptions } from './types.ts';
+1 -1
packages/oauth/keyset/lib/keyset.ts
··· 1 1 import type { ClientAssertionPrivateJwk, PublicJwk } from '@atcute/oauth-crypto'; 2 2 import { derivePublicJwk } from '@atcute/oauth-crypto'; 3 3 4 - import type { KeySearchOptions } from './types.js'; 4 + import type { KeySearchOptions } from './types.ts'; 5 5 6 6 /** 7 7 * preferred algorithm order for signing.
+2
packages/oauth/keyset/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1
packages/oauth/node-client-example/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 13 14 "strict": true, 14 15 "noImplicitOverride": true, 15 16 "noUnusedLocals": true,
+1
packages/oauth/node-client-public-example/tsconfig.json
··· 10 10 "moduleDetection": "force", 11 11 "isolatedModules": true, 12 12 "verbatimModuleSyntax": true, 13 + "allowImportingTsExtensions": true, 13 14 "strict": true, 14 15 "noImplicitOverride": true, 15 16 "noUnusedLocals": true,
+13 -13
packages/oauth/node-client/lib/index.ts
··· 35 35 type OAuthClientStores, 36 36 type PublicOAuthClientOptions, 37 37 type RestoreOptions, 38 - } from './oauth-client.js'; 38 + } from './oauth-client.ts'; 39 39 40 - export { OAuthSession } from './oauth-session.js'; 41 - export type { SessionEvent, SessionEventListener } from './session-getter.js'; 40 + export { OAuthSession } from './oauth-session.ts'; 41 + export type { SessionEvent, SessionEventListener } from './session-getter.ts'; 42 42 43 43 export { 44 44 AuthMethodUnsatisfiableError, ··· 48 48 TokenInvalidError, 49 49 TokenRefreshError, 50 50 TokenRevokedError, 51 - } from './errors.js'; 51 + } from './errors.ts'; 52 52 53 - export type { LockFunction } from './utils/lock.js'; 54 - export { MemoryStore } from './utils/memory-store.js'; 55 - export type { Store } from './utils/store.js'; 53 + export type { LockFunction } from './utils/lock.ts'; 54 + export { MemoryStore } from './utils/memory-store.ts'; 55 + export type { Store } from './utils/store.ts'; 56 56 57 - export type { AuthorizationServerMetadataCache } from './resolvers/authorization-server-metadata.js'; 58 - export type { ProtectedResourceMetadataCache } from './resolvers/protected-resource-metadata.js'; 57 + export type { AuthorizationServerMetadataCache } from './resolvers/authorization-server-metadata.ts'; 58 + export type { ProtectedResourceMetadataCache } from './resolvers/protected-resource-metadata.ts'; 59 59 export type { 60 60 ClientAuthMethod, 61 61 ConfidentialClientAuthMethod, 62 62 PublicClientAuthMethod, 63 - } from './oauth-client-auth.js'; 64 - export type { SessionStore, StoredSession } from './types/sessions.js'; 65 - export type { StateStore, StoredState } from './types/states.js'; 66 - export type { TokenSet } from './types/token-set.js'; 63 + } from './oauth-client-auth.ts'; 64 + export type { SessionStore, StoredSession } from './types/sessions.ts'; 65 + export type { StateStore, StoredState } from './types/states.ts'; 66 + export type { TokenSet } from './types/token-set.ts';
+12 -12
packages/oauth/node-client/lib/oauth-client.ts
··· 16 16 17 17 import { nanoid } from 'nanoid'; 18 18 19 - import { OAuthCallbackError, TokenRevokedError } from './errors.js'; 20 - import { OAuthServerAgent } from './oauth-server-agent.js'; 21 - import { OAuthServerFactory } from './oauth-server-factory.js'; 22 - import { OAuthSession } from './oauth-session.js'; 19 + import { OAuthCallbackError, TokenRevokedError } from './errors.ts'; 20 + import { OAuthServerAgent } from './oauth-server-agent.ts'; 21 + import { OAuthServerFactory } from './oauth-server-factory.ts'; 22 + import { OAuthSession } from './oauth-session.ts'; 23 23 import { 24 24 AuthorizationServerMetadataResolver, 25 25 type AuthorizationServerMetadataCache, 26 - } from './resolvers/authorization-server-metadata.js'; 27 - import { OAuthResolver } from './resolvers/index.js'; 26 + } from './resolvers/authorization-server-metadata.ts'; 27 + import { OAuthResolver } from './resolvers/index.ts'; 28 28 import { 29 29 ProtectedResourceMetadataResolver, 30 30 type ProtectedResourceMetadataCache, 31 - } from './resolvers/protected-resource-metadata.js'; 32 - import { SessionGetter, type SessionEventListener } from './session-getter.js'; 33 - import type { SessionStore } from './types/sessions.js'; 34 - import type { StateStore, StoredState } from './types/states.js'; 35 - import type { LockFunction } from './utils/lock.js'; 36 - import { MemoryStore } from './utils/memory-store.js'; 31 + } from './resolvers/protected-resource-metadata.ts'; 32 + import { SessionGetter, type SessionEventListener } from './session-getter.ts'; 33 + import type { SessionStore } from './types/sessions.ts'; 34 + import type { StateStore, StoredState } from './types/states.ts'; 35 + import type { LockFunction } from './utils/lock.ts'; 36 + import { MemoryStore } from './utils/memory-store.ts'; 37 37 38 38 export interface OAuthClientStores { 39 39 /** session store, keyed by DID */
+4 -4
packages/oauth/node-client/lib/oauth-server-agent.test.ts
··· 5 5 6 6 import { describe, expect, it, vi } from 'vitest'; 7 7 8 - import { OAuthResponseError, TokenRefreshError } from './errors.js'; 9 - import { OAuthServerAgent, type OAuthServerAgentOptions } from './oauth-server-agent.js'; 10 - import type { OAuthResolver } from './resolvers/index.js'; 11 - import { MemoryStore } from './utils/memory-store.js'; 8 + import { OAuthResponseError, TokenRefreshError } from './errors.ts'; 9 + import { OAuthServerAgent, type OAuthServerAgentOptions } from './oauth-server-agent.ts'; 10 + import type { OAuthResolver } from './resolvers/index.ts'; 11 + import { MemoryStore } from './utils/memory-store.ts'; 12 12 13 13 const createMockMetadata = (): AtprotoAuthorizationServerMetadata => ({ 14 14 issuer: 'https://auth.example.com',
+5 -5
packages/oauth/node-client/lib/oauth-server-agent.ts
··· 12 12 } from '@atcute/oauth-types'; 13 13 import { parseResponseAsJson, pipe, validateJsonWith } from '@atcute/util-fetch'; 14 14 15 - import { JSON_MIME, PAR_RESPONSE_MAX_SIZE, TOKEN_RESPONSE_MAX_SIZE } from './constants.js'; 16 - import { OAuthResponseError, TokenRefreshError } from './errors.js'; 15 + import { JSON_MIME, PAR_RESPONSE_MAX_SIZE, TOKEN_RESPONSE_MAX_SIZE } from './constants.ts'; 16 + import { OAuthResponseError, TokenRefreshError } from './errors.ts'; 17 17 import { 18 18 createClientAssertionFactory, 19 19 type ClientAuthMethod, 20 20 type ClientCredentialsFactory, 21 - } from './oauth-client-auth.js'; 22 - import { OAuthResolver } from './resolvers/index.js'; 23 - import type { TokenSet } from './types/token-set.js'; 21 + } from './oauth-client-auth.ts'; 22 + import { OAuthResolver } from './resolvers/index.ts'; 23 + import type { TokenSet } from './types/token-set.ts'; 24 24 25 25 const processTokenResponse = pipe( 26 26 parseResponseAsJson(JSON_MIME, TOKEN_RESPONSE_MAX_SIZE),
+3 -3
packages/oauth/node-client/lib/oauth-server-factory.ts
··· 2 2 import type { Keyset } from '@atcute/oauth-keyset'; 3 3 import type { AtprotoAuthorizationServerMetadata, OAuthClientMetadata } from '@atcute/oauth-types'; 4 4 5 - import { type ClientAuthMethod, negotiateClientAuth } from './oauth-client-auth.js'; 6 - import { OAuthServerAgent } from './oauth-server-agent.js'; 7 - import { OAuthResolver } from './resolvers/index.js'; 5 + import { type ClientAuthMethod, negotiateClientAuth } from './oauth-client-auth.ts'; 6 + import { OAuthServerAgent } from './oauth-server-agent.ts'; 7 + import { OAuthResolver } from './resolvers/index.ts'; 8 8 9 9 export interface OAuthServerFactoryOptions { 10 10 /** client metadata */
+4 -4
packages/oauth/node-client/lib/oauth-session.ts
··· 3 3 import { createDpopFetch } from '@atcute/oauth-crypto'; 4 4 import type { AtprotoOAuthScope } from '@atcute/oauth-types'; 5 5 6 - import { TokenInvalidError, TokenRevokedError } from './errors.js'; 7 - import type { OAuthServerAgent } from './oauth-server-agent.js'; 8 - import type { SessionGetter } from './session-getter.js'; 9 - import type { TokenSet } from './types/token-set.js'; 6 + import { TokenInvalidError, TokenRevokedError } from './errors.ts'; 7 + import type { OAuthServerAgent } from './oauth-server-agent.ts'; 8 + import type { SessionGetter } from './session-getter.ts'; 9 + import type { TokenSet } from './types/token-set.ts'; 10 10 11 11 /** 12 12 * token information for external use.
+2 -2
packages/oauth/node-client/lib/resolvers/authorization-server-metadata.test.ts
··· 2 2 3 3 import { describe, expect, it, vi } from 'vitest'; 4 4 5 - import { MemoryStore } from '../utils/memory-store.js'; 5 + import { MemoryStore } from '../utils/memory-store.ts'; 6 6 7 - import { AuthorizationServerMetadataResolver } from './authorization-server-metadata.js'; 7 + import { AuthorizationServerMetadataResolver } from './authorization-server-metadata.ts'; 8 8 9 9 const createValidMetadata = (issuer: string) => 10 10 ({
+4 -4
packages/oauth/node-client/lib/resolvers/authorization-server-metadata.ts
··· 5 5 } from '@atcute/oauth-types'; 6 6 import { parseResponseAsJson, pipe, validateJsonWith } from '@atcute/util-fetch'; 7 7 8 - import { AS_METADATA_MAX_SIZE, JSON_MIME } from '../constants.js'; 9 - import { OAuthResolverError } from '../errors.js'; 10 - import { CachedGetter, type GetCachedOptions } from '../utils/cached-getter.js'; 11 - import type { Store } from '../utils/store.js'; 8 + import { AS_METADATA_MAX_SIZE, JSON_MIME } from '../constants.ts'; 9 + import { OAuthResolverError } from '../errors.ts'; 10 + import { CachedGetter, type GetCachedOptions } from '../utils/cached-getter.ts'; 11 + import type { Store } from '../utils/store.ts'; 12 12 13 13 /** authorization server metadata cache, keyed by issuer */ 14 14 export type AuthorizationServerMetadataCache = Store<string, AtprotoAuthorizationServerMetadata>;
+3 -3
packages/oauth/node-client/lib/resolvers/index.ts
··· 2 2 import type { ActorIdentifier } from '@atcute/lexicons'; 3 3 import type { AtprotoAuthorizationServerMetadata } from '@atcute/oauth-types'; 4 4 5 - import { OAuthResolverError } from '../errors.js'; 5 + import { OAuthResolverError } from '../errors.ts'; 6 6 7 - import { AuthorizationServerMetadataResolver } from './authorization-server-metadata.js'; 8 - import { ProtectedResourceMetadataResolver } from './protected-resource-metadata.js'; 7 + import { AuthorizationServerMetadataResolver } from './authorization-server-metadata.ts'; 8 + import { ProtectedResourceMetadataResolver } from './protected-resource-metadata.ts'; 9 9 10 10 export interface ResolveOptions { 11 11 signal?: AbortSignal;
+2 -2
packages/oauth/node-client/lib/resolvers/protected-resource-metadata.test.ts
··· 2 2 3 3 import { describe, expect, it, vi } from 'vitest'; 4 4 5 - import { MemoryStore } from '../utils/memory-store.js'; 5 + import { MemoryStore } from '../utils/memory-store.ts'; 6 6 7 - import { ProtectedResourceMetadataResolver } from './protected-resource-metadata.js'; 7 + import { ProtectedResourceMetadataResolver } from './protected-resource-metadata.ts'; 8 8 9 9 const createValidMetadata = (resource: string) => 10 10 ({
+4 -4
packages/oauth/node-client/lib/resolvers/protected-resource-metadata.ts
··· 4 4 } from '@atcute/oauth-types'; 5 5 import { parseResponseAsJson, pipe, validateJsonWith } from '@atcute/util-fetch'; 6 6 7 - import { JSON_MIME, PR_METADATA_MAX_SIZE } from '../constants.js'; 8 - import { OAuthResolverError } from '../errors.js'; 9 - import { CachedGetter, type GetCachedOptions } from '../utils/cached-getter.js'; 10 - import type { Store } from '../utils/store.js'; 7 + import { JSON_MIME, PR_METADATA_MAX_SIZE } from '../constants.ts'; 8 + import { OAuthResolverError } from '../errors.ts'; 9 + import { CachedGetter, type GetCachedOptions } from '../utils/cached-getter.ts'; 10 + import type { Store } from '../utils/store.ts'; 11 11 12 12 /** protected resource metadata cache, keyed by resource origin */ 13 13 export type ProtectedResourceMetadataCache = Store<string, AtprotoProtectedResourceMetadata>;
+5 -5
packages/oauth/node-client/lib/session-getter.ts
··· 6 6 TokenInvalidError, 7 7 TokenRefreshError, 8 8 TokenRevokedError, 9 - } from './errors.js'; 10 - import type { OAuthServerFactory } from './oauth-server-factory.js'; 11 - import type { SessionStore, StoredSession } from './types/sessions.js'; 12 - import { CachedGetter, type GetCachedOptions } from './utils/cached-getter.js'; 13 - import type { LockFunction } from './utils/lock.js'; 9 + } from './errors.ts'; 10 + import type { OAuthServerFactory } from './oauth-server-factory.ts'; 11 + import type { SessionStore, StoredSession } from './types/sessions.ts'; 12 + import { CachedGetter, type GetCachedOptions } from './utils/cached-getter.ts'; 13 + import type { LockFunction } from './utils/lock.ts'; 14 14 15 15 export type { SessionStore, StoredSession }; 16 16
+3 -3
packages/oauth/node-client/lib/types/sessions.ts
··· 1 1 import type { Did } from '@atcute/lexicons'; 2 2 import type { DpopPrivateJwk } from '@atcute/oauth-crypto'; 3 3 4 - import type { ClientAuthMethod } from '../oauth-client-auth.js'; 5 - import type { Store } from '../utils/store.js'; 4 + import type { ClientAuthMethod } from '../oauth-client-auth.ts'; 5 + import type { Store } from '../utils/store.ts'; 6 6 7 - import type { TokenSet } from './token-set.js'; 7 + import type { TokenSet } from './token-set.ts'; 8 8 9 9 /** 10 10 * stored session data, keyed by DID.
+2 -2
packages/oauth/node-client/lib/types/states.ts
··· 1 1 import type { Did } from '@atcute/lexicons'; 2 2 import type { DpopPrivateJwk } from '@atcute/oauth-crypto'; 3 3 4 - import type { ClientAuthMethod } from '../oauth-client-auth.js'; 5 - import type { Store } from '../utils/store.js'; 4 + import type { ClientAuthMethod } from '../oauth-client-auth.ts'; 5 + import type { Store } from '../utils/store.ts'; 6 6 7 7 /** 8 8 * stored authorization state, keyed by state ID (short-lived).
+2 -2
packages/oauth/node-client/lib/utils/cached-getter.ts
··· 1 - import type { Awaitable } from '../types/misc.js'; 1 + import type { Awaitable } from '../types/misc.ts'; 2 2 3 - import type { GetOptions, Store } from './store.js'; 3 + import type { GetOptions, Store } from './store.ts'; 4 4 5 5 export interface GetCachedOptions { 6 6 signal?: AbortSignal;
+1 -1
packages/oauth/node-client/lib/utils/lru.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { LRUCache } from './lru.js'; 3 + import { LRUCache } from './lru.ts'; 4 4 5 5 describe('LRUCache', () => { 6 6 describe('basic operations', () => {
+1 -1
packages/oauth/node-client/lib/utils/memory-store.test.ts
··· 1 1 import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; 2 2 3 - import { MemoryStore } from './memory-store.js'; 3 + import { MemoryStore } from './memory-store.ts'; 4 4 5 5 describe('MemoryStore', () => { 6 6 describe('basic operations', () => {
+2 -2
packages/oauth/node-client/lib/utils/memory-store.ts
··· 1 - import { LRUCache } from './lru.js'; 2 - import type { Store } from './store.js'; 1 + import { LRUCache } from './lru.ts'; 2 + import type { Store } from './store.ts'; 3 3 4 4 export interface MemoryStoreOptions { 5 5 /** maximum number of items the store can hold */
+1 -1
packages/oauth/node-client/lib/utils/store.ts
··· 1 - import type { Awaitable } from '../types/misc.js'; 1 + import type { Awaitable } from '../types/misc.ts'; 2 2 3 3 /** options for store get operations */ 4 4 export interface GetOptions {
+2
packages/oauth/node-client/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+5 -5
packages/oauth/types/lib/build-client-metadata.ts
··· 1 1 import type { Keyset } from '@atcute/oauth-keyset'; 2 2 3 - import { FALLBACK_ALG } from './constants.js'; 3 + import { FALLBACK_ALG } from './constants.ts'; 4 4 import { 5 5 confidentialClientMetadataSchema, 6 6 type ConfidentialClientMetadata, 7 - } from './schemas/atcute-confidential-client-metadata.js'; 7 + } from './schemas/atcute-confidential-client-metadata.ts'; 8 8 import { 9 9 publicClientMetadataSchema, 10 10 type PublicClientMetadata, 11 - } from './schemas/atcute-public-client-metadata.js'; 12 - import { DEFAULT_ATPROTO_OAUTH_SCOPE } from './schemas/atproto-oauth-scope.js'; 13 - import type { OAuthClientMetadata } from './schemas/oauth-client-metadata.js'; 11 + } from './schemas/atcute-public-client-metadata.ts'; 12 + import { DEFAULT_ATPROTO_OAUTH_SCOPE } from './schemas/atproto-oauth-scope.ts'; 13 + import type { OAuthClientMetadata } from './schemas/oauth-client-metadata.ts'; 14 14 15 15 /** 16 16 * builds an atproto client metadata for a confidential client.
+31 -31
packages/oauth/types/lib/index.ts
··· 1 - export { buildClientMetadata, buildPublicClientMetadata } from './build-client-metadata.js'; 2 - export { CLIENT_ASSERTION_TYPE_JWT_BEARER, FALLBACK_ALG } from './constants.js'; 1 + export { buildClientMetadata, buildPublicClientMetadata } from './build-client-metadata.ts'; 2 + export { CLIENT_ASSERTION_TYPE_JWT_BEARER, FALLBACK_ALG } from './constants.ts'; 3 3 4 - export * as scope from './scope.js'; 4 + export * as scope from './scope.ts'; 5 5 6 6 // schemas 7 7 export { 8 8 confidentialClientMetadataSchema, 9 9 type ConfidentialClientMetadata, 10 - } from './schemas/atcute-confidential-client-metadata.js'; 10 + } from './schemas/atcute-confidential-client-metadata.ts'; 11 11 export { 12 12 discoverablePublicClientMetadataSchema, 13 13 loopbackClientMetadataSchema, ··· 15 15 type DiscoverablePublicClientMetadata, 16 16 type LoopbackClientMetadata, 17 17 type PublicClientMetadata, 18 - } from './schemas/atcute-public-client-metadata.js'; 18 + } from './schemas/atcute-public-client-metadata.ts'; 19 19 export { 20 20 atprotoOAuthScopeSchema, 21 21 ATPROTO_SCOPE_VALUE, 22 22 DEFAULT_ATPROTO_OAUTH_SCOPE, 23 23 type AtprotoOAuthScope, 24 - } from './schemas/atproto-oauth-scope.js'; 24 + } from './schemas/atproto-oauth-scope.ts'; 25 25 export { 26 26 jwkPubSchema, 27 27 jwkSchema, ··· 30 30 type Jwk, 31 31 type JwkPub, 32 32 type KeyUsage, 33 - } from './schemas/jwk.js'; 34 - export { jwksPubSchema, jwksSchema, type Jwks, type JwksPub } from './schemas/jwks.js'; 35 - export { oauthClientIdDiscoverableSchema } from './schemas/oauth-client-id-discoverable.js'; 36 - export { oauthClientIdSchema, type OAuthClientId } from './schemas/oauth-client-id.js'; 37 - export { oauthClientMetadataSchema, type OAuthClientMetadata } from './schemas/oauth-client-metadata.js'; 33 + } from './schemas/jwk.ts'; 34 + export { jwksPubSchema, jwksSchema, type Jwks, type JwksPub } from './schemas/jwks.ts'; 35 + export { oauthClientIdDiscoverableSchema } from './schemas/oauth-client-id-discoverable.ts'; 36 + export { oauthClientIdSchema, type OAuthClientId } from './schemas/oauth-client-id.ts'; 37 + export { oauthClientMetadataSchema, type OAuthClientMetadata } from './schemas/oauth-client-metadata.ts'; 38 38 export { 39 39 oauthEndpointAuthMethodSchema, 40 40 type OAuthEndpointAuthMethod, 41 - } from './schemas/oauth-endpoint-auth-method.js'; 42 - export { oauthGrantTypeSchema, type OAuthGrantType } from './schemas/oauth-grant-type.js'; 41 + } from './schemas/oauth-endpoint-auth-method.ts'; 42 + export { oauthGrantTypeSchema, type OAuthGrantType } from './schemas/oauth-grant-type.ts'; 43 43 export { 44 44 loopbackRedirectUriSchema, 45 45 oauthRedirectUriSchema, 46 46 type LoopbackRedirectUri, 47 47 type OAuthRedirectUri, 48 - } from './schemas/oauth-redirect-uri.js'; 49 - export { oauthResponseTypeSchema, type OAuthResponseType } from './schemas/oauth-response-type.js'; 48 + } from './schemas/oauth-redirect-uri.ts'; 49 + export { oauthResponseTypeSchema, type OAuthResponseType } from './schemas/oauth-response-type.ts'; 50 50 export { 51 51 isOAuthScope, 52 52 OAUTH_SCOPE_REGEXP, 53 53 oauthScopeSchema, 54 54 type OAuthScope, 55 - } from './schemas/oauth-scope.js'; 55 + } from './schemas/oauth-scope.ts'; 56 56 export { 57 57 httpsUriSchema, 58 58 loopbackUriSchema, ··· 60 60 privateUseUriSchema, 61 61 urlSchema, 62 62 webUriSchema, 63 - } from './schemas/uri.js'; 63 + } from './schemas/uri.ts'; 64 64 export { 65 65 extractUrlPath, 66 66 isHostnameIP, ··· 68 68 isLocalHostname, 69 69 isLoopbackHost, 70 70 isSpaceSeparatedValue, 71 - } from './schemas/utils.js'; 71 + } from './schemas/utils.ts'; 72 72 73 73 // token schemas 74 - export { oauthTokenTypeSchema, type OAuthTokenType } from './schemas/oauth-token-type.js'; 75 - export { oauthTokenResponseSchema, type OAuthTokenResponse } from './schemas/oauth-token-response.js'; 74 + export { oauthTokenTypeSchema, type OAuthTokenType } from './schemas/oauth-token-type.ts'; 75 + export { oauthTokenResponseSchema, type OAuthTokenResponse } from './schemas/oauth-token-response.ts'; 76 76 export { 77 77 atprotoOAuthTokenResponseSchema, 78 78 type AtprotoOAuthTokenResponse, 79 - } from './schemas/atproto-oauth-token-response.js'; 79 + } from './schemas/atproto-oauth-token-response.ts'; 80 80 81 81 // PAR schemas 82 - export { oauthParResponseSchema, type OAuthParResponse } from './schemas/oauth-par-response.js'; 82 + export { oauthParResponseSchema, type OAuthParResponse } from './schemas/oauth-par-response.ts'; 83 83 export { 84 84 oauthCodeChallengeMethodSchema, 85 85 type OAuthCodeChallengeMethod, 86 - } from './schemas/oauth-code-challenge-method.js'; 87 - export { oauthResponseModeSchema, type OAuthResponseMode } from './schemas/oauth-response-mode.js'; 88 - export { oauthPromptSchema, type OAuthPrompt } from './schemas/oauth-prompt.js'; 86 + } from './schemas/oauth-code-challenge-method.ts'; 87 + export { oauthResponseModeSchema, type OAuthResponseMode } from './schemas/oauth-response-mode.ts'; 88 + export { oauthPromptSchema, type OAuthPrompt } from './schemas/oauth-prompt.ts'; 89 89 90 90 // authorization details 91 91 export { ··· 93 93 oauthAuthorizationDetailsSchema, 94 94 type OAuthAuthorizationDetail, 95 95 type OAuthAuthorizationDetails, 96 - } from './schemas/oauth-authorization-details.js'; 96 + } from './schemas/oauth-authorization-details.ts'; 97 97 98 98 // server metadata 99 99 export { 100 100 oauthIssuerIdentifierSchema, 101 101 type OAuthIssuerIdentifier, 102 - } from './schemas/oauth-issuer-identifier.js'; 102 + } from './schemas/oauth-issuer-identifier.ts'; 103 103 export { 104 104 oauthAuthorizationServerMetadataSchema, 105 105 oauthAuthorizationServerMetadataValidator, 106 106 type OAuthAuthorizationServerMetadata, 107 - } from './schemas/oauth-authorization-server-metadata.js'; 107 + } from './schemas/oauth-authorization-server-metadata.ts'; 108 108 export { 109 109 atprotoAuthorizationServerMetadataValidator, 110 110 type AtprotoAuthorizationServerMetadata, 111 - } from './schemas/atproto-authorization-server-metadata.js'; 111 + } from './schemas/atproto-authorization-server-metadata.ts'; 112 112 113 113 // protected resource metadata 114 114 export { ··· 117 117 oauthProtectedResourceMetadataValidator, 118 118 type OAuthBearerMethod, 119 119 type OAuthProtectedResourceMetadata, 120 - } from './schemas/oauth-protected-resource-metadata.js'; 120 + } from './schemas/oauth-protected-resource-metadata.ts'; 121 121 export { 122 122 atprotoProtectedResourceMetadataValidator, 123 123 type AtprotoProtectedResourceMetadata, 124 - } from './schemas/atproto-protected-resource-metadata.js'; 124 + } from './schemas/atproto-protected-resource-metadata.ts';
+4 -4
packages/oauth/types/lib/schemas/atcute-confidential-client-metadata.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { atprotoOAuthScopeSchema } from './atproto-oauth-scope.js'; 4 - import { oauthClientIdDiscoverableSchema } from './oauth-client-id-discoverable.js'; 5 - import { httpsUriSchema, nonLocalWebUriSchema, webUriSchema } from './uri.js'; 6 - import { isLocalHostname } from './utils.js'; 3 + import { atprotoOAuthScopeSchema } from './atproto-oauth-scope.ts'; 4 + import { oauthClientIdDiscoverableSchema } from './oauth-client-id-discoverable.ts'; 5 + import { httpsUriSchema, nonLocalWebUriSchema, webUriSchema } from './uri.ts'; 6 + import { isLocalHostname } from './utils.ts'; 7 7 8 8 const SINGLE_SCOPE_RE = /^[\x21\x23-\x5B\x5D-\x7E]+$/; 9 9
+5 -5
packages/oauth/types/lib/schemas/atcute-public-client-metadata.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { atprotoOAuthScopeSchema } from './atproto-oauth-scope.js'; 4 - import { oauthClientIdDiscoverableSchema } from './oauth-client-id-discoverable.js'; 5 - import { loopbackRedirectUriSchema, oauthRedirectUriSchema } from './oauth-redirect-uri.js'; 6 - import { nonLocalWebUriSchema, privateUseUriSchema, webUriSchema } from './uri.js'; 7 - import { isLoopbackHost } from './utils.js'; 3 + import { atprotoOAuthScopeSchema } from './atproto-oauth-scope.ts'; 4 + import { oauthClientIdDiscoverableSchema } from './oauth-client-id-discoverable.ts'; 5 + import { loopbackRedirectUriSchema, oauthRedirectUriSchema } from './oauth-redirect-uri.ts'; 6 + import { nonLocalWebUriSchema, privateUseUriSchema, webUriSchema } from './uri.ts'; 7 + import { isLoopbackHost } from './utils.ts'; 8 8 9 9 const SINGLE_SCOPE_RE = /^[\x21\x23-\x5B\x5D-\x7E]+$/; 10 10
+1 -1
packages/oauth/types/lib/schemas/atproto-authorization-server-metadata.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { oauthAuthorizationServerMetadataValidator } from './oauth-authorization-server-metadata.js'; 3 + import { oauthAuthorizationServerMetadataValidator } from './oauth-authorization-server-metadata.ts'; 4 4 5 5 /** 6 6 * AT Protocol authorization server metadata with required fields and assertions.
+2 -2
packages/oauth/types/lib/schemas/atproto-oauth-scope.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { isOAuthScope } from './oauth-scope.js'; 4 - import { isSpaceSeparatedValue } from './utils.js'; 3 + import { isOAuthScope } from './oauth-scope.ts'; 4 + import { isSpaceSeparatedValue } from './utils.ts'; 5 5 6 6 export const ATPROTO_SCOPE_VALUE = 'atproto'; 7 7
+2 -2
packages/oauth/types/lib/schemas/atproto-oauth-token-response.ts
··· 2 2 3 3 import * as v from '@badrap/valita'; 4 4 5 - import { atprotoOAuthScopeSchema } from './atproto-oauth-scope.js'; 6 - import { oauthAuthorizationDetailsSchema } from './oauth-authorization-details.js'; 5 + import { atprotoOAuthScopeSchema } from './atproto-oauth-scope.ts'; 6 + import { oauthAuthorizationDetailsSchema } from './oauth-authorization-details.ts'; 7 7 8 8 export const atprotoOAuthTokenResponseSchema = v.object({ 9 9 access_token: v.string(),
+1 -1
packages/oauth/types/lib/schemas/atproto-protected-resource-metadata.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { oauthProtectedResourceMetadataValidator } from './oauth-protected-resource-metadata.js'; 3 + import { oauthProtectedResourceMetadataValidator } from './oauth-protected-resource-metadata.ts'; 4 4 5 5 /** 6 6 * AT Protocol protected resource metadata with required fields.
+1 -1
packages/oauth/types/lib/schemas/jwk.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { isLastOccurrence } from './utils.js'; 3 + import { isLastOccurrence } from './utils.ts'; 4 4 5 5 // key usage constants 6 6 const PUBLIC_KEY_USAGE = ['verify', 'encrypt', 'wrapKey'] as const;
+1 -1
packages/oauth/types/lib/schemas/jwks.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { jwkPubSchema, jwkSchema, type Jwk, type JwkPub } from './jwk.js'; 3 + import { jwkPubSchema, jwkSchema, type Jwk, type JwkPub } from './jwk.ts'; 4 4 5 5 /** JWKS (JSON Web Key Set) */ 6 6 export const jwksSchema = v.object({
+1 -1
packages/oauth/types/lib/schemas/oauth-authorization-details.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { urlSchema } from './uri.js'; 3 + import { urlSchema } from './uri.ts'; 4 4 5 5 /** 6 6 * @see {@link https://datatracker.ietf.org/doc/html/rfc9396#section-2 | RFC 9396, Section 2}
+4 -4
packages/oauth/types/lib/schemas/oauth-authorization-server-metadata.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { oauthCodeChallengeMethodSchema } from './oauth-code-challenge-method.js'; 4 - import { oauthIssuerIdentifierSchema } from './oauth-issuer-identifier.js'; 5 - import { oauthPromptSchema } from './oauth-prompt.js'; 6 - import { webUriSchema } from './uri.js'; 3 + import { oauthCodeChallengeMethodSchema } from './oauth-code-challenge-method.ts'; 4 + import { oauthIssuerIdentifierSchema } from './oauth-issuer-identifier.ts'; 5 + import { oauthPromptSchema } from './oauth-prompt.ts'; 6 + import { webUriSchema } from './uri.ts'; 7 7 8 8 /** 9 9 * @see {@link https://datatracker.ietf.org/doc/html/rfc8414}
+3 -3
packages/oauth/types/lib/schemas/oauth-client-id-discoverable.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { oauthClientIdSchema } from './oauth-client-id.js'; 4 - import { httpsUriSchema } from './uri.js'; 5 - import { extractUrlPath, isHostnameIP } from './utils.js'; 3 + import { oauthClientIdSchema } from './oauth-client-id.ts'; 4 + import { httpsUriSchema } from './uri.ts'; 5 + import { extractUrlPath, isHostnameIP } from './utils.ts'; 6 6 7 7 /** 8 8 * @see {@link https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-00.html}
+8 -8
packages/oauth/types/lib/schemas/oauth-client-metadata.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { jwksPubSchema } from './jwks.js'; 4 - import { oauthClientIdSchema } from './oauth-client-id.js'; 5 - import { oauthEndpointAuthMethodSchema } from './oauth-endpoint-auth-method.js'; 6 - import { oauthGrantTypeSchema } from './oauth-grant-type.js'; 7 - import { oauthRedirectUriSchema } from './oauth-redirect-uri.js'; 8 - import { oauthResponseTypeSchema } from './oauth-response-type.js'; 9 - import { oauthScopeSchema } from './oauth-scope.js'; 10 - import { webUriSchema } from './uri.js'; 3 + import { jwksPubSchema } from './jwks.ts'; 4 + import { oauthClientIdSchema } from './oauth-client-id.ts'; 5 + import { oauthEndpointAuthMethodSchema } from './oauth-endpoint-auth-method.ts'; 6 + import { oauthGrantTypeSchema } from './oauth-grant-type.ts'; 7 + import { oauthRedirectUriSchema } from './oauth-redirect-uri.ts'; 8 + import { oauthResponseTypeSchema } from './oauth-response-type.ts'; 9 + import { oauthScopeSchema } from './oauth-scope.ts'; 10 + import { webUriSchema } from './uri.ts'; 11 11 12 12 const oauthApplicationTypeSchema = v.union(v.literal('web'), v.literal('native')); 13 13
+1 -1
packages/oauth/types/lib/schemas/oauth-issuer-identifier.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { webUriSchema } from './uri.js'; 3 + import { webUriSchema } from './uri.ts'; 4 4 5 5 export const oauthIssuerIdentifierSchema = webUriSchema.chain((input) => { 6 6 // validate the issuer (MIX-UP attacks)
+2 -2
packages/oauth/types/lib/schemas/oauth-protected-resource-metadata.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { oauthIssuerIdentifierSchema } from './oauth-issuer-identifier.js'; 4 - import { webUriSchema } from './uri.js'; 3 + import { oauthIssuerIdentifierSchema } from './oauth-issuer-identifier.ts'; 4 + import { webUriSchema } from './uri.ts'; 5 5 6 6 export const oauthBearerMethodSchema = v.union(v.literal('header'), v.literal('body'), v.literal('query')); 7 7
+1 -1
packages/oauth/types/lib/schemas/oauth-redirect-uri.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { httpsUriSchema, loopbackUriSchema, privateUseUriSchema } from './uri.js'; 3 + import { httpsUriSchema, loopbackUriSchema, privateUseUriSchema } from './uri.ts'; 4 4 5 5 /** 6 6 * this is a loopback URI with the additional restriction that the hostname
+2 -2
packages/oauth/types/lib/schemas/oauth-token-response.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { oauthAuthorizationDetailsSchema } from './oauth-authorization-details.js'; 4 - import { oauthTokenTypeSchema } from './oauth-token-type.js'; 3 + import { oauthAuthorizationDetailsSchema } from './oauth-authorization-details.ts'; 4 + import { oauthTokenTypeSchema } from './oauth-token-type.ts'; 5 5 6 6 /** 7 7 * @see {@link https://www.rfc-editor.org/rfc/rfc6749.html#section-5.1 | RFC 6749 (OAuth2), Section 5.1}
+1 -1
packages/oauth/types/lib/schemas/uri.ts
··· 1 1 import * as v from '@badrap/valita'; 2 2 3 - import { isHostnameIP, isLocalHostname, isLoopbackHost } from './utils.js'; 3 + import { isHostnameIP, isLocalHostname, isLoopbackHost } from './utils.ts'; 4 4 5 5 /** 6 6 * valid, but potentially dangerous URL (`data:`, `file:`, `javascript:`, etc.).
+1 -1
packages/oauth/types/lib/scope.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import * as scope from './scope.js'; 3 + import * as scope from './scope.ts'; 4 4 5 5 describe('scope builders', () => { 6 6 describe('repo', () => {
+2
packages/oauth/types/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/servers/xrpc-server-bun/lib/index.test.ts
··· 4 4 import { decode, decodeFirst } from '@atcute/cbor'; 5 5 import { XRPCRouter } from '@atcute/xrpc-server'; 6 6 7 - import { createBunWebSocket } from './index.js'; 7 + import { createBunWebSocket } from './index.ts'; 8 8 9 9 const decodeFrame = (buffer: Uint8Array): { header: any; body: any } => { 10 10 const [header, remainder] = decodeFirst(buffer);
+2
packages/servers/xrpc-server-bun/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2
packages/servers/xrpc-server-cloudflare/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2
packages/servers/xrpc-server-deno/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/servers/xrpc-server-node/lib/index.test.ts
··· 5 5 import { serve, type ServerType } from '@hono/node-server'; 6 6 import { describe, expect, it } from 'vitest'; 7 7 8 - import { createNodeWebSocket, type NodeWebSocket } from './index.js'; 8 + import { createNodeWebSocket, type NodeWebSocket } from './index.ts'; 9 9 10 10 interface Server extends Disposable { 11 11 instance: ServerType;
+2
packages/servers/xrpc-server-node/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+2 -2
packages/servers/xrpc-server/lib/auth/index.ts
··· 1 - export * from './jwt-creator.js'; 2 - export * from './jwt-verifier.js'; 1 + export * from './jwt-creator.ts'; 2 + export * from './jwt-verifier.ts';
+1 -1
packages/servers/xrpc-server/lib/auth/jwt-creator.test.ts
··· 5 5 6 6 import { describe, expect, it } from 'vitest'; 7 7 8 - import { createServiceJwt } from './jwt-creator.js'; 8 + import { createServiceJwt } from './jwt-creator.ts'; 9 9 10 10 describe('createServiceJwt', () => { 11 11 const issuerDid: Did = 'did:web:issuer.example.com';
+1 -1
packages/servers/xrpc-server/lib/auth/jwt-creator.ts
··· 5 5 6 6 import { nanoid } from 'nanoid'; 7 7 8 - import type { JwtHeader, JwtPayload } from './jwt.js'; 8 + import type { JwtHeader, JwtPayload } from './jwt.ts'; 9 9 10 10 export interface CreateServiceJwtOptions { 11 11 keypair: PrivateKey;
+2 -2
packages/servers/xrpc-server/lib/auth/jwt-verifier.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import { createServiceJwt } from './jwt-creator.js'; 7 - import { ServiceJwtVerifier } from './jwt-verifier.js'; 6 + import { createServiceJwt } from './jwt-creator.ts'; 7 + import { ServiceJwtVerifier } from './jwt-verifier.ts'; 8 8 9 9 describe('ServiceJwtVerifier', () => { 10 10 const issuerDid: Did = 'did:example:issuer123';
+3 -3
packages/servers/xrpc-server/lib/auth/jwt-verifier.ts
··· 4 4 import type { Did, Nsid } from '@atcute/lexicons'; 5 5 import * as uint8arrays from '@atcute/uint8array'; 6 6 7 - import type { Result } from '../types/misc.js'; 7 + import type { Result } from '../types/misc.ts'; 8 8 9 - import { parseJwt, type ParsedJwt } from './jwt.js'; 10 - import type { AuthError } from './types.js'; 9 + import { parseJwt, type ParsedJwt } from './jwt.ts'; 10 + import type { AuthError } from './types.ts'; 11 11 12 12 export interface ServiceJwtVerifierOptions { 13 13 serviceDid: Did | null;
+2 -2
packages/servers/xrpc-server/lib/auth/jwt.ts
··· 5 5 6 6 import * as v from '@badrap/valita'; 7 7 8 - import type { Result } from '../types/misc.js'; 8 + import type { Result } from '../types/misc.ts'; 9 9 10 - import type { AuthError } from './types.js'; 10 + import type { AuthError } from './types.ts'; 11 11 12 12 const didString = v.string().assert(isDid, `must be a did`); 13 13 const nsidString = v.string().assert(isNsid, `must be an nsid`);
+6 -6
packages/servers/xrpc-server/lib/main/index.ts
··· 1 - export * from './response.js'; 2 - export * from './router.js'; 3 - export * from './xrpc-error.js'; 4 - export * from './xrpc-handler.js'; 1 + export * from './response.ts'; 2 + export * from './router.ts'; 3 + export * from './xrpc-error.ts'; 4 + export * from './xrpc-handler.ts'; 5 5 6 6 export type { 7 7 ProcedureConfig, ··· 13 13 SubscriptionConfig, 14 14 SubscriptionContext, 15 15 SubscriptionHandler, 16 - } from './types/operation.js'; 17 - export * from './types/websocket.js'; 16 + } from './types/operation.ts'; 17 + export * from './types/websocket.ts';
+4 -4
packages/servers/xrpc-server/lib/main/router.test.ts
··· 3 3 4 4 import { describe, expect, it, vi } from 'vitest'; 5 5 6 - import { json } from './response.js'; 7 - import { defaultNotFoundHandler, XRPCRouter } from './router.js'; 8 - import { MockWebSocketAdapter } from './utils/websocket-mock.js'; 9 - import { InvalidRequestError, XRPCSubscriptionError } from './xrpc-error.js'; 6 + import { json } from './response.ts'; 7 + import { defaultNotFoundHandler, XRPCRouter } from './router.ts'; 8 + import { MockWebSocketAdapter } from './utils/websocket-mock.ts'; 9 + import { InvalidRequestError, XRPCSubscriptionError } from './xrpc-error.ts'; 10 10 11 11 describe('XRPCRouter', () => { 12 12 describe('routing', () => {
+10 -10
packages/servers/xrpc-server/lib/main/router.ts
··· 5 5 type XRPCSubscriptionMetadata, 6 6 } from '@atcute/lexicons/validations'; 7 7 8 - import type { Literal, Promisable } from '../types/misc.js'; 8 + import type { Literal, Promisable } from '../types/misc.ts'; 9 9 10 10 import type { 11 11 ProcedureConfig, ··· 13 13 SubscriptionConfig, 14 14 UnknownOperationContext, 15 15 UnknownSubscriptionContext, 16 - } from './types/operation.js'; 17 - import type { WebSocketAdapter } from './types/websocket.js'; 18 - import { encodeErrorFrame, encodeMessageFrame, extractMessageType, omitMessageType } from './utils/frames.js'; 19 - import { createAsyncMiddlewareRunner, type Middleware } from './utils/middlewares.js'; 20 - import { unwrapLxm, type Namespaced } from './utils/namespaced.js'; 21 - import { constructMimeValidator } from './utils/request-input.js'; 22 - import { constructParamsHandler } from './utils/request-params.js'; 23 - import { invalidRequest, validationError } from './utils/response.js'; 24 - import { XRPCError, XRPCSubscriptionError } from './xrpc-error.js'; 16 + } from './types/operation.ts'; 17 + import type { WebSocketAdapter } from './types/websocket.ts'; 18 + import { encodeErrorFrame, encodeMessageFrame, extractMessageType, omitMessageType } from './utils/frames.ts'; 19 + import { createAsyncMiddlewareRunner, type Middleware } from './utils/middlewares.ts'; 20 + import { unwrapLxm, type Namespaced } from './utils/namespaced.ts'; 21 + import { constructMimeValidator } from './utils/request-input.ts'; 22 + import { constructParamsHandler } from './utils/request-params.ts'; 23 + import { invalidRequest, validationError } from './utils/response.ts'; 24 + import { XRPCError, XRPCSubscriptionError } from './xrpc-error.ts'; 25 25 26 26 type InternalRequestContext = { 27 27 url: URL;
+2 -2
packages/servers/xrpc-server/lib/main/types/operation.ts
··· 9 9 XRPCSubscriptionMetadata, 10 10 } from '@atcute/lexicons/validations'; 11 11 12 - import type { Literal, Promisable } from '../../types/misc.js'; 13 - import type { JSONResponse } from '../response.js'; 12 + import type { Literal, Promisable } from '../../types/misc.ts'; 13 + import type { JSONResponse } from '../response.ts'; 14 14 15 15 export type UnknownOperationContext = { 16 16 request: Request;
+1 -1
packages/servers/xrpc-server/lib/main/types/websocket.ts
··· 1 - import type { Promisable } from '../../types/misc.js'; 1 + import type { Promisable } from '../../types/misc.ts'; 2 2 3 3 export interface WebSocketConnection { 4 4 signal: AbortSignal;
+1 -1
packages/servers/xrpc-server/lib/main/utils/request-input.ts
··· 1 1 import type { XRPCBlobBodyParam, XRPCLexBodyParam } from '@atcute/lexicons/validations'; 2 2 3 - import type { Result } from '../../types/misc.js'; 3 + import type { Result } from '../../types/misc.ts'; 4 4 5 5 const jsonMimeValidator = (() => { 6 6 const JSON_RE = /^\s*application\/json\s*(?:$|;)/;
+1 -1
packages/servers/xrpc-server/lib/main/utils/request-params.ts
··· 7 7 type ValidationResult, 8 8 } from '@atcute/lexicons/validations'; 9 9 10 - import type { Literal } from '../../types/misc.js'; 10 + import type { Literal } from '../../types/misc.ts'; 11 11 12 12 type MaybeArray<T> = T | T[]; 13 13
+4 -4
packages/servers/xrpc-server/lib/main/utils/websocket-mock.ts
··· 1 1 import { AsyncLocalStorage } from 'node:async_hooks'; 2 2 3 - import type { Promisable } from '../../types/misc.js'; 4 - import type { XRPCRouter } from '../router.js'; 5 - import type { WebSocketAdapter, WebSocketConnection } from '../types/websocket.js'; 3 + import type { Promisable } from '../../types/misc.ts'; 4 + import type { XRPCRouter } from '../router.ts'; 5 + import type { WebSocketAdapter, WebSocketConnection } from '../types/websocket.ts'; 6 6 7 - import { EventEmitter } from './event-emitter.js'; 7 + import { EventEmitter } from './event-emitter.ts'; 8 8 9 9 interface WebSocketHandlerContext { 10 10 handler: ((ws: WebSocketConnection) => Promisable<void>) | null;
+1 -1
packages/servers/xrpc-server/lib/main/xrpc-handler.test.ts
··· 2 2 3 3 import { describe, expect, it, vi } from 'vitest'; 4 4 5 - import { createXrpcHandler } from './xrpc-handler.js'; 5 + import { createXrpcHandler } from './xrpc-handler.ts'; 6 6 7 7 describe('createXrpcHandler', () => { 8 8 it('handles query requests', async () => {
+3 -3
packages/servers/xrpc-server/lib/main/xrpc-handler.ts
··· 1 1 import type { XRPCProcedureMetadata, XRPCQueryMetadata } from '@atcute/lexicons/validations'; 2 2 3 - import { XRPCRouter, type XRPCRouterOptions } from './router.js'; 4 - import type { ProcedureConfig, QueryConfig } from './types/operation.js'; 5 - import { unwrapLxm, type Namespaced } from './utils/namespaced.js'; 3 + import { XRPCRouter, type XRPCRouterOptions } from './router.ts'; 4 + import type { ProcedureConfig, QueryConfig } from './types/operation.ts'; 5 + import { unwrapLxm, type Namespaced } from './utils/namespaced.ts'; 6 6 7 7 type XrpcHandlerRouterOptions = Pick<XRPCRouterOptions, 'middlewares' | 'handleNotFound' | 'handleException'>; 8 8
+1 -1
packages/servers/xrpc-server/lib/middlewares/cors.ts
··· 1 - import type { FetchMiddleware } from '../main/router.js'; 1 + import type { FetchMiddleware } from '../main/router.ts'; 2 2 3 3 export interface CORSOptions { 4 4 /** Additional headers to expose to the client */
+2
packages/servers/xrpc-server/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+4 -4
packages/utilities/car/lib/index.ts
··· 1 1 // implements github:darobin/dasl.ing@cc66c35 (2025-10-20) 2 2 3 - export * from './reader.js'; 4 - export * from './streamed-reader.js'; 3 + export * from './reader.ts'; 4 + export * from './streamed-reader.ts'; 5 5 6 - export * from './writer.js'; 6 + export * from './writer.ts'; 7 7 8 - export * from './types.js'; 8 + export * from './types.ts';
+2 -2
packages/utilities/car/lib/reader.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import { fromUint8Array } from './reader.js'; 7 - import { carEntryTransform, fromStream } from './streamed-reader.js'; 6 + import { fromUint8Array } from './reader.ts'; 7 + import { carEntryTransform, fromStream } from './streamed-reader.ts'; 8 8 9 9 describe('fromUint8Array', () => { 10 10 it('reads car files', () => {
+1 -1
packages/utilities/car/lib/reader.ts
··· 3 3 import * as CID from '@atcute/cid'; 4 4 import * as varint from '@atcute/varint'; 5 5 6 - import { isCarV1Header, type CarEntry, type CarHeader } from './types.js'; 6 + import { isCarV1Header, type CarEntry, type CarHeader } from './types.ts'; 7 7 8 8 interface SyncByteReader { 9 9 readonly pos: number;
+1 -1
packages/utilities/car/lib/streamed-reader.ts
··· 2 2 import type { Cid, CidLink } from '@atcute/cid'; 3 3 import * as CID from '@atcute/cid'; 4 4 5 - import { isCarV1Header, type CarEntry, type CarHeader } from './types.js'; 5 + import { isCarV1Header, type CarEntry, type CarHeader } from './types.ts'; 6 6 7 7 export interface StreamedCarReader { 8 8 header(): Promise<CarHeader>;
+2 -2
packages/utilities/car/lib/writer.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import type { CarBlock } from './types.js'; 7 - import { serializeCarEntry, serializeCarHeader, writeCarStream } from './writer.js'; 6 + import type { CarBlock } from './types.ts'; 7 + import { serializeCarEntry, serializeCarHeader, writeCarStream } from './writer.ts'; 8 8 9 9 describe('serializeCarHeader', () => { 10 10 it('should serialize a header with one root', async () => {
+1 -1
packages/utilities/car/lib/writer.ts
··· 3 3 import { allocUnsafe } from '@atcute/uint8array'; 4 4 import * as varint from '@atcute/varint'; 5 5 6 - import type { CarBlock } from './types.js'; 6 + import type { CarBlock } from './types.ts'; 7 7 8 8 /** 9 9 * encodes a number as an unsigned varint (variable-length integer)
+2
packages/utilities/car/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/utilities/cbor/lib/decode.ts
··· 1 1 import { CidLinkWrapper, fromBinary, type CidLink } from '@atcute/cid'; 2 2 import { decodeUtf8From } from '@atcute/uint8array'; 3 3 4 - import { toBytes, type Bytes } from './bytes.js'; 4 + import { toBytes, type Bytes } from './bytes.ts'; 5 5 6 6 interface State { 7 7 b: Uint8Array;
+1 -1
packages/utilities/cbor/lib/encode.ts
··· 1 1 import { type CidLink, CidLinkWrapper, fromString } from '@atcute/cid'; 2 2 import { allocUnsafe, concat, encodeUtf8Into } from '@atcute/uint8array'; 3 3 4 - import { type Bytes, BytesWrapper, fromBytes } from './bytes.js'; 4 + import { type Bytes, BytesWrapper, fromBytes } from './bytes.ts'; 5 5 6 6 const MAX_TYPE_ARG_LEN = 9; 7 7 const CHUNK_SIZE = 1024;
+1 -1
packages/utilities/cbor/lib/index.bench.ts
··· 2 2 import * as cborx from 'cbor-x/index-no-eval'; // doesn't do new Function nor native acceleration 3 3 import { bench, do_not_optimize, run, summary } from 'mitata'; 4 4 5 - import * as atcute from './index.js'; 5 + import * as atcute from './index.ts'; 6 6 7 7 const getBuffer = () => 8 8 new Uint8Array([
+2 -2
packages/utilities/cbor/lib/index.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import { getOrderedObjectKeys } from './encode.js'; 7 - import { decode, decodeFirst, encode, toBytes, toCidLink } from './index.js'; 6 + import { getOrderedObjectKeys } from './encode.ts'; 7 + import { decode, decodeFirst, encode, toBytes, toCidLink } from './index.ts'; 8 8 9 9 const utf8e = new TextEncoder(); 10 10 // const utf8d = new TextDecoder();
+3 -3
packages/utilities/cbor/lib/index.ts
··· 2 2 3 3 export { CidLinkWrapper, fromCidLink, isCidLink, toCidLink, type CidLink } from '@atcute/cid'; 4 4 5 - export { BytesWrapper, fromBytes, isBytes, toBytes, type Bytes } from './bytes.js'; 5 + export { BytesWrapper, fromBytes, isBytes, toBytes, type Bytes } from './bytes.ts'; 6 6 7 - export { decode, decodeFirst } from './decode.js'; 8 - export { encode } from './encode.js'; 7 + export { decode, decodeFirst } from './decode.ts'; 8 + export { encode } from './encode.ts';
+1 -1
packages/utilities/cbor/lib/keys.bench.ts
··· 1 1 import { bench, run, summary, do_not_optimize } from 'mitata'; 2 2 3 - import { getOrderedObjectKeys } from './encode.js'; 3 + import { getOrderedObjectKeys } from './encode.ts'; 4 4 5 5 const getObject = () => ({ 6 6 $type: 'app.bsky.feed.post',
+1 -1
packages/utilities/cbor/lib/large.bench.ts
··· 2 2 import * as cborx from 'cbor-x'; 3 3 import { bench, do_not_optimize, run, summary } from 'mitata'; 4 4 5 - import * as atcute from './index.js'; 5 + import * as atcute from './index.ts'; 6 6 7 7 const OBJECT = await fetch( 8 8 'https://tangled.org/@mary.my.id/atcute/raw/trunk/packages/definitions/ozone/lexicons/tools/ozone/moderation/defs.json',
+1 -1
packages/utilities/cbor/lib/utf8.bench.ts
··· 2 2 import * as cborx from 'cbor-x/index-no-eval'; // doesn't do new Function nor native acceleration 3 3 import { bench, do_not_optimize, run, summary } from 'mitata'; 4 4 5 - import * as atcute from './index.js'; 5 + import * as atcute from './index.ts'; 6 6 7 7 const getBuffer = () => 8 8 new Uint8Array([
+2
packages/utilities/cbor/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/utilities/cid/lib/cid-link.ts
··· 1 1 import { toBase32 } from '@atcute/multibase'; 2 2 3 - import { CID_STRINGIFY_CACHE, decode, fromString, type Cid } from './codec.js'; 3 + import { CID_STRINGIFY_CACHE, decode, fromString, type Cid } from './codec.ts'; 4 4 5 5 const CID_LINK_SYMBOL = Symbol.for('@atcute/cid-link-wrapper'); 6 6
+1 -1
packages/utilities/cid/lib/codec.test.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 2 3 - import { create, decode, fromString, toString } from './codec.js'; 3 + import { create, decode, fromString, toString } from './codec.ts'; 4 4 5 5 describe('fromString', () => { 6 6 it('parses a CIDv1 string', () => {
+2 -2
packages/utilities/cid/lib/index.ts
··· 1 1 // implements github:darobin/dasl.ing@cc66c35 (2025-10-20) 2 2 3 - export * from './cid-link.js'; 4 - export * from './codec.js'; 3 + export * from './cid-link.ts'; 4 + export * from './codec.ts';
+2
packages/utilities/cid/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+4 -4
packages/utilities/crypto/lib/index.ts
··· 1 1 export * from '#keypairs/secp256k1'; 2 - export * from './keypairs/p256.js'; 2 + export * from './keypairs/p256.ts'; 3 3 4 - export * from './multibase.js'; 5 - export * from './signatures.js'; 6 - export * from './types.js'; 4 + export * from './multibase.ts'; 5 + export * from './signatures.ts'; 6 + export * from './types.ts';
+2 -2
packages/utilities/crypto/lib/keypairs/p256.test.ts
··· 4 4 import { p256 } from '@noble/curves/p256'; 5 5 import { describe, expect, it } from 'vitest'; 6 6 7 - import { parseDidKey } from '../multibase.js'; 7 + import { parseDidKey } from '../multibase.ts'; 8 8 9 - import { P256PrivateKey, P256PrivateKeyExportable, P256PublicKey } from './p256.js'; 9 + import { P256PrivateKey, P256PrivateKeyExportable, P256PublicKey } from './p256.ts'; 10 10 11 11 it('creates a valid keypair', async () => { 12 12 const keypair = await P256PrivateKeyExportable.createKeypair();
+3 -3
packages/utilities/crypto/lib/keypairs/p256.ts
··· 3 3 import { toBase16 } from '@atcute/multibase'; 4 4 import { concat } from '@atcute/uint8array'; 5 5 6 - import type { DidKeyString, PrivateKey, PrivateKeyExportable, PublicKey, VerifyOptions } from '../types.js'; 7 - import { P256_N, uncompressP256Point } from '../utils-p256.js'; 6 + import type { DidKeyString, PrivateKey, PrivateKeyExportable, PublicKey, VerifyOptions } from '../types.ts'; 7 + import { P256_N, uncompressP256Point } from '../utils-p256.ts'; 8 8 import { 9 9 assertType, 10 10 assertUnreachable, ··· 14 14 isSignatureNormalized, 15 15 normalizeSignature, 16 16 toMultikey, 17 - } from '../utils.js'; 17 + } from '../utils.ts'; 18 18 19 19 // Reference: https://atproto.com/specs/cryptography#public-key-encoding 20 20 export const P256_PUBLIC_PREFIX = Uint8Array.from([0x80, 0x24]);
+2 -2
packages/utilities/crypto/lib/keypairs/secp256k1-node.test.ts
··· 4 4 import { secp256k1 } from '@noble/curves/secp256k1'; 5 5 import { describe, expect, it } from 'vitest'; 6 6 7 - import { parseDidKey } from '../multibase.js'; 7 + import { parseDidKey } from '../multibase.ts'; 8 8 9 - import { Secp256k1PrivateKey, Secp256k1PrivateKeyExportable, Secp256k1PublicKey } from './secp256k1-node.js'; 9 + import { Secp256k1PrivateKey, Secp256k1PrivateKeyExportable, Secp256k1PublicKey } from './secp256k1-node.ts'; 10 10 11 11 it('creates a valid keypair', async () => { 12 12 const keypair = await Secp256k1PrivateKeyExportable.createKeypair();
+2 -2
packages/utilities/crypto/lib/keypairs/secp256k1-node.ts
··· 12 12 13 13 import { toBase16 } from '@atcute/multibase'; 14 14 15 - import type { DidKeyString, PrivateKey, PrivateKeyExportable, PublicKey, VerifyOptions } from '../types.js'; 15 + import type { DidKeyString, PrivateKey, PrivateKeyExportable, PublicKey, VerifyOptions } from '../types.ts'; 16 16 import { 17 17 assertUnreachable, 18 18 checkKeypairRelationship, ··· 20 20 isSignatureNormalized, 21 21 normalizeSignature, 22 22 toMultikey, 23 - } from '../utils.js'; 23 + } from '../utils.ts'; 24 24 25 25 // Reference: https://atproto.com/specs/cryptography#public-key-encoding 26 26 export const SECP256K1_PUBLIC_PREFIX = Uint8Array.from([0xe7, 0x01]);
+2 -2
packages/utilities/crypto/lib/keypairs/secp256k1-web.test.ts
··· 4 4 import { secp256k1 } from '@noble/curves/secp256k1'; 5 5 import { describe, expect, it } from 'vitest'; 6 6 7 - import { parseDidKey } from '../multibase.js'; 7 + import { parseDidKey } from '../multibase.ts'; 8 8 9 - import { Secp256k1PrivateKey, Secp256k1PrivateKeyExportable, Secp256k1PublicKey } from './secp256k1-web.js'; 9 + import { Secp256k1PrivateKey, Secp256k1PrivateKeyExportable, Secp256k1PublicKey } from './secp256k1-web.ts'; 10 10 11 11 it('creates a valid keypair', async () => { 12 12 const keypair = await Secp256k1PrivateKeyExportable.createKeypair();
+2 -2
packages/utilities/crypto/lib/keypairs/secp256k1-web.ts
··· 3 3 4 4 import { getPublicKey, Point, signAsync, utils, verify } from '@noble/secp256k1'; 5 5 6 - import type { DidKeyString, PrivateKey, PrivateKeyExportable, PublicKey, VerifyOptions } from '../types.js'; 7 - import { assertUnreachable, checkKeypairRelationship, toMultikey } from '../utils.js'; 6 + import type { DidKeyString, PrivateKey, PrivateKeyExportable, PublicKey, VerifyOptions } from '../types.ts'; 7 + import { assertUnreachable, checkKeypairRelationship, toMultikey } from '../utils.ts'; 8 8 9 9 // Reference: https://atproto.com/specs/cryptography#public-key-encoding 10 10 export const SECP256K1_PUBLIC_PREFIX = Uint8Array.from([0xe7, 0x01]);
+1 -1
packages/utilities/crypto/lib/multibase.ts
··· 1 1 import { fromBase58Btc } from '@atcute/multibase'; 2 2 3 - import { assertSyntax, assertType } from './utils.js'; 3 + import { assertSyntax, assertType } from './utils.ts'; 4 4 5 5 export type FoundPrivateKey = 6 6 | { type: 'p256'; privateKeyBytes: Uint8Array<ArrayBuffer> }
+3 -3
packages/utilities/crypto/lib/signatures.ts
··· 1 1 import { Secp256k1PublicKey } from '#keypairs/secp256k1'; 2 2 3 - import { P256PublicKey } from './keypairs/p256.js'; 4 - import { parseDidKey, type FoundPublicKey } from './multibase.js'; 5 - import type { VerifyOptions } from './types.js'; 3 + import { P256PublicKey } from './keypairs/p256.ts'; 4 + import { parseDidKey, type FoundPublicKey } from './multibase.ts'; 5 + import type { VerifyOptions } from './types.ts'; 6 6 7 7 export const verifySig = async ( 8 8 key: FoundPublicKey,
+1 -1
packages/utilities/crypto/lib/utils-p256.ts
··· 1 - import { assertType, isCompressedPoint } from './utils.js'; 1 + import { assertType, isCompressedPoint } from './utils.ts'; 2 2 3 3 // NIST SP 800-186, § 3.2.1.3. P-256 -- https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-186.pdf 4 4 export const P256_P = 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffffn;
+1 -1
packages/utilities/crypto/lib/utils.ts
··· 1 1 import { toBase58Btc } from '@atcute/multibase'; 2 2 import { concat } from '@atcute/uint8array'; 3 3 4 - import type { PrivateKey } from './types.js'; 4 + import type { PrivateKey } from './types.ts'; 5 5 6 6 // -- Cryptographic commons -- 7 7
+2
packages/utilities/crypto/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+4 -4
packages/utilities/mst/lib/diff.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import { DeltaType, mstDiff, recordDiff, verySlowMstDiff } from './diff.js'; 7 - import { NodeStore } from './node-store.js'; 8 - import { NodeWrangler } from './node-wrangler.js'; 9 - import { MemoryBlockStore } from './stores.js'; 6 + import { DeltaType, mstDiff, recordDiff, verySlowMstDiff } from './diff.ts'; 7 + import { NodeStore } from './node-store.ts'; 8 + import { NodeWrangler } from './node-wrangler.ts'; 9 + import { MemoryBlockStore } from './stores.ts'; 10 10 11 11 const createCid = async (data: string) => { 12 12 const bytes = encodeUtf8(data);
+2 -2
packages/utilities/mst/lib/diff.ts
··· 1 1 import type { CidLink } from '@atcute/cid'; 2 2 3 - import type { NodeStore } from './node-store.js'; 4 - import { NodeWalker } from './node-walker.js'; 3 + import type { NodeStore } from './node-store.ts'; 4 + import { NodeWalker } from './node-walker.ts'; 5 5 6 6 /** 7 7 * Type of change to a record
+11 -11
packages/utilities/mst/lib/index.ts
··· 1 - export * from './types.js'; 2 - export * from './key.js'; 3 - export * from './node.js'; 4 - export * from './node-store.js'; 5 - export * from './node-wrangler.js'; 6 - export * from './node-walker.js'; 7 - export * from './diff.js'; 8 - export * from './proof.js'; 9 - export * from './errors.js'; 10 - export * from './blockmap.js'; 11 - export * from './stores.js'; 1 + export * from './types.ts'; 2 + export * from './key.ts'; 3 + export * from './node.ts'; 4 + export * from './node-store.ts'; 5 + export * from './node-wrangler.ts'; 6 + export * from './node-walker.ts'; 7 + export * from './diff.ts'; 8 + export * from './proof.ts'; 9 + export * from './errors.ts'; 10 + export * from './blockmap.ts'; 11 + export * from './stores.ts';
+1 -1
packages/utilities/mst/lib/key.ts
··· 1 - import { InvalidMstKeyError } from './errors.js'; 1 + import { InvalidMstKeyError } from './errors.ts'; 2 2 3 3 const MST_KEY_RE = /^[a-zA-Z0-9_~.:-]+\/[a-zA-Z0-9_~.:-]+$/; 4 4
+4 -4
packages/utilities/mst/lib/node-store.ts
··· 1 - import { MissingBlockError } from './errors.js'; 2 - import { MSTNode } from './node.js'; 3 - import type { BlockStore } from './stores.js'; 4 - import LRUCache from './utils/lru.js'; 1 + import { MissingBlockError } from './errors.ts'; 2 + import { MSTNode } from './node.ts'; 3 + import type { BlockStore } from './stores.ts'; 4 + import LRUCache from './utils/lru.ts'; 5 5 6 6 /** 7 7 * manages caching and storage of MST nodes with LRU eviction
+4 -4
packages/utilities/mst/lib/node-walker.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import { NodeStore } from './node-store.js'; 7 - import { NodeWalker } from './node-walker.js'; 8 - import { MSTNode } from './node.js'; 9 - import { MemoryBlockStore } from './stores.js'; 6 + import { NodeStore } from './node-store.ts'; 7 + import { NodeWalker } from './node-walker.ts'; 8 + import { MSTNode } from './node.ts'; 9 + import { MemoryBlockStore } from './stores.ts'; 10 10 11 11 const createCid = async (data: string) => { 12 12 const bytes = encodeUtf8(data);
+3 -3
packages/utilities/mst/lib/node-walker.ts
··· 1 1 import type { CidLink } from '@atcute/cid'; 2 2 3 - import { NodeStore } from './node-store.js'; 4 - import { MSTNode, getKeyHeight } from './node.js'; 5 - import Stack from './utils/stack.js'; 3 + import { NodeStore } from './node-store.ts'; 4 + import { MSTNode, getKeyHeight } from './node.ts'; 5 + import Stack from './utils/stack.ts'; 6 6 7 7 /** 8 8 * represents a single frame in the NodeWalker traversal stack
+5 -5
packages/utilities/mst/lib/node-wrangler.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import { NodeStore } from './node-store.js'; 7 - import { NodeWalker } from './node-walker.js'; 8 - import { NodeWrangler } from './node-wrangler.js'; 9 - import { MSTNode } from './node.js'; 10 - import { MemoryBlockStore } from './stores.js'; 6 + import { NodeStore } from './node-store.ts'; 7 + import { NodeWalker } from './node-walker.ts'; 8 + import { NodeWrangler } from './node-wrangler.ts'; 9 + import { MSTNode } from './node.ts'; 10 + import { MemoryBlockStore } from './stores.ts'; 11 11 12 12 const createCid = async (data: string) => { 13 13 const bytes = encodeUtf8(data);
+3 -3
packages/utilities/mst/lib/node-wrangler.ts
··· 1 1 import type { CidLink } from '@atcute/cid'; 2 2 3 - import { assertMstKey } from './key.js'; 4 - import { NodeStore } from './node-store.js'; 5 - import { MSTNode, getKeyHeight } from './node.js'; 3 + import { assertMstKey } from './key.ts'; 4 + import { NodeStore } from './node-store.ts'; 5 + import { MSTNode, getKeyHeight } from './node.ts'; 6 6 7 7 /** 8 8 * replaces element at index with a new value
+2 -2
packages/utilities/mst/lib/node.ts
··· 3 3 import * as CID from '@atcute/cid'; 4 4 import { decodeUtf8From, encodeUtf8, toSha256 } from '@atcute/uint8array'; 5 5 6 - import { assertMstKey } from './key.js'; 7 - import { isNodeData, type NodeData, type TreeEntry } from './types.js'; 6 + import { assertMstKey } from './key.ts'; 7 + import { isNodeData, type NodeData, type TreeEntry } from './types.ts'; 8 8 9 9 /** 10 10 * represents a node in a Merkle Search Tree (MST)
+4 -4
packages/utilities/mst/lib/proof.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import { NodeStore } from './node-store.js'; 7 - import { NodeWrangler } from './node-wrangler.js'; 6 + import { NodeStore } from './node-store.ts'; 7 + import { NodeWrangler } from './node-wrangler.ts'; 8 8 import { 9 9 buildExclusionProof, 10 10 buildInclusionProof, ··· 12 12 ProofError, 13 13 verifyExclusion, 14 14 verifyInclusion, 15 - } from './proof.js'; 16 - import { MemoryBlockStore } from './stores.js'; 15 + } from './proof.ts'; 16 + import { MemoryBlockStore } from './stores.ts'; 17 17 18 18 const createCid = async (data: string) => { 19 19 const bytes = encodeUtf8(data);
+3 -3
packages/utilities/mst/lib/proof.ts
··· 1 1 import type { CidLink } from '@atcute/cid'; 2 2 3 - import { MissingBlockError } from './errors.js'; 4 - import type { NodeStore } from './node-store.js'; 5 - import { NodeWalker } from './node-walker.js'; 3 + import { MissingBlockError } from './errors.ts'; 4 + import type { NodeStore } from './node-store.ts'; 5 + import { NodeWalker } from './node-walker.ts'; 6 6 7 7 /** 8 8 * Error thrown when validating a proof fails
+2 -2
packages/utilities/mst/lib/stores.ts
··· 1 - import { type BlockMap } from './blockmap.js'; 2 - import { deleteMany, setMany } from './utils/blockmap.js'; 1 + import { type BlockMap } from './blockmap.ts'; 2 + import { deleteMany, setMany } from './utils/blockmap.ts'; 3 3 4 4 /** 5 5 * a read-only interface for retrieving blocks by their CID
+6 -6
packages/utilities/mst/lib/test-suite.test.ts
··· 7 7 import * as v from '@badrap/valita'; 8 8 import { beforeAll, describe, expect, it } from 'vitest'; 9 9 10 - import { DeltaType, mstDiff, recordDiff } from './diff.js'; 11 - import { NodeStore } from './node-store.js'; 12 - import { NodeWrangler } from './node-wrangler.js'; 13 - import { buildExclusionProof, buildInclusionProof } from './proof.js'; 10 + import { DeltaType, mstDiff, recordDiff } from './diff.ts'; 11 + import { NodeStore } from './node-store.ts'; 12 + import { NodeWrangler } from './node-wrangler.ts'; 13 + import { buildExclusionProof, buildInclusionProof } from './proof.ts'; 14 14 import { 15 15 LoggingBlockStore, 16 16 MemoryBlockStore, 17 17 OverlayBlockStore, 18 18 ReadonlyMemoryBlockStore, 19 - } from './stores.js'; 20 - import { setMany } from './utils/blockmap.js'; 19 + } from './stores.ts'; 20 + import { setMany } from './utils/blockmap.ts'; 21 21 22 22 const mstDiffTestCaseSchema = v.object({ 23 23 $type: v.literal('mst-diff'),
+1 -1
packages/utilities/mst/lib/utils/blockmap.ts
··· 1 1 import * as CBOR from '@atcute/cbor'; 2 2 import * as CID from '@atcute/cid'; 3 3 4 - import type { BlockMap } from '../blockmap.js'; 4 + import type { BlockMap } from '../blockmap.ts'; 5 5 6 6 type BlockEntry = [cid: string, bytes: Uint8Array<ArrayBuffer>]; 7 7
+2
packages/utilities/mst/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/utilities/multibase/lib/bases/base16-web-polyfill.ts
··· 1 - import { createRfc4648Decode, createRfc4648Encode } from '../utils.js'; 1 + import { createRfc4648Decode, createRfc4648Encode } from '../utils.ts'; 2 2 3 3 const BASE16_CHARSET = '0123456789abcdef'; 4 4
+2 -2
packages/utilities/multibase/lib/bases/base16-web.ts
··· 1 - import { fromBase16 as fromBase16Native, toBase16 as toBase16Native } from './base16-web-native.js'; 2 - import { fromBase16 as fromBase16Polyfill, toBase16 as toBase16Polyfill } from './base16-web-polyfill.js'; 1 + import { fromBase16 as fromBase16Native, toBase16 as toBase16Native } from './base16-web-native.ts'; 2 + import { fromBase16 as fromBase16Polyfill, toBase16 as toBase16Polyfill } from './base16-web-polyfill.ts'; 3 3 4 4 const HAS_NATIVE_SUPPORT = 'fromHex' in Uint8Array; 5 5
+3 -3
packages/utilities/multibase/lib/bases/base16.test.ts
··· 1 1 import { describe, expect, it, vi } from 'vitest'; 2 2 3 - import { fromBase16 as fromBase16Node, toBase16 as toBase16Node } from './base16-node.js'; 4 - import { fromBase16 as fromBase16Native, toBase16 as toBase16Native } from './base16-web-native.js'; 5 - import { fromBase16 as fromBase16Polyfill, toBase16 as toBase16Polyfill } from './base16-web-polyfill.js'; 3 + import { fromBase16 as fromBase16Node, toBase16 as toBase16Node } from './base16-node.ts'; 4 + import { fromBase16 as fromBase16Native, toBase16 as toBase16Native } from './base16-web-native.ts'; 5 + import { fromBase16 as fromBase16Polyfill, toBase16 as toBase16Polyfill } from './base16-web-polyfill.ts'; 6 6 7 7 vi.mock('@atcute/uint8array', async (importOriginal) => { 8 8 const actual = await importOriginal<typeof import('@atcute/uint8array')>();
+1 -1
packages/utilities/multibase/lib/bases/base32.test.ts
··· 1 1 import { expect, it, vi } from 'vitest'; 2 2 3 - import { fromBase32, toBase32 } from './base32.js'; 3 + import { fromBase32, toBase32 } from './base32.ts'; 4 4 5 5 vi.mock('@atcute/uint8array', () => ({ 6 6 allocUnsafe: (size: number): Uint8Array => {
+1 -1
packages/utilities/multibase/lib/bases/base32.ts
··· 1 - import { createRfc4648Decode, createRfc4648Encode } from '../utils.js'; 1 + import { createRfc4648Decode, createRfc4648Encode } from '../utils.ts'; 2 2 3 3 const BASE32_CHARSET = 'abcdefghijklmnopqrstuvwxyz234567'; 4 4
+1 -1
packages/utilities/multibase/lib/bases/base58.bench.ts
··· 1 1 import { bench, do_not_optimize, run, summary } from 'mitata'; 2 2 3 - import { fromBase58Btc, toBase58Btc } from './base58.js'; 3 + import { fromBase58Btc, toBase58Btc } from './base58.ts'; 4 4 5 5 summary(() => { 6 6 bench('fromBase58Btc', () => {
+1 -1
packages/utilities/multibase/lib/bases/base58.test.ts
··· 1 1 import { expect, it, vi } from 'vitest'; 2 2 3 - import { fromBase58Btc, toBase58Btc } from './base58.js'; 3 + import { fromBase58Btc, toBase58Btc } from './base58.ts'; 4 4 5 5 vi.mock('@atcute/uint8array', async (importOriginal) => { 6 6 const actual = await importOriginal<typeof import('@atcute/uint8array')>();
+1 -1
packages/utilities/multibase/lib/bases/base58.ts
··· 1 - import { createBtcBaseDecode, createBtcBaseEncode } from '../utils.js'; 1 + import { createBtcBaseDecode, createBtcBaseEncode } from '../utils.ts'; 2 2 3 3 const BASE58BTC_CHARSET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; 4 4
+1 -1
packages/utilities/multibase/lib/bases/base64-web-polyfill.ts
··· 1 - import { createRfc4648Decode, createRfc4648Encode } from '../utils.js'; 1 + import { createRfc4648Decode, createRfc4648Encode } from '../utils.ts'; 2 2 3 3 const BASE64_CHARSET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; 4 4 const BASE64URL_CHARSET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
+2 -2
packages/utilities/multibase/lib/bases/base64-web.ts
··· 7 7 toBase64Pad as toBase64PadNative, 8 8 toBase64Url as toBase64UrlNative, 9 9 toBase64UrlPad as toBase64UrlPadNative, 10 - } from './base64-web-native.js'; 10 + } from './base64-web-native.ts'; 11 11 import { 12 12 fromBase64Pad as fromBase64PadPolyfill, 13 13 fromBase64 as fromBase64Polyfill, ··· 17 17 toBase64 as toBase64Polyfill, 18 18 toBase64UrlPad as toBase64UrlPadPolyfill, 19 19 toBase64Url as toBase64UrlPolyfill, 20 - } from './base64-web-polyfill.js'; 20 + } from './base64-web-polyfill.ts'; 21 21 22 22 const HAS_NATIVE_SUPPORT = 'fromBase64' in Uint8Array; 23 23
+3 -3
packages/utilities/multibase/lib/bases/base64.bench.ts
··· 1 1 import { bench, do_not_optimize, run, summary } from 'mitata'; 2 2 3 - import { fromBase64 as fromBase64Node, toBase64 as toBase64Node } from './base64-node.js'; 4 - import { fromBase64 as fromBase64Native, toBase64 as toBase64Native } from './base64-web-native.js'; 5 - import { fromBase64 as fromBase64Polyfill, toBase64 as toBase64Polyfill } from './base64-web-polyfill.js'; 3 + import { fromBase64 as fromBase64Node, toBase64 as toBase64Node } from './base64-node.ts'; 4 + import { fromBase64 as fromBase64Native, toBase64 as toBase64Native } from './base64-web-native.ts'; 5 + import { fromBase64 as fromBase64Polyfill, toBase64 as toBase64Polyfill } from './base64-web-polyfill.ts'; 6 6 7 7 summary(() => { 8 8 bench('Uint8Array.fromBase64', () => {
+3 -3
packages/utilities/multibase/lib/bases/base64.test.ts
··· 9 9 toBase64Pad as toBase64PadNode, 10 10 toBase64Url as toBase64UrlNode, 11 11 toBase64UrlPad as toBase64UrlPadNode, 12 - } from './base64-node.js'; 12 + } from './base64-node.ts'; 13 13 import { 14 14 fromBase64 as fromBase64Native, 15 15 fromBase64Pad as fromBase64PadNative, ··· 19 19 toBase64Pad as toBase64PadNative, 20 20 toBase64Url as toBase64UrlNative, 21 21 toBase64UrlPad as toBase64UrlPadNative, 22 - } from './base64-web-native.js'; 22 + } from './base64-web-native.ts'; 23 23 import { 24 24 fromBase64Pad as fromBase64PadPolyfill, 25 25 fromBase64 as fromBase64Polyfill, ··· 29 29 toBase64 as toBase64Polyfill, 30 30 toBase64UrlPad as toBase64UrlPadPolyfill, 31 31 toBase64Url as toBase64UrlPolyfill, 32 - } from './base64-web-polyfill.js'; 32 + } from './base64-web-polyfill.ts'; 33 33 34 34 vi.mock('@atcute/uint8array', async (importOriginal) => { 35 35 const actual = await importOriginal<typeof import('@atcute/uint8array')>();
+2 -2
packages/utilities/multibase/lib/index.ts
··· 10 10 toBase64UrlPad, 11 11 } from '#bases/base64'; 12 12 13 - export { fromBase32, toBase32 } from './bases/base32.js'; 14 - export { fromBase58Btc, toBase58Btc } from './bases/base58.js'; 13 + export { fromBase32, toBase32 } from './bases/base32.ts'; 14 + export { fromBase58Btc, toBase58Btc } from './bases/base58.ts';
+2
packages/utilities/multibase/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/utilities/repo/lib/index.test.ts
··· 3 3 4 4 import { describe, expect, it } from 'vitest'; 5 5 6 - import { fromStream, fromUint8Array, repoEntryTransform } from './index.js'; 6 + import { fromStream, fromUint8Array, repoEntryTransform } from './index.ts'; 7 7 8 8 describe('fromUint8Array', () => { 9 9 it('decodes atproto car files', () => {
+5 -5
packages/utilities/repo/lib/index.ts
··· 1 - export { isCommit } from './types.js'; 2 - export type { Commit, RepoEntry } from './types.js'; 1 + export { isCommit } from './types.ts'; 2 + export type { Commit, RepoEntry } from './types.ts'; 3 3 4 - export * from './reader.js'; 5 - export * from './streamed-reader.js'; 6 - export * from './verify.js'; 4 + export * from './reader.ts'; 5 + export * from './streamed-reader.ts'; 6 + export * from './verify.ts';
+2 -2
packages/utilities/repo/lib/reader.ts
··· 6 6 import { isNodeData } from '@atcute/mst'; 7 7 import { decodeUtf8From } from '@atcute/uint8array'; 8 8 9 - import { isCommit, RepoEntry } from './types.js'; 10 - import { assert } from './utils.js'; 9 + import { isCommit, RepoEntry } from './types.ts'; 10 + import { assert } from './utils.ts'; 11 11 12 12 /** @internal */ 13 13 type EntryMap = Map<string, CarEntry>;
+3 -3
packages/utilities/repo/lib/streamed-reader.ts
··· 5 5 import { isNodeData } from '@atcute/mst'; 6 6 import { decodeUtf8From } from '@atcute/uint8array'; 7 7 8 - import { isCommit, RepoEntry } from './types.js'; 9 - import { assert } from './utils.js'; 10 - import Queue from './utils/queue.js'; 8 + import { isCommit, RepoEntry } from './types.ts'; 9 + import { assert } from './utils.ts'; 10 + import Queue from './utils/queue.ts'; 11 11 12 12 type EntryMeta = { t: 0 } | { t: 1 } | { t: 2; k: string }; 13 13
+1 -1
packages/utilities/repo/lib/verify.ts
··· 6 6 import { isNodeData, type NodeData } from '@atcute/mst'; 7 7 import { decodeUtf8From, encodeUtf8, toSha256 } from '@atcute/uint8array'; 8 8 9 - import { isCommit, type Commit } from './types.js'; 9 + import { isCommit, type Commit } from './types.ts'; 10 10 11 11 type BlockMap = Map<string, Uint8Array>; 12 12
+2
packages/utilities/repo/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/utilities/tid/lib/index.test.ts
··· 1 1 import { describe, it, expect, vi, afterEach } from 'vitest'; 2 2 3 - import * as TID from './index.js'; 3 + import * as TID from './index.ts'; 4 4 5 5 afterEach(() => { 6 6 vi.useRealTimers();
+1 -1
packages/utilities/tid/lib/index.ts
··· 2 2 3 3 import { random } from '#platform/random'; 4 4 5 - import { s32decode, s32encode } from './s32.js'; 5 + import { s32decode, s32encode } from './s32.ts'; 6 6 7 7 let lastTimestamp = 0; 8 8 let lastCurrentTime = 0;
+2
packages/utilities/tid/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,
+1 -1
packages/utilities/varint/lib/index.test.ts
··· 1 1 import { it, expect, describe } from 'vitest'; 2 2 3 - import { decode, encode, encodingLength } from './index.js'; 3 + import { decode, encode, encodingLength } from './index.ts'; 4 4 5 5 function randint(range: number): number { 6 6 return Math.floor(Math.random() * range);
+2
packages/utilities/varint/tsconfig.json
··· 11 11 "moduleDetection": "force", 12 12 "isolatedModules": true, 13 13 "verbatimModuleSyntax": true, 14 + "allowImportingTsExtensions": true, 15 + "rewriteRelativeImportExtensions": true, 14 16 "strict": true, 15 17 "noImplicitOverride": true, 16 18 "noUnusedLocals": true,