@voltro/plugin-guilds 0.0.0-stage → 0.88.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/CHANGELOG.md +24492 -0
- package/LICENSE +61 -0
- package/README.md +165 -2
- package/SECURITY.md +56 -0
- package/THIRD-PARTY-NOTICES.md +9063 -0
- package/dist/components.js +395 -0
- package/dist/contract.js +113 -0
- package/dist/entities.js +115 -0
- package/dist/errors.d.ts +13 -0
- package/dist/errors.js +19 -0
- package/dist/eventProducer.d.ts +8 -0
- package/dist/eventProducer.js +19 -0
- package/dist/events.d.ts +15 -0
- package/dist/events.js +13 -0
- package/dist/guild-app/events/guilds.changed.event.ts +1 -0
- package/dist/guild-app/subscribers/guilds.log.subscribe.ts +3 -0
- package/dist/index.d.ts +606 -0
- package/dist/index.js +108 -0
- package/dist/inspect.js +27 -0
- package/dist/port.d.ts +25 -0
- package/dist/port.js +4 -0
- package/dist/rpc.d.ts +355 -0
- package/dist/rpc.js +279 -0
- package/dist/rpcRoutes.js +93 -0
- package/dist/service.js +733 -0
- package/dist/strategies.d.ts +111 -0
- package/dist/strategies.js +50 -0
- package/dist/testing.d.ts +104 -0
- package/dist/testing.js +76 -0
- package/dist/web.d.ts +365 -0
- package/dist/web.js +7 -0
- package/package.json +90 -4
package/dist/web.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BASE_NAME as e } from "./rpc.js";
|
|
2
|
+
import { GuildBrowser as t, GuildCard as n, GuildCreateDialog as r, GuildLog as i, GuildMemberList as a, guildLabels as o } from "./components.js";
|
|
3
|
+
import { pluginTag as s } from "@voltro/protocol";
|
|
4
|
+
import { useAction as c, useSubscription as l } from "@voltro/client";
|
|
5
|
+
// src/web.ts
|
|
6
|
+
var u = (t, n = "app") => l(n, s(e, "get"), { guildId: t }), d = (t = "app") => l(t, s(e, "mine"), {}), f = (t, n = "app") => l(n, s(e, "members"), { guildId: t }), p = (t, n = "app") => l(n, s(e, "roles"), { guildId: t }), m = (t = {}, n = "app") => l(n, s(e, "search"), t), h = (t, n = "app") => l(n, s(e, "applications"), { guildId: t }), g = (t = "app") => l(t, s(e, "invites"), {}), _ = (t, n = "app") => l(n, s(e, "announcements"), { guildId: t }), v = (t, n = "app") => l(n, s(e, "log"), { guildId: t }), y = (t = "app") => c(t, s(e, "create")), b = (t = "app") => c(t, s(e, "join")), x = (t = "app") => c(t, s(e, "leave"));
|
|
7
|
+
export { t as GuildBrowser, n as GuildCard, r as GuildCreateDialog, i as GuildLog, a as GuildMemberList, o as guildLabels, u as useGuild, _ as useGuildAnnouncements, h as useGuildApplications, y as useGuildCreate, g as useGuildInvites, b as useGuildJoin, x as useGuildLeave, d as useGuildList, v as useGuildLog, f as useGuildMembers, p as useGuildRoles, m as useGuildSearch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,92 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/plugin-guilds",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.88.0",
|
|
4
|
+
"description": "SQL-authoritative guilds, scoped roles, membership admission and privacy with replaceable rules",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"voltro",
|
|
7
|
+
"typescript",
|
|
8
|
+
"framework"
|
|
9
|
+
],
|
|
10
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
11
|
+
"homepage": "https://voltro.dev",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"email": "support@voltro.dev"
|
|
14
|
+
},
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "Voltro UG",
|
|
17
|
+
"url": "https://voltro.dev"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js",
|
|
24
|
+
"default": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./errors": {
|
|
27
|
+
"types": "./dist/errors.d.ts",
|
|
28
|
+
"import": "./dist/errors.js",
|
|
29
|
+
"default": "./dist/errors.js"
|
|
30
|
+
},
|
|
31
|
+
"./port": {
|
|
32
|
+
"types": "./dist/port.d.ts",
|
|
33
|
+
"import": "./dist/port.js",
|
|
34
|
+
"default": "./dist/port.js"
|
|
35
|
+
},
|
|
36
|
+
"./rpc": {
|
|
37
|
+
"types": "./dist/rpc.d.ts",
|
|
38
|
+
"import": "./dist/rpc.js",
|
|
39
|
+
"default": "./dist/rpc.js"
|
|
40
|
+
},
|
|
41
|
+
"./strategies": {
|
|
42
|
+
"types": "./dist/strategies.d.ts",
|
|
43
|
+
"import": "./dist/strategies.js",
|
|
44
|
+
"default": "./dist/strategies.js"
|
|
45
|
+
},
|
|
46
|
+
"./testing": {
|
|
47
|
+
"types": "./dist/testing.d.ts",
|
|
48
|
+
"import": "./dist/testing.js",
|
|
49
|
+
"default": "./dist/testing.js"
|
|
50
|
+
},
|
|
51
|
+
"./web": {
|
|
52
|
+
"types": "./dist/web.d.ts",
|
|
53
|
+
"import": "./dist/web.js",
|
|
54
|
+
"default": "./dist/web.js"
|
|
55
|
+
},
|
|
56
|
+
"./events": {
|
|
57
|
+
"types": "./dist/events.d.ts",
|
|
58
|
+
"import": "./dist/events.js",
|
|
59
|
+
"default": "./dist/events.js"
|
|
60
|
+
},
|
|
61
|
+
"./events/server": {
|
|
62
|
+
"types": "./dist/eventProducer.d.ts",
|
|
63
|
+
"import": "./dist/eventProducer.js",
|
|
64
|
+
"default": "./dist/eventProducer.js"
|
|
65
|
+
},
|
|
66
|
+
"./package.json": "./package.json"
|
|
67
|
+
},
|
|
68
|
+
"main": "./dist/index.js",
|
|
69
|
+
"module": "./dist/index.js",
|
|
70
|
+
"types": "./dist/index.d.ts",
|
|
71
|
+
"sideEffects": false,
|
|
72
|
+
"engines": {
|
|
73
|
+
"node": ">=24.0.0"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@voltro/protocol": "0.88.0",
|
|
77
|
+
"@voltro/database": "0.88.0",
|
|
78
|
+
"@voltro/client": "0.88.0",
|
|
79
|
+
"@voltro/runtime": "0.88.0",
|
|
80
|
+
"@voltro/plugin-moderation": "0.88.0",
|
|
81
|
+
"@voltro/plugin-social": "0.88.0",
|
|
82
|
+
"@voltro/ui-shadcn": "0.88.0",
|
|
83
|
+
"@voltro/plugin-licensing": "0.88.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"effect": "4.1.0",
|
|
87
|
+
"react": "^19.0.0"
|
|
88
|
+
},
|
|
89
|
+
"publishConfig": {
|
|
90
|
+
"access": "public"
|
|
91
|
+
}
|
|
92
|
+
}
|