mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Remove excess deploy fields, add baseURL
This commit is contained in:
7 files changed
+178
-265
No files matched your search
@@ -1,14 +1,27 @@
|
||||
import { createContext } from 'react';
|
||||
|
||||
export interface DeployProvider {
|
||||
export interface ShakespeareDeployProvider {
|
||||
id: string;
|
||||
type: 'shakespeare' | 'netlify' | 'vercel';
|
||||
apiKey?: string; // Not used for Shakespeare Deploy
|
||||
siteId?: string; // For Netlify
|
||||
projectId?: string; // For Vercel
|
||||
teamId?: string; // For Vercel
|
||||
type: 'shakespeare';
|
||||
baseURL?: string;
|
||||
}
|
||||
|
||||
export interface NetlifyProvider {
|
||||
id: string;
|
||||
type: 'netlify';
|
||||
apiKey: string;
|
||||
baseURL?: string;
|
||||
}
|
||||
|
||||
export interface VercelProvider {
|
||||
id: string;
|
||||
type: 'vercel';
|
||||
apiKey: string;
|
||||
baseURL?: string;
|
||||
}
|
||||
|
||||
export type DeployProvider = ShakespeareDeployProvider | NetlifyProvider | VercelProvider;
|
||||
|
||||
export interface DeploySettings {
|
||||
providers: DeployProvider[];
|
||||
defaultProviderId?: string;
|
||||
|
||||
Reference in new issue
Block a user