@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.
- package/LICENSE +676 -0
- package/README.md +120 -2
- package/dist/api/openapi.d.ts +656 -0
- package/dist/api/openapi.json +1706 -0
- package/dist/bin.cjs +14 -0
- package/dist/bin.d.cts +1 -0
- package/dist/bin.d.mts +1 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.mjs +12 -0
- package/dist/env.cjs +21 -0
- package/dist/env.d.cts +23 -0
- package/dist/env.d.mts +23 -0
- package/dist/env.d.ts +23 -0
- package/dist/env.mjs +19 -0
- package/dist/local.cjs +15 -0
- package/dist/local.d.cts +9 -0
- package/dist/local.d.mts +7 -0
- package/dist/local.d.ts +9 -0
- package/dist/local.mjs +6 -0
- package/dist/main.cjs +22 -0
- package/dist/main.d.cts +13 -0
- package/dist/main.d.mts +11 -0
- package/dist/main.d.ts +13 -0
- package/dist/main.mjs +14 -0
- package/dist/schema/banner.json +11 -0
- package/dist/schema/code-of-conduct.json +11 -0
- package/dist/schema/composer.json +13 -0
- package/dist/schema/config.json +192 -0
- package/dist/schema/contributting.json +11 -0
- package/dist/schema/logo.json +11 -0
- package/dist/schema/package.json +13 -0
- package/dist/schema/readme.json +4 -0
- package/dist/schema/security.json +11 -0
- package/dist/schema/support.json +11 -0
- package/dist/server.cjs +16 -0
- package/dist/server.d.cts +9 -0
- package/dist/server.d.mts +9 -0
- package/dist/server.d.ts +9 -0
- package/dist/server.mjs +9 -0
- package/dist/shared/api-2026.C367WW-0.cjs +34 -0
- package/dist/shared/api-2026.CDiWYIa6.mjs +25 -0
- package/dist/shared/api-2026.CrRWS0qQ.mjs +32 -0
- package/dist/shared/api-2026.DKKpCkQB.cjs +40 -0
- 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;
|
package/dist/local.d.cts
ADDED
package/dist/local.d.mts
ADDED
package/dist/local.d.ts
ADDED
package/dist/local.mjs
ADDED
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;
|
package/dist/main.d.cts
ADDED
|
@@ -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 };
|
package/dist/main.d.mts
ADDED
|
@@ -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,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
|
+
}
|
package/dist/server.cjs
ADDED
|
@@ -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 };
|
package/dist/server.d.ts
ADDED
|
@@ -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 };
|
package/dist/server.mjs
ADDED
|
@@ -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';
|