files.com 1.0.276 → 1.0.277
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/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.277
|
package/docs/models/Snapshot.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
```
|
6
6
|
{
|
7
|
+
"id": 1,
|
7
8
|
"expires_at": "2000-01-01T01:00:00Z",
|
8
9
|
"finalized_at": "2000-01-01T01:00:00Z",
|
9
10
|
"name": "My Snapshot",
|
@@ -12,13 +13,13 @@
|
|
12
13
|
}
|
13
14
|
```
|
14
15
|
|
16
|
+
* `id` (int64): The snapshot's unique ID.
|
15
17
|
* `expires_at` (date-time): When the snapshot expires.
|
16
18
|
* `finalized_at` (date-time): When the snapshot was finalized.
|
17
19
|
* `name` (string): A name for the snapshot.
|
18
20
|
* `user_id` (int64): The user that created this snapshot, if applicable.
|
19
21
|
* `bundle_id` (int64): The bundle using this snapshot, if applicable.
|
20
22
|
* `paths` (array(string)): An array of paths to add to the snapshot.
|
21
|
-
* `id` (int64): Snapshot ID.
|
22
23
|
|
23
24
|
---
|
24
25
|
|
@@ -91,6 +92,7 @@ await snapshot.update({
|
|
91
92
|
|
92
93
|
```json
|
93
94
|
{
|
95
|
+
"id": 1,
|
94
96
|
"expires_at": "2000-01-01T01:00:00Z",
|
95
97
|
"finalized_at": "2000-01-01T01:00:00Z",
|
96
98
|
"name": "My Snapshot",
|
@@ -31,6 +31,7 @@
|
|
31
31
|
"provision_group_required": "example",
|
32
32
|
"provision_email_signup_groups": "Employees",
|
33
33
|
"provision_site_admin_groups": "Employees",
|
34
|
+
"provision_group_admin_groups": "Employees",
|
34
35
|
"provision_attachments_permission": true,
|
35
36
|
"provision_dav_permission": true,
|
36
37
|
"provision_ftp_permission": true,
|
@@ -77,6 +78,7 @@
|
|
77
78
|
* `provision_group_required` (string): Comma or newline separated list of group names (with optional wildcards) to require membership for user provisioning.
|
78
79
|
* `provision_email_signup_groups` (string): Comma-separated list of group names whose members will be created with email_signup authentication.
|
79
80
|
* `provision_site_admin_groups` (string): Comma-separated list of group names whose members will be created as Site Admins.
|
81
|
+
* `provision_group_admin_groups` (string): Comma-separated list of group names whose members will be provisioned as Group Admins.
|
80
82
|
* `provision_attachments_permission` (boolean): DEPRECATED: Auto-provisioned users get Sharing permission. Use a Group with the Bundle permission instead.
|
81
83
|
* `provision_dav_permission` (boolean): Auto-provisioned users get WebDAV permission?
|
82
84
|
* `provision_ftp_permission` (boolean): Auto-provisioned users get FTP permission?
|
package/lib/models/Snapshot.js
CHANGED
@@ -31,6 +31,13 @@ var Snapshot = /*#__PURE__*/(0, _createClass2.default)(function Snapshot() {
|
|
31
31
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
32
32
|
return !!_this.attributes.id;
|
33
33
|
});
|
34
|
+
// int64 # The snapshot's unique ID.
|
35
|
+
(0, _defineProperty2.default)(this, "getId", function () {
|
36
|
+
return _this.attributes.id;
|
37
|
+
});
|
38
|
+
(0, _defineProperty2.default)(this, "setId", function (value) {
|
39
|
+
_this.attributes.id = value;
|
40
|
+
});
|
34
41
|
// date-time # When the snapshot expires.
|
35
42
|
(0, _defineProperty2.default)(this, "getExpiresAt", function () {
|
36
43
|
return _this.attributes.expires_at;
|
@@ -73,13 +80,6 @@ var Snapshot = /*#__PURE__*/(0, _createClass2.default)(function Snapshot() {
|
|
73
80
|
(0, _defineProperty2.default)(this, "setPaths", function (value) {
|
74
81
|
_this.attributes.paths = value;
|
75
82
|
});
|
76
|
-
// int64 # Snapshot ID.
|
77
|
-
(0, _defineProperty2.default)(this, "getId", function () {
|
78
|
-
return _this.attributes.id;
|
79
|
-
});
|
80
|
-
(0, _defineProperty2.default)(this, "setId", function (value) {
|
81
|
-
_this.attributes.id = value;
|
82
|
-
});
|
83
83
|
// Parameters:
|
84
84
|
// expires_at - string - When the snapshot expires.
|
85
85
|
// name - string - A name for the snapshot.
|
@@ -139,6 +139,10 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
|
|
139
139
|
(0, _defineProperty2.default)(this, "getProvisionSiteAdminGroups", function () {
|
140
140
|
return _this.attributes.provision_site_admin_groups;
|
141
141
|
});
|
142
|
+
// string # Comma-separated list of group names whose members will be provisioned as Group Admins.
|
143
|
+
(0, _defineProperty2.default)(this, "getProvisionGroupAdminGroups", function () {
|
144
|
+
return _this.attributes.provision_group_admin_groups;
|
145
|
+
});
|
142
146
|
// boolean # DEPRECATED: Auto-provisioned users get Sharing permission. Use a Group with the Bundle permission instead.
|
143
147
|
(0, _defineProperty2.default)(this, "getProvisionAttachmentsPermission", function () {
|
144
148
|
return _this.attributes.provision_attachments_permission;
|
package/package.json
CHANGED
package/src/models/Snapshot.js
CHANGED
@@ -23,6 +23,13 @@ class Snapshot {
|
|
23
23
|
}
|
24
24
|
|
25
25
|
isLoaded = () => !!this.attributes.id
|
26
|
+
// int64 # The snapshot's unique ID.
|
27
|
+
getId = () => this.attributes.id
|
28
|
+
|
29
|
+
setId = value => {
|
30
|
+
this.attributes.id = value
|
31
|
+
}
|
32
|
+
|
26
33
|
// date-time # When the snapshot expires.
|
27
34
|
getExpiresAt = () => this.attributes.expires_at
|
28
35
|
|
@@ -65,13 +72,6 @@ class Snapshot {
|
|
65
72
|
this.attributes.paths = value
|
66
73
|
}
|
67
74
|
|
68
|
-
// int64 # Snapshot ID.
|
69
|
-
getId = () => this.attributes.id
|
70
|
-
|
71
|
-
setId = value => {
|
72
|
-
this.attributes.id = value
|
73
|
-
}
|
74
|
-
|
75
75
|
|
76
76
|
// Parameters:
|
77
77
|
// expires_at - string - When the snapshot expires.
|
@@ -104,6 +104,9 @@ class SsoStrategy {
|
|
104
104
|
// string # Comma-separated list of group names whose members will be created as Site Admins.
|
105
105
|
getProvisionSiteAdminGroups = () => this.attributes.provision_site_admin_groups
|
106
106
|
|
107
|
+
// string # Comma-separated list of group names whose members will be provisioned as Group Admins.
|
108
|
+
getProvisionGroupAdminGroups = () => this.attributes.provision_group_admin_groups
|
109
|
+
|
107
110
|
// boolean # DEPRECATED: Auto-provisioned users get Sharing permission. Use a Group with the Bundle permission instead.
|
108
111
|
getProvisionAttachmentsPermission = () => this.attributes.provision_attachments_permission
|
109
112
|
|