@dra2020/dra-types 1.0.1 → 1.0.2

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.
@@ -7,10 +7,10 @@ export interface CommentList {
7
7
  id: string;
8
8
  [commentid: string]: Comment | string;
9
9
  }
10
- export declare type LikeType = 'like' | 'love' | 'wow' | 'angry' | 'funny';
10
+ export declare type LikeKind = 'like' | 'love' | 'wow' | 'angry' | 'funny';
11
11
  export interface Like {
12
12
  date: string;
13
- type: LikeType;
13
+ kind: LikeKind;
14
14
  }
15
15
  export interface LikeList {
16
16
  id: string;
package/lib/dra-types.ts CHANGED
@@ -13,14 +13,14 @@ export interface CommentList
13
13
  [commentid: string]: Comment | string; // Really just Comment but make TypeScript happy
14
14
  }
15
15
 
16
- // Supported like types
17
- export type LikeType = 'like' | 'love' | 'wow' | 'angry' | 'funny';
16
+ // Supported like kinds
17
+ export type LikeKind = 'like' | 'love' | 'wow' | 'angry' | 'funny';
18
18
 
19
19
  // Like record for an individual like
20
20
  export interface Like
21
21
  {
22
22
  date: string;
23
- type: LikeType;
23
+ kind: LikeKind;
24
24
  }
25
25
 
26
26
  // Record for likes associated with a map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dra2020/dra-types",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Shared types used between client and server.",
5
5
  "main": "dist/dra-types.js",
6
6
  "types": "./dist/all.d.ts",