terse-types 0.7.0 → 0.8.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/dist/ActorSource.d.ts +1 -0
- package/dist/ActorSource.js +2 -1
- package/package.json +1 -1
package/dist/ActorSource.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const ACTOR_ENTRY_FILE = "src/actor.ts";
|
|
2
2
|
export declare const LEGACY_ACTOR_ENTRY_FILE = "src/actors.ts";
|
|
3
|
+
export declare const PYTHON_ACTOR_ENTRY_FILES: readonly ["src/actor.py", "src/actors.py", "actor.py", "actors.py"];
|
|
3
4
|
/** Share discovery between the local CLI and uploaded deployment archives. */
|
|
4
5
|
export declare function findActorEntryFile(hasFile: (file: string) => boolean): string | undefined;
|
package/dist/ActorSource.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export const ACTOR_ENTRY_FILE = "src/actor.ts";
|
|
2
2
|
export const LEGACY_ACTOR_ENTRY_FILE = "src/actors.ts";
|
|
3
|
+
export const PYTHON_ACTOR_ENTRY_FILES = ["src/actor.py", "src/actors.py", "actor.py", "actors.py"];
|
|
3
4
|
/** Share discovery between the local CLI and uploaded deployment archives. */
|
|
4
5
|
export function findActorEntryFile(hasFile) {
|
|
5
|
-
return [ACTOR_ENTRY_FILE, LEGACY_ACTOR_ENTRY_FILE].find(hasFile);
|
|
6
|
+
return [ACTOR_ENTRY_FILE, LEGACY_ACTOR_ENTRY_FILE, ...PYTHON_ACTOR_ENTRY_FILES].find(hasFile);
|
|
6
7
|
}
|