@dyrected/sdk 2.5.30 → 2.5.32
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.cjs +53 -832
- package/dist/index.d.cts +1 -13
- package/dist/index.d.ts +1 -13
- package/dist/index.js +52 -829
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -24,18 +24,6 @@ declare class QueryBuilder<T = any> {
|
|
|
24
24
|
then<TResult1 = PaginatedResult<T>, TResult2 = never>(onfulfilled?: ((value: PaginatedResult<T>) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
interface SetupPromptConfig {
|
|
28
|
-
siteName?: string;
|
|
29
|
-
siteId?: string;
|
|
30
|
-
apiKey?: string;
|
|
31
|
-
baseUrl?: string;
|
|
32
|
-
isSelfHosted?: boolean;
|
|
33
|
-
existingSite?: boolean;
|
|
34
|
-
defaultTechStack?: string;
|
|
35
|
-
}
|
|
36
|
-
declare function generateFreshSetupPrompt(activeTab: "next" | "nuxt" | "react" | "vue", config: SetupPromptConfig): string;
|
|
37
|
-
declare function generateAIPrompt(activeTab: "next" | "nuxt" | "react" | "vue", config: SetupPromptConfig): string;
|
|
38
|
-
|
|
39
27
|
/** Shape of a document returned from a workflow-enabled collection. */
|
|
40
28
|
interface WorkflowDocument {
|
|
41
29
|
id: string;
|
|
@@ -361,4 +349,4 @@ declare function createClient<TSchema extends {
|
|
|
361
349
|
globals: any;
|
|
362
350
|
} = any>(config: DyrectedClientConfig): DyrectedClient<TSchema>;
|
|
363
351
|
|
|
364
|
-
export { type BaseSchema, DyrectedClient, type DyrectedClientConfig, DyrectedError, type InferSchema, type
|
|
352
|
+
export { type BaseSchema, DyrectedClient, type DyrectedClientConfig, DyrectedError, type InferSchema, type TransitionOptions, type WorkflowDocument, type WorkflowHistoryEntry, createClient };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,18 +24,6 @@ declare class QueryBuilder<T = any> {
|
|
|
24
24
|
then<TResult1 = PaginatedResult<T>, TResult2 = never>(onfulfilled?: ((value: PaginatedResult<T>) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
interface SetupPromptConfig {
|
|
28
|
-
siteName?: string;
|
|
29
|
-
siteId?: string;
|
|
30
|
-
apiKey?: string;
|
|
31
|
-
baseUrl?: string;
|
|
32
|
-
isSelfHosted?: boolean;
|
|
33
|
-
existingSite?: boolean;
|
|
34
|
-
defaultTechStack?: string;
|
|
35
|
-
}
|
|
36
|
-
declare function generateFreshSetupPrompt(activeTab: "next" | "nuxt" | "react" | "vue", config: SetupPromptConfig): string;
|
|
37
|
-
declare function generateAIPrompt(activeTab: "next" | "nuxt" | "react" | "vue", config: SetupPromptConfig): string;
|
|
38
|
-
|
|
39
27
|
/** Shape of a document returned from a workflow-enabled collection. */
|
|
40
28
|
interface WorkflowDocument {
|
|
41
29
|
id: string;
|
|
@@ -361,4 +349,4 @@ declare function createClient<TSchema extends {
|
|
|
361
349
|
globals: any;
|
|
362
350
|
} = any>(config: DyrectedClientConfig): DyrectedClient<TSchema>;
|
|
363
351
|
|
|
364
|
-
export { type BaseSchema, DyrectedClient, type DyrectedClientConfig, DyrectedError, type InferSchema, type
|
|
352
|
+
export { type BaseSchema, DyrectedClient, type DyrectedClientConfig, DyrectedError, type InferSchema, type TransitionOptions, type WorkflowDocument, type WorkflowHistoryEntry, createClient };
|