Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Sep 11, 2023
1 parent cd54186 commit edee5a6
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 104 deletions.
8 changes: 0 additions & 8 deletions lexicons/app/bsky/feed/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
}
}
}
14 changes: 0 additions & 14 deletions packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
18 changes: 0 additions & 18 deletions packages/api/src/client/types/app/bsky/feed/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
14 changes: 0 additions & 14 deletions packages/bsky/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
18 changes: 0 additions & 18 deletions packages/bsky/src/lexicon/types/app/bsky/feed/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
14 changes: 0 additions & 14 deletions packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
18 changes: 0 additions & 18 deletions packages/pds/src/lexicon/types/app/bsky/feed/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit edee5a6

Please sign in to comment.