repository-provider 35.5.5 → 35.5.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.
- package/README.md +2 -2
- package/package.json +2 -2
- package/src/base-provider.mjs +2 -1
- package/src/named-object.mjs +3 -4
- package/types/base-provider.d.mts +2 -3
- package/types/hook.d.mts +1 -3
- package/types/milestone.d.mts +1 -1
- package/types/named-object.d.mts +1 -1
- package/types/pull-request.d.mts +1 -2
- package/types/repository.d.mts +1 -2
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repository-provider",
|
|
3
|
-
"version": "35.5.
|
|
3
|
+
"version": "35.5.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"content-entry": "^14.2.3",
|
|
41
41
|
"matching-iterator": "^2.1.4",
|
|
42
|
-
"pacc": "^4.
|
|
42
|
+
"pacc": "^4.1.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"ava": "^6.4.1",
|
package/src/base-provider.mjs
CHANGED
|
@@ -119,6 +119,8 @@ export class BaseProvider extends BaseObject {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
static attributes = {
|
|
122
|
+
...BaseObject.attributes,
|
|
123
|
+
|
|
122
124
|
/**
|
|
123
125
|
* Name of the provider.
|
|
124
126
|
*/
|
|
@@ -128,7 +130,6 @@ export class BaseProvider extends BaseObject {
|
|
|
128
130
|
},
|
|
129
131
|
|
|
130
132
|
url: url_attribute,
|
|
131
|
-
description: description_attribute,
|
|
132
133
|
priority: priority_attribute,
|
|
133
134
|
|
|
134
135
|
/**
|
package/src/named-object.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { name_attribute
|
|
1
|
+
import { name_attribute } from "pacc";
|
|
2
2
|
import { optionJSON } from "./attribute-extras.mjs";
|
|
3
3
|
import { BaseObject } from "./base-object.mjs";
|
|
4
4
|
|
|
@@ -15,9 +15,8 @@ import { BaseObject } from "./base-object.mjs";
|
|
|
15
15
|
*/
|
|
16
16
|
export class NamedObject extends BaseObject {
|
|
17
17
|
static attributes = {
|
|
18
|
-
|
|
19
|
-
name: name_attribute
|
|
20
|
-
description: description_attribute
|
|
18
|
+
...BaseObject.attributes,
|
|
19
|
+
name: name_attribute
|
|
21
20
|
};
|
|
22
21
|
|
|
23
22
|
constructor(name, options, additionalProperties) {
|
|
@@ -61,14 +61,12 @@ export class BaseProvider extends BaseObject {
|
|
|
61
61
|
collection: boolean;
|
|
62
62
|
private?: boolean;
|
|
63
63
|
depends?: string;
|
|
64
|
-
additionalAttributes: string[];
|
|
65
64
|
description?: string;
|
|
66
65
|
default?: any;
|
|
67
66
|
set?: Function;
|
|
68
67
|
get?: Function;
|
|
69
68
|
};
|
|
70
69
|
url: import("pacc").AttributeDefinition;
|
|
71
|
-
description: import("pacc").AttributeDefinition;
|
|
72
70
|
priority: import("pacc").AttributeDefinition;
|
|
73
71
|
/**
|
|
74
72
|
* To forward info/warn and error messages to
|
|
@@ -82,12 +80,13 @@ export class BaseProvider extends BaseObject {
|
|
|
82
80
|
mandatory: boolean;
|
|
83
81
|
collection: boolean;
|
|
84
82
|
depends?: string;
|
|
85
|
-
additionalAttributes: string[];
|
|
86
83
|
description?: string;
|
|
87
84
|
set?: Function;
|
|
88
85
|
get?: Function;
|
|
89
86
|
env?: string[] | string;
|
|
90
87
|
};
|
|
88
|
+
id: import("pacc").AttributeDefinition;
|
|
89
|
+
description: import("pacc").AttributeDefinition;
|
|
91
90
|
};
|
|
92
91
|
/**
|
|
93
92
|
* @typedef {Object} parsedName
|
package/types/hook.d.mts
CHANGED
|
@@ -15,7 +15,6 @@ export class Hook extends OwnedObject {
|
|
|
15
15
|
collection: boolean;
|
|
16
16
|
private?: boolean;
|
|
17
17
|
depends?: string;
|
|
18
|
-
additionalAttributes: string[];
|
|
19
18
|
default?: any;
|
|
20
19
|
set?: Function;
|
|
21
20
|
get?: Function;
|
|
@@ -30,7 +29,6 @@ export class Hook extends OwnedObject {
|
|
|
30
29
|
collection: boolean;
|
|
31
30
|
private?: boolean;
|
|
32
31
|
depends?: string;
|
|
33
|
-
additionalAttributes: string[];
|
|
34
32
|
description?: string;
|
|
35
33
|
set?: Function;
|
|
36
34
|
get?: Function;
|
|
@@ -41,8 +39,8 @@ export class Hook extends OwnedObject {
|
|
|
41
39
|
type: string;
|
|
42
40
|
default: Set<string>;
|
|
43
41
|
};
|
|
44
|
-
id: import("pacc").AttributeDefinition;
|
|
45
42
|
name: import("pacc").AttributeDefinition;
|
|
43
|
+
id: import("pacc").AttributeDefinition;
|
|
46
44
|
description: import("pacc").AttributeDefinition;
|
|
47
45
|
};
|
|
48
46
|
static get delteteMethodName(): string;
|
package/types/milestone.d.mts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
export class Milestone extends OwnedObject {
|
|
4
4
|
static attributes: {
|
|
5
5
|
state: import("pacc").AttributeDefinition;
|
|
6
|
-
id: import("pacc").AttributeDefinition;
|
|
7
6
|
name: import("pacc").AttributeDefinition;
|
|
7
|
+
id: import("pacc").AttributeDefinition;
|
|
8
8
|
description: import("pacc").AttributeDefinition;
|
|
9
9
|
};
|
|
10
10
|
issues(): AsyncGenerator<never, void, unknown>;
|
package/types/named-object.d.mts
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export class NamedObject extends BaseObject {
|
|
13
13
|
static attributes: {
|
|
14
|
-
id: import("pacc").AttributeDefinition;
|
|
15
14
|
name: import("pacc").AttributeDefinition;
|
|
15
|
+
id: import("pacc").AttributeDefinition;
|
|
16
16
|
description: import("pacc").AttributeDefinition;
|
|
17
17
|
};
|
|
18
18
|
constructor(name: any, options: any, additionalProperties: any);
|
package/types/pull-request.d.mts
CHANGED
|
@@ -80,7 +80,6 @@ export class PullRequest extends OwnedObject {
|
|
|
80
80
|
collection: boolean;
|
|
81
81
|
private?: boolean;
|
|
82
82
|
depends?: string;
|
|
83
|
-
additionalAttributes: string[];
|
|
84
83
|
description?: string;
|
|
85
84
|
set?: Function;
|
|
86
85
|
get?: Function;
|
|
@@ -103,8 +102,8 @@ export class PullRequest extends OwnedObject {
|
|
|
103
102
|
draft: import("pacc").AttributeDefinition;
|
|
104
103
|
dry: import("pacc").AttributeDefinition;
|
|
105
104
|
empty: import("pacc").AttributeDefinition;
|
|
106
|
-
id: import("pacc").AttributeDefinition;
|
|
107
105
|
name: import("pacc").AttributeDefinition;
|
|
106
|
+
id: import("pacc").AttributeDefinition;
|
|
108
107
|
description: import("pacc").AttributeDefinition;
|
|
109
108
|
};
|
|
110
109
|
/** @type {Branch} */ source: Branch;
|
package/types/repository.d.mts
CHANGED
|
@@ -30,7 +30,6 @@ export class Repository extends OwnedObject {
|
|
|
30
30
|
collection: boolean;
|
|
31
31
|
private?: boolean;
|
|
32
32
|
depends?: string;
|
|
33
|
-
additionalAttributes: string[];
|
|
34
33
|
description?: string;
|
|
35
34
|
set?: Function;
|
|
36
35
|
get?: Function;
|
|
@@ -42,8 +41,8 @@ export class Repository extends OwnedObject {
|
|
|
42
41
|
isDisabled: import("pacc").AttributeDefinition;
|
|
43
42
|
isTemplate: import("pacc").AttributeDefinition;
|
|
44
43
|
isFork: import("pacc").AttributeDefinition;
|
|
45
|
-
id: import("pacc").AttributeDefinition;
|
|
46
44
|
name: import("pacc").AttributeDefinition;
|
|
45
|
+
id: import("pacc").AttributeDefinition;
|
|
47
46
|
description: import("pacc").AttributeDefinition;
|
|
48
47
|
};
|
|
49
48
|
/**
|