@oomol-lab/open-flow 0.1.0-beta.36 → 0.1.0-beta.38

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.
@@ -0,0 +1,20 @@
1
+ export type ProviderAccessSource = {
2
+ readonly kind: 'admin-delegation';
3
+ } | {
4
+ readonly kind: 'policy';
5
+ readonly ruleId: string | null;
6
+ };
7
+ export interface ProviderAccessIdentity {
8
+ readonly accessBindingId: string;
9
+ readonly connectionId: string;
10
+ readonly providerId: string;
11
+ readonly source: ProviderAccessSource;
12
+ }
13
+ export type ProviderAccessReference = ProviderAccessIdentity | {
14
+ readonly accessBindingId: string;
15
+ readonly providerId: string;
16
+ readonly connectionId: null;
17
+ readonly source: null;
18
+ };
19
+ export declare function parseProviderAccessSource(value: unknown): ProviderAccessSource;
20
+ export declare function providerAccessBindingId(teamId: string, identity: Omit<ProviderAccessIdentity, 'accessBindingId'>): Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oomol-lab/open-flow",
3
- "version": "0.1.0-beta.36",
3
+ "version": "0.1.0-beta.38",
4
4
  "description": "TypeScript contracts and Browser runtime for Open Flow.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {