@singi-labs/sifa-sdk 0.19.73 → 0.19.74
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{network-map-DfXwB2Eq.d.cts → network-map-BRBzAHrT.d.cts} +2 -0
- package/dist/{network-map-D-VXi2yc.d.ts → network-map-DIUQSB0r.d.ts} +2 -0
- package/dist/query/fetchers/index.cjs +5 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +1 -1
- package/dist/query/fetchers/index.d.ts +1 -1
- package/dist/query/fetchers/rpg.js +5 -0
- package/dist/query/fetchers/rpg.js.map +1 -1
- package/dist/query/index.cjs +5 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +2 -2
- package/dist/query/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7250,7 +7250,7 @@ function describeSifaRecord(collection, value) {
|
|
|
7250
7250
|
}
|
|
7251
7251
|
|
|
7252
7252
|
// src/index.ts
|
|
7253
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
7253
|
+
var SIFA_SDK_VERSION = "0.19.74";
|
|
7254
7254
|
|
|
7255
7255
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
7256
7256
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
package/dist/index.js
CHANGED
|
@@ -357,7 +357,7 @@ import {
|
|
|
357
357
|
roadmapIssueUrl
|
|
358
358
|
} from "./roadmap/index.js";
|
|
359
359
|
import { SIFA_REPO_GROUPS, describeSifaRecord, repoGroupForCollection } from "./repo/index.js";
|
|
360
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
360
|
+
var SIFA_SDK_VERSION = "0.19.74";
|
|
361
361
|
export {
|
|
362
362
|
ACTIVITY_TIERS,
|
|
363
363
|
ACTIVITY_VERBS,
|
|
@@ -402,6 +402,7 @@ declare const RpgItemStatusSchema: z.ZodObject<{
|
|
|
402
402
|
locked: "locked";
|
|
403
403
|
given: "given";
|
|
404
404
|
}>;
|
|
405
|
+
worn: z.ZodDefault<z.ZodBoolean>;
|
|
405
406
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
406
407
|
}, z.core.$strip>;
|
|
407
408
|
type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
|
|
@@ -421,6 +422,7 @@ declare const RpgStatusResponseSchema: z.ZodObject<{
|
|
|
421
422
|
locked: "locked";
|
|
422
423
|
given: "given";
|
|
423
424
|
}>;
|
|
425
|
+
worn: z.ZodDefault<z.ZodBoolean>;
|
|
424
426
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
425
427
|
}, z.core.$strip>>;
|
|
426
428
|
}, z.core.$strip>;
|
|
@@ -402,6 +402,7 @@ declare const RpgItemStatusSchema: z.ZodObject<{
|
|
|
402
402
|
locked: "locked";
|
|
403
403
|
given: "given";
|
|
404
404
|
}>;
|
|
405
|
+
worn: z.ZodDefault<z.ZodBoolean>;
|
|
405
406
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
406
407
|
}, z.core.$strip>;
|
|
407
408
|
type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
|
|
@@ -421,6 +422,7 @@ declare const RpgStatusResponseSchema: z.ZodObject<{
|
|
|
421
422
|
locked: "locked";
|
|
422
423
|
given: "given";
|
|
423
424
|
}>;
|
|
425
|
+
worn: z.ZodDefault<z.ZodBoolean>;
|
|
424
426
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
425
427
|
}, z.core.$strip>>;
|
|
426
428
|
}, z.core.$strip>;
|
|
@@ -1345,6 +1345,11 @@ var RpgItemStatusSchema = zod.z.object({
|
|
|
1345
1345
|
category: zod.z.string(),
|
|
1346
1346
|
earned: zod.z.boolean(),
|
|
1347
1347
|
state: zod.z.enum(["locked", "earned", "given", "claimed"]),
|
|
1348
|
+
/**
|
|
1349
|
+
* True when the viewer's rpg.actor character wears this (claimed) item.
|
|
1350
|
+
* Defaults to false for an older API that does not send it.
|
|
1351
|
+
*/
|
|
1352
|
+
worn: zod.z.boolean().default(false),
|
|
1348
1353
|
iconUrl: zod.z.string().url().nullable()
|
|
1349
1354
|
});
|
|
1350
1355
|
var RpgStatusResponseSchema = zod.z.object({
|