@docmana/sdk 0.41.0 → 0.43.0
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/CHANGELOG.md +16 -0
- package/README.md +66 -0
- package/dist/api/run-flow.d.ts +2 -1
- package/dist/authoring.d.ts +28 -4
- package/dist/cli.mjs +16 -14
- package/dist/cli.mjs.map +1 -1
- package/dist/files/resolve-input.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -14
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +6 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -33,7 +33,9 @@ export interface NamedFileInput {
|
|
|
33
33
|
}
|
|
34
34
|
export type FileInput = string | PathFileInput | NamedFileInput;
|
|
35
35
|
export interface RunFlowParams {
|
|
36
|
-
files
|
|
36
|
+
files?: FileInput[];
|
|
37
|
+
/** Inline document text, one string per document. Supply files, documentData, or both. */
|
|
38
|
+
documentData?: readonly string[];
|
|
37
39
|
useDraftVersion?: boolean;
|
|
38
40
|
language?: string;
|
|
39
41
|
context?: Record<string, unknown>;
|
|
@@ -178,7 +180,9 @@ export interface RunFlowAsyncParams extends RunFlowParams {
|
|
|
178
180
|
callbackUrl?: string;
|
|
179
181
|
}
|
|
180
182
|
export interface RunPartialFlowParams {
|
|
181
|
-
files
|
|
183
|
+
files?: FileInput[];
|
|
184
|
+
/** Inline document text, one string per document. Supply files, documentData, or both. */
|
|
185
|
+
documentData?: readonly string[];
|
|
182
186
|
executionScope: PartialExecutionScope;
|
|
183
187
|
flowVersion?: PartialExecutionFlowVersion;
|
|
184
188
|
classificationNodeNames?: string[];
|