Skip to content

Commit

Permalink
Merge 2a60252 into 4403421
Browse files Browse the repository at this point in the history
  • Loading branch information
smessie committed Aug 17, 2020
2 parents 4403421 + 2a60252 commit e627796
Show file tree
Hide file tree
Showing 13 changed files with 1,199 additions and 7 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ module.exports = {
'no-underscore-dangle': 'off', // conflicts with external libraries
'padding-line-between-statements': 'off',
'tsdoc/syntax': 'error',
'prefer-named-capture-group': 'off',
},
};
25 changes: 20 additions & 5 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,20 @@
"@types/async-lock": "^1.1.2",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.6",
"@types/mime-types": "^2.1.0",
"@types/n3": "^1.4.0",
"@types/node": "^14.0.1",
"@types/rdf-js": "^3.0.0",
"@types/uuid": "^8.3.0",
"@types/yargs": "^15.0.5",
"async-lock": "^1.2.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"mime-types": "^2.1.27",
"n3": "^1.4.0",
"rdf-terms": "^1.5.1",
"sparqlalgebrajs": "^2.3.1",
"uuid": "^8.3.0",
"yargs": "^15.4.1"
},
"devDependencies": {
Expand Down
13 changes: 11 additions & 2 deletions src/ldp/representation/RepresentationMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export interface RepresentationMetadata {
*/
raw: Quad[];
/**
* The metadata profiles.
* Optional metadata profiles.
*/
profiles: string[];
profiles?: string[];
/**
* Optional size of the representation.
*/
Expand All @@ -35,4 +35,13 @@ export interface RepresentationMetadata {
* Optional timestamp of the representation.
*/
dateTime?: Date;
/**
* Optional link relationships of the representation.
*/
linkRel?: { [id: string]: Set<string> };
/**
* Optional slug of the representation.
* Used to suggest the URI for the resource created.
*/
slug?: string;
}
Loading

0 comments on commit e627796

Please sign in to comment.