@narrative.io/data-collaboration-sdk-ts 0.12.0 → 0.12.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.
|
@@ -45,7 +45,8 @@ interface AccessRuleSchema {
|
|
|
45
45
|
required?: string[];
|
|
46
46
|
}
|
|
47
47
|
type AccessRuleStatus = "active" | "archived";
|
|
48
|
-
|
|
48
|
+
export type AccessRuleShareType = "implicit_share" | "explicit_share";
|
|
49
|
+
export interface SharedAccessRule {
|
|
49
50
|
name?: string;
|
|
50
51
|
id: number;
|
|
51
52
|
company_id: number;
|
|
@@ -60,9 +61,9 @@ interface SharedAccessRule {
|
|
|
60
61
|
metadata: AccessRuleMetadata;
|
|
61
62
|
created_at: string;
|
|
62
63
|
updated_at: string;
|
|
63
|
-
type:
|
|
64
|
+
type: AccessRuleShareType;
|
|
64
65
|
}
|
|
65
|
-
interface OwnedAccessRule {
|
|
66
|
+
export interface OwnedAccessRule {
|
|
66
67
|
name?: string;
|
|
67
68
|
id: number;
|
|
68
69
|
company_id: number;
|