gs2-cdk 1.0.137 → 1.0.138

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.
@@ -1,6 +1,7 @@
1
1
  import { LastGuildMasterActivityOptions } from "./options/LastGuildMasterActivityOptions";
2
2
  export default class LastGuildMasterActivity {
3
3
  private readonly userId;
4
+ private readonly revision;
4
5
  constructor(userId: string, options?: LastGuildMasterActivityOptions | null);
5
6
  properties(): {
6
7
  [name: string]: any;
@@ -2,7 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class LastGuildMasterActivity {
4
4
  constructor(userId, options = null) {
5
+ var _a;
6
+ this.revision = null;
5
7
  this.userId = userId;
8
+ this.revision = (_a = options === null || options === void 0 ? void 0 : options.revision) !== null && _a !== void 0 ? _a : null;
6
9
  }
7
10
  properties() {
8
11
  let properties = {};
@@ -1 +1 @@
1
- {"version":3,"file":"LastGuildMasterActivity.js","sourceRoot":"","sources":["LastGuildMasterActivity.ts"],"names":[],"mappings":";;AAiBA,MAAqB,uBAAuB;IAGxC,YACI,MAAc,EACd,UAA+C,IAAI;QAEnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApBD,0CAoBC"}
1
+ {"version":3,"file":"LastGuildMasterActivity.js","sourceRoot":"","sources":["LastGuildMasterActivity.ts"],"names":[],"mappings":";;AAiBA,MAAqB,uBAAuB;IAIxC,YACI,MAAc,EACd,UAA+C,IAAI;;QAJtC,aAAQ,GAAgB,IAAI,CAAC;QAM1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAtBD,0CAsBC"}
@@ -17,12 +17,14 @@ import { LastGuildMasterActivityOptions } from "./options/LastGuildMasterActivit
17
17
 
18
18
  export default class LastGuildMasterActivity {
19
19
  private readonly userId: string;
20
+ private readonly revision: number|null = null;
20
21
 
21
22
  public constructor(
22
23
  userId: string,
23
24
  options: LastGuildMasterActivityOptions|null = null,
24
25
  ) {
25
26
  this.userId = userId;
27
+ this.revision = options?.revision ?? null;
26
28
  }
27
29
 
28
30
  public properties(
@@ -1,2 +1,3 @@
1
1
  export interface LastGuildMasterActivityOptions {
2
+ revision?: number | null;
2
3
  }
@@ -15,5 +15,6 @@
15
15
  */
16
16
 
17
17
  export interface LastGuildMasterActivityOptions {
18
+ revision?: number|null;
18
19
  }
19
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.137",
3
+ "version": "1.0.138",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"