afterpresets 0.1.0 → 0.3.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/README.md +6 -4
- package/native-runtime/CMakeLists.txt +82 -0
- package/native-runtime/README.md +40 -0
- package/native-runtime/THIRD_PARTY_NOTICES.md +14 -0
- package/native-runtime/include/ap_native.h +223 -0
- package/native-runtime/src/apply.cpp +199 -0
- package/native-runtime/src/crypto.cpp +225 -0
- package/native-runtime/src/crypto.hpp +51 -0
- package/native-runtime/src/dialog.cpp +62 -0
- package/native-runtime/src/dialog.hpp +35 -0
- package/native-runtime/src/engine.cpp +909 -0
- package/native-runtime/src/engine.hpp +232 -0
- package/native-runtime/src/fsutil.cpp +291 -0
- package/native-runtime/src/fsutil.hpp +57 -0
- package/native-runtime/src/json.cpp +326 -0
- package/native-runtime/src/json.hpp +70 -0
- package/native-runtime/src/platform.hpp +83 -0
- package/native-runtime/src/platform_common.cpp +60 -0
- package/native-runtime/src/platform_mac.mm +314 -0
- package/native-runtime/src/platform_win.cpp +277 -0
- package/native-runtime/src/runtime.cpp +473 -0
- package/native-runtime/src/util.cpp +169 -0
- package/native-runtime/src/util.hpp +32 -0
- package/native-runtime/src/zip.cpp +243 -0
- package/native-runtime/src/zip.hpp +58 -0
- package/native-runtime/third_party/monocypher/LICENCE.md +167 -0
- package/native-runtime/third_party/monocypher/monocypher-ed25519.c +500 -0
- package/native-runtime/third_party/monocypher/monocypher-ed25519.h +140 -0
- package/native-runtime/third_party/monocypher/monocypher.c +2956 -0
- package/native-runtime/third_party/monocypher/monocypher.h +321 -0
- package/native-runtime/third_party/tinf/LICENSE +22 -0
- package/native-runtime/third_party/tinf/crc32.c +57 -0
- package/native-runtime/third_party/tinf/tinf.h +140 -0
- package/native-runtime/third_party/tinf/tinflate.c +636 -0
- package/native-runtime/vendor-files.json +39 -0
- package/package.json +6 -3
- package/runtime/docs/cep/host-after-effects.md +57 -0
- package/runtime/docs/cep/host-premiere.md +84 -0
- package/runtime/docs/{host.md → cep/host.md} +42 -16
- package/runtime/docs/{README.md → common/README.md} +10 -8
- package/runtime/docs/{assets.md → common/assets.md} +16 -2
- package/runtime/docs/{licensing.md → common/licensing.md} +1 -1
- package/runtime/docs/{panels.md → common/panels.md} +5 -5
- package/runtime/docs/{storage.md → common/storage.md} +5 -5
- package/runtime/docs/{updates.md → common/updates.md} +1 -1
- package/runtime/docs/native/README.md +44 -0
- package/runtime/docs/native/debugging.md +140 -0
- package/runtime/docs/native/rules.md +402 -0
- package/runtime/docs/native/testing.md +154 -0
- package/runtime/package.json +1 -1
- package/runtime/scripts/ae-sdk-docs/config.js +102 -0
- package/runtime/scripts/ae-sdk-docs/convert.js +430 -0
- package/runtime/scripts/ae-sdk-docs/index.js +314 -0
- package/runtime/scripts/ae-sdk-docs/source.js +205 -0
- package/runtime/scripts/ae-sdk-docs/split.js +170 -0
- package/runtime/scripts/ae-sdk-docs.js +72 -0
- package/runtime/src/host.js +1 -1
- package/runtime/src/updates.js +1 -1
- package/src/api/error-messages.js +1 -1
- package/src/build/build.js +7 -7
- package/src/build/html.js +1 -1
- package/src/build/jsx.js +2 -2
- package/src/build/runtime.js +3 -3
- package/src/check/check.js +3 -3
- package/src/check/native.js +14 -0
- package/src/check/pricing.js +1 -1
- package/src/check/types.js +2 -2
- package/src/cli.js +5 -5
- package/src/commands/add.js +8 -3
- package/src/commands/build.js +8 -2
- package/src/commands/check.js +11 -3
- package/src/commands/dev.js +9 -2
- package/src/commands/docs.js +5 -1
- package/src/commands/init.js +15 -3
- package/src/commands/push.js +5 -2
- package/src/commands/sdk.js +14 -0
- package/src/commands/testers.js +1 -1
- package/src/commands/upgrade.js +2 -2
- package/src/commands/whoami.js +1 -1
- package/src/config.js +1 -1
- package/src/dev/bridge.js +8 -0
- package/src/dev/cep-link.js +1 -1
- package/src/dev/debug-file.js +5 -5
- package/src/dev/native.js +3 -0
- package/src/dev/session.js +4 -3
- package/src/mcp/extendscript.js +10 -7
- package/src/mcp/host-target.js +1 -0
- package/src/mcp/panels.js +1 -1
- package/src/mcp/png.js +1 -0
- package/src/mcp/server.js +2 -2
- package/src/mcp/tools/capture.js +3 -0
- package/src/mcp/tools/host.js +1 -1
- package/src/mcp/tools/native.js +6 -0
- package/src/mcp/tools/panel.js +4 -4
- package/src/mcp/tools/project.js +47 -31
- package/src/mcp/tools/releases.js +23 -20
- package/src/native/build.js +27 -0
- package/src/native/cmake/CMakeLists.txt +88 -0
- package/src/native/cmake/zig-windows.cmake +19 -0
- package/src/native/effect.js +3 -0
- package/src/native/install.js +8 -0
- package/src/native/installers.js +4 -0
- package/src/native/pipl.js +20 -0
- package/src/native/restart.js +2 -0
- package/src/native/sdk.js +8 -0
- package/src/project/add-panel.js +1 -1
- package/src/project/docs.js +3 -1
- package/src/project/manifest.js +3 -2
- package/src/project/project.js +2 -2
- package/src/project/template.js +5 -1
- package/src/prompt.js +1 -1
- package/src/release/installers.js +4 -4
- package/src/release/native.js +3 -0
- package/src/release/package.js +1 -1
- package/src/release/publish.js +1 -1
- package/src/system/run-command.js +1 -1
- package/src/targets.js +1 -0
- package/src/user-config.js +2 -2
- package/template/cep/AGENTS.md +104 -0
- package/template/{README.md → cep/README.md} +16 -11
- package/template/cep/docs/code_guide.md +67 -0
- package/template/cep/docs/initial_setup.md +115 -0
- package/template/cep/docs/release_checklist.md +24 -0
- package/template/{src → cep/src}/features/home/home.html +4 -4
- package/template/{src → cep/src}/features/home/home.js +10 -11
- package/template/{src → cep/src}/shared/lib/host-theme.js +3 -3
- package/template/{src → cep/src}/shared/lib/view.js +1 -1
- package/template/{src → cep/src}/shared/ui/tokens.css +1 -1
- package/template/hosts/AGENTS.two-apps.md +12 -0
- package/template/hosts/aeft/AGENTS.host.md +10 -0
- package/template/hosts/aeft/jsx/aeft/home.jsx +16 -0
- package/template/hosts/ppro/AGENTS.host.md +15 -0
- package/template/hosts/ppro/jsx/ppro/home.jsx +20 -0
- package/template/native/.mcp.json +8 -0
- package/template/native/AGENTS.md +105 -0
- package/template/native/README.md +71 -0
- package/template/native/docs/code_guide.md +72 -0
- package/template/native/docs/initial_setup.md +179 -0
- package/template/native/docs/release_checklist.md +24 -0
- package/template/native/effect.json +16 -0
- package/template/native/gitignore +8 -0
- package/template/native/package.json +14 -0
- package/template/native/src/Effect.cpp +224 -0
- package/template/native/src/License.cpp +95 -0
- package/template/native/src/License.h +29 -0
- package/template/native/src/Render.h +68 -0
- package/vendor/afterpresets-additions/AfterEffects.d.ts +291 -0
- package/vendor/afterpresets-additions/Premiere.d.ts +179 -0
- package/vendor/types-for-adobe/Premiere/24.0/index.d.ts +2567 -0
- package/vendor/types-for-adobe/README.md +8 -4
- package/template/AGENTS.md +0 -168
- package/template/docs/initial_setup.md +0 -69
- package/template/jsx/home.jsx +0 -17
- /package/runtime/docs/{boot.md → common/boot.md} +0 -0
- /package/template/{.mcp.json → cep/.mcp.json} +0 -0
- /package/template/{gitignore → cep/gitignore} +0 -0
- /package/template/{package.json → cep/package.json} +0 -0
- /package/template/{src → cep/src}/features/home/home.css +0 -0
- /package/template/{src → cep/src}/features/license-screen/license-screen.css +0 -0
- /package/template/{src → cep/src}/features/license-screen/license-screen.html +0 -0
- /package/template/{src → cep/src}/features/license-screen/license-screen.js +0 -0
- /package/template/{src → cep/src}/features/update-screen/update-screen.css +0 -0
- /package/template/{src → cep/src}/features/update-screen/update-screen.html +0 -0
- /package/template/{src → cep/src}/features/update-screen/update-screen.js +0 -0
- /package/template/{src → cep/src}/panels/main/index.html +0 -0
- /package/template/{src → cep/src}/panels/main/main.js +0 -0
- /package/template/{src → cep/src}/shared/lib/dom.js +0 -0
- /package/template/{src → cep/src}/shared/lib/markdown.js +0 -0
- /package/template/{src → cep/src}/shared/ui/base.css +0 -0
- /package/template/{src → cep/src}/shared/ui/button.css +0 -0
- /package/template/{src → cep/src}/shared/ui/card.css +0 -0
- /package/template/{src → cep/src}/shared/ui/field.css +0 -0
- /package/template/{src → cep/src}/shared/ui/index.css +0 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
// Generated by packages/cli/scripts/host-types (run.js + generate.js). Do not edit by hand.
|
|
2
|
+
// Source: aftereffects 26.2.1x2 (26.2.1x2), ExtendScript reflection, 2026-11-05.
|
|
3
|
+
// Only what types-for-adobe AfterEffects/26.0 lacks: new members of its classes (merged as interfaces),
|
|
4
|
+
// new classes and enum members. Types are best effort (unknown types are `any`) and every
|
|
5
|
+
// method argument is optional, so these can only remove false hints, never add one.
|
|
6
|
+
// Stats: {"classesExtended":20,"newClasses":2,"members":175,"enumMembers":6,"newEnums":0}
|
|
7
|
+
|
|
8
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
9
|
+
interface AVLayer {
|
|
10
|
+
guides: any[]
|
|
11
|
+
lightSource: any
|
|
12
|
+
lightType: any
|
|
13
|
+
addGuide(...rest: any[]): any
|
|
14
|
+
getGuideAsObject(...rest: any[]): any
|
|
15
|
+
getRenderGUID(...rest: any[]): any
|
|
16
|
+
removeGuide(...rest: any[]): any
|
|
17
|
+
setGuide(...rest: any[]): any
|
|
18
|
+
splitLayer(...rest: any[]): any
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
22
|
+
interface Application {
|
|
23
|
+
appName: string
|
|
24
|
+
areToolTipsEnabled: boolean
|
|
25
|
+
ccUserGuid: string
|
|
26
|
+
disableScriptingProgressDialog: boolean
|
|
27
|
+
getAllowedAppThemes: any[]
|
|
28
|
+
getAppTheme: string
|
|
29
|
+
getUseReducedContrast: boolean
|
|
30
|
+
internalEffects: any[]
|
|
31
|
+
isAnalyticsEnabled: boolean
|
|
32
|
+
isBeta: boolean
|
|
33
|
+
isProfessionalVersion: boolean
|
|
34
|
+
isStagingEnvironment: boolean
|
|
35
|
+
isUISuppressed: boolean
|
|
36
|
+
learnPanelContentDirPath: string
|
|
37
|
+
reportErrorOnMissingFrame: boolean
|
|
38
|
+
dispatchCEPEvent(...rest: any[]): any
|
|
39
|
+
download(...rest: any[]): any
|
|
40
|
+
getCCXUserJSONData(...rest: any[]): any
|
|
41
|
+
getDebugDatabase(...rest: any[]): any
|
|
42
|
+
hasDebugDatabaseValue(...rest: any[]): any
|
|
43
|
+
injectPresetAnimation(...rest: any[]): any
|
|
44
|
+
isBetaFeatureEnabled(...rest: any[]): any
|
|
45
|
+
log(...rest: any[]): any
|
|
46
|
+
newTeamProject(...rest: any[]): any
|
|
47
|
+
objectToJSON(...rest: any[]): any
|
|
48
|
+
onCEPEvent(...rest: any[]): any
|
|
49
|
+
openFast(...rest: any[]): any
|
|
50
|
+
openTeamProject(...rest: any[]): any
|
|
51
|
+
openTemplate(...rest: any[]): any
|
|
52
|
+
removeDebugDatabaseEntry(...rest: any[]): any
|
|
53
|
+
restart(...rest: any[]): any
|
|
54
|
+
setDebugDatabase(...rest: any[]): any
|
|
55
|
+
setExtensionPersistent(...rest: any[]): any
|
|
56
|
+
themeColor(...rest: any[]): any
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
60
|
+
interface CameraLayer {
|
|
61
|
+
adjustmentLayer: boolean
|
|
62
|
+
environmentLayer: boolean
|
|
63
|
+
guides: any[]
|
|
64
|
+
lightSource: any
|
|
65
|
+
lightType: any
|
|
66
|
+
addGuide(...rest: any[]): any
|
|
67
|
+
addToMotionGraphicsTemplate(...rest: any[]): any
|
|
68
|
+
addToMotionGraphicsTemplateAs(...rest: any[]): any
|
|
69
|
+
canAddToMotionGraphicsTemplate(...rest: any[]): any
|
|
70
|
+
getGuideAsObject(...rest: any[]): any
|
|
71
|
+
getRenderGUID(...rest: any[]): any
|
|
72
|
+
removeGuide(...rest: any[]): any
|
|
73
|
+
setGuide(...rest: any[]): any
|
|
74
|
+
splitLayer(...rest: any[]): any
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
78
|
+
interface CompItem {
|
|
79
|
+
counters: boolean
|
|
80
|
+
dynamicLinkGUID: string
|
|
81
|
+
frameTime: number
|
|
82
|
+
guides: any[]
|
|
83
|
+
applyPreset(...rest: any[]): any
|
|
84
|
+
doContentAwareFill(...rest: any[]): any
|
|
85
|
+
getGuideAsObject(...rest: any[]): any
|
|
86
|
+
getRenderGUID(...rest: any[]): any
|
|
87
|
+
renderFrame(...rest: any[]): any
|
|
88
|
+
saveDraftFrameToPng(...rest: any[]): any
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
92
|
+
interface FolderItem {
|
|
93
|
+
dynamicLinkGUID: string
|
|
94
|
+
guides: any
|
|
95
|
+
getGuideAsObject(...rest: any[]): any
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
99
|
+
declare class Font {
|
|
100
|
+
designAxesData: any[]
|
|
101
|
+
designVector: any[]
|
|
102
|
+
designVectorIsDefault: boolean
|
|
103
|
+
familyName: string
|
|
104
|
+
familyPrefix: string
|
|
105
|
+
fontID: number
|
|
106
|
+
fullName: string
|
|
107
|
+
hasDesignAxes: boolean
|
|
108
|
+
isFromAdobeFonts: boolean
|
|
109
|
+
isSubstitute: boolean
|
|
110
|
+
location: string
|
|
111
|
+
nativeFamilyName: string
|
|
112
|
+
nativeFullName: string
|
|
113
|
+
nativeStyleName: string
|
|
114
|
+
otherFontsWithSameDict: any[]
|
|
115
|
+
postScriptName: string
|
|
116
|
+
styleName: string
|
|
117
|
+
technology: number
|
|
118
|
+
type: number
|
|
119
|
+
version: string
|
|
120
|
+
writingScripts: any[]
|
|
121
|
+
hasGlyphsFor(...rest: any[]): any
|
|
122
|
+
hasSameDict(...rest: any[]): any
|
|
123
|
+
postScriptNameForDesignVector(...rest: any[]): any
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
127
|
+
declare class Fonts {
|
|
128
|
+
allFonts: any[]
|
|
129
|
+
favoriteFontFamilyList: any[]
|
|
130
|
+
fontServerRevision: number
|
|
131
|
+
fontsDuplicateByPostScriptName: any[]
|
|
132
|
+
fontsWithDefaultDesignAxes: any[]
|
|
133
|
+
freezeSyncSubstitutedFonts: boolean
|
|
134
|
+
missingOrSubstitutedFonts: any[]
|
|
135
|
+
mruFontFamilyList: any[]
|
|
136
|
+
substitutedFontReplacementMatchPolicy: number
|
|
137
|
+
getCTScriptForString(...rest: any[]): any
|
|
138
|
+
getDefaultFontForCTScript(...rest: any[]): any
|
|
139
|
+
getFontByID(...rest: any[]): any
|
|
140
|
+
getFontsByFamilyNameAndStyleName(...rest: any[]): any
|
|
141
|
+
getFontsByPostScriptName(...rest: any[]): any
|
|
142
|
+
pollForAndPushNonSystemFontFoldersChanges(...rest: any[]): any
|
|
143
|
+
setDefaultFontForCTScript(...rest: any[]): any
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
147
|
+
interface FootageItem {
|
|
148
|
+
dynamicLinkGUID: string
|
|
149
|
+
frameTime: number
|
|
150
|
+
guides: any[]
|
|
151
|
+
getGuideAsObject(...rest: any[]): any
|
|
152
|
+
getRenderGUID(...rest: any[]): any
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
156
|
+
interface ImportOptions {
|
|
157
|
+
rangeEnd: number
|
|
158
|
+
rangeStart: number
|
|
159
|
+
isFileNameNumbered(...rest: any[]): any
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
163
|
+
interface LightLayer {
|
|
164
|
+
adjustmentLayer: boolean
|
|
165
|
+
environmentLayer: boolean
|
|
166
|
+
guides: any[]
|
|
167
|
+
addGuide(...rest: any[]): any
|
|
168
|
+
addToMotionGraphicsTemplate(...rest: any[]): any
|
|
169
|
+
addToMotionGraphicsTemplateAs(...rest: any[]): any
|
|
170
|
+
canAddToMotionGraphicsTemplate(...rest: any[]): any
|
|
171
|
+
getGuideAsObject(...rest: any[]): any
|
|
172
|
+
getRenderGUID(...rest: any[]): any
|
|
173
|
+
removeGuide(...rest: any[]): any
|
|
174
|
+
setGuide(...rest: any[]): any
|
|
175
|
+
splitLayer(...rest: any[]): any
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
179
|
+
interface MaskPropertyGroup {
|
|
180
|
+
addToMotionGraphicsTemplate(...rest: any[]): any
|
|
181
|
+
addToMotionGraphicsTemplateAs(...rest: any[]): any
|
|
182
|
+
canAddToMotionGraphicsTemplate(...rest: any[]): any
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
186
|
+
interface OMCollection {
|
|
187
|
+
add(...rest: any[]): any
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
191
|
+
interface OutputModule {
|
|
192
|
+
normalizeSettings(...rest: any[]): any
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
196
|
+
interface Project {
|
|
197
|
+
colorManagementSystem: number
|
|
198
|
+
lutInterpolationMethod: number
|
|
199
|
+
ocioConfigurationFile: string
|
|
200
|
+
revision: number
|
|
201
|
+
createComp(...rest: any[]): any
|
|
202
|
+
placeAsset(...rest: any[]): any
|
|
203
|
+
serializeToXML(...rest: any[]): any
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
207
|
+
interface PropertyGroup {
|
|
208
|
+
addToMotionGraphicsTemplate(...rest: any[]): any
|
|
209
|
+
addToMotionGraphicsTemplateAs(...rest: any[]): any
|
|
210
|
+
canAddToMotionGraphicsTemplate(...rest: any[]): any
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
214
|
+
interface RenderQueue {
|
|
215
|
+
firstError: string
|
|
216
|
+
lastError: string
|
|
217
|
+
renderAsync(...rest: any[]): any
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
221
|
+
interface RenderQueueItem {
|
|
222
|
+
comment: string
|
|
223
|
+
onComplete(...rest: any[]): any
|
|
224
|
+
onReorder(...rest: any[]): any
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
228
|
+
interface ShapeLayer {
|
|
229
|
+
guides: any[]
|
|
230
|
+
lightSource: any
|
|
231
|
+
lightType: any
|
|
232
|
+
addGuide(...rest: any[]): any
|
|
233
|
+
getGuideAsObject(...rest: any[]): any
|
|
234
|
+
getRenderGUID(...rest: any[]): any
|
|
235
|
+
removeGuide(...rest: any[]): any
|
|
236
|
+
setGuide(...rest: any[]): any
|
|
237
|
+
splitLayer(...rest: any[]): any
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
241
|
+
interface System {
|
|
242
|
+
convert_unix_path(...rest: any[]): any
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
246
|
+
interface TextDocument {
|
|
247
|
+
ligature: any
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
251
|
+
interface TextLayer {
|
|
252
|
+
guides: any[]
|
|
253
|
+
lightSource: any
|
|
254
|
+
lightType: any
|
|
255
|
+
addGuide(...rest: any[]): any
|
|
256
|
+
getGuideAsObject(...rest: any[]): any
|
|
257
|
+
getRenderGUID(...rest: any[]): any
|
|
258
|
+
removeGuide(...rest: any[]): any
|
|
259
|
+
setGuide(...rest: any[]): any
|
|
260
|
+
splitLayer(...rest: any[]): any
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. May include undocumented members. */
|
|
264
|
+
interface View {
|
|
265
|
+
onSync(...rest: any[]): any
|
|
266
|
+
saveBlittedImageToPng(...rest: any[]): any
|
|
267
|
+
startPlayback(...rest: any[]): any
|
|
268
|
+
stopPlayback(...rest: any[]): any
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. */
|
|
272
|
+
declare enum CTFontType {
|
|
273
|
+
CT_DONTKNOW_FONTTYPE = 12622,
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. */
|
|
277
|
+
declare enum GpuAccelType {
|
|
278
|
+
DIRECTX = 1817,
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. */
|
|
282
|
+
declare enum LightType {
|
|
283
|
+
ENVIRONMENT = 4416,
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/** Found by reflection in After Effects 26.2.1x2; not in types-for-adobe. */
|
|
287
|
+
declare enum PREFType {
|
|
288
|
+
PREF_Type_MACHINE_SPECIFIC_EFFECTS = 8819,
|
|
289
|
+
PREF_Type_MACHINE_SPECIFIC_EXPRESSION_SNIPPETS = 8820,
|
|
290
|
+
PREF_Type_MACHINE_SPECIFIC_SCRIPT_SNIPPETS = 8821,
|
|
291
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
// Generated by packages/cli/scripts/host-types (run.js + generate.js). Do not edit by hand.
|
|
2
|
+
// Source: premierepro 26.2.2 (3), ExtendScript reflection, 2026-11-05.
|
|
3
|
+
// Only what types-for-adobe Premiere/24.0 lacks: new members of its classes (merged as interfaces),
|
|
4
|
+
// new classes and enum members. Types are best effort (unknown types are `any`) and every
|
|
5
|
+
// method argument is optional, so these can only remove false hints, never add one.
|
|
6
|
+
// Stats: {"classesExtended":17,"newClasses":2,"members":97,"enumMembers":0,"newEnums":0}
|
|
7
|
+
|
|
8
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
9
|
+
interface Anywhere {
|
|
10
|
+
addEventListener(...rest: any[]): any
|
|
11
|
+
dispatchEvent(...rest: any[]): any
|
|
12
|
+
openTeamProjectSnapshot(inTeamProjectSnapshotPath?: string, ...rest: any[]): boolean
|
|
13
|
+
removeEventListener(...rest: any[]): any
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
17
|
+
interface Application {
|
|
18
|
+
readonly isStagingEnvironment: boolean
|
|
19
|
+
readonly learnPanelContentDirPath: string
|
|
20
|
+
readonly learnPanelExampleProjectDirPath: string
|
|
21
|
+
readonly path: string
|
|
22
|
+
dispatchEvent(...rest: any[]): any
|
|
23
|
+
getConstant(name?: string, ...rest: any[]): number
|
|
24
|
+
getCurrentProjectViewSelection(...rest: any[]): any[]
|
|
25
|
+
isWindowVisible(windowClass?: string, ...rest: any[]): boolean
|
|
26
|
+
newPrProduction(arg0?: string, ...rest: any[]): Object
|
|
27
|
+
refresh(...rest: any[]): boolean
|
|
28
|
+
removeEventListener(...rest: any[]): any
|
|
29
|
+
write(p0?: string, arg1?: boolean, ...rest: any[]): boolean
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
33
|
+
declare class ColorSpace {
|
|
34
|
+
readonly empty: boolean
|
|
35
|
+
readonly isSceneReferred: boolean
|
|
36
|
+
readonly matrixEquation: number
|
|
37
|
+
readonly name: string
|
|
38
|
+
readonly primaries: number
|
|
39
|
+
readonly transferCharacteristic: number
|
|
40
|
+
getPeakLuminance(...rest: any[]): number
|
|
41
|
+
setPeakLuminance(arg0?: number, ...rest: any[]): boolean
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
45
|
+
interface Component {
|
|
46
|
+
readonly instanceName: string
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
50
|
+
interface Encoder {
|
|
51
|
+
addEventListener(...rest: any[]): any
|
|
52
|
+
dispatchEvent(...rest: any[]): any
|
|
53
|
+
exportWithPresetObject(outputFilePath?: string, EncoderPreset?: Object, Sequence?: Object, arg3?: boolean, ...rest: any[]): boolean
|
|
54
|
+
getPresetObject(presetPath?: string, ...rest: any[]): any
|
|
55
|
+
removeEventListener(...rest: any[]): any
|
|
56
|
+
selectFolder(...rest: any[]): string
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
60
|
+
interface MarkerCollection {
|
|
61
|
+
readonly length: number
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
65
|
+
interface Project {
|
|
66
|
+
readonly cloudProjectlocalID: string
|
|
67
|
+
readonly isCloudProject: boolean
|
|
68
|
+
applyLumetriPreset(p0?: string, ...rest: any[]): boolean
|
|
69
|
+
applyProjectSnapshot(arg0?: string, arg1?: boolean, arg2?: boolean, ...rest: any[]): boolean
|
|
70
|
+
disableCopyToLocationSetting(...rest: any[]): boolean
|
|
71
|
+
enableAdobeLocationCopy(...rest: any[]): boolean
|
|
72
|
+
enableSharedLocationCopy(p0?: string, ...rest: any[]): boolean
|
|
73
|
+
getAllLumetriPresetsList(...rest: any[]): any
|
|
74
|
+
getLUTInterpolationMethod(...rest: any[]): number
|
|
75
|
+
getLumetriPresetsForFolderList(p0?: string, ...rest: any[]): any
|
|
76
|
+
getSharedLocation(...rest: any[]): string
|
|
77
|
+
getSupportedLUTInterpolationMethods(...rest: any[]): any
|
|
78
|
+
isAdobeLocationCopyEnabled(...rest: any[]): boolean
|
|
79
|
+
isSharedLocationCopyEnabled(...rest: any[]): boolean
|
|
80
|
+
saveProjectSnapshot(arg0?: string, ...rest: any[]): boolean
|
|
81
|
+
setEnableTranscodeOnIngest(arg0?: boolean, ...rest: any[]): boolean
|
|
82
|
+
setLUTInterpolationMethod(arg0?: number, ...rest: any[]): boolean
|
|
83
|
+
setLogColorManagement(arg0?: boolean, ...rest: any[]): boolean
|
|
84
|
+
setScratchDiskPath(arg0?: string, arg1?: string, ...rest: any[]): boolean
|
|
85
|
+
writeSidecarFile(fileName?: string, fileExtension?: string, contents?: string, ...rest: any[]): string
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
89
|
+
interface ProjectCollection {
|
|
90
|
+
readonly length: number
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
94
|
+
interface ProjectItem {
|
|
95
|
+
readonly getOverrideColorSpaceList: any[]
|
|
96
|
+
readonly interpretedTimebase: string
|
|
97
|
+
readonly sourceTimebase: string
|
|
98
|
+
getEmbeddedLUTID(...rest: any[]): string
|
|
99
|
+
getInputLUTID(...rest: any[]): string
|
|
100
|
+
getOriginalColorSpace(...rest: any[]): ColorSpace
|
|
101
|
+
getOverrideColorSpace(...rest: any[]): ColorSpace
|
|
102
|
+
getProjectColumnsMetadata(...rest: any[]): string
|
|
103
|
+
isAdjustmentLayer(...rest: any[]): boolean
|
|
104
|
+
isColorManagedMedia(...rest: any[]): boolean
|
|
105
|
+
isMulticamClip(...rest: any[]): boolean
|
|
106
|
+
isOffline(...rest: any[]): boolean
|
|
107
|
+
isReference(...rest: any[]): boolean
|
|
108
|
+
isValidOverrideColorSpace(ColorSpace?: Object, ...rest: any[]): boolean
|
|
109
|
+
saveProjectSnapshot(arg0?: string, ...rest: any[]): boolean
|
|
110
|
+
setOffline(...rest: any[]): boolean
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
114
|
+
interface ProjectItemCollection {
|
|
115
|
+
readonly length: number
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
119
|
+
interface ProjectManagerOptions {
|
|
120
|
+
readonly CLIP_MODE_CONSOLIDATE_AND_TRANSCODE: number
|
|
121
|
+
readonly CLIP_MODE_RENDER_AND_REPLACE: number
|
|
122
|
+
clipTranscodeMode: number
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
126
|
+
declare class Properties {
|
|
127
|
+
clearProperty(arg0?: string, ...rest: any[]): boolean
|
|
128
|
+
doesPropertyExist(arg0?: string, ...rest: any[]): boolean
|
|
129
|
+
getProperty(arg0?: string, ...rest: any[]): string
|
|
130
|
+
isPropertyReadOnly(arg0?: string, ...rest: any[]): boolean
|
|
131
|
+
setProperty(...rest: any[]): boolean
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
135
|
+
interface Sequence {
|
|
136
|
+
audioDisplayFormat: number
|
|
137
|
+
close(...rest: any[]): boolean
|
|
138
|
+
importMGTFromLibrary(...rest: any[]): Object
|
|
139
|
+
overwriteClip(...rest: any[]): boolean
|
|
140
|
+
performSceneEditDetectionOnSelection(clipOperation?: string, ...rest: any[]): boolean
|
|
141
|
+
renderVideoFrameAtTime(arg0?: string, Time?: Object, arg2?: boolean, ...rest: any[]): any
|
|
142
|
+
renderVideoFrameAtTimeWithColorSpace(arg0?: string, Time?: Object, arg2?: string, arg3?: boolean, arg4?: string, arg5?: boolean, arg6?: boolean, arg7?: number, ...rest: any[]): any
|
|
143
|
+
setEnableProxies(arg0?: boolean, ...rest: any[]): boolean
|
|
144
|
+
setSelection(selection?: any[], ...rest: any[]): boolean
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
148
|
+
interface SequenceCollection {
|
|
149
|
+
readonly length: number
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
153
|
+
interface SequenceSettings {
|
|
154
|
+
autoInputGamutCompressionEnabled: boolean
|
|
155
|
+
autoToneMapEnabled: boolean
|
|
156
|
+
gamutMappingControls: any
|
|
157
|
+
previewCodec: string
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
161
|
+
interface Time {
|
|
162
|
+
setSecondsAsFraction(arg0?: number, arg1?: number, ...rest: any[]): boolean
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
166
|
+
interface TrackCollection {
|
|
167
|
+
readonly length: number
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
171
|
+
interface TrackItem {
|
|
172
|
+
readonly matchName: string
|
|
173
|
+
isMGT(...rest: any[]): boolean
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/** Found by reflection in Premiere Pro 26.2.2; not in types-for-adobe. May include undocumented members. */
|
|
177
|
+
interface TrackItemCollection {
|
|
178
|
+
readonly length: number
|
|
179
|
+
}
|