@la-main-verte/shared-types 1.0.12 → 1.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@la-main-verte/shared-types",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Shared TypeScript interfaces for frontend of la-main-verte app",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
package/src/index.ts CHANGED
@@ -1,10 +1,6 @@
1
- export * from './image'
2
1
  export * from './member'
3
- export * from './note'
4
- export * from './plant'
5
- export * from './plantSelection'
6
2
  export * from './selection'
7
- export * from './tag'
8
- export * from './taggedItem'
3
+ export * from './plantSelection'
4
+ export * from './plant'
9
5
  export * from './task'
10
6
  export * from './calendarView'
package/src/plant.d.ts CHANGED
@@ -40,7 +40,7 @@ export interface PlantI {
40
40
  children?: PlantI[]
41
41
  plantInventories?: PlantInventoryI[]
42
42
  taggedItems?: TaggedItemI[]
43
- plantTags?: PlantTagI[]
43
+ tags?: PlantTagI[]
44
44
  tasks?: TaskI[]
45
45
  }
46
46
 
package/src/image.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export interface ImageI {
2
- id: number
3
- noteId: number
4
- s3Key: string
5
- s3Url: string
6
- filename: string
7
- createdAt: Date
8
- updatedAt: Date
9
- }
package/src/note.d.ts DELETED
@@ -1,13 +0,0 @@
1
- export interface NoteI {
2
- id: number
3
- memberId: number
4
- title: string
5
- contentInMarkdown: string
6
- color?: string
7
- agreedToShare: boolean
8
- createdAt: Date
9
- updatedAt: Date
10
- member?: MemberI
11
- taggedItems?: TaggedItemI[]
12
- images?: ImageI[]
13
- }
package/src/tag.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export interface TagI {
2
- id: number
3
- name: string
4
- tagType: 'plant' | 'task'
5
- icon?: string
6
- color: string
7
- createdAt: Date
8
- updatedAt: Date
9
- }
@@ -1,13 +0,0 @@
1
- export interface TaggedItemI {
2
- id: number
3
- noteId: number
4
- tagId: number
5
- itemType: 'plant' | 'task'
6
- itemId: number
7
- createdAt: Date
8
- updatedAt: Date
9
- note?: NoteI
10
- tag?: TagI
11
- plant?: PlantI
12
- task?: TaskI
13
- }