diff --git a/lexicons/app/bsky/feed/defs.json b/lexicons/app/bsky/feed/defs.json index 896b469a981..10f2812ce24 100644 --- a/lexicons/app/bsky/feed/defs.json +++ b/lexicons/app/bsky/feed/defs.json @@ -178,14 +178,6 @@ "items": { "type": "ref", "ref": "app.bsky.graph.defs#listViewBasic" } } } - }, - "viewNotFound": { - "type": "object", - "required": ["uri", "notFound"], - "properties": { - "uri": { "type": "string", "format": "at-uri" }, - "notFound": { "type": "boolean", "const": true } - } } } } diff --git a/packages/api/src/client/lexicons.ts b/packages/api/src/client/lexicons.ts index 055315a2e49..7658407345f 100644 --- a/packages/api/src/client/lexicons.ts +++ b/packages/api/src/client/lexicons.ts @@ -4686,20 +4686,6 @@ export const schemaDict = { }, }, }, - viewNotFound: { - type: 'object', - required: ['uri', 'notFound'], - properties: { - uri: { - type: 'string', - format: 'at-uri', - }, - notFound: { - type: 'boolean', - const: true, - }, - }, - }, }, }, AppBskyFeedDescribeFeedGenerator: { diff --git a/packages/api/src/client/types/app/bsky/feed/defs.ts b/packages/api/src/client/types/app/bsky/feed/defs.ts index 5def3b4fc2b..944fd34b072 100644 --- a/packages/api/src/client/types/app/bsky/feed/defs.ts +++ b/packages/api/src/client/types/app/bsky/feed/defs.ts @@ -323,21 +323,3 @@ export function isThreadgateView(v: unknown): v is ThreadgateView { export function validateThreadgateView(v: unknown): ValidationResult { return lexicons.validate('app.bsky.feed.defs#threadgateView', v) } - -export interface ViewNotFound { - uri: string - notFound: true - [k: string]: unknown -} - -export function isViewNotFound(v: unknown): v is ViewNotFound { - return ( - isObj(v) && - hasProp(v, '$type') && - v.$type === 'app.bsky.feed.defs#viewNotFound' - ) -} - -export function validateViewNotFound(v: unknown): ValidationResult { - return lexicons.validate('app.bsky.feed.defs#viewNotFound', v) -} diff --git a/packages/bsky/src/lexicon/lexicons.ts b/packages/bsky/src/lexicon/lexicons.ts index 055315a2e49..7658407345f 100644 --- a/packages/bsky/src/lexicon/lexicons.ts +++ b/packages/bsky/src/lexicon/lexicons.ts @@ -4686,20 +4686,6 @@ export const schemaDict = { }, }, }, - viewNotFound: { - type: 'object', - required: ['uri', 'notFound'], - properties: { - uri: { - type: 'string', - format: 'at-uri', - }, - notFound: { - type: 'boolean', - const: true, - }, - }, - }, }, }, AppBskyFeedDescribeFeedGenerator: { diff --git a/packages/bsky/src/lexicon/types/app/bsky/feed/defs.ts b/packages/bsky/src/lexicon/types/app/bsky/feed/defs.ts index 6fc5a46aeda..08d34d88ebb 100644 --- a/packages/bsky/src/lexicon/types/app/bsky/feed/defs.ts +++ b/packages/bsky/src/lexicon/types/app/bsky/feed/defs.ts @@ -323,21 +323,3 @@ export function isThreadgateView(v: unknown): v is ThreadgateView { export function validateThreadgateView(v: unknown): ValidationResult { return lexicons.validate('app.bsky.feed.defs#threadgateView', v) } - -export interface ViewNotFound { - uri: string - notFound: true - [k: string]: unknown -} - -export function isViewNotFound(v: unknown): v is ViewNotFound { - return ( - isObj(v) && - hasProp(v, '$type') && - v.$type === 'app.bsky.feed.defs#viewNotFound' - ) -} - -export function validateViewNotFound(v: unknown): ValidationResult { - return lexicons.validate('app.bsky.feed.defs#viewNotFound', v) -} diff --git a/packages/pds/src/lexicon/lexicons.ts b/packages/pds/src/lexicon/lexicons.ts index 055315a2e49..7658407345f 100644 --- a/packages/pds/src/lexicon/lexicons.ts +++ b/packages/pds/src/lexicon/lexicons.ts @@ -4686,20 +4686,6 @@ export const schemaDict = { }, }, }, - viewNotFound: { - type: 'object', - required: ['uri', 'notFound'], - properties: { - uri: { - type: 'string', - format: 'at-uri', - }, - notFound: { - type: 'boolean', - const: true, - }, - }, - }, }, }, AppBskyFeedDescribeFeedGenerator: { diff --git a/packages/pds/src/lexicon/types/app/bsky/feed/defs.ts b/packages/pds/src/lexicon/types/app/bsky/feed/defs.ts index 6fc5a46aeda..08d34d88ebb 100644 --- a/packages/pds/src/lexicon/types/app/bsky/feed/defs.ts +++ b/packages/pds/src/lexicon/types/app/bsky/feed/defs.ts @@ -323,21 +323,3 @@ export function isThreadgateView(v: unknown): v is ThreadgateView { export function validateThreadgateView(v: unknown): ValidationResult { return lexicons.validate('app.bsky.feed.defs#threadgateView', v) } - -export interface ViewNotFound { - uri: string - notFound: true - [k: string]: unknown -} - -export function isViewNotFound(v: unknown): v is ViewNotFound { - return ( - isObj(v) && - hasProp(v, '$type') && - v.$type === 'app.bsky.feed.defs#viewNotFound' - ) -} - -export function validateViewNotFound(v: unknown): ValidationResult { - return lexicons.validate('app.bsky.feed.defs#viewNotFound', v) -}