@phpsandbox/sdk 0.1.6 → 0.1.9
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/dist/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ interface SystemActions {
|
|
|
114
114
|
}
|
|
115
115
|
export type Invokable = SystemActions & TerminalActions & ContainerActions & FilesystemActions & AuthActions & LspActions & ComposerActions & LogActions & ServiceActions & ConfigActions & NotebookActions & ReplActions & ShellActions & GitActions;
|
|
116
116
|
export interface CreateNotebookImportAuthInput {
|
|
117
|
-
|
|
117
|
+
accessToken: string;
|
|
118
118
|
}
|
|
119
119
|
export interface CreateNotebookImportInput {
|
|
120
120
|
provider: 'github';
|
|
@@ -148,9 +148,9 @@ export interface UpdateNotebookInput extends Omit<CreateNotebookInput, 'persiste
|
|
|
148
148
|
network?: NetworkPolicy | null;
|
|
149
149
|
}
|
|
150
150
|
export interface NotebookPolicyData {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
autoDeleteWhenStale: boolean;
|
|
152
|
+
staleAfterMinutes: number | null;
|
|
153
|
+
pruneAfterAt: string | null;
|
|
154
154
|
}
|
|
155
155
|
export type SecretEnvironment = 'development' | 'production';
|
|
156
156
|
export type SecretType = 'environment_variable' | 'credential';
|
|
@@ -218,7 +218,7 @@ export interface NotebookPreviewDataDisabled {
|
|
|
218
218
|
export interface NotebookPreviewDataEnabled {
|
|
219
219
|
enabled: true;
|
|
220
220
|
token: string;
|
|
221
|
-
|
|
221
|
+
expiresAt: string;
|
|
222
222
|
}
|
|
223
223
|
export type NotebookPreviewData = NotebookPreviewDataDisabled | NotebookPreviewDataEnabled;
|
|
224
224
|
export type NotebookPreviewDataWithUrl = NotebookPreviewDataDisabled | (NotebookPreviewDataEnabled & {
|
|
@@ -228,24 +228,24 @@ export interface SetNotebookPreviewInput {
|
|
|
228
228
|
password: string;
|
|
229
229
|
}
|
|
230
230
|
export interface NotebookPreviewSessionData {
|
|
231
|
-
|
|
231
|
+
previewSessionId: string;
|
|
232
232
|
token: string;
|
|
233
|
-
|
|
233
|
+
expiresAt: string;
|
|
234
234
|
url: string;
|
|
235
235
|
}
|
|
236
236
|
export interface CreateNotebookPreviewSessionInput {
|
|
237
237
|
url: string;
|
|
238
238
|
}
|
|
239
239
|
export interface CreateNotebookPreviewHandoffInput {
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
previewSessionId: string;
|
|
241
|
+
expiresInSeconds?: number;
|
|
242
242
|
url: string;
|
|
243
243
|
}
|
|
244
244
|
export interface NotebookPreviewHandoffData {
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
handoffId: string;
|
|
246
|
+
previewSessionId: string;
|
|
247
247
|
token: string;
|
|
248
|
-
|
|
248
|
+
expiresAt: string;
|
|
249
249
|
url: string;
|
|
250
250
|
}
|
|
251
251
|
export interface NotebookMailRecipientData {
|
package/package.json
CHANGED