@singi-labs/sifa-sdk 0.19.61 → 0.19.63

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.
@@ -24,8 +24,12 @@ declare const RpgItemSchema: z.ZodObject<{
24
24
  kind: z.ZodEnum<{
25
25
  layer: "layer";
26
26
  held: "held";
27
+ overlay: "overlay";
27
28
  }>;
28
29
  category: z.ZodString;
30
+ channels: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
+ assetCid: z.ZodString;
32
+ iconCid: z.ZodString;
29
33
  unlock: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
30
34
  kind: z.ZodLiteral<"hasRecord">;
31
35
  collection: z.ZodEnum<{
@@ -48,8 +52,8 @@ declare const RpgItemSchema: z.ZodObject<{
48
52
  type RpgItem = z.infer<typeof RpgItemSchema>;
49
53
  type RpgUnlock = z.infer<typeof RpgUnlockSchema>;
50
54
  /**
51
- * The Sifa item catalog for rpg.actor. PLACEHOLDER titles/categories until
52
- * rpg.actor transfers the real item cores.
55
+ * The Sifa item catalog for rpg.actor. Ids, titles, descriptions, kinds,
56
+ * categories, channels and image CIDs come from rpg.actor's item cores.
53
57
  */
54
58
  declare const RPG_ITEMS: readonly RpgItem[];
55
59
 
@@ -71,4 +75,21 @@ interface RpgUnlockResult {
71
75
  /** Evaluate every enabled item (ANY matching unlock earns it); disabled items are omitted. */
72
76
  declare function evaluateRpgUnlocks(signals: RpgUnlockSignals, items?: readonly RpgItem[]): RpgUnlockResult[];
73
77
 
74
- export { RPG_ITEMS, type RpgItem, RpgItemSchema, type RpgUnlock, type RpgUnlockResult, RpgUnlockSchema, type RpgUnlockSignals, evaluateRpgUnlocks };
78
+ /** Base URL of rpg.actor. */
79
+ declare const RPG_ACTOR_URL = "https://rpg.actor";
80
+ /**
81
+ * Record key of the `equipment.rpg.give` Sifa writes for an item. rpg.actor
82
+ * stores the accepted `equipment.rpg.item` under the same key, so this also
83
+ * identifies the item in the player's own account.
84
+ *
85
+ * The DID is used as-is: AT Protocol record keys allow `A-Za-z0-9 . - _ : ~`
86
+ * (https://atproto.com/specs/record-key), so the colons in `did:plc:` are
87
+ * valid. The format is already live in written gift records; do not change it.
88
+ */
89
+ declare function rpgGiveRkey(itemId: string, recipientDid: string): string;
90
+ /** The player's character page on rpg.actor, where pending gifts can be accepted. */
91
+ declare function rpgActorCharacterUrl(handleOrDid: string): string;
92
+ /** Deep link that opens the Wear action for an accepted Sifa item on the character page. */
93
+ declare function rpgActorWearUrl(handleOrDid: string, itemId: string, recipientDid: string): string;
94
+
95
+ export { RPG_ACTOR_URL, RPG_ITEMS, type RpgItem, RpgItemSchema, type RpgUnlock, type RpgUnlockResult, RpgUnlockSchema, type RpgUnlockSignals, evaluateRpgUnlocks, rpgActorCharacterUrl, rpgActorWearUrl, rpgGiveRkey };
@@ -24,8 +24,12 @@ declare const RpgItemSchema: z.ZodObject<{
24
24
  kind: z.ZodEnum<{
25
25
  layer: "layer";
26
26
  held: "held";
27
+ overlay: "overlay";
27
28
  }>;
28
29
  category: z.ZodString;
30
+ channels: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
+ assetCid: z.ZodString;
32
+ iconCid: z.ZodString;
29
33
  unlock: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
30
34
  kind: z.ZodLiteral<"hasRecord">;
31
35
  collection: z.ZodEnum<{
@@ -48,8 +52,8 @@ declare const RpgItemSchema: z.ZodObject<{
48
52
  type RpgItem = z.infer<typeof RpgItemSchema>;
49
53
  type RpgUnlock = z.infer<typeof RpgUnlockSchema>;
50
54
  /**
51
- * The Sifa item catalog for rpg.actor. PLACEHOLDER titles/categories until
52
- * rpg.actor transfers the real item cores.
55
+ * The Sifa item catalog for rpg.actor. Ids, titles, descriptions, kinds,
56
+ * categories, channels and image CIDs come from rpg.actor's item cores.
53
57
  */
54
58
  declare const RPG_ITEMS: readonly RpgItem[];
55
59
 
@@ -71,4 +75,21 @@ interface RpgUnlockResult {
71
75
  /** Evaluate every enabled item (ANY matching unlock earns it); disabled items are omitted. */
72
76
  declare function evaluateRpgUnlocks(signals: RpgUnlockSignals, items?: readonly RpgItem[]): RpgUnlockResult[];
73
77
 
74
- export { RPG_ITEMS, type RpgItem, RpgItemSchema, type RpgUnlock, type RpgUnlockResult, RpgUnlockSchema, type RpgUnlockSignals, evaluateRpgUnlocks };
78
+ /** Base URL of rpg.actor. */
79
+ declare const RPG_ACTOR_URL = "https://rpg.actor";
80
+ /**
81
+ * Record key of the `equipment.rpg.give` Sifa writes for an item. rpg.actor
82
+ * stores the accepted `equipment.rpg.item` under the same key, so this also
83
+ * identifies the item in the player's own account.
84
+ *
85
+ * The DID is used as-is: AT Protocol record keys allow `A-Za-z0-9 . - _ : ~`
86
+ * (https://atproto.com/specs/record-key), so the colons in `did:plc:` are
87
+ * valid. The format is already live in written gift records; do not change it.
88
+ */
89
+ declare function rpgGiveRkey(itemId: string, recipientDid: string): string;
90
+ /** The player's character page on rpg.actor, where pending gifts can be accepted. */
91
+ declare function rpgActorCharacterUrl(handleOrDid: string): string;
92
+ /** Deep link that opens the Wear action for an accepted Sifa item on the character page. */
93
+ declare function rpgActorWearUrl(handleOrDid: string, itemId: string, recipientDid: string): string;
94
+
95
+ export { RPG_ACTOR_URL, RPG_ITEMS, type RpgItem, RpgItemSchema, type RpgUnlock, type RpgUnlockResult, RpgUnlockSchema, type RpgUnlockSignals, evaluateRpgUnlocks, rpgActorCharacterUrl, rpgActorWearUrl, rpgGiveRkey };
package/dist/rpg/index.js CHANGED
@@ -5,10 +5,15 @@ import {
5
5
  RpgUnlockSchema
6
6
  } from "./catalog.js";
7
7
  import { evaluateRpgUnlocks } from "./unlocks.js";
8
+ import { RPG_ACTOR_URL, rpgActorCharacterUrl, rpgActorWearUrl, rpgGiveRkey } from "./links.js";
8
9
  export {
10
+ RPG_ACTOR_URL,
9
11
  RPG_ITEMS,
10
12
  RpgItemSchema,
11
13
  RpgUnlockSchema,
12
- evaluateRpgUnlocks
14
+ evaluateRpgUnlocks,
15
+ rpgActorCharacterUrl,
16
+ rpgActorWearUrl,
17
+ rpgGiveRkey
13
18
  };
14
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/rpg/index.ts"],"sourcesContent":["/**\n * `@singi-labs/sifa-sdk/rpg` -- the Sifa item catalog for rpg.actor and the\n * pure predicate that decides which items a profile has earned. No network\n * calls; safe to import anywhere.\n */\nexport {\n RPG_ITEMS,\n RpgItemSchema,\n RpgUnlockSchema,\n type RpgItem,\n type RpgUnlock,\n} from './catalog.js';\nexport { evaluateRpgUnlocks, type RpgUnlockResult, type RpgUnlockSignals } from './unlocks.js';\n"],"mappings":";AAKA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP,SAAS,0BAAuE;","names":[]}
1
+ {"version":3,"sources":["../../src/rpg/index.ts"],"sourcesContent":["/**\n * `@singi-labs/sifa-sdk/rpg` -- the Sifa item catalog for rpg.actor and the\n * pure predicate that decides which items a profile has earned. No network\n * calls; safe to import anywhere.\n */\nexport {\n RPG_ITEMS,\n RpgItemSchema,\n RpgUnlockSchema,\n type RpgItem,\n type RpgUnlock,\n} from './catalog.js';\nexport { evaluateRpgUnlocks, type RpgUnlockResult, type RpgUnlockSignals } from './unlocks.js';\nexport { RPG_ACTOR_URL, rpgActorCharacterUrl, rpgActorWearUrl, rpgGiveRkey } from './links.js';\n"],"mappings":";AAKA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP,SAAS,0BAAuE;AAChF,SAAS,eAAe,sBAAsB,iBAAiB,mBAAmB;","names":[]}
@@ -0,0 +1,18 @@
1
+ // src/rpg/links.ts
2
+ var RPG_ACTOR_URL = "https://rpg.actor";
3
+ function rpgGiveRkey(itemId, recipientDid) {
4
+ return `sifa-${itemId}-${recipientDid}`;
5
+ }
6
+ function rpgActorCharacterUrl(handleOrDid) {
7
+ return `${RPG_ACTOR_URL}/${encodeURIComponent(handleOrDid.replace(/^@+/, ""))}`;
8
+ }
9
+ function rpgActorWearUrl(handleOrDid, itemId, recipientDid) {
10
+ return `${rpgActorCharacterUrl(handleOrDid)}?wear=${encodeURIComponent(rpgGiveRkey(itemId, recipientDid))}`;
11
+ }
12
+ export {
13
+ RPG_ACTOR_URL,
14
+ rpgActorCharacterUrl,
15
+ rpgActorWearUrl,
16
+ rpgGiveRkey
17
+ };
18
+ //# sourceMappingURL=links.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/rpg/links.ts"],"sourcesContent":["/** Base URL of rpg.actor. */\nexport const RPG_ACTOR_URL = 'https://rpg.actor';\n\n/**\n * Record key of the `equipment.rpg.give` Sifa writes for an item. rpg.actor\n * stores the accepted `equipment.rpg.item` under the same key, so this also\n * identifies the item in the player's own account.\n *\n * The DID is used as-is: AT Protocol record keys allow `A-Za-z0-9 . - _ : ~`\n * (https://atproto.com/specs/record-key), so the colons in `did:plc:` are\n * valid. The format is already live in written gift records; do not change it.\n */\nexport function rpgGiveRkey(itemId: string, recipientDid: string): string {\n return `sifa-${itemId}-${recipientDid}`;\n}\n\n/** The player's character page on rpg.actor, where pending gifts can be accepted. */\nexport function rpgActorCharacterUrl(handleOrDid: string): string {\n return `${RPG_ACTOR_URL}/${encodeURIComponent(handleOrDid.replace(/^@+/, ''))}`;\n}\n\n/** Deep link that opens the Wear action for an accepted Sifa item on the character page. */\nexport function rpgActorWearUrl(handleOrDid: string, itemId: string, recipientDid: string): string {\n return `${rpgActorCharacterUrl(handleOrDid)}?wear=${encodeURIComponent(rpgGiveRkey(itemId, recipientDid))}`;\n}\n"],"mappings":";AACO,IAAM,gBAAgB;AAWtB,SAAS,YAAY,QAAgB,cAA8B;AACxE,SAAO,QAAQ,MAAM,IAAI,YAAY;AACvC;AAGO,SAAS,qBAAqB,aAA6B;AAChE,SAAO,GAAG,aAAa,IAAI,mBAAmB,YAAY,QAAQ,OAAO,EAAE,CAAC,CAAC;AAC/E;AAGO,SAAS,gBAAgB,aAAqB,QAAgB,cAA8B;AACjG,SAAO,GAAG,qBAAqB,WAAW,CAAC,SAAS,mBAAmB,YAAY,QAAQ,YAAY,CAAC,CAAC;AAC3G;","names":[]}
@@ -39,7 +39,7 @@ declare function useSifaConfig(): SifaApiConfig;
39
39
  * Pass `{ enabled: false }` (or an empty `handleOrDid`) to defer the
40
40
  * fetch.
41
41
  */
42
- declare function useProfile(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<Profile | null, Error, Profile | null, ReturnType<typeof sifaQueryKeys.profile.byHandle>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<Profile | null>, Error>;
42
+ declare function useProfile(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<Profile | null, Error, Profile | null, ReturnType<typeof sifaQueryKeys.profile.byHandle>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<Profile | null, Error>;
43
43
  /**
44
44
  * React hook for a profile's AT Fund link. Returns `null` data on error
45
45
  * or when the profile has no link configured.
@@ -53,7 +53,7 @@ declare function useAtFundLink(did: string | undefined | null, options?: Omit<Us
53
53
  *
54
54
  * Pass `{ enabled: false }` (or an empty `actor`) to defer the fetch.
55
55
  */
56
- declare function useGetProfileView(actor: string | undefined | null, options?: Omit<UseQueryOptions<ProfileView | null, Error, ProfileView | null, ReturnType<typeof sifaQueryKeys.profile.view>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ProfileView | null>, Error>;
56
+ declare function useGetProfileView(actor: string | undefined | null, options?: Omit<UseQueryOptions<ProfileView | null, Error, ProfileView | null, ReturnType<typeof sifaQueryKeys.profile.view>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ProfileView | null, Error>;
57
57
 
58
58
  /**
59
59
  * React hook for updating the authenticated user's profile self record.
@@ -199,7 +199,7 @@ declare function useUpdateProfileLocation(ownerHandleOrDid: string, options?: Om
199
199
  declare function useDeleteProfileLocation(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
200
200
 
201
201
  /** React hook for reading the external-accounts list. Returns `[]` data on error. */
202
- declare function useExternalAccounts(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<ExternalAccount[], Error, ExternalAccount[], ReturnType<typeof sifaQueryKeys.profile.externalAccounts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ExternalAccount[]>, Error>;
202
+ declare function useExternalAccounts(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<ExternalAccount[], Error, ExternalAccount[], ReturnType<typeof sifaQueryKeys.profile.externalAccounts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ExternalAccount[], Error>;
203
203
  /** React hook for creating an external account. */
204
204
  declare function useCreateExternalAccount(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<CreateExternalAccountResult, Error, ExternalAccountInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateExternalAccountResult, Error, ExternalAccountInput, unknown>;
205
205
  /** Variables for {@link useUpdateExternalAccount}. */
@@ -232,7 +232,7 @@ declare function useCreateEndorsement(endorsedHandleOrDid: string | null, option
232
232
  * page when signed out or on error, so callers can render "nothing pending"
233
233
  * without special-casing either.
234
234
  */
235
- declare function usePendingConfirmations(options?: Omit<UseQueryOptions<PendingConfirmationsPage, Error, PendingConfirmationsPage, ReturnType<typeof sifaQueryKeys.confirmation.pending>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<PendingConfirmationsPage>, Error>;
235
+ declare function usePendingConfirmations(options?: Omit<UseQueryOptions<PendingConfirmationsPage, Error, PendingConfirmationsPage, ReturnType<typeof sifaQueryKeys.confirmation.pending>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<PendingConfirmationsPage, Error>;
236
236
  /**
237
237
  * Confirmations the signed-in user has already given, with whether each has
238
238
  * drifted since. Returns an empty list when signed out or on error.
@@ -241,9 +241,9 @@ declare function useGivenConfirmations(options?: Omit<UseQueryOptions<{
241
241
  confirmations: GivenConfirmation[];
242
242
  }, Error, {
243
243
  confirmations: GivenConfirmation[];
244
- }, ReturnType<typeof sifaQueryKeys.confirmation.given>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<{
244
+ }, ReturnType<typeof sifaQueryKeys.confirmation.given>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<{
245
245
  confirmations: GivenConfirmation[];
246
- }>, Error>;
246
+ }, Error>;
247
247
  /**
248
248
  * Affirm a claim naming you. On success it leaves the inbox and starts
249
249
  * rendering with your name and avatar on the claimer's profile, so both the
@@ -271,14 +271,14 @@ declare function useRevokeConfirmation(claimerHandleOrDid: string | null, option
271
271
  * waiting" without special-casing. See {@link InboxCounts} for what `tasks`
272
272
  * covers and why the two numbers are disjoint.
273
273
  */
274
- declare function useInboxCounts(options?: Omit<UseQueryOptions<InboxCounts, Error, InboxCounts, ReturnType<typeof sifaQueryKeys.inbox.counts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<InboxCounts>, Error>;
274
+ declare function useInboxCounts(options?: Omit<UseQueryOptions<InboxCounts, Error, InboxCounts, ReturnType<typeof sifaQueryKeys.inbox.counts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<InboxCounts, Error>;
275
275
 
276
276
  /**
277
277
  * Positions on the signed-in user's profile whose company is not yet linked to a
278
278
  * canonical entity, for the unified Inbox. Returns an empty list when signed out
279
279
  * or on error.
280
280
  */
281
- declare function useUnlinkedPositions(options?: Omit<UseQueryOptions<UnlinkedPositionsResult, Error, UnlinkedPositionsResult, ReturnType<typeof sifaQueryKeys.position.unlinked>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<UnlinkedPositionsResult>, Error>;
281
+ declare function useUnlinkedPositions(options?: Omit<UseQueryOptions<UnlinkedPositionsResult, Error, UnlinkedPositionsResult, ReturnType<typeof sifaQueryKeys.position.unlinked>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<UnlinkedPositionsResult, Error>;
282
282
  /**
283
283
  * Dismiss the unlinked-company task for one position. On success the position
284
284
  * leaves the Inbox and the bell count, so both the unlinked-positions list and
@@ -291,7 +291,7 @@ declare function useDismissUnlinkedPosition(options?: Omit<UseMutationOptions<Wr
291
291
  * missing), for the unified Inbox checklist. Returns a complete result when
292
292
  * signed out or on error.
293
293
  */
294
- declare function useProfileCompleteness(options?: Omit<UseQueryOptions<ProfileCompleteness, Error, ProfileCompleteness, ReturnType<typeof sifaQueryKeys.profile.completeness>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ProfileCompleteness>, Error>;
294
+ declare function useProfileCompleteness(options?: Omit<UseQueryOptions<ProfileCompleteness, Error, ProfileCompleteness, ReturnType<typeof sifaQueryKeys.profile.completeness>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ProfileCompleteness, Error>;
295
295
 
296
296
  /** React hook for hiding a keytrace claim. Variable: the claim `rkey` string. */
297
297
  declare function useHideKeytraceClaim(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
@@ -339,7 +339,7 @@ declare const useBulkUnhideProfileItems: (ownerHandleOrDid: string, options?: Om
339
339
  * Everything the authenticated user has hidden from their activity, for the
340
340
  * unhide list in settings.
341
341
  */
342
- declare function useHiddenActivityItems(options?: Omit<UseQueryOptions<HiddenActivityItem[], Error, HiddenActivityItem[], ReturnType<typeof sifaQueryKeys.activity.hiddenItems>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<HiddenActivityItem[]>, Error>;
342
+ declare function useHiddenActivityItems(options?: Omit<UseQueryOptions<HiddenActivityItem[], Error, HiddenActivityItem[], ReturnType<typeof sifaQueryKeys.activity.hiddenItems>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<HiddenActivityItem[], Error>;
343
343
  /**
344
344
  * Hide one activity item from the caller's own profile. The record stays on
345
345
  * their PDS; only its appearance on sifa.id is suppressed.
@@ -351,39 +351,39 @@ declare const useUnhideActivityItem: (options?: Omit<UseMutationOptions<WriteRes
351
351
  /**
352
352
  * React hook for the public homepage stats. Returns `null` data on error.
353
353
  */
354
- declare function useStats(options?: Omit<UseQueryOptions<StatsResponse | null, Error, StatsResponse | null, ReturnType<typeof sifaQueryKeys.stats.homepage>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<StatsResponse | null>, Error>;
354
+ declare function useStats(options?: Omit<UseQueryOptions<StatsResponse | null, Error, StatsResponse | null, ReturnType<typeof sifaQueryKeys.stats.homepage>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<StatsResponse | null, Error>;
355
355
 
356
356
  /** React hook for the public app registry. */
357
- declare function useAppsRegistry(options?: Omit<UseQueryOptions<AppRegistryEntry[], Error, AppRegistryEntry[], ReturnType<typeof sifaQueryKeys.apps.registry>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<AppRegistryEntry[]>, Error>;
357
+ declare function useAppsRegistry(options?: Omit<UseQueryOptions<AppRegistryEntry[], Error, AppRegistryEntry[], ReturnType<typeof sifaQueryKeys.apps.registry>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<AppRegistryEntry[], Error>;
358
358
  /**
359
359
  * React hook for the authenticated user's hidden-apps list. Requires a
360
360
  * client-side session (relies on `credentials: 'include'`).
361
361
  */
362
- declare function useHiddenApps(options?: Omit<UseQueryOptions<HiddenApp[], Error, HiddenApp[], ReturnType<typeof sifaQueryKeys.apps.hidden>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<HiddenApp[]>, Error>;
362
+ declare function useHiddenApps(options?: Omit<UseQueryOptions<HiddenApp[], Error, HiddenApp[], ReturnType<typeof sifaQueryKeys.apps.hidden>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<HiddenApp[], Error>;
363
363
 
364
364
  /**
365
365
  * React hook for the accounts attached to this browser (the account switcher).
366
366
  * Requires a client-side session (relies on `credentials: 'include'`).
367
367
  * Returns `[]` when unauthenticated.
368
368
  */
369
- declare function useAccounts(options?: Omit<UseQueryOptions<AccountSummary[], Error, AccountSummary[], ReturnType<typeof sifaQueryKeys.auth.accounts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<AccountSummary[]>, Error>;
369
+ declare function useAccounts(options?: Omit<UseQueryOptions<AccountSummary[], Error, AccountSummary[], ReturnType<typeof sifaQueryKeys.auth.accounts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<AccountSummary[], Error>;
370
370
 
371
- declare function useSearchProfiles(filters: SearchFilters, options?: Omit<UseQueryOptions<SearchResponse, Error, SearchResponse, ReturnType<typeof sifaQueryKeys.search.profiles>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SearchResponse>, Error>;
372
- declare function useSkillSuggestions(query: string, options?: Omit<UseQueryOptions<SkillSearchResult[], Error, SkillSearchResult[], ReturnType<typeof sifaQueryKeys.search.skills>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SkillSearchResult[]>, Error>;
371
+ declare function useSearchProfiles(filters: SearchFilters, options?: Omit<UseQueryOptions<SearchResponse, Error, SearchResponse, ReturnType<typeof sifaQueryKeys.search.profiles>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<SearchResponse, Error>;
372
+ declare function useSkillSuggestions(query: string, options?: Omit<UseQueryOptions<SkillSearchResult[], Error, SkillSearchResult[], ReturnType<typeof sifaQueryKeys.search.skills>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<SkillSearchResult[], Error>;
373
373
  /**
374
374
  * Canonical-skill search hook. Hits `/api/skills/search` (the
375
375
  * canonical-skills DB lookup, distinct from {@link useSkillSuggestions}'s
376
376
  * `/api/search/skills` profile-skill typeahead). Skips the network call
377
377
  * when the query is empty.
378
378
  */
379
- declare function useCanonicalSkillSearch(query: string, limit?: number, options?: Omit<UseQueryOptions<SkillSuggestion[], Error, SkillSuggestion[], ReturnType<typeof sifaQueryKeys.search.canonicalSkills>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SkillSuggestion[]>, Error>;
380
- declare function useSearchFilters(options?: Omit<UseQueryOptions<FilterOptions, Error, FilterOptions, ReturnType<typeof sifaQueryKeys.search.filters>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FilterOptions>, Error>;
379
+ declare function useCanonicalSkillSearch(query: string, limit?: number, options?: Omit<UseQueryOptions<SkillSuggestion[], Error, SkillSuggestion[], ReturnType<typeof sifaQueryKeys.search.canonicalSkills>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<SkillSuggestion[], Error>;
380
+ declare function useSearchFilters(options?: Omit<UseQueryOptions<FilterOptions, Error, FilterOptions, ReturnType<typeof sifaQueryKeys.search.filters>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<FilterOptions, Error>;
381
381
  /**
382
382
  * Company search (workspace#299). Separate hook from `useSearchProfiles` so a
383
383
  * blended results page can render each category as it resolves instead of
384
384
  * waiting for the slowest.
385
385
  */
386
- declare function useSearchCompanies(filters: CompanySearchFilters, options?: Omit<UseQueryOptions<CompanySearchResponse, Error, CompanySearchResponse, ReturnType<typeof sifaQueryKeys.search.companies>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<CompanySearchResponse>, Error>;
386
+ declare function useSearchCompanies(filters: CompanySearchFilters, options?: Omit<UseQueryOptions<CompanySearchResponse, Error, CompanySearchResponse, ReturnType<typeof sifaQueryKeys.search.companies>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<CompanySearchResponse, Error>;
387
387
 
388
388
  /** Debounce a rapidly-changing value (e.g. a typeahead input). */
389
389
  declare function useDebouncedValue<T>(value: T, delayMs?: number): T;
@@ -399,7 +399,7 @@ interface UseEntitySearchOptions {
399
399
  * consumers can pass the raw input value on every keystroke. Skips the network
400
400
  * call while the (trimmed, debounced) query is empty.
401
401
  */
402
- declare function useEntitySearch(query: string, opts?: UseEntitySearchOptions, queryOptions?: Omit<UseQueryOptions<EntitySearchResponse, Error, EntitySearchResponse, ReturnType<typeof sifaQueryKeys.entity.search>>, 'queryKey' | 'queryFn' | 'enabled'>): _tanstack_react_query.UseQueryResult<NoInfer<{
402
+ declare function useEntitySearch(query: string, opts?: UseEntitySearchOptions, queryOptions?: Omit<UseQueryOptions<EntitySearchResponse, Error, EntitySearchResponse, ReturnType<typeof sifaQueryKeys.entity.search>>, 'queryKey' | 'queryFn' | 'enabled'>): _tanstack_react_query.UseQueryResult<{
403
403
  results: ({
404
404
  kind: string;
405
405
  name: string;
@@ -420,7 +420,7 @@ declare function useEntitySearch(query: string, opts?: UseEntitySearchOptions, q
420
420
  pdlId: string;
421
421
  })[];
422
422
  hasMore: boolean;
423
- }>, Error>;
423
+ }, Error>;
424
424
  /** Mutation: record a selection (promote a PDL row or bump an entity). */
425
425
  declare function useSelectEntity(options?: Omit<UseMutationOptions<EntitySelectResponse, Error, EntitySelectRequest>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<{
426
426
  entityId: number;
@@ -512,10 +512,10 @@ declare function useMintEntityDomain(options?: Omit<UseMutationOptions<EntityMin
512
512
 
513
513
  declare function useSimilarProfiles(did: string | undefined | null, opts?: {
514
514
  limit?: number;
515
- }, options?: Omit<UseQueryOptions<SimilarProfile[], Error, SimilarProfile[], ReturnType<typeof sifaQueryKeys.discovery.similar>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SimilarProfile[]>, Error>;
516
- declare function useSuggestions(opts?: Omit<FetchSuggestionsOptions, keyof Omit<FetchSuggestionsOptions, 'source' | 'includeDismissed' | 'cursor' | 'limit'>>, options?: Omit<UseQueryOptions<SuggestionsResponse, Error, SuggestionsResponse, ReturnType<typeof sifaQueryKeys.discovery.suggestions>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SuggestionsResponse>, Error>;
515
+ }, options?: Omit<UseQueryOptions<SimilarProfile[], Error, SimilarProfile[], ReturnType<typeof sifaQueryKeys.discovery.similar>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<SimilarProfile[], Error>;
516
+ declare function useSuggestions(opts?: Omit<FetchSuggestionsOptions, keyof Omit<FetchSuggestionsOptions, 'source' | 'includeDismissed' | 'cursor' | 'limit'>>, options?: Omit<UseQueryOptions<SuggestionsResponse, Error, SuggestionsResponse, ReturnType<typeof sifaQueryKeys.discovery.suggestions>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<SuggestionsResponse, Error>;
517
517
  declare function useSuggestionCount(since?: string, options?: Omit<UseQueryOptions<number, Error, number, ReturnType<typeof sifaQueryKeys.discovery.suggestionCount>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<number, Error>;
518
- declare function useFeaturedProfile(options?: Omit<UseQueryOptions<FeaturedProfile | null, Error, FeaturedProfile | null, ReturnType<typeof sifaQueryKeys.discovery.featured>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FeaturedProfile | null>, Error>;
518
+ declare function useFeaturedProfile(options?: Omit<UseQueryOptions<FeaturedProfile | null, Error, FeaturedProfile | null, ReturnType<typeof sifaQueryKeys.discovery.featured>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<FeaturedProfile | null, Error>;
519
519
 
520
520
  /**
521
521
  * Legacy "people I follow" query. Kept as-is for back-compat with sifa-web
@@ -527,7 +527,7 @@ declare function useFollowing(opts?: {
527
527
  source?: string;
528
528
  cursor?: string;
529
529
  limit?: number;
530
- }, options?: Omit<UseQueryOptions<FollowingResponse, Error, FollowingResponse, ReturnType<typeof sifaQueryKeys.follow.following>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FollowingResponse>, Error>;
530
+ }, options?: Omit<UseQueryOptions<FollowingResponse, Error, FollowingResponse, ReturnType<typeof sifaQueryKeys.follow.following>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<FollowingResponse, Error>;
531
531
  /** Variables for {@link useFollow}. */
532
532
  interface FollowVariables {
533
533
  handle: string;
@@ -568,14 +568,14 @@ declare function useFollowingList(handle: string, opts?: Omit<FetchFollowListOpt
568
568
  * See {@link fetchFollowingFeed}. v1 is a finite first page (no infinite scroll
569
569
  * yet). The native app must set `config.getAuthToken`; web uses its cookie.
570
570
  */
571
- declare function useFollowingFeed(opts?: FetchFollowingFeedOptions, options?: Omit<UseQueryOptions<FollowingFeedResponse, Error, FollowingFeedResponse, ReturnType<typeof sifaQueryKeys.follow.feed>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FollowingFeedResponse>, Error>;
571
+ declare function useFollowingFeed(opts?: FetchFollowingFeedOptions, options?: Omit<UseQueryOptions<FollowingFeedResponse, Error, FollowingFeedResponse, ReturnType<typeof sifaQueryKeys.follow.feed>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<FollowingFeedResponse, Error>;
572
572
  /**
573
573
  * When the cached following feed for the same query was built, and a
574
574
  * fingerprint of its items (or null). Poll it while a `stale` feed is shown,
575
575
  * e.g. with `refetchInterval`, and offer the newer feed once
576
576
  * {@link isNewerFollowingFeed} is true.
577
577
  */
578
- declare function useFollowingFeedVersion(opts?: FetchFollowingFeedOptions, options?: Omit<UseQueryOptions<FollowingFeedVersion | null, Error, FollowingFeedVersion | null, ReturnType<typeof sifaQueryKeys.follow.feedVersion>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FollowingFeedVersion | null>, Error>;
578
+ declare function useFollowingFeedVersion(opts?: FetchFollowingFeedOptions, options?: Omit<UseQueryOptions<FollowingFeedVersion | null, Error, FollowingFeedVersion | null, ReturnType<typeof sifaQueryKeys.follow.feedVersion>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<FollowingFeedVersion | null, Error>;
579
579
 
580
580
  /**
581
581
  * Infinite-query hook for the mutuals list of `handleOrDid`. Backed by
@@ -595,7 +595,7 @@ declare function useBlueskySuggestions(opts?: Omit<FetchFollowProfilePageOptions
595
595
  * Read hook for the admin allowlist of a given feature flag. Admin-gated on
596
596
  * the server; non-admins get an empty list (the fetcher swallows 403).
597
597
  */
598
- declare function useFeatureAllowlist(flag: FeatureFlag, options?: Omit<UseQueryOptions<FeatureAllowlistResponse, Error, FeatureAllowlistResponse, ReturnType<typeof sifaQueryKeys.admin.featureAllowlist>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FeatureAllowlistResponse>, Error>;
598
+ declare function useFeatureAllowlist(flag: FeatureFlag, options?: Omit<UseQueryOptions<FeatureAllowlistResponse, Error, FeatureAllowlistResponse, ReturnType<typeof sifaQueryKeys.admin.featureAllowlist>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<FeatureAllowlistResponse, Error>;
599
599
  /** Snapshot of the previous cache entry; returned from `onMutate` for rollback. */
600
600
  interface AllowlistMutationContext {
601
601
  previous: FeatureAllowlistResponse | undefined;
@@ -629,11 +629,11 @@ declare function useRemoveFeatureAllowlist(flag: FeatureFlag, options?: Omit<Use
629
629
  *
630
630
  * Admin-gated on the server; non-admins get an error rather than zeroes.
631
631
  */
632
- declare function useAdminReviewQueues(options?: Omit<UseQueryOptions<AdminReviewQueues, Error, AdminReviewQueues, ReturnType<typeof sifaQueryKeys.admin.reviewQueues>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<AdminReviewQueues>, Error>;
632
+ declare function useAdminReviewQueues(options?: Omit<UseQueryOptions<AdminReviewQueues, Error, AdminReviewQueues, ReturnType<typeof sifaQueryKeys.admin.reviewQueues>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<AdminReviewQueues, Error>;
633
633
 
634
- declare function useHeatmapData(handleOrDid: string | undefined | null, days: number, options?: Omit<UseQueryOptions<HeatmapResponse | null, Error, HeatmapResponse | null, ReturnType<typeof sifaQueryKeys.activity.heatmap>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<HeatmapResponse | null>, Error>;
635
- declare function useActivityTeaser(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<ActivityTeaserResponse | null, Error, ActivityTeaserResponse | null, ReturnType<typeof sifaQueryKeys.activity.teaser>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ActivityTeaserResponse | null>, Error>;
636
- declare function useActivityFeed(handleOrDid: string | undefined | null, opts?: Pick<FetchActivityFeedOptions, 'category' | 'limit' | 'cursor'>, options?: Omit<UseQueryOptions<ActivityFeedResponse | null, Error, ActivityFeedResponse | null, ReturnType<typeof sifaQueryKeys.activity.feed>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ActivityFeedResponse | null>, Error>;
634
+ declare function useHeatmapData(handleOrDid: string | undefined | null, days: number, options?: Omit<UseQueryOptions<HeatmapResponse | null, Error, HeatmapResponse | null, ReturnType<typeof sifaQueryKeys.activity.heatmap>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<HeatmapResponse | null, Error>;
635
+ declare function useActivityTeaser(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<ActivityTeaserResponse | null, Error, ActivityTeaserResponse | null, ReturnType<typeof sifaQueryKeys.activity.teaser>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ActivityTeaserResponse | null, Error>;
636
+ declare function useActivityFeed(handleOrDid: string | undefined | null, opts?: Pick<FetchActivityFeedOptions, 'category' | 'limit' | 'cursor'>, options?: Omit<UseQueryOptions<ActivityFeedResponse | null, Error, ActivityFeedResponse | null, ReturnType<typeof sifaQueryKeys.activity.feed>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ActivityFeedResponse | null, Error>;
637
637
 
638
638
  interface UseMyGithubPullRequestsParams {
639
639
  limit?: number;
@@ -643,7 +643,7 @@ interface UseMyGithubPullRequestsParams {
643
643
  * The authenticated viewer's own ingested merged PRs (newest first). Auth-scoped
644
644
  * via the session cookie. Backs the sifa-web GitHub importer (issue #302).
645
645
  */
646
- declare function useMyGithubPullRequests(params?: UseMyGithubPullRequestsParams, options?: Omit<UseQueryOptions<MyGithubPullRequestsResponse, Error, MyGithubPullRequestsResponse, ReturnType<typeof sifaQueryKeys.github.myPullRequests>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<{
646
+ declare function useMyGithubPullRequests(params?: UseMyGithubPullRequestsParams, options?: Omit<UseQueryOptions<MyGithubPullRequestsResponse, Error, MyGithubPullRequestsResponse, ReturnType<typeof sifaQueryKeys.github.myPullRequests>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<{
647
647
  items: {
648
648
  prNumber: number;
649
649
  repoOwner: string;
@@ -656,7 +656,7 @@ declare function useMyGithubPullRequests(params?: UseMyGithubPullRequestsParams,
656
656
  mergedAt: string;
657
657
  }[];
658
658
  hasMore: boolean;
659
- }>, Error>;
659
+ }, Error>;
660
660
 
661
661
  /** Count of confirmed endorsements for a DID. Returns 0 on error. */
662
662
  declare function useEndorsementCount(did: string | undefined | null, options?: Omit<UseQueryOptions<number, Error, number, ReturnType<typeof sifaQueryKeys.endorsement.count>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<number, Error>;
@@ -671,9 +671,9 @@ declare function useNetworkStreamCount(did: string | undefined | null, options?:
671
671
  * Batch-look up reaction status for multiple URIs. Skips the network call
672
672
  * when `uris` is empty.
673
673
  */
674
- declare function useReactionStatus(uris: string[], options?: Omit<UseQueryOptions<Record<string, ReactionStatus> | null, Error, Record<string, ReactionStatus> | null, ReturnType<typeof sifaQueryKeys.reactions.status>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<Record<string, ReactionStatus> | null>, Error>;
674
+ declare function useReactionStatus(uris: string[], options?: Omit<UseQueryOptions<Record<string, ReactionStatus> | null, Error, Record<string, ReactionStatus> | null, ReturnType<typeof sifaQueryKeys.reactions.status>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<Record<string, ReactionStatus> | null, Error>;
675
675
  /** Check whether the authenticated viewer has an account on the given app. */
676
- declare function useAppAccountCheck(appId: string | undefined | null, options?: Omit<UseQueryOptions<AccountCheckResult | null, Error, AccountCheckResult | null, ReturnType<typeof sifaQueryKeys.reactions.accountCheck>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<AccountCheckResult | null>, Error>;
676
+ declare function useAppAccountCheck(appId: string | undefined | null, options?: Omit<UseQueryOptions<AccountCheckResult | null, Error, AccountCheckResult | null, ReturnType<typeof sifaQueryKeys.reactions.accountCheck>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<AccountCheckResult | null, Error>;
677
677
 
678
678
  /** Variables for {@link useCreateReaction}. */
679
679
  interface CreateReactionVariables {
@@ -713,9 +713,9 @@ interface DeleteReactionVariables {
713
713
  declare function useDeleteReaction(options?: Omit<UseMutationOptions<WriteResult, Error, DeleteReactionVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DeleteReactionVariables, unknown>;
714
714
 
715
715
  /** Public roadmap vote tallies. Returns `{}` data on error. */
716
- declare function useRoadmapVotes(options?: Omit<UseQueryOptions<RoadmapVotesResponse, Error, RoadmapVotesResponse, ReturnType<typeof sifaQueryKeys.roadmap.votes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<RoadmapVotesResponse>, Error>;
716
+ declare function useRoadmapVotes(options?: Omit<UseQueryOptions<RoadmapVotesResponse, Error, RoadmapVotesResponse, ReturnType<typeof sifaQueryKeys.roadmap.votes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<RoadmapVotesResponse, Error>;
717
717
  /** Roadmap items the authenticated viewer has voted on. Returns `[]` data on error. */
718
- declare function useMyRoadmapVotes(options?: Omit<UseQueryOptions<string[], Error, string[], ReturnType<typeof sifaQueryKeys.roadmap.myVotes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<string[]>, Error>;
718
+ declare function useMyRoadmapVotes(options?: Omit<UseQueryOptions<string[], Error, string[], ReturnType<typeof sifaQueryKeys.roadmap.myVotes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<string[], Error>;
719
719
 
720
720
  /**
721
721
  * React hook for casting a roadmap vote. Variable: the item key.
@@ -736,7 +736,7 @@ declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteRe
736
736
  * and the grant changes underneath this hook when the user returns from the
737
737
  * consent screen. A stale "no gaps" here is the failure this exists to prevent.
738
738
  */
739
- declare function useWipePreview(options?: Omit<UseQueryOptions<WipePreview, Error, WipePreview, ReturnType<typeof sifaQueryKeys.destructive.wipePreview>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<WipePreview>, Error>;
739
+ declare function useWipePreview(options?: Omit<UseQueryOptions<WipePreview, Error, WipePreview, ReturnType<typeof sifaQueryKeys.destructive.wipePreview>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<WipePreview, Error>;
740
740
  /**
741
741
  * React hook for resetting the authenticated user's Sifa profile.
742
742
  * Variable: `deletePdsData` boolean.
@@ -762,7 +762,7 @@ declare function useDeleteAccount(options?: Omit<UseMutationOptions<DeleteAccoun
762
762
  * it again from cache. The server caches the PDS read briefly, which is where
763
763
  * that cost belongs.
764
764
  */
765
- declare function useRepoInventory(options?: Omit<UseQueryOptions<RepoInventory, Error, RepoInventory, ReturnType<typeof sifaQueryKeys.repoInventory.list>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<RepoInventory>, Error>;
765
+ declare function useRepoInventory(options?: Omit<UseQueryOptions<RepoInventory, Error, RepoInventory, ReturnType<typeof sifaQueryKeys.repoInventory.list>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<RepoInventory, Error>;
766
766
  /**
767
767
  * Delete records from the authenticated user's repo.
768
768
  *
@@ -787,7 +787,7 @@ declare function useDeleteRepoRecords(options?: Omit<UseMutationOptions<RepoDele
787
787
  * `OrgFloorVerdict | null` (`null` when the profile is missing or predates the
788
788
  * `org` field).
789
789
  */
790
- declare function useOrgProfile(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<Profile | null, Error, OrgFloorVerdict | null, ReturnType<typeof sifaQueryKeys.profile.byHandle>>, 'queryKey' | 'queryFn' | 'select'>): _tanstack_react_query.UseQueryResult<NoInfer<OrgFloorVerdict | null>, Error>;
790
+ declare function useOrgProfile(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<Profile | null, Error, OrgFloorVerdict | null, ReturnType<typeof sifaQueryKeys.profile.byHandle>>, 'queryKey' | 'queryFn' | 'select'>): _tanstack_react_query.UseQueryResult<OrgFloorVerdict | null, Error>;
791
791
 
792
792
  type OrgClaimMutationResult = WriteResult<Partial<OrgClaimResult>>;
793
793
  /**