@sockethub/schemas 3.0.0-alpha.17 → 3.0.0-alpha.19
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/helpers/objects.d.ts +22 -0
- package/dist/index.js +27 -4
- package/dist/index.js.map +3 -3
- package/dist/maps/context-map.json +2 -2
- package/dist/object-types.js +25 -2
- package/dist/object-types.js.map +3 -3
- package/dist/schemas/activity-stream.d.ts +22 -0
- package/dist/schemas/json/activity-stream.json +34 -1
- package/dist/schemas/json/platform.json +1 -1
- package/dist/schemas/json/sockethub-config.json +1 -1
- package/package.json +2 -2
|
@@ -109,6 +109,28 @@ export declare const ObjectTypesSchema: {
|
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
+
calendar: {
|
|
113
|
+
required: string[];
|
|
114
|
+
additionalProperties: boolean;
|
|
115
|
+
properties: {
|
|
116
|
+
id: {
|
|
117
|
+
type: string;
|
|
118
|
+
format: string;
|
|
119
|
+
};
|
|
120
|
+
type: {
|
|
121
|
+
enum: string[];
|
|
122
|
+
};
|
|
123
|
+
name: {
|
|
124
|
+
type: string;
|
|
125
|
+
};
|
|
126
|
+
components: {
|
|
127
|
+
type: string;
|
|
128
|
+
items: {
|
|
129
|
+
enum: string[];
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
112
134
|
};
|
|
113
135
|
export declare const InternalObjectTypesList: string[];
|
|
114
136
|
export declare const ObjectTypesList: string[];
|
package/dist/index.js
CHANGED
|
@@ -15931,6 +15931,28 @@ var ObjectTypesSchema = {
|
|
|
15931
15931
|
enum: ["address"]
|
|
15932
15932
|
}
|
|
15933
15933
|
}
|
|
15934
|
+
},
|
|
15935
|
+
calendar: {
|
|
15936
|
+
required: ["id", "type"],
|
|
15937
|
+
additionalProperties: true,
|
|
15938
|
+
properties: {
|
|
15939
|
+
id: {
|
|
15940
|
+
type: "string",
|
|
15941
|
+
format: "iri"
|
|
15942
|
+
},
|
|
15943
|
+
type: {
|
|
15944
|
+
enum: ["calendar"]
|
|
15945
|
+
},
|
|
15946
|
+
name: {
|
|
15947
|
+
type: "string"
|
|
15948
|
+
},
|
|
15949
|
+
components: {
|
|
15950
|
+
type: "array",
|
|
15951
|
+
items: {
|
|
15952
|
+
enum: ["event", "task"]
|
|
15953
|
+
}
|
|
15954
|
+
}
|
|
15955
|
+
}
|
|
15934
15956
|
}
|
|
15935
15957
|
};
|
|
15936
15958
|
var InternalObjectTypesList = ["platform", "heartbeat"];
|
|
@@ -15950,7 +15972,8 @@ var TargetTypesList = [
|
|
|
15950
15972
|
"feed",
|
|
15951
15973
|
"website",
|
|
15952
15974
|
"platform",
|
|
15953
|
-
"address"
|
|
15975
|
+
"address",
|
|
15976
|
+
"calendar"
|
|
15954
15977
|
];
|
|
15955
15978
|
var validActorRefs = ActorTypesList.map((type) => ({
|
|
15956
15979
|
$ref: `#/definitions/type/${type}`
|
|
@@ -16073,7 +16096,7 @@ var PlatformSchema = {
|
|
|
16073
16096
|
var package_default = {
|
|
16074
16097
|
name: "@sockethub/schemas",
|
|
16075
16098
|
description: "JSON schema files for validating Sockethub Activity Streams",
|
|
16076
|
-
version: "3.0.0-alpha.
|
|
16099
|
+
version: "3.0.0-alpha.19",
|
|
16077
16100
|
type: "module",
|
|
16078
16101
|
private: false,
|
|
16079
16102
|
author: "Nick Jennings <nick@silverbucket.net>",
|
|
@@ -16134,7 +16157,7 @@ var package_default = {
|
|
|
16134
16157
|
"ajv-formats": "^2.1.1",
|
|
16135
16158
|
"ajv-formats-draft2019": "^1.6.1"
|
|
16136
16159
|
},
|
|
16137
|
-
gitHead: "
|
|
16160
|
+
gitHead: "9dc63d790aabfbfe894b1d1b0754013e40fd25ec",
|
|
16138
16161
|
types: "./dist/index.d.ts"
|
|
16139
16162
|
};
|
|
16140
16163
|
|
|
@@ -16788,4 +16811,4 @@ export {
|
|
|
16788
16811
|
AS2_BASE_CONTEXT_URL
|
|
16789
16812
|
};
|
|
16790
16813
|
|
|
16791
|
-
//# debugId=
|
|
16814
|
+
//# debugId=80D593878431903D64756E2164756E21
|