lumiverse-spindle-types 0.6.70 → 0.6.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +3 -0
- package/dist/components.d.ts +16 -0
- package/dist/spindle-api.d.ts +2 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1188,6 +1188,8 @@ export interface CharacterDTO {
|
|
|
1188
1188
|
alternate_greetings: string[];
|
|
1189
1189
|
creator: string;
|
|
1190
1190
|
image_id: string | null;
|
|
1191
|
+
/** Host-resolved thumbnail URL, accessible with Characters permission. Null when unavailable. */
|
|
1192
|
+
avatar_url?: string | null;
|
|
1191
1193
|
/**
|
|
1192
1194
|
* IDs of world books attached directly to this character. The legacy
|
|
1193
1195
|
* single-id form is auto-migrated, so consumers can rely on the array.
|
|
@@ -4145,6 +4147,7 @@ export type WorkerToHost = import("./live-activities.js").LiveActivityWorkerMess
|
|
|
4145
4147
|
requestId: string;
|
|
4146
4148
|
limit?: number;
|
|
4147
4149
|
offset?: number;
|
|
4150
|
+
search?: string;
|
|
4148
4151
|
userId?: string;
|
|
4149
4152
|
} | {
|
|
4150
4153
|
type: "characters_get";
|
package/dist/components.d.ts
CHANGED
|
@@ -380,6 +380,22 @@ export interface SpindleSelectOptionsBase {
|
|
|
380
380
|
searchPlaceholder?: string;
|
|
381
381
|
/** Minimum option count before the search field is shown. Default: `8`. */
|
|
382
382
|
searchThreshold?: number;
|
|
383
|
+
/** Always show the search input, including for small remote result pages. */
|
|
384
|
+
forceSearch?: boolean;
|
|
385
|
+
/** Called when search text changes (including the initial empty query). */
|
|
386
|
+
onSearchChange?: (value: string) => void;
|
|
387
|
+
/** Options are filtered by the caller; disable the local text filter. */
|
|
388
|
+
remoteSearch?: boolean;
|
|
389
|
+
/** An incremental page is being loaded. */
|
|
390
|
+
loading?: boolean;
|
|
391
|
+
/** More options can be loaded. */
|
|
392
|
+
hasMore?: boolean;
|
|
393
|
+
/** Request the next page. Guard against overlapping requests in the caller. */
|
|
394
|
+
onLoadMore?: () => void;
|
|
395
|
+
/** Load near the end of the scroll area; the accessible load button remains available. Default false. */
|
|
396
|
+
loadMoreOnScroll?: boolean;
|
|
397
|
+
loadingMessage?: string;
|
|
398
|
+
loadMoreLabel?: string;
|
|
383
399
|
/**
|
|
384
400
|
* Message rendered when the option list itself is empty (i.e. no options
|
|
385
401
|
* were supplied). For "no matches against the current search" use
|
package/dist/spindle-api.d.ts
CHANGED
|
@@ -871,6 +871,8 @@ export interface SpindleAPI {
|
|
|
871
871
|
list(options?: {
|
|
872
872
|
limit?: number;
|
|
873
873
|
offset?: number;
|
|
874
|
+
/** Search the character library (maximum 200 characters). Requires character-search-v1. */
|
|
875
|
+
search?: string;
|
|
874
876
|
userId?: string;
|
|
875
877
|
}): Promise<{
|
|
876
878
|
data: CharacterDTO[];
|