repository-provider 35.2.4 → 35.2.5
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 +1 -1
- package/src/attributes.mjs +56 -1
- package/types/attributes.d.mts +87 -99
- package/types/base-provider.d.mts +15 -37
- package/types/hook.d.mts +20 -68
- package/types/milestone.d.mts +4 -38
- package/types/named-object.d.mts +3 -29
- package/types/pull-request.d.mts +19 -113
- package/types/ref.d.mts +2 -19
- package/types/repository.d.mts +16 -103
package/package.json
CHANGED
package/src/attributes.mjs
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {import('pacc').AttributeDefinition} AttributeDefinition
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
/**
|
|
2
6
|
* common attributes
|
|
7
|
+
* @type {AttributeDefinition}
|
|
3
8
|
*/
|
|
4
9
|
export const default_attribute = {
|
|
5
10
|
type: "string",
|
|
@@ -11,6 +16,9 @@ export const default_attribute = {
|
|
|
11
16
|
env: []
|
|
12
17
|
};
|
|
13
18
|
|
|
19
|
+
/**
|
|
20
|
+
* @type {AttributeDefinition}
|
|
21
|
+
*/
|
|
14
22
|
export const boolean_attribute = {
|
|
15
23
|
...default_attribute,
|
|
16
24
|
writable: true,
|
|
@@ -18,29 +26,58 @@ export const boolean_attribute = {
|
|
|
18
26
|
type: "boolean"
|
|
19
27
|
};
|
|
20
28
|
|
|
29
|
+
/**
|
|
30
|
+
* @type {AttributeDefinition}
|
|
31
|
+
*/
|
|
21
32
|
export const boolean_read_only_attribute = {
|
|
22
33
|
...default_attribute,
|
|
23
34
|
type: "boolean",
|
|
24
35
|
default: false
|
|
25
36
|
};
|
|
26
37
|
|
|
38
|
+
/**
|
|
39
|
+
* @type {AttributeDefinition}
|
|
40
|
+
*/
|
|
27
41
|
export const uuid_attribute = {
|
|
28
42
|
...default_attribute,
|
|
29
43
|
isKey: true
|
|
30
44
|
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @type {AttributeDefinition}
|
|
48
|
+
*/
|
|
31
49
|
export const empty_attiribute = { ...default_attribute, type: "boolean" };
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @type {AttributeDefinition}
|
|
53
|
+
*/
|
|
32
54
|
export const secret_attribute = {
|
|
33
55
|
...default_attribute,
|
|
34
56
|
private: true,
|
|
35
57
|
writable: true
|
|
36
58
|
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @type {AttributeDefinition}
|
|
62
|
+
*/
|
|
37
63
|
export const count_attribute = { ...default_attribute, type: "integer" };
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @type {AttributeDefinition}
|
|
67
|
+
*/
|
|
38
68
|
export const size_attribute = { ...default_attribute, type: "integer" };
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @type {AttributeDefinition}
|
|
72
|
+
*/
|
|
39
73
|
export const name_attribute = {
|
|
40
74
|
...default_attribute,
|
|
41
75
|
isKey: true
|
|
42
76
|
};
|
|
43
77
|
|
|
78
|
+
/**
|
|
79
|
+
* @type {AttributeDefinition}
|
|
80
|
+
*/
|
|
44
81
|
export const url_attribute = {
|
|
45
82
|
...default_attribute,
|
|
46
83
|
description: "home of the object",
|
|
@@ -49,6 +86,7 @@ export const url_attribute = {
|
|
|
49
86
|
|
|
50
87
|
/**
|
|
51
88
|
* The description of the object content.
|
|
89
|
+
* @type {AttributeDefinition}
|
|
52
90
|
*/
|
|
53
91
|
export const description_attribute = {
|
|
54
92
|
...default_attribute,
|
|
@@ -58,6 +96,7 @@ export const description_attribute = {
|
|
|
58
96
|
|
|
59
97
|
/**
|
|
60
98
|
* Unique id within the provider.
|
|
99
|
+
* @type {AttributeDefinition}
|
|
61
100
|
*/
|
|
62
101
|
export const id_attribute = {
|
|
63
102
|
...default_attribute,
|
|
@@ -65,6 +104,9 @@ export const id_attribute = {
|
|
|
65
104
|
description: "internal identifier"
|
|
66
105
|
};
|
|
67
106
|
|
|
107
|
+
/**
|
|
108
|
+
* @type {AttributeDefinition}
|
|
109
|
+
*/
|
|
68
110
|
export const state_attribute = {
|
|
69
111
|
...default_attribute,
|
|
70
112
|
writable: true
|
|
@@ -72,6 +114,7 @@ export const state_attribute = {
|
|
|
72
114
|
|
|
73
115
|
/**
|
|
74
116
|
* The description of the pull request.
|
|
117
|
+
* @type {AttributeDefinition}
|
|
75
118
|
*/
|
|
76
119
|
export const body_attribute = {
|
|
77
120
|
...default_attribute,
|
|
@@ -80,6 +123,7 @@ export const body_attribute = {
|
|
|
80
123
|
|
|
81
124
|
/**
|
|
82
125
|
* The one line description of the pull request.
|
|
126
|
+
* @type {AttributeDefinition}
|
|
83
127
|
*/
|
|
84
128
|
export const title_attribute = {
|
|
85
129
|
...default_attribute,
|
|
@@ -89,7 +133,8 @@ export const title_attribute = {
|
|
|
89
133
|
|
|
90
134
|
/**
|
|
91
135
|
* In case there are several providers able to support a given source which one sould be used ?
|
|
92
|
-
* this defines the order
|
|
136
|
+
* this defines the order.
|
|
137
|
+
* @type {AttributeDefinition}
|
|
93
138
|
*/
|
|
94
139
|
export const priority_attribute = {
|
|
95
140
|
...default_attribute,
|
|
@@ -98,6 +143,9 @@ export const priority_attribute = {
|
|
|
98
143
|
writable: true
|
|
99
144
|
};
|
|
100
145
|
|
|
146
|
+
/**
|
|
147
|
+
* @type {AttributeDefinition}
|
|
148
|
+
*/
|
|
101
149
|
export const active_attribute = {
|
|
102
150
|
...default_attribute,
|
|
103
151
|
type: "boolean",
|
|
@@ -105,5 +153,12 @@ export const active_attribute = {
|
|
|
105
153
|
writable: true
|
|
106
154
|
};
|
|
107
155
|
|
|
156
|
+
/**
|
|
157
|
+
* @type {AttributeDefinition}
|
|
158
|
+
*/
|
|
108
159
|
export const language_attribute = default_attribute;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @type {AttributeDefinition}
|
|
163
|
+
*/
|
|
109
164
|
export const type_attribute = default_attribute;
|
package/types/attributes.d.mts
CHANGED
|
@@ -1,99 +1,87 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
export
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
export { writable_7 as writable };
|
|
89
|
-
}
|
|
90
|
-
export namespace active_attribute {
|
|
91
|
-
let type_8: string;
|
|
92
|
-
export { type_8 as type };
|
|
93
|
-
let _default_3: boolean;
|
|
94
|
-
export { _default_3 as default };
|
|
95
|
-
let writable_8: boolean;
|
|
96
|
-
export { writable_8 as writable };
|
|
97
|
-
}
|
|
98
|
-
export namespace language_attribute { }
|
|
99
|
-
export namespace type_attribute { }
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {import('pacc').AttributeDefinition} AttributeDefinition
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* common attributes
|
|
6
|
+
* @type {AttributeDefinition}
|
|
7
|
+
*/
|
|
8
|
+
export const default_attribute: AttributeDefinition;
|
|
9
|
+
/**
|
|
10
|
+
* @type {AttributeDefinition}
|
|
11
|
+
*/
|
|
12
|
+
export const boolean_attribute: AttributeDefinition;
|
|
13
|
+
/**
|
|
14
|
+
* @type {AttributeDefinition}
|
|
15
|
+
*/
|
|
16
|
+
export const boolean_read_only_attribute: AttributeDefinition;
|
|
17
|
+
/**
|
|
18
|
+
* @type {AttributeDefinition}
|
|
19
|
+
*/
|
|
20
|
+
export const uuid_attribute: AttributeDefinition;
|
|
21
|
+
/**
|
|
22
|
+
* @type {AttributeDefinition}
|
|
23
|
+
*/
|
|
24
|
+
export const empty_attiribute: AttributeDefinition;
|
|
25
|
+
/**
|
|
26
|
+
* @type {AttributeDefinition}
|
|
27
|
+
*/
|
|
28
|
+
export const secret_attribute: AttributeDefinition;
|
|
29
|
+
/**
|
|
30
|
+
* @type {AttributeDefinition}
|
|
31
|
+
*/
|
|
32
|
+
export const count_attribute: AttributeDefinition;
|
|
33
|
+
/**
|
|
34
|
+
* @type {AttributeDefinition}
|
|
35
|
+
*/
|
|
36
|
+
export const size_attribute: AttributeDefinition;
|
|
37
|
+
/**
|
|
38
|
+
* @type {AttributeDefinition}
|
|
39
|
+
*/
|
|
40
|
+
export const name_attribute: AttributeDefinition;
|
|
41
|
+
/**
|
|
42
|
+
* @type {AttributeDefinition}
|
|
43
|
+
*/
|
|
44
|
+
export const url_attribute: AttributeDefinition;
|
|
45
|
+
/**
|
|
46
|
+
* The description of the object content.
|
|
47
|
+
* @type {AttributeDefinition}
|
|
48
|
+
*/
|
|
49
|
+
export const description_attribute: AttributeDefinition;
|
|
50
|
+
/**
|
|
51
|
+
* Unique id within the provider.
|
|
52
|
+
* @type {AttributeDefinition}
|
|
53
|
+
*/
|
|
54
|
+
export const id_attribute: AttributeDefinition;
|
|
55
|
+
/**
|
|
56
|
+
* @type {AttributeDefinition}
|
|
57
|
+
*/
|
|
58
|
+
export const state_attribute: AttributeDefinition;
|
|
59
|
+
/**
|
|
60
|
+
* The description of the pull request.
|
|
61
|
+
* @type {AttributeDefinition}
|
|
62
|
+
*/
|
|
63
|
+
export const body_attribute: AttributeDefinition;
|
|
64
|
+
/**
|
|
65
|
+
* The one line description of the pull request.
|
|
66
|
+
* @type {AttributeDefinition}
|
|
67
|
+
*/
|
|
68
|
+
export const title_attribute: AttributeDefinition;
|
|
69
|
+
/**
|
|
70
|
+
* In case there are several providers able to support a given source which one sould be used ?
|
|
71
|
+
* this defines the order.
|
|
72
|
+
* @type {AttributeDefinition}
|
|
73
|
+
*/
|
|
74
|
+
export const priority_attribute: AttributeDefinition;
|
|
75
|
+
/**
|
|
76
|
+
* @type {AttributeDefinition}
|
|
77
|
+
*/
|
|
78
|
+
export const active_attribute: AttributeDefinition;
|
|
79
|
+
/**
|
|
80
|
+
* @type {AttributeDefinition}
|
|
81
|
+
*/
|
|
82
|
+
export const language_attribute: AttributeDefinition;
|
|
83
|
+
/**
|
|
84
|
+
* @type {AttributeDefinition}
|
|
85
|
+
*/
|
|
86
|
+
export const type_attribute: AttributeDefinition;
|
|
87
|
+
export type AttributeDefinition = import('pacc').AttributeDefinition;
|
|
@@ -42,43 +42,19 @@ export class BaseProvider extends BaseObject {
|
|
|
42
42
|
*/
|
|
43
43
|
name: {
|
|
44
44
|
env: string;
|
|
45
|
-
isKey: boolean;
|
|
46
45
|
type: string;
|
|
47
46
|
writable: boolean;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
additionalAttributes:
|
|
51
|
-
};
|
|
52
|
-
url: {
|
|
47
|
+
private?: boolean;
|
|
48
|
+
depends?: string;
|
|
49
|
+
additionalAttributes: string[];
|
|
53
50
|
description: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
private: boolean;
|
|
58
|
-
isKey: boolean;
|
|
59
|
-
additionalAttributes: any[];
|
|
60
|
-
env: any[];
|
|
61
|
-
};
|
|
62
|
-
description: {
|
|
63
|
-
description: string;
|
|
64
|
-
writable: boolean;
|
|
65
|
-
type: string;
|
|
66
|
-
mandatory: boolean;
|
|
67
|
-
private: boolean;
|
|
68
|
-
isKey: boolean;
|
|
69
|
-
additionalAttributes: any[];
|
|
70
|
-
env: any[];
|
|
71
|
-
};
|
|
72
|
-
priority: {
|
|
73
|
-
type: string;
|
|
74
|
-
default: number;
|
|
75
|
-
writable: boolean;
|
|
76
|
-
mandatory: boolean;
|
|
77
|
-
private: boolean;
|
|
78
|
-
isKey: boolean;
|
|
79
|
-
additionalAttributes: any[];
|
|
80
|
-
env: any[];
|
|
51
|
+
default?: any;
|
|
52
|
+
set?: Function;
|
|
53
|
+
get?: Function;
|
|
81
54
|
};
|
|
55
|
+
url: import("pacc").AttributeDefinition;
|
|
56
|
+
description: import("pacc").AttributeDefinition;
|
|
57
|
+
priority: import("pacc").AttributeDefinition;
|
|
82
58
|
/**
|
|
83
59
|
* To forward info/warn and error messages to
|
|
84
60
|
*/
|
|
@@ -87,10 +63,12 @@ export class BaseProvider extends BaseObject {
|
|
|
87
63
|
default: Console;
|
|
88
64
|
writable: boolean;
|
|
89
65
|
private: boolean;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
66
|
+
depends?: string;
|
|
67
|
+
additionalAttributes: string[];
|
|
68
|
+
description: string;
|
|
69
|
+
set?: Function;
|
|
70
|
+
get?: Function;
|
|
71
|
+
env?: string | string[];
|
|
94
72
|
};
|
|
95
73
|
};
|
|
96
74
|
/**
|
package/types/hook.d.mts
CHANGED
|
@@ -4,88 +4,40 @@
|
|
|
4
4
|
export class Hook extends OwnedObject {
|
|
5
5
|
static defaultEvents: Set<string>;
|
|
6
6
|
static get attributes(): {
|
|
7
|
-
active:
|
|
8
|
-
|
|
9
|
-
default: boolean;
|
|
10
|
-
writable: boolean;
|
|
11
|
-
mandatory: boolean;
|
|
12
|
-
private: boolean;
|
|
13
|
-
isKey: boolean;
|
|
14
|
-
additionalAttributes: any[];
|
|
15
|
-
env: any[];
|
|
16
|
-
};
|
|
17
|
-
secret: {
|
|
18
|
-
private: boolean;
|
|
19
|
-
writable: boolean;
|
|
20
|
-
type: string;
|
|
21
|
-
mandatory: boolean;
|
|
22
|
-
isKey: boolean;
|
|
23
|
-
additionalAttributes: any[];
|
|
24
|
-
env: any[];
|
|
25
|
-
};
|
|
7
|
+
active: import("pacc").AttributeDefinition;
|
|
8
|
+
secret: import("pacc").AttributeDefinition;
|
|
26
9
|
url: {
|
|
27
10
|
description: string;
|
|
28
11
|
writable: boolean;
|
|
29
12
|
type: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
13
|
+
private?: boolean;
|
|
14
|
+
depends?: string;
|
|
15
|
+
additionalAttributes: string[];
|
|
16
|
+
default?: any;
|
|
17
|
+
set?: Function;
|
|
18
|
+
get?: Function;
|
|
19
|
+
env?: string | string[];
|
|
35
20
|
};
|
|
36
21
|
content_type: {
|
|
37
22
|
default: string;
|
|
38
23
|
writable: boolean;
|
|
39
24
|
type: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
writable: boolean;
|
|
48
|
-
default: boolean;
|
|
49
|
-
type: string;
|
|
50
|
-
mandatory: boolean;
|
|
51
|
-
private: boolean;
|
|
52
|
-
isKey: boolean;
|
|
53
|
-
additionalAttributes: any[];
|
|
54
|
-
env: any[];
|
|
25
|
+
private?: boolean;
|
|
26
|
+
depends?: string;
|
|
27
|
+
additionalAttributes: string[];
|
|
28
|
+
description: string;
|
|
29
|
+
set?: Function;
|
|
30
|
+
get?: Function;
|
|
31
|
+
env?: string | string[];
|
|
55
32
|
};
|
|
33
|
+
insecure_ssl: import("pacc").AttributeDefinition;
|
|
56
34
|
events: {
|
|
57
35
|
type: string;
|
|
58
36
|
default: Set<string>;
|
|
59
37
|
};
|
|
60
|
-
id:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
type: string;
|
|
64
|
-
writable: boolean;
|
|
65
|
-
mandatory: boolean;
|
|
66
|
-
private: boolean;
|
|
67
|
-
additionalAttributes: any[];
|
|
68
|
-
env: any[];
|
|
69
|
-
};
|
|
70
|
-
name: {
|
|
71
|
-
isKey: boolean;
|
|
72
|
-
type: string;
|
|
73
|
-
writable: boolean;
|
|
74
|
-
mandatory: boolean;
|
|
75
|
-
private: boolean;
|
|
76
|
-
additionalAttributes: any[];
|
|
77
|
-
env: any[];
|
|
78
|
-
};
|
|
79
|
-
description: {
|
|
80
|
-
description: string;
|
|
81
|
-
writable: boolean;
|
|
82
|
-
type: string;
|
|
83
|
-
mandatory: boolean;
|
|
84
|
-
private: boolean;
|
|
85
|
-
isKey: boolean;
|
|
86
|
-
additionalAttributes: any[];
|
|
87
|
-
env: any[];
|
|
88
|
-
};
|
|
38
|
+
id: import("pacc").AttributeDefinition;
|
|
39
|
+
name: import("pacc").AttributeDefinition;
|
|
40
|
+
description: import("pacc").AttributeDefinition;
|
|
89
41
|
};
|
|
90
42
|
static get delteteMethodName(): string;
|
|
91
43
|
}
|
package/types/milestone.d.mts
CHANGED
|
@@ -2,44 +2,10 @@
|
|
|
2
2
|
*/
|
|
3
3
|
export class Milestone extends OwnedObject {
|
|
4
4
|
static get attributes(): {
|
|
5
|
-
state:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
private: boolean;
|
|
10
|
-
isKey: boolean;
|
|
11
|
-
additionalAttributes: any[];
|
|
12
|
-
env: any[];
|
|
13
|
-
};
|
|
14
|
-
id: {
|
|
15
|
-
isKey: boolean;
|
|
16
|
-
description: string;
|
|
17
|
-
type: string;
|
|
18
|
-
writable: boolean;
|
|
19
|
-
mandatory: boolean;
|
|
20
|
-
private: boolean;
|
|
21
|
-
additionalAttributes: any[];
|
|
22
|
-
env: any[];
|
|
23
|
-
};
|
|
24
|
-
name: {
|
|
25
|
-
isKey: boolean;
|
|
26
|
-
type: string;
|
|
27
|
-
writable: boolean;
|
|
28
|
-
mandatory: boolean;
|
|
29
|
-
private: boolean;
|
|
30
|
-
additionalAttributes: any[];
|
|
31
|
-
env: any[];
|
|
32
|
-
};
|
|
33
|
-
description: {
|
|
34
|
-
description: string;
|
|
35
|
-
writable: boolean;
|
|
36
|
-
type: string;
|
|
37
|
-
mandatory: boolean;
|
|
38
|
-
private: boolean;
|
|
39
|
-
isKey: boolean;
|
|
40
|
-
additionalAttributes: any[];
|
|
41
|
-
env: any[];
|
|
42
|
-
};
|
|
5
|
+
state: import("pacc").AttributeDefinition;
|
|
6
|
+
id: import("pacc").AttributeDefinition;
|
|
7
|
+
name: import("pacc").AttributeDefinition;
|
|
8
|
+
description: import("pacc").AttributeDefinition;
|
|
43
9
|
};
|
|
44
10
|
issues(): AsyncGenerator<never, void, unknown>;
|
|
45
11
|
}
|
package/types/named-object.d.mts
CHANGED
|
@@ -12,35 +12,9 @@
|
|
|
12
12
|
*/
|
|
13
13
|
export class NamedObject extends BaseObject {
|
|
14
14
|
static get attributes(): {
|
|
15
|
-
id:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
type: string;
|
|
19
|
-
writable: boolean;
|
|
20
|
-
mandatory: boolean;
|
|
21
|
-
private: boolean;
|
|
22
|
-
additionalAttributes: any[];
|
|
23
|
-
env: any[];
|
|
24
|
-
};
|
|
25
|
-
name: {
|
|
26
|
-
isKey: boolean;
|
|
27
|
-
type: string;
|
|
28
|
-
writable: boolean;
|
|
29
|
-
mandatory: boolean;
|
|
30
|
-
private: boolean;
|
|
31
|
-
additionalAttributes: any[];
|
|
32
|
-
env: any[];
|
|
33
|
-
};
|
|
34
|
-
description: {
|
|
35
|
-
description: string;
|
|
36
|
-
writable: boolean;
|
|
37
|
-
type: string;
|
|
38
|
-
mandatory: boolean;
|
|
39
|
-
private: boolean;
|
|
40
|
-
isKey: boolean;
|
|
41
|
-
additionalAttributes: any[];
|
|
42
|
-
env: any[];
|
|
43
|
-
};
|
|
15
|
+
id: import("pacc").AttributeDefinition;
|
|
16
|
+
name: import("pacc").AttributeDefinition;
|
|
17
|
+
description: import("pacc").AttributeDefinition;
|
|
44
18
|
};
|
|
45
19
|
constructor(name: any, options: any, additionalProperties: any);
|
|
46
20
|
set name(name: any);
|
package/types/pull-request.d.mts
CHANGED
|
@@ -60,35 +60,9 @@ export class PullRequest extends OwnedObject {
|
|
|
60
60
|
*/
|
|
61
61
|
static open(source: Branch, destination: Branch, options?: any): Promise<PullRequest>;
|
|
62
62
|
static get attributes(): {
|
|
63
|
-
body:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
mandatory: boolean;
|
|
67
|
-
private: boolean;
|
|
68
|
-
isKey: boolean;
|
|
69
|
-
additionalAttributes: any[];
|
|
70
|
-
env: any[];
|
|
71
|
-
};
|
|
72
|
-
title: {
|
|
73
|
-
description: string;
|
|
74
|
-
writable: boolean;
|
|
75
|
-
type: string;
|
|
76
|
-
mandatory: boolean;
|
|
77
|
-
private: boolean;
|
|
78
|
-
isKey: boolean;
|
|
79
|
-
additionalAttributes: any[];
|
|
80
|
-
env: any[];
|
|
81
|
-
};
|
|
82
|
-
url: {
|
|
83
|
-
description: string;
|
|
84
|
-
type: string;
|
|
85
|
-
writable: boolean;
|
|
86
|
-
mandatory: boolean;
|
|
87
|
-
private: boolean;
|
|
88
|
-
isKey: boolean;
|
|
89
|
-
additionalAttributes: any[];
|
|
90
|
-
env: any[];
|
|
91
|
-
};
|
|
63
|
+
body: import("pacc").AttributeDefinition;
|
|
64
|
+
title: import("pacc").AttributeDefinition;
|
|
65
|
+
url: import("pacc").AttributeDefinition;
|
|
92
66
|
/**
|
|
93
67
|
* state of the pull request.
|
|
94
68
|
* - OPEN
|
|
@@ -99,104 +73,36 @@ export class PullRequest extends OwnedObject {
|
|
|
99
73
|
state: {
|
|
100
74
|
default: string;
|
|
101
75
|
values: Set<string>;
|
|
102
|
-
writable: boolean;
|
|
103
76
|
type: string;
|
|
104
|
-
|
|
105
|
-
private
|
|
106
|
-
|
|
107
|
-
additionalAttributes:
|
|
108
|
-
|
|
77
|
+
writable: boolean;
|
|
78
|
+
private?: boolean;
|
|
79
|
+
depends?: string;
|
|
80
|
+
additionalAttributes: string[];
|
|
81
|
+
description: string;
|
|
82
|
+
set?: Function;
|
|
83
|
+
get?: Function;
|
|
84
|
+
env?: string | string[];
|
|
109
85
|
};
|
|
110
86
|
/**
|
|
111
87
|
* Locked state of the pull request.
|
|
112
88
|
* @return {boolean}
|
|
113
89
|
*/
|
|
114
|
-
locked:
|
|
115
|
-
writable: boolean;
|
|
116
|
-
default: boolean;
|
|
117
|
-
type: string;
|
|
118
|
-
mandatory: boolean;
|
|
119
|
-
private: boolean;
|
|
120
|
-
isKey: boolean;
|
|
121
|
-
additionalAttributes: any[];
|
|
122
|
-
env: any[];
|
|
123
|
-
};
|
|
90
|
+
locked: import("pacc").AttributeDefinition;
|
|
124
91
|
/**
|
|
125
92
|
* Merged state of the pull request.
|
|
126
93
|
* @return {boolean}
|
|
127
94
|
*/
|
|
128
|
-
merged:
|
|
129
|
-
writable: boolean;
|
|
130
|
-
default: boolean;
|
|
131
|
-
type: string;
|
|
132
|
-
mandatory: boolean;
|
|
133
|
-
private: boolean;
|
|
134
|
-
isKey: boolean;
|
|
135
|
-
additionalAttributes: any[];
|
|
136
|
-
env: any[];
|
|
137
|
-
};
|
|
95
|
+
merged: import("pacc").AttributeDefinition;
|
|
138
96
|
/**
|
|
139
97
|
* Draft state of the pull request.
|
|
140
98
|
* @return {boolean}
|
|
141
99
|
*/
|
|
142
|
-
draft:
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
isKey: boolean;
|
|
149
|
-
additionalAttributes: any[];
|
|
150
|
-
env: any[];
|
|
151
|
-
};
|
|
152
|
-
dry: {
|
|
153
|
-
writable: boolean;
|
|
154
|
-
default: boolean;
|
|
155
|
-
type: string;
|
|
156
|
-
mandatory: boolean;
|
|
157
|
-
private: boolean;
|
|
158
|
-
isKey: boolean;
|
|
159
|
-
additionalAttributes: any[];
|
|
160
|
-
env: any[];
|
|
161
|
-
};
|
|
162
|
-
empty: {
|
|
163
|
-
type: string;
|
|
164
|
-
writable: boolean;
|
|
165
|
-
mandatory: boolean;
|
|
166
|
-
private: boolean;
|
|
167
|
-
isKey: boolean;
|
|
168
|
-
additionalAttributes: any[];
|
|
169
|
-
env: any[];
|
|
170
|
-
};
|
|
171
|
-
id: {
|
|
172
|
-
isKey: boolean;
|
|
173
|
-
description: string;
|
|
174
|
-
type: string;
|
|
175
|
-
writable: boolean;
|
|
176
|
-
mandatory: boolean;
|
|
177
|
-
private: boolean;
|
|
178
|
-
additionalAttributes: any[];
|
|
179
|
-
env: any[];
|
|
180
|
-
};
|
|
181
|
-
name: {
|
|
182
|
-
isKey: boolean;
|
|
183
|
-
type: string;
|
|
184
|
-
writable: boolean;
|
|
185
|
-
mandatory: boolean;
|
|
186
|
-
private: boolean;
|
|
187
|
-
additionalAttributes: any[];
|
|
188
|
-
env: any[];
|
|
189
|
-
};
|
|
190
|
-
description: {
|
|
191
|
-
description: string;
|
|
192
|
-
writable: boolean;
|
|
193
|
-
type: string;
|
|
194
|
-
mandatory: boolean;
|
|
195
|
-
private: boolean;
|
|
196
|
-
isKey: boolean;
|
|
197
|
-
additionalAttributes: any[];
|
|
198
|
-
env: any[];
|
|
199
|
-
};
|
|
100
|
+
draft: import("pacc").AttributeDefinition;
|
|
101
|
+
dry: import("pacc").AttributeDefinition;
|
|
102
|
+
empty: import("pacc").AttributeDefinition;
|
|
103
|
+
id: import("pacc").AttributeDefinition;
|
|
104
|
+
name: import("pacc").AttributeDefinition;
|
|
105
|
+
description: import("pacc").AttributeDefinition;
|
|
200
106
|
};
|
|
201
107
|
source: any;
|
|
202
108
|
get destination(): any;
|
package/types/ref.d.mts
CHANGED
|
@@ -11,29 +11,12 @@ export class Ref extends OwnedObject {
|
|
|
11
11
|
* options
|
|
12
12
|
*/
|
|
13
13
|
static get attributes(): {
|
|
14
|
-
name:
|
|
15
|
-
isKey: boolean;
|
|
16
|
-
type: string;
|
|
17
|
-
writable: boolean;
|
|
18
|
-
mandatory: boolean;
|
|
19
|
-
private: boolean;
|
|
20
|
-
additionalAttributes: any[];
|
|
21
|
-
env: any[];
|
|
22
|
-
};
|
|
14
|
+
name: import("pacc").AttributeDefinition;
|
|
23
15
|
/**
|
|
24
16
|
* Can the ref be modified.
|
|
25
17
|
* @return {boolean}
|
|
26
18
|
*/
|
|
27
|
-
isProtected:
|
|
28
|
-
writable: boolean;
|
|
29
|
-
default: boolean;
|
|
30
|
-
type: string;
|
|
31
|
-
mandatory: boolean;
|
|
32
|
-
private: boolean;
|
|
33
|
-
isKey: boolean;
|
|
34
|
-
additionalAttributes: any[];
|
|
35
|
-
env: any[];
|
|
36
|
-
};
|
|
19
|
+
isProtected: import("pacc").AttributeDefinition;
|
|
37
20
|
};
|
|
38
21
|
static get attributeMapping(): {
|
|
39
22
|
protected: string;
|
package/types/repository.d.mts
CHANGED
|
@@ -22,16 +22,7 @@ export class Repository extends OwnedObject {
|
|
|
22
22
|
* options
|
|
23
23
|
*/
|
|
24
24
|
static get attributes(): {
|
|
25
|
-
url:
|
|
26
|
-
description: string;
|
|
27
|
-
type: string;
|
|
28
|
-
writable: boolean;
|
|
29
|
-
mandatory: boolean;
|
|
30
|
-
private: boolean;
|
|
31
|
-
isKey: boolean;
|
|
32
|
-
additionalAttributes: any[];
|
|
33
|
-
env: any[];
|
|
34
|
-
};
|
|
25
|
+
url: import("pacc").AttributeDefinition;
|
|
35
26
|
/**
|
|
36
27
|
* The name of the default branch
|
|
37
28
|
* @return {string}
|
|
@@ -40,101 +31,23 @@ export class Repository extends OwnedObject {
|
|
|
40
31
|
default: string;
|
|
41
32
|
type: string;
|
|
42
33
|
writable: boolean;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
additionalAttributes: any[];
|
|
47
|
-
env: any[];
|
|
48
|
-
};
|
|
49
|
-
cloneURL: {
|
|
34
|
+
private?: boolean;
|
|
35
|
+
depends?: string;
|
|
36
|
+
additionalAttributes: string[];
|
|
50
37
|
description: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
private: boolean;
|
|
55
|
-
isKey: boolean;
|
|
56
|
-
additionalAttributes: any[];
|
|
57
|
-
env: any[];
|
|
58
|
-
};
|
|
59
|
-
isArchived: {
|
|
60
|
-
writable: boolean;
|
|
61
|
-
default: boolean;
|
|
62
|
-
type: string;
|
|
63
|
-
mandatory: boolean;
|
|
64
|
-
private: boolean;
|
|
65
|
-
isKey: boolean;
|
|
66
|
-
additionalAttributes: any[];
|
|
67
|
-
env: any[];
|
|
68
|
-
};
|
|
69
|
-
isLocked: {
|
|
70
|
-
writable: boolean;
|
|
71
|
-
default: boolean;
|
|
72
|
-
type: string;
|
|
73
|
-
mandatory: boolean;
|
|
74
|
-
private: boolean;
|
|
75
|
-
isKey: boolean;
|
|
76
|
-
additionalAttributes: any[];
|
|
77
|
-
env: any[];
|
|
78
|
-
};
|
|
79
|
-
isDisabled: {
|
|
80
|
-
writable: boolean;
|
|
81
|
-
default: boolean;
|
|
82
|
-
type: string;
|
|
83
|
-
mandatory: boolean;
|
|
84
|
-
private: boolean;
|
|
85
|
-
isKey: boolean;
|
|
86
|
-
additionalAttributes: any[];
|
|
87
|
-
env: any[];
|
|
88
|
-
};
|
|
89
|
-
isTemplate: {
|
|
90
|
-
writable: boolean;
|
|
91
|
-
default: boolean;
|
|
92
|
-
type: string;
|
|
93
|
-
mandatory: boolean;
|
|
94
|
-
private: boolean;
|
|
95
|
-
isKey: boolean;
|
|
96
|
-
additionalAttributes: any[];
|
|
97
|
-
env: any[];
|
|
98
|
-
};
|
|
99
|
-
isFork: {
|
|
100
|
-
type: string;
|
|
101
|
-
default: boolean;
|
|
102
|
-
writable: boolean;
|
|
103
|
-
mandatory: boolean;
|
|
104
|
-
private: boolean;
|
|
105
|
-
isKey: boolean;
|
|
106
|
-
additionalAttributes: any[];
|
|
107
|
-
env: any[];
|
|
108
|
-
};
|
|
109
|
-
id: {
|
|
110
|
-
isKey: boolean;
|
|
111
|
-
description: string;
|
|
112
|
-
type: string;
|
|
113
|
-
writable: boolean;
|
|
114
|
-
mandatory: boolean;
|
|
115
|
-
private: boolean;
|
|
116
|
-
additionalAttributes: any[];
|
|
117
|
-
env: any[];
|
|
118
|
-
};
|
|
119
|
-
name: {
|
|
120
|
-
isKey: boolean;
|
|
121
|
-
type: string;
|
|
122
|
-
writable: boolean;
|
|
123
|
-
mandatory: boolean;
|
|
124
|
-
private: boolean;
|
|
125
|
-
additionalAttributes: any[];
|
|
126
|
-
env: any[];
|
|
127
|
-
};
|
|
128
|
-
description: {
|
|
129
|
-
description: string;
|
|
130
|
-
writable: boolean;
|
|
131
|
-
type: string;
|
|
132
|
-
mandatory: boolean;
|
|
133
|
-
private: boolean;
|
|
134
|
-
isKey: boolean;
|
|
135
|
-
additionalAttributes: any[];
|
|
136
|
-
env: any[];
|
|
38
|
+
set?: Function;
|
|
39
|
+
get?: Function;
|
|
40
|
+
env?: string | string[];
|
|
137
41
|
};
|
|
42
|
+
cloneURL: import("pacc").AttributeDefinition;
|
|
43
|
+
isArchived: import("pacc").AttributeDefinition;
|
|
44
|
+
isLocked: import("pacc").AttributeDefinition;
|
|
45
|
+
isDisabled: import("pacc").AttributeDefinition;
|
|
46
|
+
isTemplate: import("pacc").AttributeDefinition;
|
|
47
|
+
isFork: import("pacc").AttributeDefinition;
|
|
48
|
+
id: import("pacc").AttributeDefinition;
|
|
49
|
+
name: import("pacc").AttributeDefinition;
|
|
50
|
+
description: import("pacc").AttributeDefinition;
|
|
138
51
|
};
|
|
139
52
|
constructor(owner: any, name: any, options: any);
|
|
140
53
|
get defaultBranchName(): string;
|