@uniteverses/shared 1.0.194 → 1.0.195

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.
@@ -1 +1,2 @@
1
1
  export declare const STUDENTS_LIFE_STUDENTS_MEDITATE_SONG_CREATE_MANY_MAX = 200;
2
+ export declare const STUDENTS_LIFE_STUDENTS_MEDITATE_SONG_SET_GROUP_MAX = 1000;
@@ -1,8 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.STUDENTS_LIFE_STUDENTS_MEDITATE_SONG_CREATE_MANY_MAX = void 0;
3
+ exports.STUDENTS_LIFE_STUDENTS_MEDITATE_SONG_SET_GROUP_MAX = exports.STUDENTS_LIFE_STUDENTS_MEDITATE_SONG_CREATE_MANY_MAX = void 0;
4
4
  // Ceiling on one bulk-entry request. BOTH sides reference it, which is why it
5
5
  // lives here rather than in either of them: the api caps the array in its route
6
6
  // schema, and the website blocks the button and states the limit before
7
7
  // sending, so an over-long paste reads as a limit instead of a 400.
8
8
  exports.STUDENTS_LIFE_STUDENTS_MEDITATE_SONG_CREATE_MANY_MAX = 200;
9
+ // Ceiling on one refiling request. Deliberately far higher than the create cap
10
+ // and NOT shared with it: that one bounds how many rows a single paste brings
11
+ // into existence, this one bounds how many EXISTING songs a "select all" moves
12
+ // at once, and a library of 400 songs filing all of them is a legitimate thing
13
+ // to do rather than abuse.
14
+ exports.STUDENTS_LIFE_STUDENTS_MEDITATE_SONG_SET_GROUP_MAX = 1000;
@@ -27,3 +27,10 @@ export type StudentsLifeStudentsMeditateSongCreateManyInput = {
27
27
  export type StudentsLifeStudentsMeditateSongCreateManyResult = {
28
28
  created: number;
29
29
  };
30
+ export type StudentsLifeStudentsMeditateSongSetGroupInput = {
31
+ songIds: string[];
32
+ groupId: string | null;
33
+ };
34
+ export type StudentsLifeStudentsMeditateSongSetGroupResult = {
35
+ updated: number;
36
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.194",
3
+ "version": "1.0.195",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [