fluncle 0.287.0 → 0.288.0

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.
Files changed (2) hide show
  1. package/bin/fluncle.mjs +26 -32
  2. package/package.json +1 -1
package/bin/fluncle.mjs CHANGED
@@ -704,7 +704,7 @@ function parseVersion(version) {
704
704
  var currentVersion;
705
705
  var init_version = __esm(() => {
706
706
  init_output();
707
- currentVersion = "0.287.0".trim() ? "0.287.0".trim() : "0.1.0";
707
+ currentVersion = "0.288.0".trim() ? "0.288.0".trim() : "0.1.0";
708
708
  });
709
709
 
710
710
  // src/update-notifier.ts
@@ -11145,7 +11145,7 @@ function parseVersion2(version) {
11145
11145
  var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
11146
11146
  var init_version2 = __esm(() => {
11147
11147
  init_output();
11148
- currentVersion2 = "0.287.0".trim() ? "0.287.0".trim() : "0.1.0";
11148
+ currentVersion2 = "0.288.0".trim() ? "0.288.0".trim() : "0.1.0";
11149
11149
  });
11150
11150
 
11151
11151
  // ../../packages/registry/src/index.ts
@@ -17864,13 +17864,6 @@ function _boolean(Class, params) {
17864
17864
  ...normalizeParams(params)
17865
17865
  });
17866
17866
  }
17867
- function _coercedBoolean(Class, params) {
17868
- return new Class({
17869
- type: "boolean",
17870
- coerce: true,
17871
- ...normalizeParams(params)
17872
- });
17873
- }
17874
17867
  function _null2(Class, params) {
17875
17868
  return new Class({
17876
17869
  type: "null",
@@ -20408,9 +20401,6 @@ var init_iso = __esm(() => {
20408
20401
  function number5(params) {
20409
20402
  return _coercedNumber(ZodNumber, params);
20410
20403
  }
20411
- function boolean4(params) {
20412
- return _coercedBoolean(ZodBoolean, params);
20413
- }
20414
20404
  var init_coerce = __esm(() => {
20415
20405
  init_core3();
20416
20406
  init_schemas2();
@@ -20508,7 +20498,7 @@ var init_admin_catalogue = __esm(() => {
20508
20498
  summary: "One tick of the catalogue ranking sweep (nearest finding + capture priority)",
20509
20499
  tags: ["Admin"]
20510
20500
  }).input(object({
20511
- countRemaining: boolean4().default(false),
20501
+ countRemaining: boolean3().default(false),
20512
20502
  limit: number5().int().min(1).max(1000).default(250)
20513
20503
  })).output(object({
20514
20504
  ok: literal(true),
@@ -22090,7 +22080,7 @@ var init_admin_artists = __esm(() => {
22090
22080
  summary: "One tick of the similar-artists sweep (artist centroids + top-K edges)",
22091
22081
  tags: ["Admin"]
22092
22082
  }).input(object({
22093
- countRemaining: boolean4().default(false),
22083
+ countRemaining: boolean3().default(false),
22094
22084
  limit: number5().int().min(1).max(1000).default(50)
22095
22085
  })).output(object({
22096
22086
  ok: literal(true),
@@ -22627,9 +22617,9 @@ var init_admin_backfills = __esm(() => {
22627
22617
  query: object({
22628
22618
  cursor: string4().optional(),
22629
22619
  dryRun: string4().optional(),
22630
- kind: string4().optional(),
22620
+ kind: _enum(["album", "artist"]).optional(),
22631
22621
  limit: string4().optional(),
22632
- retry: string4().optional()
22622
+ retry: _enum(["none"]).optional()
22633
22623
  })
22634
22624
  })).output(object({
22635
22625
  dryRun: boolean3(),
@@ -22641,8 +22631,8 @@ var init_admin_backfills = __esm(() => {
22641
22631
  noneCount: number4(),
22642
22632
  ok: literal(true),
22643
22633
  rateLimited: boolean3(),
22644
- requeued: array2(string4()).optional(),
22645
- requeuedCount: number4().optional(),
22634
+ requeued: array2(string4()),
22635
+ requeuedCount: number4(),
22646
22636
  resolved: array2(string4()),
22647
22637
  resolvedCount: number4()
22648
22638
  }));
@@ -24799,7 +24789,7 @@ var init_admin_migrations = __esm(() => {
24799
24789
  cursor: string4().optional(),
24800
24790
  dryRun: string4().optional(),
24801
24791
  limit: string4().optional(),
24802
- mode: string4().optional()
24792
+ mode: _enum(["copy", "delete", "verify"]).optional()
24803
24793
  })
24804
24794
  })).output(object({
24805
24795
  blocked: string4().nullable(),
@@ -25044,7 +25034,7 @@ var init_admin_mixtapes = __esm(() => {
25044
25034
  path: "/admin/clips/{clipId}/schedule",
25045
25035
  summary: "Set or override a clip's Instagram drip slot",
25046
25036
  tags: ["Admin"]
25047
- }).input(object({ clipId: string4(), scheduledFor: string4() })).output(object({ ok: literal(true), post: ClipSocialPostSchema }));
25037
+ }).input(object({ clipId: string4(), scheduledFor: string4().datetime({ offset: true }) })).output(object({ ok: literal(true), post: ClipSocialPostSchema }));
25048
25038
  setClipSchedules = oc.route({
25049
25039
  method: "POST",
25050
25040
  operationId: "setClipSchedules",
@@ -26280,7 +26270,7 @@ var init_admin_tracks = __esm(() => {
26280
26270
  count: string4().optional(),
26281
26271
  debtAware: string4().optional(),
26282
26272
  kind: TrackWorkKindSchema,
26283
- limit: number5().int().min(1).max(250).default(50),
26273
+ limit: number5().int().min(1).max(200).default(50),
26284
26274
  paidMode: _enum(["quota", "prior", "unasked"]).optional(),
26285
26275
  scope: TrackWorkScopeSchema.default("all")
26286
26276
  })).output(object({
@@ -27321,13 +27311,13 @@ var init_me2 = __esm(() => {
27321
27311
  ok: literal(true),
27322
27312
  summary: object({
27323
27313
  credentials: string4(),
27324
- followDigest: string4().optional(),
27325
- follows: string4().optional(),
27314
+ followDigest: string4(),
27315
+ follows: string4(),
27326
27316
  galaxyProgress: string4(),
27327
- preferences: string4().optional(),
27328
- recSeeds: string4().optional(),
27317
+ preferences: string4(),
27318
+ recSeeds: string4(),
27329
27319
  savedFindings: string4(),
27330
- savedSets: string4().optional(),
27320
+ savedSets: string4(),
27331
27321
  sessions: string4(),
27332
27322
  submissions: string4(),
27333
27323
  user: string4(),
@@ -27349,7 +27339,7 @@ var init_me2 = __esm(() => {
27349
27339
  lastWeekKey: string4().nullable(),
27350
27340
  unsubscribedAt: string4().nullable(),
27351
27341
  updatedAt: string4()
27352
- }).nullable().optional(),
27342
+ }).nullable(),
27353
27343
  followDigestDeliveries: array2(object({
27354
27344
  attempts: number4(),
27355
27345
  claimedAt: string4(),
@@ -27358,16 +27348,16 @@ var init_me2 = __esm(() => {
27358
27348
  sentAt: string4().nullable(),
27359
27349
  status: string4(),
27360
27350
  weekKey: string4()
27361
- })).optional(),
27362
- follows: array2(FollowSchema).optional(),
27351
+ })),
27352
+ follows: array2(FollowSchema),
27363
27353
  generatedAt: string4(),
27364
27354
  id: string4(),
27365
27355
  preferences: UserPreferencesSchema,
27366
27356
  privacyNotes: array2(string4()),
27367
27357
  progress: GalaxyProgressSchema,
27368
- recSeeds: array2(RecSeedSchema).optional(),
27358
+ recSeeds: array2(RecSeedSchema),
27369
27359
  savedFindings: array2(SavedFindingSchema),
27370
- savedSets: array2(SavedSetSchema).optional(),
27360
+ savedSets: array2(SavedSetSchema),
27371
27361
  submissions: array2(PrivateSubmissionSchema)
27372
27362
  }),
27373
27363
  ok: literal(true)
@@ -27500,6 +27490,7 @@ var init_me_watches = __esm(() => {
27500
27490
  }).meta({ id: "Watch" });
27501
27491
  SaveWatchBodySchema = looseObject({
27502
27492
  entityId: unknown2().optional(),
27493
+ intent: unknown2().optional(),
27503
27494
  kind: unknown2().optional()
27504
27495
  });
27505
27496
  listPrivateWatches = oc.route({
@@ -37542,7 +37533,10 @@ async function runBackfillArtistImages(options, backfillArtistImagesCommand) {
37542
37533
  }
37543
37534
  async function runBackfillCoverMasters(options, backfillCoverMastersCommand) {
37544
37535
  const limit = parseListLimit(options.limit);
37545
- const kind = options.kind === "artist" ? "artist" : "album";
37536
+ const kind = options.kind ?? "album";
37537
+ if (kind !== "album" && kind !== "artist") {
37538
+ throw new Error(`--kind must be one of: album, artist (got "${kind}")`);
37539
+ }
37546
37540
  const retryNone = options.retryNone ?? false;
37547
37541
  const resolved = [];
37548
37542
  const none = [];
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  "url": "git+https://github.com/mauricekleine/fluncle.git"
32
32
  },
33
33
  "type": "module",
34
- "version": "0.287.0"
34
+ "version": "0.288.0"
35
35
  }