Skip to content

Commit 6b6a66e

Browse files
committed
add HostIds & Application Names
1 parent c838d5d commit 6b6a66e

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

lib/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export declare type HostId = "PHSP" | "PHXS" | "IDSN" | "AICY" | "ILST" | "PPRO" | "PRLD" | "AEFT" | "FLPR" | "AUDT" | "DRWV" | "MUSE" | "KBRG" | "RUSH";
2+
declare type HostNameMap = {
3+
[K in HostId]: string;
4+
};
5+
export declare const HostApplication: Partial<HostNameMap>;
16
export * from './v9';
27
export { CSInterface as CSInterfacePromise } from "./utils";
38
export { default } from './v9';

lib/index.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ function __export(m) {
33
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
44
}
55
Object.defineProperty(exports, "__esModule", { value: true });
6+
exports.HostApplication = {
7+
PHSP: "Photohsop",
8+
PHXS: "Photoshop",
9+
IDSN: "InDesign",
10+
AICY: "InCopy",
11+
ILST: "Illustrator",
12+
PPRO: "Premiere Pro",
13+
PRLD: "Prelude",
14+
AEFT: "After Effects",
15+
FLPR: "Animate (Flash Pro)",
16+
AUDT: "Audition",
17+
DRWV: "Dreamweaver",
18+
MUSE: "Muse",
19+
KBRG: "Bridge",
20+
RUSH: "Rush"
21+
};
622
__export(require("./v9"));
723
var utils_1 = require("./utils");
824
exports.CSInterfacePromise = utils_1.CSInterface;

src/index.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
export type HostId = "PHSP" | "PHXS" | "IDSN" | "AICY" | "ILST" | "PPRO" | "PRLD" | "AEFT" | "FLPR" | "AUDT" | "DRWV" | "MUSE" | "KBRG" | "RUSH";
2+
3+
type HostNameMap = {
4+
[K in HostId]: string
5+
};
6+
7+
export const HostApplication: Partial<HostNameMap> = {
8+
PHSP: "Photohsop",
9+
PHXS: "Photoshop",
10+
IDSN: "InDesign",
11+
AICY: "InCopy",
12+
ILST: "Illustrator",
13+
PPRO: "Premiere Pro",
14+
PRLD: "Prelude",
15+
AEFT: "After Effects",
16+
FLPR: "Animate (Flash Pro)",
17+
AUDT: "Audition",
18+
DRWV: "Dreamweaver",
19+
MUSE: "Muse",
20+
KBRG: "Bridge",
21+
RUSH: "Rush"
22+
};
23+
124
export * from './v9';
225
export {CSInterface as CSInterfacePromise} from "./utils";
326
export {default} from './v9'

0 commit comments

Comments
 (0)