@sockethub/schemas 3.0.0-alpha.16 → 3.0.0-alpha.18

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.
@@ -0,0 +1,8 @@
1
+ {
2
+ "@context": {
3
+ "as": "https://www.w3.org/ns/activitystreams#",
4
+ "sh": "https://sockethub.org/ns#",
5
+ "platform": "sh:platform",
6
+ "caldavType": "sh:caldavType"
7
+ }
8
+ }
@@ -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.16",
16099
+ version: "3.0.0-alpha.18",
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: "1a1a01ffe7b9d356aacfc4ae583d553e5df6f97d",
16160
+ gitHead: "c0a5b3b61f376651fc5184d1072a78c43f5ebb9e",
16138
16161
  types: "./dist/index.d.ts"
16139
16162
  };
16140
16163
 
@@ -16191,6 +16214,7 @@ var SockethubConfigSchema = {
16191
16214
  },
16192
16215
  description: "Platform packages to load",
16193
16216
  default: [
16217
+ "@sockethub/platform-caldav",
16194
16218
  "@sockethub/platform-dummy",
16195
16219
  "@sockethub/platform-feeds",
16196
16220
  "@sockethub/platform-irc",
@@ -16203,6 +16227,16 @@ var SockethubConfigSchema = {
16203
16227
  default: {},
16204
16228
  description: "Per-platform config keyed by package name, validated against " + "each platform's config schema and forwarded to its child process",
16205
16229
  properties: {
16230
+ "@sockethub/platform-caldav": {
16231
+ type: "object",
16232
+ additionalProperties: false,
16233
+ properties: {
16234
+ connectTimeoutMs: { type: "integer", minimum: 1 },
16235
+ allowPrivateAddresses: { type: "boolean" },
16236
+ allowInsecureHttp: { type: "boolean" },
16237
+ concurrency: { type: "integer", minimum: 1 }
16238
+ }
16239
+ },
16206
16240
  "@sockethub/platform-dummy": {
16207
16241
  type: "object",
16208
16242
  additionalProperties: false,
@@ -16777,4 +16811,4 @@ export {
16777
16811
  AS2_BASE_CONTEXT_URL
16778
16812
  };
16779
16813
 
16780
- //# debugId=C131DD6FE281379664756E2164756E21
16814
+ //# debugId=04D7E68829D7735564756E2164756E21