solid-ui 3.0.4-9a90250 → 3.0.4-acc6e97
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/acl/access-groups.d.ts.map +1 -1
- package/dist/acl/access-groups.js +8 -1
- package/dist/acl/access-groups.js.map +1 -1
- package/dist/solid-ui.esm.js +5 -1
- package/dist/solid-ui.esm.js.map +1 -1
- package/dist/solid-ui.esm.min.js +8 -8
- package/dist/solid-ui.esm.min.js.map +1 -1
- package/dist/solid-ui.js +5 -1
- package/dist/solid-ui.js.map +1 -1
- package/dist/solid-ui.min.js +1 -1
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/versionInfo.js +2 -2
- package/package.json +3 -3
package/dist/solid-ui.js
CHANGED
|
@@ -11454,6 +11454,8 @@ var AccessGroups = /*#__PURE__*/function () {
|
|
|
11454
11454
|
thing,
|
|
11455
11455
|
_this$_store,
|
|
11456
11456
|
message,
|
|
11457
|
+
detectedTypes,
|
|
11458
|
+
typeDetails,
|
|
11457
11459
|
error,
|
|
11458
11460
|
_args4 = arguments,
|
|
11459
11461
|
_t2;
|
|
@@ -11487,7 +11489,9 @@ var AccessGroups = /*#__PURE__*/function () {
|
|
|
11487
11489
|
_context4.next = 6;
|
|
11488
11490
|
break;
|
|
11489
11491
|
}
|
|
11490
|
-
|
|
11492
|
+
detectedTypes = Object.keys(this.store.findTypeURIs(thing));
|
|
11493
|
+
typeDetails = detectedTypes.length > 0 ? "Detected RDF types: ".concat(detectedTypes.join(', ')) : 'No RDF type was detected for this URI.';
|
|
11494
|
+
error = "Error: Failed to add access target: ".concat(uri, " is not a recognized ACL target type.") + " Expected one of: vcard:WebID, vcard:Group, foaf:Person/foaf:Agent, solid:AppProvider, solid:AppProviderClass, or recognized ACL classes." + ' Hint: try dropping a WebID profile URI, a vcard:Group URI, or a web app origin. ' + typeDetails;
|
|
11491
11495
|
src_debug/* error */.z3(error);
|
|
11492
11496
|
return _context4.abrupt("return", Promise.reject(new Error(error)));
|
|
11493
11497
|
case 6:
|