declastruct-github 1.3.3 → 1.3.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.
|
@@ -105,5 +105,7 @@ export declare class DeclaredGithubBranchProtection extends DomainEntity<Declare
|
|
|
105
105
|
as<TDobj_1 extends import("domain-objects").Refable<TShape_1, TPrimary_1, TUnique_1>, TShape_1 extends import("domain-objects/dist/reference/Refable").DomainObjectShape = any, TPrimary_1 extends readonly string[] = any, TUnique_1 extends readonly string[] = any>(props: RefByUnique<TDobj_1, TShape_1, TPrimary_1, TUnique_1>): RefByUnique<TDobj_1, TShape_1, TPrimary_1, TUnique_1>;
|
|
106
106
|
};
|
|
107
107
|
requiredStatusChecks: typeof DomainLiteral;
|
|
108
|
+
requiredPullRequestReviews: typeof DomainLiteral;
|
|
109
|
+
restrictions: typeof DomainLiteral;
|
|
108
110
|
};
|
|
109
111
|
}
|
|
@@ -9,5 +9,7 @@ DeclaredGithubBranchProtection.unique = ['branch'];
|
|
|
9
9
|
DeclaredGithubBranchProtection.nested = {
|
|
10
10
|
branch: (domain_objects_1.RefByUnique),
|
|
11
11
|
requiredStatusChecks: domain_objects_1.DomainLiteral,
|
|
12
|
+
requiredPullRequestReviews: domain_objects_1.DomainLiteral,
|
|
13
|
+
restrictions: domain_objects_1.DomainLiteral,
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=DeclaredGithubBranchProtection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeclaredGithubBranchProtection.js","sourceRoot":"","sources":["../../src/domain.objects/DeclaredGithubBranchProtection.ts"],"names":[],"mappings":";;;AAAA,mDAA0E;AAqH1E,MAAa,8BACX,SAAQ,6BAA4C;;AADtD,
|
|
1
|
+
{"version":3,"file":"DeclaredGithubBranchProtection.js","sourceRoot":"","sources":["../../src/domain.objects/DeclaredGithubBranchProtection.ts"],"names":[],"mappings":";;;AAAA,mDAA0E;AAqH1E,MAAa,8BACX,SAAQ,6BAA4C;;AADtD,wEAWC;AAPe,qCAAM,GAAG,CAAC,QAAQ,CAAU,CAAC;AAC7B,qCAAM,GAAG;IACrB,MAAM,EAAE,CAAA,4BAAwC,CAAA;IAChD,oBAAoB,EAAE,8BAAa;IACnC,0BAA0B,EAAE,8BAAa;IACzC,YAAY,EAAE,8BAAa;CAC5B,CAAC"}
|
|
@@ -50,7 +50,7 @@ exports.setBranch = (0, as_procedure_1.asProcedure)(async (input, context) => {
|
|
|
50
50
|
name: desired.name,
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
-
}, context)) ?? undefined, { timeout: { seconds:
|
|
53
|
+
}, context)) ?? undefined, { timeout: { seconds: 30 } });
|
|
54
54
|
}
|
|
55
55
|
catch (error) {
|
|
56
56
|
if (!(error instanceof Error))
|
|
@@ -91,7 +91,7 @@ exports.setBranch = (0, as_procedure_1.asProcedure)(async (input, context) => {
|
|
|
91
91
|
name: desired.name,
|
|
92
92
|
},
|
|
93
93
|
},
|
|
94
|
-
}, context)) ?? undefined, { timeout: { seconds:
|
|
94
|
+
}, context)) ?? undefined, { timeout: { seconds: 30 } });
|
|
95
95
|
}
|
|
96
96
|
catch (error) {
|
|
97
97
|
if (!(error instanceof Error))
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "declastruct-github",
|
|
3
3
|
"author": "ehmpathy",
|
|
4
4
|
"description": "declarative control of GitHub constructs via declastruct - manage repos, branches, and protection rules",
|
|
5
|
-
"version": "1.3.
|
|
5
|
+
"version": "1.3.5",
|
|
6
6
|
"repository": "ehmpathy/declastruct-github",
|
|
7
7
|
"homepage": "https://github.com/ehmpathy/declastruct-github",
|
|
8
8
|
"keywords": [
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"postversion": "git push origin HEAD --tags --no-verify",
|
|
53
53
|
"prepare:husky": "npx husky install && chmod ug+x .husky/*",
|
|
54
54
|
"prepare": "[ -e .git ] && npm run prepare:husky || exit 0 && npm run prepare:rhachet",
|
|
55
|
-
"prepare:rhachet": "rhachet init --hooks --roles mechanic behaver driver reviewer librarian ergonomist architect reflector dreamer"
|
|
55
|
+
"prepare:rhachet": "rhachet init --hooks --roles mechanic behaver driver reviewer librarian ergonomist architect reflector dreamer dispatcher"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@ehmpathy/uni-time": "1.7.4",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"esbuild-register": "3.6.0",
|
|
88
88
|
"husky": "8.0.3",
|
|
89
89
|
"jest": "30.2.0",
|
|
90
|
-
"rhachet": "1.
|
|
90
|
+
"rhachet": "1.39.8",
|
|
91
91
|
"rhachet-brains-anthropic": "0.4.0",
|
|
92
|
-
"rhachet-brains-xai": "0.3.
|
|
93
|
-
"rhachet-roles-bhrain": "0.23.
|
|
94
|
-
"rhachet-roles-bhuild": "0.
|
|
95
|
-
"rhachet-roles-ehmpathy": "1.34.
|
|
92
|
+
"rhachet-brains-xai": "0.3.3",
|
|
93
|
+
"rhachet-roles-bhrain": "0.23.10",
|
|
94
|
+
"rhachet-roles-bhuild": "0.15.1",
|
|
95
|
+
"rhachet-roles-ehmpathy": "1.34.20",
|
|
96
96
|
"simple-log-methods": "0.6.2",
|
|
97
97
|
"test-fns": "1.5.0",
|
|
98
98
|
"tsc-alias": "1.8.10",
|