added web link class

pull/37/head
Niko PLP 3 months ago
parent 947afbdceb
commit 01816d000b
  1. 8
      ng-app/src/classes.ts
  2. 5
      ng-app/src/lib/FullLayout.svelte
  3. 1
      ng-app/src/lib/icons/DataClassIcon.svelte

@ -387,6 +387,12 @@ export const official_classes = {
},
"ng:compat": ["file:iana:message:rfc822","file:iana:multipart:related"],
},
"e:link": {
"ng:crdt": "Graph",
"ng:n": "Web Link",
"ng:a": "HTTP link to a page on the Web",
"ng:compat": [],
},
"e:web": {
"ng:crdt": "Graph",
//https://www.npmjs.com/package/warcio https://github.com/N0taN3rd/node-warc
@ -408,7 +414,7 @@ export const official_classes = {
"mc:link": {
"ng:crdt": "Graph",
"ng:n": "Link",
"ng:a": "Link to a document kept in Magic Carpet",
"ng:a": "Link to a document. kept in Magic Carpet",
},
"plato/card": {
"ng:crdt": "Graph",

@ -1116,6 +1116,11 @@
{/each}
{/if}
<MenuItem title={get_class("e:link")["ng:a"]} clickable={ ()=> new_document("e:link") }>
<DataClassIcon dataClass="e:link" {config}/>
<span class="ml-3">{get_class("e:link")["ng:n"]}</span>
</MenuItem>
</ul>
</div>
</aside>

@ -109,6 +109,7 @@
"data:grid": Squares2x2,
"data:geomap": MapPin,
"e:email": Envelope,
"e:link": Link,
"mc:text": Bars3BottomLeft,
"mc:link": Link,
"plato/card": Clipboard,

Loading…
Cancel
Save