@misternooblet/squara-types 1.0.4 → 1.0.6
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.
|
@@ -16,8 +16,8 @@ export interface GroupMember {
|
|
|
16
16
|
joinedAt: Date;
|
|
17
17
|
splitRatio: number;
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
20
|
-
|
|
19
|
+
export interface Group {
|
|
20
|
+
_id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
type: GroupType;
|
|
23
23
|
memberIds: string[];
|
|
@@ -33,11 +33,3 @@ export interface GroupDocument {
|
|
|
33
33
|
updatedAt: Date;
|
|
34
34
|
lastExpenseAt: Date | null;
|
|
35
35
|
}
|
|
36
|
-
export interface CreateGroupInput {
|
|
37
|
-
name: string;
|
|
38
|
-
type: GroupType;
|
|
39
|
-
currency: string;
|
|
40
|
-
invitedMembers?: string[];
|
|
41
|
-
tripStartDate?: Date | null;
|
|
42
|
-
tripEndDate?: Date | null;
|
|
43
|
-
}
|
package/dist/group/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { GroupType, GroupMemberRole, GroupMember,
|
|
1
|
+
export { GroupType, GroupMemberRole, GroupMember, Group } from './group';
|
package/dist/group/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GroupMemberRole = exports.GroupType = void 0;
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "GroupType", { enumerable: true, get: function () { return
|
|
6
|
-
Object.defineProperty(exports, "GroupMemberRole", { enumerable: true, get: function () { return
|
|
4
|
+
var group_1 = require("./group");
|
|
5
|
+
Object.defineProperty(exports, "GroupType", { enumerable: true, get: function () { return group_1.GroupType; } });
|
|
6
|
+
Object.defineProperty(exports, "GroupMemberRole", { enumerable: true, get: function () { return group_1.GroupMemberRole; } });
|
package/dist/user/user.d.ts
CHANGED
package/package.json
CHANGED
|
File without changes
|