@pigeonposse/api-2026 0.0.0-stage → 1.0.1

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.
Files changed (44) hide show
  1. package/LICENSE +676 -0
  2. package/README.md +120 -2
  3. package/dist/api/openapi.d.ts +656 -0
  4. package/dist/api/openapi.json +1706 -0
  5. package/dist/bin.cjs +14 -0
  6. package/dist/bin.d.cts +1 -0
  7. package/dist/bin.d.mts +1 -0
  8. package/dist/bin.d.ts +1 -0
  9. package/dist/bin.mjs +12 -0
  10. package/dist/env.cjs +21 -0
  11. package/dist/env.d.cts +23 -0
  12. package/dist/env.d.mts +23 -0
  13. package/dist/env.d.ts +23 -0
  14. package/dist/env.mjs +19 -0
  15. package/dist/local.cjs +15 -0
  16. package/dist/local.d.cts +9 -0
  17. package/dist/local.d.mts +7 -0
  18. package/dist/local.d.ts +9 -0
  19. package/dist/local.mjs +6 -0
  20. package/dist/main.cjs +22 -0
  21. package/dist/main.d.cts +13 -0
  22. package/dist/main.d.mts +11 -0
  23. package/dist/main.d.ts +13 -0
  24. package/dist/main.mjs +14 -0
  25. package/dist/schema/banner.json +11 -0
  26. package/dist/schema/code-of-conduct.json +11 -0
  27. package/dist/schema/composer.json +13 -0
  28. package/dist/schema/config.json +192 -0
  29. package/dist/schema/contributting.json +11 -0
  30. package/dist/schema/logo.json +11 -0
  31. package/dist/schema/package.json +13 -0
  32. package/dist/schema/readme.json +4 -0
  33. package/dist/schema/security.json +11 -0
  34. package/dist/schema/support.json +11 -0
  35. package/dist/server.cjs +16 -0
  36. package/dist/server.d.cts +9 -0
  37. package/dist/server.d.mts +9 -0
  38. package/dist/server.d.ts +9 -0
  39. package/dist/server.mjs +9 -0
  40. package/dist/shared/api-2026.C367WW-0.cjs +34 -0
  41. package/dist/shared/api-2026.CDiWYIa6.mjs +25 -0
  42. package/dist/shared/api-2026.CrRWS0qQ.mjs +32 -0
  43. package/dist/shared/api-2026.DKKpCkQB.cjs +40 -0
  44. package/package.json +80 -3
package/dist/bin.cjs ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const server = require('./shared/api-2026.DKKpCkQB.cjs');
5
+ require('@backan/server');
6
+ require('./env.cjs');
7
+ require('@pigeonposse/api-config-2026');
8
+ require('./shared/api-2026.C367WW-0.cjs');
9
+ require('@collectium/api/local');
10
+ require('@collectium/core');
11
+ require('node:util');
12
+ require('@collectium/api/standard');
13
+
14
+ server.createLocalServer();
package/dist/bin.d.cts ADDED
@@ -0,0 +1 @@
1
+
package/dist/bin.d.mts ADDED
@@ -0,0 +1 @@
1
+
package/dist/bin.d.ts ADDED
@@ -0,0 +1 @@
1
+
package/dist/bin.mjs ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ import { c as createLocalServer } from './shared/api-2026.CrRWS0qQ.mjs';
3
+ import '@backan/server';
4
+ import './env.mjs';
5
+ import '@pigeonposse/api-config-2026';
6
+ import './shared/api-2026.CDiWYIa6.mjs';
7
+ import '@collectium/api/local';
8
+ import '@collectium/core';
9
+ import 'node:util';
10
+ import '@collectium/api/standard';
11
+
12
+ createLocalServer();
package/dist/env.cjs ADDED
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ const config = require('@pigeonposse/api-config-2026');
4
+
5
+ const ENV = {
6
+ ...config.ENV,
7
+ /**
8
+ * Used in server.
9
+ *
10
+ * @default 1312
11
+ */
12
+ API_PORT: Number(globalThis.process.env.API_PORT) || 1312,
13
+ /**
14
+ * Used in server.
15
+ *
16
+ * @default 'build/store/pigeonposse-api.json'
17
+ */
18
+ API_STORE_PATH: globalThis.process.env.API_STORE_PATH || "build/store/pigeonposse-api.json"
19
+ };
20
+
21
+ exports.ENV = ENV;
package/dist/env.d.cts ADDED
@@ -0,0 +1,23 @@
1
+ type Env = typeof ENV;
2
+ declare const ENV: {
3
+ /**
4
+ * Used in server.
5
+ *
6
+ * @default 1312
7
+ */
8
+ API_PORT: number;
9
+ /**
10
+ * Used in server.
11
+ *
12
+ * @default 'build/store/pigeonposse-api.json'
13
+ */
14
+ API_STORE_PATH: string;
15
+ DEBUG: "true" | "false" | undefined;
16
+ GH_TOKEN: string | undefined;
17
+ GH_USER: string;
18
+ GH_BRANCH: string;
19
+ GH_USER_TYPE: "org" | "user" | undefined;
20
+ };
21
+
22
+ export { ENV };
23
+ export type { Env };
package/dist/env.d.mts ADDED
@@ -0,0 +1,23 @@
1
+ type Env = typeof ENV;
2
+ declare const ENV: {
3
+ /**
4
+ * Used in server.
5
+ *
6
+ * @default 1312
7
+ */
8
+ API_PORT: number;
9
+ /**
10
+ * Used in server.
11
+ *
12
+ * @default 'build/store/pigeonposse-api.json'
13
+ */
14
+ API_STORE_PATH: string;
15
+ DEBUG: "true" | "false" | undefined;
16
+ GH_TOKEN: string | undefined;
17
+ GH_USER: string;
18
+ GH_BRANCH: string;
19
+ GH_USER_TYPE: "org" | "user" | undefined;
20
+ };
21
+
22
+ export { ENV };
23
+ export type { Env };
package/dist/env.d.ts ADDED
@@ -0,0 +1,23 @@
1
+ type Env = typeof ENV;
2
+ declare const ENV: {
3
+ /**
4
+ * Used in server.
5
+ *
6
+ * @default 1312
7
+ */
8
+ API_PORT: number;
9
+ /**
10
+ * Used in server.
11
+ *
12
+ * @default 'build/store/pigeonposse-api.json'
13
+ */
14
+ API_STORE_PATH: string;
15
+ DEBUG: "true" | "false" | undefined;
16
+ GH_TOKEN: string | undefined;
17
+ GH_USER: string;
18
+ GH_BRANCH: string;
19
+ GH_USER_TYPE: "org" | "user" | undefined;
20
+ };
21
+
22
+ export { ENV };
23
+ export type { Env };
package/dist/env.mjs ADDED
@@ -0,0 +1,19 @@
1
+ import { ENV as ENV$1 } from '@pigeonposse/api-config-2026';
2
+
3
+ const ENV = {
4
+ ...ENV$1,
5
+ /**
6
+ * Used in server.
7
+ *
8
+ * @default 1312
9
+ */
10
+ API_PORT: Number(globalThis.process.env.API_PORT) || 1312,
11
+ /**
12
+ * Used in server.
13
+ *
14
+ * @default 'build/store/pigeonposse-api.json'
15
+ */
16
+ API_STORE_PATH: globalThis.process.env.API_STORE_PATH || "build/store/pigeonposse-api.json"
17
+ };
18
+
19
+ export { ENV };
package/dist/local.cjs ADDED
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('@collectium/api/local');
6
+ require('./env.cjs');
7
+ const local = require('./shared/api-2026.C367WW-0.cjs');
8
+ require('@pigeonposse/api-config-2026');
9
+ require('@collectium/core');
10
+ require('node:util');
11
+
12
+
13
+
14
+ exports.appLocal = local.appLocal;
15
+ exports.default = local.appLocal;
@@ -0,0 +1,9 @@
1
+ import createApp from '@collectium/api/local';
2
+
3
+ type AppLocalRes = ReturnType<typeof createApp>;
4
+ declare const appLocal: () => AppLocalRes;
5
+
6
+ // @ts-ignore
7
+ export = appLocal;
8
+ export { appLocal };
9
+ export type { AppLocalRes };
@@ -0,0 +1,7 @@
1
+ import createApp from '@collectium/api/local';
2
+
3
+ type AppLocalRes = ReturnType<typeof createApp>;
4
+ declare const appLocal: () => AppLocalRes;
5
+
6
+ export { appLocal, appLocal as default };
7
+ export type { AppLocalRes };
@@ -0,0 +1,9 @@
1
+ import createApp from '@collectium/api/local';
2
+
3
+ type AppLocalRes = ReturnType<typeof createApp>;
4
+ declare const appLocal: () => AppLocalRes;
5
+
6
+ // @ts-ignore
7
+ export = appLocal;
8
+ export { appLocal };
9
+ export type { AppLocalRes };
package/dist/local.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import '@collectium/api/local';
2
+ import './env.mjs';
3
+ export { a as appLocal, a as default } from './shared/api-2026.CDiWYIa6.mjs';
4
+ import '@pigeonposse/api-config-2026';
5
+ import '@collectium/core';
6
+ import 'node:util';
package/dist/main.cjs ADDED
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const env = require('./env.cjs');
6
+ const local = require('./shared/api-2026.C367WW-0.cjs');
7
+ const server = require('./shared/api-2026.DKKpCkQB.cjs');
8
+ require('@pigeonposse/api-config-2026');
9
+ require('@collectium/api/local');
10
+ require('@collectium/core');
11
+ require('node:util');
12
+ require('@backan/server');
13
+ require('@collectium/api/standard');
14
+
15
+
16
+
17
+ exports.ENV = env.ENV;
18
+ exports.appLocal = local.appLocal;
19
+ exports.appStandard = server.appStandard;
20
+ exports.createLocalServer = server.createLocalServer;
21
+ exports.createServer = server.createServer;
22
+ exports.default = server.appStandard;
@@ -0,0 +1,13 @@
1
+ export { ENV, Env } from './env.cjs';
2
+ export { AppLocalRes, appLocal } from './local.cjs';
3
+ import createApp from '@collectium/api/standard';
4
+ export { CreateLocalServerProps, CreateServerProps, createLocalServer, createServer } from './server.cjs';
5
+ import '@collectium/api/local';
6
+
7
+ type AppStandardRes = ReturnType<typeof createApp>;
8
+ declare const appStandard: () => AppStandardRes;
9
+
10
+ // @ts-ignore
11
+ export = appStandard;
12
+ export { appStandard };
13
+ export type { AppStandardRes };
@@ -0,0 +1,11 @@
1
+ export { ENV, Env } from './env.mjs';
2
+ export { AppLocalRes, appLocal } from './local.mjs';
3
+ import createApp from '@collectium/api/standard';
4
+ export { CreateLocalServerProps, CreateServerProps, createLocalServer, createServer } from './server.mjs';
5
+ import '@collectium/api/local';
6
+
7
+ type AppStandardRes = ReturnType<typeof createApp>;
8
+ declare const appStandard: () => AppStandardRes;
9
+
10
+ export { appStandard, appStandard as default };
11
+ export type { AppStandardRes };
package/dist/main.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ export { ENV, Env } from './env.js';
2
+ export { AppLocalRes, appLocal } from './local.js';
3
+ import createApp from '@collectium/api/standard';
4
+ export { CreateLocalServerProps, CreateServerProps, createLocalServer, createServer } from './server.js';
5
+ import '@collectium/api/local';
6
+
7
+ type AppStandardRes = ReturnType<typeof createApp>;
8
+ declare const appStandard: () => AppStandardRes;
9
+
10
+ // @ts-ignore
11
+ export = appStandard;
12
+ export { appStandard };
13
+ export type { AppStandardRes };
package/dist/main.mjs ADDED
@@ -0,0 +1,14 @@
1
+ export { ENV } from './env.mjs';
2
+ export { a as appLocal } from './shared/api-2026.CDiWYIa6.mjs';
3
+ import { a as appStandard } from './shared/api-2026.CrRWS0qQ.mjs';
4
+ export { c as createLocalServer, b as createServer } from './shared/api-2026.CrRWS0qQ.mjs';
5
+ import '@pigeonposse/api-config-2026';
6
+ import '@collectium/api/local';
7
+ import '@collectium/core';
8
+ import 'node:util';
9
+ import '@backan/server';
10
+ import '@collectium/api/standard';
11
+
12
+
13
+
14
+ export { appStandard, appStandard as default };
@@ -0,0 +1,11 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "$schema": "http://json-schema.org/draft-07/schema#"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "$schema": "http://json-schema.org/draft-07/schema#"
11
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "object",
8
+ "properties": {},
9
+ "additionalProperties": true
10
+ }
11
+ ],
12
+ "$schema": "http://json-schema.org/draft-07/schema#"
13
+ }
@@ -0,0 +1,192 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "object",
8
+ "properties": {
9
+ "web": {
10
+ "type": "object",
11
+ "additionalProperties": {
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "type": "string",
16
+ "description": "Project name"
17
+ },
18
+ "type": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "string",
22
+ "enum": [
23
+ "software",
24
+ "toolkit",
25
+ "database",
26
+ "security",
27
+ "library",
28
+ "js-library",
29
+ "ts-library",
30
+ "rust-library",
31
+ "python-library",
32
+ "cli",
33
+ "bin",
34
+ "api",
35
+ "api-rest",
36
+ "web",
37
+ "pwa",
38
+ "browser-game",
39
+ "plugin",
40
+ "wp-plugin",
41
+ "mautic-plugin",
42
+ "theme",
43
+ "wp-theme",
44
+ "mautic-theme",
45
+ "browser-extension",
46
+ "chrome-extension",
47
+ "chromium-extension",
48
+ "firefox-extension",
49
+ "safari-extension",
50
+ "edge-extension",
51
+ "brave-extension",
52
+ "opera-extension",
53
+ "operagx-extension",
54
+ "yandex-extension",
55
+ "desktop-app",
56
+ "macos-app",
57
+ "linux-app",
58
+ "windows-app",
59
+ "mobile-app",
60
+ "ios-app",
61
+ "android-app",
62
+ "ai",
63
+ "llm",
64
+ "bot",
65
+ "chat-bot",
66
+ "dev-tool",
67
+ "ci-cd",
68
+ "container",
69
+ "docker",
70
+ "kubernetes",
71
+ "testing",
72
+ "ui-kit",
73
+ "ux-design",
74
+ "web-design",
75
+ "graphic-design"
76
+ ]
77
+ },
78
+ "default": [
79
+ "library"
80
+ ],
81
+ "description": "Type of project"
82
+ },
83
+ "status": {
84
+ "type": "string",
85
+ "enum": [
86
+ "idea",
87
+ "development",
88
+ "coming-soon",
89
+ "alpha",
90
+ "beta",
91
+ "active",
92
+ "archived",
93
+ "abandoned"
94
+ ],
95
+ "default": "active",
96
+ "description": "Current project status"
97
+ },
98
+ "version": {
99
+ "type": "string",
100
+ "description": "Project version"
101
+ },
102
+ "desc": {
103
+ "type": "string",
104
+ "description": "Project description"
105
+ },
106
+ "homepage": {
107
+ "type": "string",
108
+ "format": "uri",
109
+ "description": "Homepage URL"
110
+ },
111
+ "docs": {
112
+ "type": "string",
113
+ "format": "uri",
114
+ "description": "Documentation URL"
115
+ },
116
+ "changelog": {
117
+ "type": "string",
118
+ "format": "uri",
119
+ "description": "Changelog URL"
120
+ },
121
+ "container": {
122
+ "type": "string",
123
+ "format": "uri",
124
+ "description": "General Container URL (dockerhub, github packages...) (if it exists)"
125
+ },
126
+ "library": {
127
+ "type": "string",
128
+ "format": "uri",
129
+ "description": "General Library URL of the project (if it exists)"
130
+ },
131
+ "services": {
132
+ "type": "object",
133
+ "properties": {
134
+ "npm": {
135
+ "type": "string",
136
+ "format": "uri",
137
+ "description": "NPM URL of the project (if it exists)"
138
+ },
139
+ "jsr": {
140
+ "type": "string",
141
+ "format": "uri",
142
+ "description": "JSR URL of the project (if it exists)"
143
+ },
144
+ "dockerhub": {
145
+ "type": "string",
146
+ "format": "uri",
147
+ "description": "DockerHub URL of the project (if it exists)"
148
+ }
149
+ },
150
+ "additionalProperties": false,
151
+ "description": "Optional URL of specific services"
152
+ },
153
+ "license": {
154
+ "type": "object",
155
+ "properties": {
156
+ "name": {
157
+ "type": "string",
158
+ "description": "License name"
159
+ },
160
+ "url": {
161
+ "type": "string",
162
+ "format": "uri",
163
+ "description": "License URL"
164
+ }
165
+ },
166
+ "additionalProperties": false
167
+ },
168
+ "logo": {
169
+ "type": "string",
170
+ "format": "uri",
171
+ "description": "Logo URL"
172
+ },
173
+ "banner": {
174
+ "type": "string",
175
+ "format": "uri",
176
+ "description": "Banner URL"
177
+ }
178
+ },
179
+ "additionalProperties": false,
180
+ "description": "Object with data for a specific project"
181
+ },
182
+ "description": "Object to add projects designed to be displayed on the web"
183
+ }
184
+ },
185
+ "required": [
186
+ "web"
187
+ ],
188
+ "additionalProperties": false
189
+ }
190
+ ],
191
+ "$schema": "http://json-schema.org/draft-07/schema#"
192
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "$schema": "http://json-schema.org/draft-07/schema#"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "$schema": "http://json-schema.org/draft-07/schema#"
11
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "object",
8
+ "properties": {},
9
+ "additionalProperties": true
10
+ }
11
+ ],
12
+ "$schema": "http://json-schema.org/draft-07/schema#"
13
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "string",
3
+ "$schema": "http://json-schema.org/draft-07/schema#"
4
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "$schema": "http://json-schema.org/draft-07/schema#"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "anyOf": [
3
+ {
4
+ "not": {}
5
+ },
6
+ {
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "$schema": "http://json-schema.org/draft-07/schema#"
11
+ }
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ require('@backan/server');
4
+ require('./env.cjs');
5
+ require('./shared/api-2026.C367WW-0.cjs');
6
+ const server = require('./shared/api-2026.DKKpCkQB.cjs');
7
+ require('@pigeonposse/api-config-2026');
8
+ require('@collectium/api/local');
9
+ require('@collectium/core');
10
+ require('node:util');
11
+ require('@collectium/api/standard');
12
+
13
+
14
+
15
+ exports.createLocalServer = server.createLocalServer;
16
+ exports.createServer = server.createServer;
@@ -0,0 +1,9 @@
1
+ import { Env } from './env.cjs';
2
+
3
+ type CreateLocalServerProps = Partial<Env>;
4
+ type CreateServerProps = Omit<Partial<Env>, 'API_STORE_PATH'>;
5
+ declare const createServer: (props?: CreateServerProps) => Promise<void>;
6
+ declare const createLocalServer: (props?: CreateLocalServerProps) => Promise<void>;
7
+
8
+ export { createLocalServer, createServer };
9
+ export type { CreateLocalServerProps, CreateServerProps };
@@ -0,0 +1,9 @@
1
+ import { Env } from './env.mjs';
2
+
3
+ type CreateLocalServerProps = Partial<Env>;
4
+ type CreateServerProps = Omit<Partial<Env>, 'API_STORE_PATH'>;
5
+ declare const createServer: (props?: CreateServerProps) => Promise<void>;
6
+ declare const createLocalServer: (props?: CreateLocalServerProps) => Promise<void>;
7
+
8
+ export { createLocalServer, createServer };
9
+ export type { CreateLocalServerProps, CreateServerProps };
@@ -0,0 +1,9 @@
1
+ import { Env } from './env.js';
2
+
3
+ type CreateLocalServerProps = Partial<Env>;
4
+ type CreateServerProps = Omit<Partial<Env>, 'API_STORE_PATH'>;
5
+ declare const createServer: (props?: CreateServerProps) => Promise<void>;
6
+ declare const createLocalServer: (props?: CreateLocalServerProps) => Promise<void>;
7
+
8
+ export { createLocalServer, createServer };
9
+ export type { CreateLocalServerProps, CreateServerProps };
@@ -0,0 +1,9 @@
1
+ import '@backan/server';
2
+ import './env.mjs';
3
+ import './shared/api-2026.CDiWYIa6.mjs';
4
+ export { c as createLocalServer, b as createServer } from './shared/api-2026.CrRWS0qQ.mjs';
5
+ import '@pigeonposse/api-config-2026';
6
+ import '@collectium/api/local';
7
+ import '@collectium/core';
8
+ import 'node:util';
9
+ import '@collectium/api/standard';