@singi-labs/sifa-sdk 0.19.51 → 0.19.52
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-B0bp4-ex.d.cts → network-map-C-p-k3gB.d.cts} +1 -0
- package/dist/{network-map-C-y5XxLI.d.ts → network-map-CnVlBE0G.d.ts} +1 -0
- package/dist/query/fetchers/index.cjs +2 -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 +2 -0
- package/dist/query/fetchers/rpg.js.map +1 -1
- package/dist/query/index.cjs +2 -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/dist/rpg/catalog.js +1 -1
- package/dist/rpg/catalog.js.map +1 -1
- package/dist/rpg/index.cjs +1 -1
- package/dist/rpg/index.cjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7128,7 +7128,7 @@ function describeSifaRecord(collection, value) {
|
|
|
7128
7128
|
}
|
|
7129
7129
|
|
|
7130
7130
|
// src/index.ts
|
|
7131
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
7131
|
+
var SIFA_SDK_VERSION = "0.19.52";
|
|
7132
7132
|
|
|
7133
7133
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
7134
7134
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
package/dist/index.js
CHANGED
|
@@ -347,7 +347,7 @@ import {
|
|
|
347
347
|
roadmapIssueUrl
|
|
348
348
|
} from "./roadmap/index.js";
|
|
349
349
|
import { SIFA_REPO_GROUPS, describeSifaRecord, repoGroupForCollection } from "./repo/index.js";
|
|
350
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
350
|
+
var SIFA_SDK_VERSION = "0.19.52";
|
|
351
351
|
export {
|
|
352
352
|
ACTIVITY_TIERS,
|
|
353
353
|
ACTIVITY_VERBS,
|
|
@@ -408,6 +408,7 @@ type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
|
|
|
408
408
|
declare const RpgStatusResponseSchema: z.ZodObject<{
|
|
409
409
|
hasCharacter: z.ZodBoolean;
|
|
410
410
|
canWriteItems: z.ZodBoolean;
|
|
411
|
+
canCollect: z.ZodDefault<z.ZodBoolean>;
|
|
411
412
|
items: z.ZodArray<z.ZodObject<{
|
|
412
413
|
id: z.ZodString;
|
|
413
414
|
title: z.ZodString;
|
|
@@ -408,6 +408,7 @@ type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
|
|
|
408
408
|
declare const RpgStatusResponseSchema: z.ZodObject<{
|
|
409
409
|
hasCharacter: z.ZodBoolean;
|
|
410
410
|
canWriteItems: z.ZodBoolean;
|
|
411
|
+
canCollect: z.ZodDefault<z.ZodBoolean>;
|
|
411
412
|
items: z.ZodArray<z.ZodObject<{
|
|
412
413
|
id: z.ZodString;
|
|
413
414
|
title: z.ZodString;
|
|
@@ -1301,6 +1301,8 @@ var RpgStatusResponseSchema = zod.z.object({
|
|
|
1301
1301
|
hasCharacter: zod.z.boolean(),
|
|
1302
1302
|
/** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */
|
|
1303
1303
|
canWriteItems: zod.z.boolean(),
|
|
1304
|
+
/** True when collecting (Sifa writing the gift) is switched on for this user. */
|
|
1305
|
+
canCollect: zod.z.boolean().default(false),
|
|
1304
1306
|
items: zod.z.array(RpgItemStatusSchema)
|
|
1305
1307
|
});
|
|
1306
1308
|
async function fetchRpgStatus(config, options = {}) {
|