@sockethub/schemas 3.0.0-alpha.15 → 3.0.0-alpha.17
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/contexts/platform/caldav/v1.jsonld +8 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +102 -7
- package/dist/index.js.map +5 -4
- package/dist/maps/context-map.json +5 -2
- package/dist/schema-id.d.ts +11 -0
- package/dist/schemas/json/activity-stream.json +243 -0
- package/dist/schemas/json/platform.json +52 -0
- package/dist/schemas/json/sockethub-config.json +370 -0
- package/dist/schemas/platform/caldav/v1/credentials.schema.json +71 -0
- package/dist/schemas/platform/caldav/v1/messages.schema.json +743 -0
- package/dist/schemas/sockethub-config.d.ts +36 -0
- package/dist/types.d.ts +2 -0
- package/package.json +2 -2
|
@@ -11,10 +11,12 @@ export declare const SockethubConfigSchema: {
|
|
|
11
11
|
examples: {
|
|
12
12
|
type: string;
|
|
13
13
|
default: boolean;
|
|
14
|
+
description: string;
|
|
14
15
|
};
|
|
15
16
|
info: {
|
|
16
17
|
type: string;
|
|
17
18
|
default: boolean;
|
|
19
|
+
description: string;
|
|
18
20
|
};
|
|
19
21
|
logging: {
|
|
20
22
|
type: string;
|
|
@@ -41,11 +43,34 @@ export declare const SockethubConfigSchema: {
|
|
|
41
43
|
items: {
|
|
42
44
|
type: string;
|
|
43
45
|
};
|
|
46
|
+
description: string;
|
|
44
47
|
default: string[];
|
|
45
48
|
};
|
|
46
49
|
packageConfig: {
|
|
47
50
|
type: string;
|
|
51
|
+
default: {};
|
|
52
|
+
description: string;
|
|
48
53
|
properties: {
|
|
54
|
+
"@sockethub/platform-caldav": {
|
|
55
|
+
type: string;
|
|
56
|
+
additionalProperties: boolean;
|
|
57
|
+
properties: {
|
|
58
|
+
connectTimeoutMs: {
|
|
59
|
+
type: string;
|
|
60
|
+
minimum: number;
|
|
61
|
+
};
|
|
62
|
+
allowPrivateAddresses: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
allowInsecureHttp: {
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
concurrency: {
|
|
69
|
+
type: string;
|
|
70
|
+
minimum: number;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
49
74
|
"@sockethub/platform-dummy": {
|
|
50
75
|
type: string;
|
|
51
76
|
additionalProperties: boolean;
|
|
@@ -174,6 +199,7 @@ export declare const SockethubConfigSchema: {
|
|
|
174
199
|
type: string;
|
|
175
200
|
minimum: number;
|
|
176
201
|
default: number;
|
|
202
|
+
description: string;
|
|
177
203
|
};
|
|
178
204
|
};
|
|
179
205
|
};
|
|
@@ -185,6 +211,7 @@ export declare const SockethubConfigSchema: {
|
|
|
185
211
|
type: string;
|
|
186
212
|
minimum: number;
|
|
187
213
|
default: number;
|
|
214
|
+
description: string;
|
|
188
215
|
};
|
|
189
216
|
};
|
|
190
217
|
};
|
|
@@ -250,6 +277,7 @@ export declare const SockethubConfigSchema: {
|
|
|
250
277
|
origin: {
|
|
251
278
|
type: string;
|
|
252
279
|
default: string;
|
|
280
|
+
description: string;
|
|
253
281
|
};
|
|
254
282
|
};
|
|
255
283
|
};
|
|
@@ -262,6 +290,7 @@ export declare const SockethubConfigSchema: {
|
|
|
262
290
|
enabled: {
|
|
263
291
|
type: string;
|
|
264
292
|
default: boolean;
|
|
293
|
+
description: string;
|
|
265
294
|
};
|
|
266
295
|
path: {
|
|
267
296
|
type: string;
|
|
@@ -314,3 +343,10 @@ export declare const SockethubConfigSchema: {
|
|
|
314
343
|
};
|
|
315
344
|
};
|
|
316
345
|
};
|
|
346
|
+
/**
|
|
347
|
+
* The versioned canonical URL of this schema, matching the `$id` written into
|
|
348
|
+
* the published JSON artifact (`dist/schemas/json/sockethub-config.json`) by
|
|
349
|
+
* the build's version substitution. Suitable as the `$schema` value in
|
|
350
|
+
* generated config files.
|
|
351
|
+
*/
|
|
352
|
+
export declare const SockethubConfigSchemaId: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -82,6 +82,8 @@ export type PlatformConfig = StatelessPlatformConfig | PersistentPlatformConfig;
|
|
|
82
82
|
interface BasePlatformConfig {
|
|
83
83
|
connectTimeoutMs?: number;
|
|
84
84
|
allowPrivateAddresses?: boolean;
|
|
85
|
+
/** CalDAV-only escape hatch for explicitly configured HTTP services. */
|
|
86
|
+
allowInsecureHttp?: boolean;
|
|
85
87
|
}
|
|
86
88
|
/** Configuration for stateless platforms that start/stop per-request */
|
|
87
89
|
export interface StatelessPlatformConfig extends BasePlatformConfig {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sockethub/schemas",
|
|
3
3
|
"description": "JSON schema files for validating Sockethub Activity Streams",
|
|
4
|
-
"version": "3.0.0-alpha.
|
|
4
|
+
"version": "3.0.0-alpha.17",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"author": "Nick Jennings <nick@silverbucket.net>",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"ajv-formats": "^2.1.1",
|
|
63
63
|
"ajv-formats-draft2019": "^1.6.1"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "fdb2954a2e666f540bced1b7fd2035a43ef6077d",
|
|
66
66
|
"types": "./dist/index.d.ts"
|
|
67
67
|
}
|