@gallop.software/studio 2.0.7 → 2.1.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/bin/studio.mjs +17 -124
- package/dist/client/assets/index-TPS3nigu.js +74 -0
- package/dist/client/index.html +19 -0
- package/dist/{handlers/index.mjs → server/index.js} +242 -427
- package/dist/server/index.js.map +1 -0
- package/package.json +17 -32
- package/app/api/studio/[...path]/route.js +0 -1
- package/app/layout.jsx +0 -19
- package/app/page.jsx +0 -90
- package/dist/chunk-TRYWHLJ2.mjs +0 -32
- package/dist/chunk-TRYWHLJ2.mjs.map +0 -1
- package/dist/chunk-VI6QG6WT.js +0 -32
- package/dist/chunk-VI6QG6WT.js.map +0 -1
- package/dist/components/StudioUI.d.mts +0 -15
- package/dist/components/StudioUI.d.ts +0 -15
- package/dist/components/StudioUI.js +0 -6572
- package/dist/components/StudioUI.js.map +0 -1
- package/dist/components/StudioUI.mjs +0 -6572
- package/dist/components/StudioUI.mjs.map +0 -1
- package/dist/handlers/index.d.mts +0 -22
- package/dist/handlers/index.d.ts +0 -22
- package/dist/handlers/index.js +0 -2587
- package/dist/handlers/index.js.map +0 -1
- package/dist/handlers/index.mjs.map +0 -1
- package/dist/index.d.mts +0 -90
- package/dist/index.d.ts +0 -90
- package/dist/index.js +0 -11
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -11
- package/dist/index.mjs.map +0 -1
- package/next.config.mjs +0 -20
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { NextRequest, NextResponse } from 'next/server';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Unified GET handler for all Studio API routes
|
|
5
|
-
*/
|
|
6
|
-
declare function GET(request: NextRequest): Promise<Response>;
|
|
7
|
-
/**
|
|
8
|
-
* Unified POST handler for all Studio API routes
|
|
9
|
-
*/
|
|
10
|
-
declare function POST(request: NextRequest): Promise<Response>;
|
|
11
|
-
/**
|
|
12
|
-
* Unified DELETE handler
|
|
13
|
-
*/
|
|
14
|
-
declare function DELETE(request: NextRequest): Promise<NextResponse<{
|
|
15
|
-
error: string;
|
|
16
|
-
}> | NextResponse<{
|
|
17
|
-
success: boolean;
|
|
18
|
-
deleted: string[];
|
|
19
|
-
errors: string[] | undefined;
|
|
20
|
-
}>>;
|
|
21
|
-
|
|
22
|
-
export { DELETE, GET, POST };
|
package/dist/handlers/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { NextRequest, NextResponse } from 'next/server';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Unified GET handler for all Studio API routes
|
|
5
|
-
*/
|
|
6
|
-
declare function GET(request: NextRequest): Promise<Response>;
|
|
7
|
-
/**
|
|
8
|
-
* Unified POST handler for all Studio API routes
|
|
9
|
-
*/
|
|
10
|
-
declare function POST(request: NextRequest): Promise<Response>;
|
|
11
|
-
/**
|
|
12
|
-
* Unified DELETE handler
|
|
13
|
-
*/
|
|
14
|
-
declare function DELETE(request: NextRequest): Promise<NextResponse<{
|
|
15
|
-
error: string;
|
|
16
|
-
}> | NextResponse<{
|
|
17
|
-
success: boolean;
|
|
18
|
-
deleted: string[];
|
|
19
|
-
errors: string[] | undefined;
|
|
20
|
-
}>>;
|
|
21
|
-
|
|
22
|
-
export { DELETE, GET, POST };
|