@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
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion": "3.0.0-alpha.
|
|
3
|
-
"generatedAt": "2026-07-
|
|
2
|
+
"schemaVersion": "3.0.0-alpha.17",
|
|
3
|
+
"generatedAt": "2026-07-31T13:05:35.460Z",
|
|
4
4
|
"contextToPlatformId": {
|
|
5
|
+
"https://sockethub.org/ns/context/platform/caldav/v1.jsonld": "caldav",
|
|
5
6
|
"https://sockethub.org/ns/context/platform/dummy/v1.jsonld": "dummy",
|
|
6
7
|
"https://sockethub.org/ns/context/platform/error/v1.jsonld": "error",
|
|
7
8
|
"https://sockethub.org/ns/context/platform/feeds/v1.jsonld": "feeds",
|
|
@@ -11,6 +12,7 @@
|
|
|
11
12
|
"https://sockethub.org/ns/context/platform/xmpp/v1.jsonld": "xmpp"
|
|
12
13
|
},
|
|
13
14
|
"contextToSchemaId": {
|
|
15
|
+
"https://sockethub.org/ns/context/platform/caldav/v1.jsonld": "https://sockethub.org/schemas/as2/platform/caldav/v1/messages.schema.json",
|
|
14
16
|
"https://sockethub.org/ns/context/platform/dummy/v1.jsonld": "https://sockethub.org/schemas/as2/platform/dummy/v1/messages.schema.json",
|
|
15
17
|
"https://sockethub.org/ns/context/platform/error/v1.jsonld": "https://sockethub.org/schemas/as2/platform/error/v1/messages.schema.json",
|
|
16
18
|
"https://sockethub.org/ns/context/platform/feeds/v1.jsonld": "https://sockethub.org/schemas/as2/platform/feeds/v1/messages.schema.json",
|
|
@@ -20,6 +22,7 @@
|
|
|
20
22
|
"https://sockethub.org/ns/context/platform/xmpp/v1.jsonld": "https://sockethub.org/schemas/as2/platform/xmpp/v1/messages.schema.json"
|
|
21
23
|
},
|
|
22
24
|
"contextToCredentialsSchemaId": {
|
|
25
|
+
"https://sockethub.org/ns/context/platform/caldav/v1.jsonld": "https://sockethub.org/schemas/as2/platform/caldav/v1/credentials.schema.json",
|
|
23
26
|
"https://sockethub.org/ns/context/platform/dummy/v1.jsonld": "https://sockethub.org/schemas/as2/platform/dummy/v1/credentials.schema.json",
|
|
24
27
|
"https://sockethub.org/ns/context/platform/error/v1.jsonld": "https://sockethub.org/schemas/as2/platform/error/v1/credentials.schema.json",
|
|
25
28
|
"https://sockethub.org/ns/context/platform/feeds/v1.jsonld": "https://sockethub.org/schemas/as2/platform/feeds/v1/credentials.schema.json",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://sockethub.org/schemas/3.0.0-alpha.
|
|
2
|
+
"$id": "https://sockethub.org/schemas/3.0.0-alpha.17/sockethub-config.json",
|
|
3
3
|
"description": "Sockethub Config Schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"description": "Platform packages to load",
|
|
59
59
|
"default": [
|
|
60
|
+
"@sockethub/platform-caldav",
|
|
60
61
|
"@sockethub/platform-dummy",
|
|
61
62
|
"@sockethub/platform-feeds",
|
|
62
63
|
"@sockethub/platform-irc",
|
|
@@ -69,6 +70,26 @@
|
|
|
69
70
|
"default": {},
|
|
70
71
|
"description": "Per-platform config keyed by package name, validated against each platform's config schema and forwarded to its child process",
|
|
71
72
|
"properties": {
|
|
73
|
+
"@sockethub/platform-caldav": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"properties": {
|
|
77
|
+
"connectTimeoutMs": {
|
|
78
|
+
"type": "integer",
|
|
79
|
+
"minimum": 1
|
|
80
|
+
},
|
|
81
|
+
"allowPrivateAddresses": {
|
|
82
|
+
"type": "boolean"
|
|
83
|
+
},
|
|
84
|
+
"allowInsecureHttp": {
|
|
85
|
+
"type": "boolean"
|
|
86
|
+
},
|
|
87
|
+
"concurrency": {
|
|
88
|
+
"type": "integer",
|
|
89
|
+
"minimum": 1
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
72
93
|
"@sockethub/platform-dummy": {
|
|
73
94
|
"type": "object",
|
|
74
95
|
"additionalProperties": false,
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"required": [
|
|
3
|
+
"object"
|
|
4
|
+
],
|
|
5
|
+
"properties": {
|
|
6
|
+
"object": {
|
|
7
|
+
"oneOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"required": [
|
|
11
|
+
"type",
|
|
12
|
+
"url",
|
|
13
|
+
"username",
|
|
14
|
+
"password"
|
|
15
|
+
],
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"properties": {
|
|
18
|
+
"type": {
|
|
19
|
+
"enum": [
|
|
20
|
+
"credentials"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"url": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "uri",
|
|
26
|
+
"pattern": "^https?://",
|
|
27
|
+
"maxLength": 4096
|
|
28
|
+
},
|
|
29
|
+
"username": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"maxLength": 1024
|
|
33
|
+
},
|
|
34
|
+
"password": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1,
|
|
37
|
+
"maxLength": 4096
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "object",
|
|
43
|
+
"required": [
|
|
44
|
+
"type",
|
|
45
|
+
"url",
|
|
46
|
+
"token"
|
|
47
|
+
],
|
|
48
|
+
"additionalProperties": false,
|
|
49
|
+
"properties": {
|
|
50
|
+
"type": {
|
|
51
|
+
"enum": [
|
|
52
|
+
"credentials"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"url": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"format": "uri",
|
|
58
|
+
"pattern": "^https?://",
|
|
59
|
+
"maxLength": 4096
|
|
60
|
+
},
|
|
61
|
+
"token": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"minLength": 1,
|
|
64
|
+
"maxLength": 8192
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|