bitbucket-repository-provider 4.4.24 → 4.4.25

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": "bitbucket-repository-provider",
3
- "version": "4.4.24",
3
+ "version": "4.4.25",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,4 +1,4 @@
1
- import { PullRequest } from "repository-provider";
1
+ import { PullRequest, boolean_attribute } from "repository-provider";
2
2
 
3
3
  /**
4
4
  * Pull request inside bitbucket
@@ -12,7 +12,7 @@ export class BitbucketPullRequest extends PullRequest {
12
12
  values: new Set(["OPEN", "MERGED", "SUPERSEDED", "DECLINED"]),
13
13
  writeable: true
14
14
  },
15
- close_source_branch: { type: "boolean" },
15
+ close_source_branch: boolean_attribute,
16
16
  task_count: { type: "integer" }
17
17
  };
18
18
  }
@@ -1,4 +1,4 @@
1
- import { RepositoryGroup } from "repository-provider";
1
+ import { RepositoryGroup, uuid_attiribute } from "repository-provider";
2
2
 
3
3
  /**
4
4
  *
@@ -8,7 +8,7 @@ export class BitbucketRepositoryGroup extends RepositoryGroup {
8
8
  static get attributes() {
9
9
  return {
10
10
  ...super.attributes,
11
- uuid: { type: "string", isKey: true }
11
+ uuid: uuid_attiribute
12
12
  };
13
13
  }
14
14
 
@@ -1,5 +1,5 @@
1
1
  import { replaceWithOneTimeExecutionMethod } from "one-time-execution-method";
2
- import { Repository } from "repository-provider";
2
+ import { Repository, uuid_attiribute } from "repository-provider";
3
3
 
4
4
  /**
5
5
  * a repository hosted on bitbucket
@@ -17,7 +17,7 @@ export class BitbucketRepository extends Repository {
17
17
  static get attributes() {
18
18
  return {
19
19
  ...super.attributes,
20
- uuid: { type: "string", isKey: true },
20
+ uuid: uuid_attiribute,
21
21
  fork_policy: { type: "string", default: "allow_forks" }
22
22
  };
23
23
  }