@sockethub/schemas 3.0.0-alpha.16 → 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.js +14 -3
- package/dist/index.js.map +3 -3
- package/dist/maps/context-map.json +5 -2
- package/dist/schemas/json/activity-stream.json +1 -1
- package/dist/schemas/json/platform.json +1 -1
- package/dist/schemas/json/sockethub-config.json +22 -1
- 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 +20 -0
- package/dist/types.d.ts +2 -0
- package/package.json +2 -2
|
@@ -51,6 +51,26 @@ export declare const SockethubConfigSchema: {
|
|
|
51
51
|
default: {};
|
|
52
52
|
description: string;
|
|
53
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
|
+
};
|
|
54
74
|
"@sockethub/platform-dummy": {
|
|
55
75
|
type: string;
|
|
56
76
|
additionalProperties: boolean;
|
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
|
}
|