@pierre/storage 1.4.0 → 1.4.1
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/dist/index.cjs +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/types.ts +9 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -41,9 +41,18 @@ export interface GitStorageOptions extends OverrideableGitStorageOptions {
|
|
|
41
41
|
|
|
42
42
|
export type ValidAPIVersion = 1;
|
|
43
43
|
|
|
44
|
+
/** A policy operation included in the JWT. */
|
|
45
|
+
export type Op = string;
|
|
46
|
+
|
|
47
|
+
export const OP_NO_FORCE_PUSH: Op = 'no-force-push';
|
|
48
|
+
|
|
49
|
+
/** A list of policy operations. */
|
|
50
|
+
export type Ops = Op[];
|
|
51
|
+
|
|
44
52
|
export interface GetRemoteURLOptions {
|
|
45
53
|
permissions?: ('git:write' | 'git:read' | 'repo:write' | 'org:read')[];
|
|
46
54
|
ttl?: number;
|
|
55
|
+
ops?: Ops;
|
|
47
56
|
}
|
|
48
57
|
|
|
49
58
|
export interface Repo {
|