@sockethub/platform-irc 4.0.0-alpha.9 → 4.0.0-beta.0

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/src/octal-hack.js DELETED
@@ -1,4 +0,0 @@
1
- module.exports = (content) => {
2
- // biome-ignore lint/style/useTemplate: <explanation>
3
- return "\001ACTION " + content + "\001";
4
- };
package/src/schema.ts DELETED
@@ -1,66 +0,0 @@
1
- import packageJson from "../package.json" with { type: "json" };
2
- const version = packageJson.version;
3
-
4
- export const PlatformIrcSchema = {
5
- name: "irc",
6
- version: version,
7
- messages: {
8
- required: ["type"],
9
- properties: {
10
- type: {
11
- enum: [
12
- "connect",
13
- "update",
14
- "join",
15
- "leave",
16
- "send",
17
- "query",
18
- "announce",
19
- "disconnect",
20
- ],
21
- },
22
- },
23
- },
24
- credentials: {
25
- required: ["object"],
26
- properties: {
27
- // TODO platforms shouldn't have to define the actor property
28
- // if they don't want to, just credential specifics
29
- actor: {
30
- type: "object",
31
- required: ["id"],
32
- },
33
- object: {
34
- type: "object",
35
- required: ["type", "nick", "server"],
36
- additionalProperties: false,
37
- properties: {
38
- type: {
39
- type: "string",
40
- },
41
- nick: {
42
- type: "string",
43
- },
44
- username: {
45
- type: "string",
46
- },
47
- password: {
48
- type: "string",
49
- },
50
- server: {
51
- type: "string",
52
- },
53
- port: {
54
- type: "number",
55
- },
56
- secure: {
57
- type: "boolean",
58
- },
59
- sasl: {
60
- type: "boolean",
61
- },
62
- },
63
- },
64
- },
65
- },
66
- };