@cinerino/sdk 12.5.0-alpha.8 → 12.5.0-alpha.9

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,7 +5,7 @@ import * as auth from '../../auth/authAsAdmin';
5
5
 
6
6
  const PROJECT_ID = String(process.env.PROJECT_ID);
7
7
  const SELLER_ID = '59d20831e53ebc2b4e774466';
8
- const EVENT_SERVICE_ID = '656038908b1cd5ce629f5992';
8
+ const EVENT_SERVICE_IDENTIFIER = 'xxx';
9
9
  // const EVENT_SERVICE_ID = '656038908b1cd5ce629f5991';
10
10
 
11
11
  // tslint:disable-next-line:max-func-body-length
@@ -26,7 +26,7 @@ async function main() {
26
26
  await noteService.createNotesByIdentifier(
27
27
  [
28
28
  {
29
- about: { id: EVENT_SERVICE_ID },
29
+ about: { identifier: EVENT_SERVICE_IDENTIFIER },
30
30
  identifier: 'abcdefgh',
31
31
  text: 'sample note text...'
32
32
  }
@@ -40,7 +40,7 @@ async function main() {
40
40
  await noteService.updateNotesByIdentifier(
41
41
  [
42
42
  {
43
- about: { id: EVENT_SERVICE_ID },
43
+ about: { identifier: EVENT_SERVICE_IDENTIFIER },
44
44
  identifier: 'abcdefgh',
45
45
  text: 'updated text xxxxx'
46
46
  }
@@ -12,9 +12,9 @@ interface ICreateParams {
12
12
  text: string;
13
13
  about: {
14
14
  /**
15
- * メモの主題リソースID
15
+ * メモの主題リソースコード
16
16
  */
17
- id: string;
17
+ identifier: string;
18
18
  };
19
19
  }
20
20
  export interface IFindParams {
@@ -30,6 +30,10 @@ export interface IFindParams {
30
30
  * max: 10
31
31
  */
32
32
  aboutIds?: string[];
33
+ /**
34
+ * 主題リソースコードリスト
35
+ * max: 10
36
+ */
33
37
  /**
34
38
  * メモ識別子リスト
35
39
  * max: 10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "12.5.0-alpha.8",
3
+ "version": "12.5.0-alpha.9",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -93,7 +93,7 @@
93
93
  "watchify": "^3.11.1"
94
94
  },
95
95
  "dependencies": {
96
- "@chevre/factory": "5.1.0-alpha.1",
96
+ "@chevre/factory": "5.1.0-alpha.2",
97
97
  "debug": "3.2.7",
98
98
  "http-status": "1.7.4",
99
99
  "idtoken-verifier": "2.0.3",