Skip to content

Commit

Permalink
WIP: opt out of normalized JSONLD
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr committed Nov 27, 2023
1 parent ce77d85 commit c4fa721
Show file tree
Hide file tree
Showing 12 changed files with 405 additions and 208 deletions.
175 changes: 109 additions & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"jest-environment-jsdom": "^29.3.1",
"license-checker": "^25.0.1",
"prettier": "^3.0.2",
"rdf-isomorphic": "^1.3.1",
"rollup": "^3.1.0",
"rollup-plugin-typescript2": "^0.35.0",
"ts-jest": "^29.0.3",
Expand All @@ -134,7 +135,7 @@
},
"dependencies": {
"@inrupt/solid-client": "^1.25.1",
"@inrupt/solid-client-vc": "^0.8.0-beta.1",
"@inrupt/solid-client-vc": "file:../solid-client-vc-js",
"@inrupt/universal-fetch": "^1.0.1",
"@types/rdfjs__dataset": "^1.0.5",
"auth-header": "^1.0.0",
Expand Down
7 changes: 6 additions & 1 deletion src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ const XSD = "http://www.w3.org/2001/XMLSchema#";

export const XSD_BOOLEAN = namedNode(`${XSD}boolean`);

export const SOLID_ACCESS_GRANT = namedNode(`${VC}SolidAccessGrant`);
export const TYPE = namedNode(rdf.type);

export const solidVc = {
SolidAccessRequest: namedNode(`${VC}SolidAccessRequest`),
SolidAccessGrant: namedNode(`${VC}SolidAccessGrant`),
SolidAccessDenial: namedNode(`${VC}SolidAccessDenial`),
}

Check failure on line 38 in src/common/constants.ts

View workflow job for this annotation

GitHub Actions / lint / lint

Insert `;`

export const gc = {
providedConsent: namedNode(`${GC}providedConsent`),
hasConsent: namedNode(`${GC}hasConsent`),
Expand Down
Loading

0 comments on commit c4fa721

Please sign in to comment.