@uniteverses/shared 1.0.157 → 1.0.159

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.
@@ -4,6 +4,8 @@ export type StudentsLifeStudentsLiveCondition = {
4
4
  title: string;
5
5
  description: string | null;
6
6
  position: number;
7
+ diaryEraId: string | null;
8
+ conditionGroupId: string | null;
7
9
  createdAt: string;
8
10
  };
9
11
  export type StudentsLifeStudentsLiveConditionCreateInput = {
@@ -14,6 +16,12 @@ export type StudentsLifeStudentsLiveConditionUpdateInput = {
14
16
  title: string;
15
17
  description?: string | null;
16
18
  };
19
+ export type StudentsLifeStudentsLiveConditionSetDiaryEraInput = {
20
+ diaryEraId: string | null;
21
+ };
22
+ export type StudentsLifeStudentsLiveConditionSetConditionGroupInput = {
23
+ conditionGroupId: string | null;
24
+ };
17
25
  export type StudentsLifeStudentsLiveConditionReorderInput = {
18
26
  ids: string[];
19
27
  };
@@ -0,0 +1,15 @@
1
+ export type StudentsLifeStudentsLiveConditionGroup = {
2
+ id: string;
3
+ userId: string;
4
+ name: string;
5
+ description: string | null;
6
+ createdAt: string;
7
+ };
8
+ export type StudentsLifeStudentsLiveConditionGroupCreateInput = {
9
+ name: string;
10
+ description?: string | null;
11
+ };
12
+ export type StudentsLifeStudentsLiveConditionGroupUpdateInput = {
13
+ name: string;
14
+ description?: string | null;
15
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import type { StudentsLifeStudentsLiveCondition } from "../condition/types";
2
+ import type { StudentsLifeStudentsLiveIdealCharacter } from "../ideal-character/types";
3
+ export type StudentsLifeStudentsLiveConditionIdealCharacter = {
4
+ id: string;
5
+ userId: string;
6
+ conditionId: string;
7
+ idealCharacterId: string;
8
+ createdAt: string;
9
+ condition: StudentsLifeStudentsLiveCondition;
10
+ idealCharacter: StudentsLifeStudentsLiveIdealCharacter;
11
+ };
12
+ export type StudentsLifeStudentsLiveConditionIdealCharacterCreateInput = {
13
+ conditionId: string;
14
+ idealCharacterId: string;
15
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,7 @@
1
1
  export * from "./condition/types";
2
+ export * from "./condition-group/types";
2
3
  export * from "./condition-person/types";
4
+ export * from "./condition-ideal-character/types";
3
5
  export * from "./reminder/types";
4
6
  export * from "./ideal/types";
5
7
  export * from "./ideal-influence/types";
@@ -7,6 +9,7 @@ export * from "./person/types";
7
9
  export * from "./person-tag/types";
8
10
  export * from "./person-tag-assignment/types";
9
11
  export * from "./person-goal/types";
12
+ export * from "./person-routine/types";
10
13
  export * from "./person-group/types";
11
14
  export * from "./person-group-membership/types";
12
15
  export * from "./organization/types";
@@ -15,7 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./condition/types"), exports);
18
+ __exportStar(require("./condition-group/types"), exports);
18
19
  __exportStar(require("./condition-person/types"), exports);
20
+ __exportStar(require("./condition-ideal-character/types"), exports);
19
21
  __exportStar(require("./reminder/types"), exports);
20
22
  __exportStar(require("./ideal/types"), exports);
21
23
  __exportStar(require("./ideal-influence/types"), exports);
@@ -23,6 +25,7 @@ __exportStar(require("./person/types"), exports);
23
25
  __exportStar(require("./person-tag/types"), exports);
24
26
  __exportStar(require("./person-tag-assignment/types"), exports);
25
27
  __exportStar(require("./person-goal/types"), exports);
28
+ __exportStar(require("./person-routine/types"), exports);
26
29
  __exportStar(require("./person-group/types"), exports);
27
30
  __exportStar(require("./person-group-membership/types"), exports);
28
31
  __exportStar(require("./organization/types"), exports);
@@ -0,0 +1,24 @@
1
+ export declare const STUDENTS_LIFE_STUDENTS_LIVE_PERSON_ROUTINE_CADENCES: readonly ["once", "daily", "weekly", "monthly", "yearly"];
2
+ export type StudentsLifeStudentsLivePersonRoutineCadence = (typeof STUDENTS_LIFE_STUDENTS_LIVE_PERSON_ROUTINE_CADENCES)[number];
3
+ export type StudentsLifeStudentsLivePersonRoutine = {
4
+ id: string;
5
+ userId: string;
6
+ personId: string;
7
+ content: string;
8
+ cadence: StudentsLifeStudentsLivePersonRoutineCadence;
9
+ position: number;
10
+ createdAt: string;
11
+ };
12
+ export type StudentsLifeStudentsLivePersonRoutineCreateInput = {
13
+ personId: string;
14
+ content: string;
15
+ cadence: StudentsLifeStudentsLivePersonRoutineCadence;
16
+ };
17
+ export type StudentsLifeStudentsLivePersonRoutineUpdateInput = {
18
+ content: string;
19
+ cadence: StudentsLifeStudentsLivePersonRoutineCadence;
20
+ };
21
+ export type StudentsLifeStudentsLivePersonRoutineReorderInput = {
22
+ personId: string;
23
+ ids: string[];
24
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.STUDENTS_LIFE_STUDENTS_LIVE_PERSON_ROUTINE_CADENCES = void 0;
4
+ // Adverbs of frequency, so the whole set reads as one kind of word. "once" is
5
+ // the one-time value rather than one_off/one_time: it is a single word and it
6
+ // is the same part of speech as the other four.
7
+ exports.STUDENTS_LIFE_STUDENTS_LIVE_PERSON_ROUTINE_CADENCES = [
8
+ "once",
9
+ "daily",
10
+ "weekly",
11
+ "monthly",
12
+ "yearly",
13
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.157",
3
+ "version": "1.0.159",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [