@oddington/sdk 0.1.25 → 0.1.26

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.
@@ -125,4 +125,5 @@ export type RoutineSchemaBuilders = {
125
125
  };
126
126
  export type RoutineFileSchema = (options?: {
127
127
  storage?: 'local' | 'remote';
128
+ path?: string;
128
129
  }) => RoutineSchema<File, false>;
@@ -30,6 +30,7 @@ export type AppValueSchema = {
30
30
  } | {
31
31
  type: 'file';
32
32
  storage?: 'local' | 'remote';
33
+ path?: string;
33
34
  };
34
35
  export type AppRoutineContract = {
35
36
  routine: string;
@@ -76,6 +76,7 @@ export type FileEnrichMetadata = {
76
76
  export declare function parseFileEnrichMetadata(value: unknown, maxBytes: number): FileEnrichMetadata;
77
77
  export declare function safeFileName(value: unknown): value is string;
78
78
  export declare function safeFilePath(value: unknown): value is string;
79
+ export declare function safeManagedFilePath(value: unknown): value is string;
79
80
  /** Private transport metadata: normalized material options exclude the request key and size declaration. */
80
81
  export declare const ORIGINAL_MEDIA_TYPES: readonly ['application/pdf', 'text/plain', 'text/markdown', 'application/json', 'image/png', 'image/jpeg'];
81
82
  export type OriginalMediaType = typeof ORIGINAL_MEDIA_TYPES[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oddington/sdk",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "OS routine and response-handler SDK",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",