Use title case for Starter Pack (#11653)
This commit is contained in:
@@ -44,14 +44,14 @@ const syntheticFullView = {
|
||||
list: {
|
||||
uri: 'at://did:plc:abc/app.bsky.graph.list/123',
|
||||
cid: '',
|
||||
name: 'Starter pack',
|
||||
name: 'Starter Pack',
|
||||
purpose: 'app.bsky.graph.defs#referencelist',
|
||||
},
|
||||
}
|
||||
|
||||
/*
|
||||
* Type-level assertions for the view alias: it must accept both the basic and
|
||||
* the full starter pack view. Compile-time only - a failure surfaces as a
|
||||
* the full Starter Pack view. Compile-time only - a failure surfaces as a
|
||||
* typecheck error.
|
||||
*/
|
||||
type Assignable<From, To> = From extends To ? true : false
|
||||
|
||||
@@ -26,7 +26,7 @@ export function isView(v: unknown): v is app.bsky.graph.defs.StarterPackView {
|
||||
}
|
||||
|
||||
/**
|
||||
* Accepts both forms of a full starter pack view used by the app:
|
||||
* Accepts both forms of a full Starter Pack view used by the app:
|
||||
*
|
||||
* - direct lexicon refs returned by the app view, where `$type` may be omitted
|
||||
* - trusted synthetic cache entries, which carry `$type` but may contain
|
||||
@@ -39,7 +39,7 @@ export function isTrustedView(
|
||||
}
|
||||
|
||||
/**
|
||||
* Matches any starter pack view exported by our SDK.
|
||||
* Matches any Starter Pack view exported by our SDK.
|
||||
*/
|
||||
export type AnyStarterPackView =
|
||||
app.bsky.graph.defs.StarterPackViewBasic | app.bsky.graph.defs.StarterPackView
|
||||
|
||||
Reference in New Issue
Block a user