@selfcommunity/types 0.8.0-alpha.5 → 0.8.0-alpha.7

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.
@@ -5,11 +5,11 @@ export interface SCContactUsRequestType {
5
5
  /**
6
6
  * Id of the request
7
7
  */
8
- id: number;
8
+ id?: number;
9
9
  /**
10
- * Body of the request
10
+ * Message of the request
11
11
  */
12
- body: string;
12
+ message?: string;
13
13
  /**
14
14
  * Created at
15
15
  */
@@ -18,4 +18,8 @@ export interface SCContactUsRequestType {
18
18
  * Updated at
19
19
  */
20
20
  updated_at?: Date | string | null;
21
+ /**
22
+ * Any other properties
23
+ */
24
+ [p: string]: any;
21
25
  }
@@ -1,4 +1,4 @@
1
- import { SCUserType } from './user';
1
+ import { SCUserAutocompleteType, SCUserType } from './user';
2
2
  import { SCCategoryType } from './category';
3
3
  import { SCContributionLocation } from './location';
4
4
  import { SCPollType } from './poll';
@@ -221,7 +221,7 @@ export interface SCFeedObjectType {
221
221
  /**
222
222
  * Users addressing
223
223
  */
224
- recipients?: any;
224
+ recipients?: SCUserAutocompleteType[];
225
225
  }
226
226
  /**
227
227
  * Interface SCFeedDiscussionType.
@@ -5,11 +5,11 @@ export interface SCContactUsRequestType {
5
5
  /**
6
6
  * Id of the request
7
7
  */
8
- id: number;
8
+ id?: number;
9
9
  /**
10
- * Body of the request
10
+ * Message of the request
11
11
  */
12
- body: string;
12
+ message?: string;
13
13
  /**
14
14
  * Created at
15
15
  */
@@ -18,4 +18,8 @@ export interface SCContactUsRequestType {
18
18
  * Updated at
19
19
  */
20
20
  updated_at?: Date | string | null;
21
+ /**
22
+ * Any other properties
23
+ */
24
+ [p: string]: any;
21
25
  }
@@ -1,4 +1,4 @@
1
- import { SCUserType } from './user';
1
+ import { SCUserAutocompleteType, SCUserType } from './user';
2
2
  import { SCCategoryType } from './category';
3
3
  import { SCContributionLocation } from './location';
4
4
  import { SCPollType } from './poll';
@@ -221,7 +221,7 @@ export interface SCFeedObjectType {
221
221
  /**
222
222
  * Users addressing
223
223
  */
224
- recipients?: any;
224
+ recipients?: SCUserAutocompleteType[];
225
225
  }
226
226
  /**
227
227
  * Interface SCFeedDiscussionType.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfcommunity/types",
3
- "version": "0.8.0-alpha.5",
3
+ "version": "0.8.0-alpha.7",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "./lib/cjs/index.js",
@@ -106,5 +106,5 @@
106
106
  "bugs": {
107
107
  "url": "https://github.com/selfcommunity/community-js/issues"
108
108
  },
109
- "gitHead": "6711d75f36ccb25b315a51daa3df106d58312533"
109
+ "gitHead": "f9ded53392e074780a978cea8a59e90919e3853d"
110
110
  }