Skip to content

Commit 2cb2639

Browse files
committed
Add structured attributes
Signed-off-by: Fabio José <[email protected]>
1 parent f96845a commit 2cb2639

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/bindings/http/constants.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,16 @@ module.exports = {
1616
TIME : "ce-time",
1717
SCHEMA_URL : "ce-schemaurl",
1818
EXTENSIONS_PREFIX : "ce-"
19+
},
20+
21+
STRUCTURED_ATTRS_02 : {
22+
TYPE : "type",
23+
SPEC_VERSION : "specversion",
24+
SOURCE : "source",
25+
ID : "id",
26+
TIME : "time",
27+
SCHEMA_URL : "schemaurl",
28+
CONTENT_TYPE : "contenttype",
29+
DATA : "data"
1930
}
2031
};

0 commit comments

Comments
 (0)