@camstack/types 1.2.184 → 1.2.185
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/capabilities/pipeline-analytics.cap.d.ts +40 -2
- package/dist/index.js +23 -2
- package/dist/index.mjs +23 -2
- package/package.json +1 -1
|
@@ -1243,6 +1243,26 @@ declare const SummariesPageSchema: z.ZodObject<{
|
|
|
1243
1243
|
}, z.core.$strip>>>;
|
|
1244
1244
|
}, z.core.$strip>;
|
|
1245
1245
|
export type SummariesPage = z.infer<typeof SummariesPageSchema>;
|
|
1246
|
+
/**
|
|
1247
|
+
* One member of a group, as a reader needs it.
|
|
1248
|
+
*
|
|
1249
|
+
* The class and the role travel WITH the id because every consumer that shows
|
|
1250
|
+
* a group has to say what it was made of — "two people and a dog" — and asking
|
|
1251
|
+
* `getTrack` per member to find that out turns one card into `memberCount`
|
|
1252
|
+
* round trips. The member row already holds both (they are written at the
|
|
1253
|
+
* join), so this costs the reader nothing.
|
|
1254
|
+
*/
|
|
1255
|
+
declare const SummaryMemberSchema: z.ZodObject<{
|
|
1256
|
+
trackId: z.ZodString;
|
|
1257
|
+
className: z.ZodNullable<z.ZodString>;
|
|
1258
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
1259
|
+
primary: "primary";
|
|
1260
|
+
sibling: "sibling";
|
|
1261
|
+
child: "child";
|
|
1262
|
+
}>>;
|
|
1263
|
+
joinedAt: z.ZodNumber;
|
|
1264
|
+
}, z.core.$strip>;
|
|
1265
|
+
export type SummaryMemberOut = z.infer<typeof SummaryMemberSchema>;
|
|
1246
1266
|
declare const SummaryDetailSchema: z.ZodObject<{
|
|
1247
1267
|
summary: z.ZodObject<{
|
|
1248
1268
|
id: z.ZodString;
|
|
@@ -1253,7 +1273,16 @@ declare const SummaryDetailSchema: z.ZodObject<{
|
|
|
1253
1273
|
memberCount: z.ZodNumber;
|
|
1254
1274
|
groupShotMediaId: z.ZodNullable<z.ZodNumber>;
|
|
1255
1275
|
}, z.core.$strip>;
|
|
1256
|
-
|
|
1276
|
+
members: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1277
|
+
trackId: z.ZodString;
|
|
1278
|
+
className: z.ZodNullable<z.ZodString>;
|
|
1279
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
1280
|
+
primary: "primary";
|
|
1281
|
+
sibling: "sibling";
|
|
1282
|
+
child: "child";
|
|
1283
|
+
}>>;
|
|
1284
|
+
joinedAt: z.ZodNumber;
|
|
1285
|
+
}, z.core.$strip>>>;
|
|
1257
1286
|
}, z.core.$strip>;
|
|
1258
1287
|
export type SummaryDetail = z.infer<typeof SummaryDetailSchema>;
|
|
1259
1288
|
declare const RecentTracksPageSchema: z.ZodObject<{
|
|
@@ -2260,7 +2289,16 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2260
2289
|
memberCount: z.ZodNumber;
|
|
2261
2290
|
groupShotMediaId: z.ZodNullable<z.ZodNumber>;
|
|
2262
2291
|
}, z.core.$strip>;
|
|
2263
|
-
|
|
2292
|
+
members: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2293
|
+
trackId: z.ZodString;
|
|
2294
|
+
className: z.ZodNullable<z.ZodString>;
|
|
2295
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
2296
|
+
primary: "primary";
|
|
2297
|
+
sibling: "sibling";
|
|
2298
|
+
child: "child";
|
|
2299
|
+
}>>;
|
|
2300
|
+
joinedAt: z.ZodNumber;
|
|
2301
|
+
}, z.core.$strip>>>;
|
|
2264
2302
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
2265
2303
|
readonly clearTracks: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2266
2304
|
deviceId: z.ZodNumber;
|
package/dist/index.js
CHANGED
|
@@ -20252,10 +20252,31 @@ var SummariesQueryInput = zod.z.object({
|
|
|
20252
20252
|
limit: zod.z.number().int().min(1).max(200).default(50)
|
|
20253
20253
|
});
|
|
20254
20254
|
var SummariesPageSchema = zod.z.object({ summaries: zod.z.array(SummarySchema).readonly() });
|
|
20255
|
+
/**
|
|
20256
|
+
* One member of a group, as a reader needs it.
|
|
20257
|
+
*
|
|
20258
|
+
* The class and the role travel WITH the id because every consumer that shows
|
|
20259
|
+
* a group has to say what it was made of — "two people and a dog" — and asking
|
|
20260
|
+
* `getTrack` per member to find that out turns one card into `memberCount`
|
|
20261
|
+
* round trips. The member row already holds both (they are written at the
|
|
20262
|
+
* join), so this costs the reader nothing.
|
|
20263
|
+
*/
|
|
20264
|
+
var SummaryMemberSchema = zod.z.object({
|
|
20265
|
+
trackId: zod.z.string(),
|
|
20266
|
+
/** The track's class at the time it joined, or `null` when unresolved. */
|
|
20267
|
+
className: zod.z.string().nullable(),
|
|
20268
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
20269
|
+
role: zod.z.enum([
|
|
20270
|
+
"primary",
|
|
20271
|
+
"sibling",
|
|
20272
|
+
"child"
|
|
20273
|
+
]).nullable(),
|
|
20274
|
+
joinedAt: zod.z.number()
|
|
20275
|
+
});
|
|
20255
20276
|
var SummaryDetailSchema = zod.z.object({
|
|
20256
20277
|
summary: SummarySchema,
|
|
20257
|
-
/**
|
|
20258
|
-
|
|
20278
|
+
/** Members in absorption order, oldest join first. */
|
|
20279
|
+
members: zod.z.array(SummaryMemberSchema).readonly()
|
|
20259
20280
|
});
|
|
20260
20281
|
var RecentTracksPageSchema = zod.z.object({
|
|
20261
20282
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
package/dist/index.mjs
CHANGED
|
@@ -20251,10 +20251,31 @@ var SummariesQueryInput = z.object({
|
|
|
20251
20251
|
limit: z.number().int().min(1).max(200).default(50)
|
|
20252
20252
|
});
|
|
20253
20253
|
var SummariesPageSchema = z.object({ summaries: z.array(SummarySchema).readonly() });
|
|
20254
|
+
/**
|
|
20255
|
+
* One member of a group, as a reader needs it.
|
|
20256
|
+
*
|
|
20257
|
+
* The class and the role travel WITH the id because every consumer that shows
|
|
20258
|
+
* a group has to say what it was made of — "two people and a dog" — and asking
|
|
20259
|
+
* `getTrack` per member to find that out turns one card into `memberCount`
|
|
20260
|
+
* round trips. The member row already holds both (they are written at the
|
|
20261
|
+
* join), so this costs the reader nothing.
|
|
20262
|
+
*/
|
|
20263
|
+
var SummaryMemberSchema = z.object({
|
|
20264
|
+
trackId: z.string(),
|
|
20265
|
+
/** The track's class at the time it joined, or `null` when unresolved. */
|
|
20266
|
+
className: z.string().nullable(),
|
|
20267
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
20268
|
+
role: z.enum([
|
|
20269
|
+
"primary",
|
|
20270
|
+
"sibling",
|
|
20271
|
+
"child"
|
|
20272
|
+
]).nullable(),
|
|
20273
|
+
joinedAt: z.number()
|
|
20274
|
+
});
|
|
20254
20275
|
var SummaryDetailSchema = z.object({
|
|
20255
20276
|
summary: SummarySchema,
|
|
20256
|
-
/**
|
|
20257
|
-
|
|
20277
|
+
/** Members in absorption order, oldest join first. */
|
|
20278
|
+
members: z.array(SummaryMemberSchema).readonly()
|
|
20258
20279
|
});
|
|
20259
20280
|
var RecentTracksPageSchema = z.object({
|
|
20260
20281
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|