update the package
Node.js CI / build (18.x) (push) Failing after 1m49s
Node.js CI / build (20.x) (push) Failing after 1m19s
Node.js CI / build (22.x) (push) Failing after 32s

This commit is contained in:
2026-06-22 21:50:27 +02:00
parent d1292bf6a6
commit aa08e75010
3 changed files with 53 additions and 2 deletions
Vendored
+26
View File
@@ -10,6 +10,7 @@
*/ */
type CreatableInstancesWithConstructors = { type CreatableInstancesWithConstructors = {
[K in keyof CreatableInstances]: { [K in keyof CreatableInstances]: {
new (parent?: Instance): CreatableInstances[K];
new (...args: any[]): CreatableInstances[K]; new (...args: any[]): CreatableInstances[K];
} }
} }
@@ -29,6 +30,8 @@ declare const AngularVelocity: CreatableInstancesWithConstructors["AngularVeloci
declare const Animation: CreatableInstancesWithConstructors["Animation"]; declare const Animation: CreatableInstancesWithConstructors["Animation"];
declare const AnimationConstraint: CreatableInstancesWithConstructors["AnimationConstraint"]; declare const AnimationConstraint: CreatableInstancesWithConstructors["AnimationConstraint"];
declare const AnimationController: CreatableInstancesWithConstructors["AnimationController"]; declare const AnimationController: CreatableInstancesWithConstructors["AnimationController"];
declare const AnimationGraphDefinition: CreatableInstancesWithConstructors["AnimationGraphDefinition"];
declare const AnimationNodeDefinition: CreatableInstancesWithConstructors["AnimationNodeDefinition"];
declare const AnimationRigData: CreatableInstancesWithConstructors["AnimationRigData"]; declare const AnimationRigData: CreatableInstancesWithConstructors["AnimationRigData"];
declare const Animator: CreatableInstancesWithConstructors["Animator"]; declare const Animator: CreatableInstancesWithConstructors["Animator"];
declare const Annotation: CreatableInstancesWithConstructors["Annotation"]; declare const Annotation: CreatableInstancesWithConstructors["Annotation"];
@@ -50,14 +53,25 @@ declare const AudioEqualizer: CreatableInstancesWithConstructors["AudioEqualizer
declare const AudioFader: CreatableInstancesWithConstructors["AudioFader"]; declare const AudioFader: CreatableInstancesWithConstructors["AudioFader"];
declare const AudioFilter: CreatableInstancesWithConstructors["AudioFilter"]; declare const AudioFilter: CreatableInstancesWithConstructors["AudioFilter"];
declare const AudioFlanger: CreatableInstancesWithConstructors["AudioFlanger"]; declare const AudioFlanger: CreatableInstancesWithConstructors["AudioFlanger"];
declare const AudioGate: CreatableInstancesWithConstructors["AudioGate"];
declare const AudioLimiter: CreatableInstancesWithConstructors["AudioLimiter"]; declare const AudioLimiter: CreatableInstancesWithConstructors["AudioLimiter"];
declare const AudioListener: CreatableInstancesWithConstructors["AudioListener"]; declare const AudioListener: CreatableInstancesWithConstructors["AudioListener"];
declare const AudioPitchShifter: CreatableInstancesWithConstructors["AudioPitchShifter"]; declare const AudioPitchShifter: CreatableInstancesWithConstructors["AudioPitchShifter"];
declare const AudioPlayer: CreatableInstancesWithConstructors["AudioPlayer"]; declare const AudioPlayer: CreatableInstancesWithConstructors["AudioPlayer"];
declare const AudioRecorder: CreatableInstancesWithConstructors["AudioRecorder"];
declare const AudioReverb: CreatableInstancesWithConstructors["AudioReverb"]; declare const AudioReverb: CreatableInstancesWithConstructors["AudioReverb"];
declare const AudioSearchParams: CreatableInstancesWithConstructors["AudioSearchParams"]; declare const AudioSearchParams: CreatableInstancesWithConstructors["AudioSearchParams"];
declare const AudioSpeechToText: CreatableInstancesWithConstructors["AudioSpeechToText"];
declare const AudioTextToSpeech: CreatableInstancesWithConstructors["AudioTextToSpeech"]; declare const AudioTextToSpeech: CreatableInstancesWithConstructors["AudioTextToSpeech"];
declare const AudioTremolo: CreatableInstancesWithConstructors["AudioTremolo"];
declare const AuroraScript: CreatableInstancesWithConstructors["AuroraScript"]; declare const AuroraScript: CreatableInstancesWithConstructors["AuroraScript"];
declare const AvatarAbilityRules: CreatableInstancesWithConstructors["AvatarAbilityRules"];
declare const AvatarAccessoryRules: CreatableInstancesWithConstructors["AvatarAccessoryRules"];
declare const AvatarAnimationRules: CreatableInstancesWithConstructors["AvatarAnimationRules"];
declare const AvatarBodyRules: CreatableInstancesWithConstructors["AvatarBodyRules"];
declare const AvatarClothingRules: CreatableInstancesWithConstructors["AvatarClothingRules"];
declare const AvatarCollisionRules: CreatableInstancesWithConstructors["AvatarCollisionRules"];
declare const AvatarRules: CreatableInstancesWithConstructors["AvatarRules"];
declare const Backpack: CreatableInstancesWithConstructors["Backpack"]; declare const Backpack: CreatableInstancesWithConstructors["Backpack"];
declare const BallSocketConstraint: CreatableInstancesWithConstructors["BallSocketConstraint"]; declare const BallSocketConstraint: CreatableInstancesWithConstructors["BallSocketConstraint"];
declare const Beam: CreatableInstancesWithConstructors["Beam"]; declare const Beam: CreatableInstancesWithConstructors["Beam"];
@@ -93,6 +107,7 @@ declare const Clouds: CreatableInstancesWithConstructors["Clouds"];
declare const Color3Value: CreatableInstancesWithConstructors["Color3Value"]; declare const Color3Value: CreatableInstancesWithConstructors["Color3Value"];
declare const ColorCorrectionEffect: CreatableInstancesWithConstructors["ColorCorrectionEffect"]; declare const ColorCorrectionEffect: CreatableInstancesWithConstructors["ColorCorrectionEffect"];
declare const ColorGradingEffect: CreatableInstancesWithConstructors["ColorGradingEffect"]; declare const ColorGradingEffect: CreatableInstancesWithConstructors["ColorGradingEffect"];
declare const CompositeValueCurve: CreatableInstancesWithConstructors["CompositeValueCurve"];
declare const CompressorSoundEffect: CreatableInstancesWithConstructors["CompressorSoundEffect"]; declare const CompressorSoundEffect: CreatableInstancesWithConstructors["CompressorSoundEffect"];
declare const ConeHandleAdornment: CreatableInstancesWithConstructors["ConeHandleAdornment"]; declare const ConeHandleAdornment: CreatableInstancesWithConstructors["ConeHandleAdornment"];
declare const Configuration: CreatableInstancesWithConstructors["Configuration"]; declare const Configuration: CreatableInstancesWithConstructors["Configuration"];
@@ -112,6 +127,7 @@ declare const Decal: CreatableInstancesWithConstructors["Decal"];
declare const DepthOfFieldEffect: CreatableInstancesWithConstructors["DepthOfFieldEffect"]; declare const DepthOfFieldEffect: CreatableInstancesWithConstructors["DepthOfFieldEffect"];
declare const Dialog: CreatableInstancesWithConstructors["Dialog"]; declare const Dialog: CreatableInstancesWithConstructors["Dialog"];
declare const DialogChoice: CreatableInstancesWithConstructors["DialogChoice"]; declare const DialogChoice: CreatableInstancesWithConstructors["DialogChoice"];
declare const DigitsRigDescription: CreatableInstancesWithConstructors["DigitsRigDescription"];
declare const DistortionSoundEffect: CreatableInstancesWithConstructors["DistortionSoundEffect"]; declare const DistortionSoundEffect: CreatableInstancesWithConstructors["DistortionSoundEffect"];
declare const DoubleConstrainedValue: CreatableInstancesWithConstructors["DoubleConstrainedValue"]; declare const DoubleConstrainedValue: CreatableInstancesWithConstructors["DoubleConstrainedValue"];
declare const DragDetector: CreatableInstancesWithConstructors["DragDetector"]; declare const DragDetector: CreatableInstancesWithConstructors["DragDetector"];
@@ -132,6 +148,7 @@ declare const FluidForceSensor: CreatableInstancesWithConstructors["FluidForceSe
declare const Folder: CreatableInstancesWithConstructors["Folder"]; declare const Folder: CreatableInstancesWithConstructors["Folder"];
declare const ForceField: CreatableInstancesWithConstructors["ForceField"]; declare const ForceField: CreatableInstancesWithConstructors["ForceField"];
declare const Frame: CreatableInstancesWithConstructors["Frame"]; declare const Frame: CreatableInstancesWithConstructors["Frame"];
declare const GeneratedFolder: CreatableInstancesWithConstructors["GeneratedFolder"];
declare const GetTextBoundsParams: CreatableInstancesWithConstructors["GetTextBoundsParams"]; declare const GetTextBoundsParams: CreatableInstancesWithConstructors["GetTextBoundsParams"];
declare const Glue: CreatableInstancesWithConstructors["Glue"]; declare const Glue: CreatableInstancesWithConstructors["Glue"];
declare const GroundController: CreatableInstancesWithConstructors["GroundController"]; declare const GroundController: CreatableInstancesWithConstructors["GroundController"];
@@ -165,6 +182,7 @@ declare const LineHandleAdornment: CreatableInstancesWithConstructors["LineHandl
declare const LinearVelocity: CreatableInstancesWithConstructors["LinearVelocity"]; declare const LinearVelocity: CreatableInstancesWithConstructors["LinearVelocity"];
declare const LocalScript: CreatableInstancesWithConstructors["LocalScript"]; declare const LocalScript: CreatableInstancesWithConstructors["LocalScript"];
declare const LocalizationTable: CreatableInstancesWithConstructors["LocalizationTable"]; declare const LocalizationTable: CreatableInstancesWithConstructors["LocalizationTable"];
declare const MakeupDescription: CreatableInstancesWithConstructors["MakeupDescription"];
declare const ManualGlue: CreatableInstancesWithConstructors["ManualGlue"]; declare const ManualGlue: CreatableInstancesWithConstructors["ManualGlue"];
declare const ManualWeld: CreatableInstancesWithConstructors["ManualWeld"]; declare const ManualWeld: CreatableInstancesWithConstructors["ManualWeld"];
declare const MarkerCurve: CreatableInstancesWithConstructors["MarkerCurve"]; declare const MarkerCurve: CreatableInstancesWithConstructors["MarkerCurve"];
@@ -196,9 +214,12 @@ declare const PluginCapabilities: CreatableInstancesWithConstructors["PluginCapa
declare const PointLight: CreatableInstancesWithConstructors["PointLight"]; declare const PointLight: CreatableInstancesWithConstructors["PointLight"];
declare const Pose: CreatableInstancesWithConstructors["Pose"]; declare const Pose: CreatableInstancesWithConstructors["Pose"];
declare const PrismaticConstraint: CreatableInstancesWithConstructors["PrismaticConstraint"]; declare const PrismaticConstraint: CreatableInstancesWithConstructors["PrismaticConstraint"];
declare const ProceduralModel: CreatableInstancesWithConstructors["ProceduralModel"];
declare const ProximityPrompt: CreatableInstancesWithConstructors["ProximityPrompt"]; declare const ProximityPrompt: CreatableInstancesWithConstructors["ProximityPrompt"];
declare const PyramidHandleAdornment: CreatableInstancesWithConstructors["PyramidHandleAdornment"];
declare const RTAnimationTracker: CreatableInstancesWithConstructors["RTAnimationTracker"]; declare const RTAnimationTracker: CreatableInstancesWithConstructors["RTAnimationTracker"];
declare const RayValue: CreatableInstancesWithConstructors["RayValue"]; declare const RayValue: CreatableInstancesWithConstructors["RayValue"];
declare const RealtimeMedia: CreatableInstancesWithConstructors["RealtimeMedia"];
declare const RelativeGui: CreatableInstancesWithConstructors["RelativeGui"]; declare const RelativeGui: CreatableInstancesWithConstructors["RelativeGui"];
declare const RemoteEvent: CreatableInstancesWithConstructors["RemoteEvent"]; declare const RemoteEvent: CreatableInstancesWithConstructors["RemoteEvent"];
declare const RemoteFunction: CreatableInstancesWithConstructors["RemoteFunction"]; declare const RemoteFunction: CreatableInstancesWithConstructors["RemoteFunction"];
@@ -240,6 +261,7 @@ declare const StudioAttachment: CreatableInstancesWithConstructors["StudioAttach
declare const StudioCallout: CreatableInstancesWithConstructors["StudioCallout"]; declare const StudioCallout: CreatableInstancesWithConstructors["StudioCallout"];
declare const StyleDerive: CreatableInstancesWithConstructors["StyleDerive"]; declare const StyleDerive: CreatableInstancesWithConstructors["StyleDerive"];
declare const StyleLink: CreatableInstancesWithConstructors["StyleLink"]; declare const StyleLink: CreatableInstancesWithConstructors["StyleLink"];
declare const StyleQuery: CreatableInstancesWithConstructors["StyleQuery"];
declare const StyleRule: CreatableInstancesWithConstructors["StyleRule"]; declare const StyleRule: CreatableInstancesWithConstructors["StyleRule"];
declare const StyleSheet: CreatableInstancesWithConstructors["StyleSheet"]; declare const StyleSheet: CreatableInstancesWithConstructors["StyleSheet"];
declare const SunRaysEffect: CreatableInstancesWithConstructors["SunRaysEffect"]; declare const SunRaysEffect: CreatableInstancesWithConstructors["SunRaysEffect"];
@@ -257,6 +279,7 @@ declare const TextButton: CreatableInstancesWithConstructors["TextButton"];
declare const TextChannel: CreatableInstancesWithConstructors["TextChannel"]; declare const TextChannel: CreatableInstancesWithConstructors["TextChannel"];
declare const TextChatCommand: CreatableInstancesWithConstructors["TextChatCommand"]; declare const TextChatCommand: CreatableInstancesWithConstructors["TextChatCommand"];
declare const TextChatMessageProperties: CreatableInstancesWithConstructors["TextChatMessageProperties"]; declare const TextChatMessageProperties: CreatableInstancesWithConstructors["TextChatMessageProperties"];
declare const TextGenerator: CreatableInstancesWithConstructors["TextGenerator"];
declare const TextLabel: CreatableInstancesWithConstructors["TextLabel"]; declare const TextLabel: CreatableInstancesWithConstructors["TextLabel"];
declare const Texture: CreatableInstancesWithConstructors["Texture"]; declare const Texture: CreatableInstancesWithConstructors["Texture"];
declare const Tool: CreatableInstancesWithConstructors["Tool"]; declare const Tool: CreatableInstancesWithConstructors["Tool"];
@@ -276,6 +299,7 @@ declare const UIListLayout: CreatableInstancesWithConstructors["UIListLayout"];
declare const UIPadding: CreatableInstancesWithConstructors["UIPadding"]; declare const UIPadding: CreatableInstancesWithConstructors["UIPadding"];
declare const UIPageLayout: CreatableInstancesWithConstructors["UIPageLayout"]; declare const UIPageLayout: CreatableInstancesWithConstructors["UIPageLayout"];
declare const UIScale: CreatableInstancesWithConstructors["UIScale"]; declare const UIScale: CreatableInstancesWithConstructors["UIScale"];
declare const UIShadow: CreatableInstancesWithConstructors["UIShadow"];
declare const UISizeConstraint: CreatableInstancesWithConstructors["UISizeConstraint"]; declare const UISizeConstraint: CreatableInstancesWithConstructors["UISizeConstraint"];
declare const UIStroke: CreatableInstancesWithConstructors["UIStroke"]; declare const UIStroke: CreatableInstancesWithConstructors["UIStroke"];
declare const UITableLayout: CreatableInstancesWithConstructors["UITableLayout"]; declare const UITableLayout: CreatableInstancesWithConstructors["UITableLayout"];
@@ -283,6 +307,7 @@ declare const UITextSizeConstraint: CreatableInstancesWithConstructors["UITextSi
declare const UnionOperation: CreatableInstancesWithConstructors["UnionOperation"]; declare const UnionOperation: CreatableInstancesWithConstructors["UnionOperation"];
declare const UniversalConstraint: CreatableInstancesWithConstructors["UniversalConstraint"]; declare const UniversalConstraint: CreatableInstancesWithConstructors["UniversalConstraint"];
declare const UnreliableRemoteEvent: CreatableInstancesWithConstructors["UnreliableRemoteEvent"]; declare const UnreliableRemoteEvent: CreatableInstancesWithConstructors["UnreliableRemoteEvent"];
declare const ValueCurve: CreatableInstancesWithConstructors["ValueCurve"];
declare const Vector3Curve: CreatableInstancesWithConstructors["Vector3Curve"]; declare const Vector3Curve: CreatableInstancesWithConstructors["Vector3Curve"];
declare const Vector3Value: CreatableInstancesWithConstructors["Vector3Value"]; declare const Vector3Value: CreatableInstancesWithConstructors["Vector3Value"];
declare const VectorForce: CreatableInstancesWithConstructors["VectorForce"]; declare const VectorForce: CreatableInstancesWithConstructors["VectorForce"];
@@ -306,3 +331,4 @@ declare const WorldModel: CreatableInstancesWithConstructors["WorldModel"];
declare const WrapDeformer: CreatableInstancesWithConstructors["WrapDeformer"]; declare const WrapDeformer: CreatableInstancesWithConstructors["WrapDeformer"];
declare const WrapLayer: CreatableInstancesWithConstructors["WrapLayer"]; declare const WrapLayer: CreatableInstancesWithConstructors["WrapLayer"];
declare const WrapTarget: CreatableInstancesWithConstructors["WrapTarget"]; declare const WrapTarget: CreatableInstancesWithConstructors["WrapTarget"];
declare const WrapTextureTransfer: CreatableInstancesWithConstructors["WrapTextureTransfer"];
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "rbxts-transformer-instances", "name": "rbxts-transformer-instances",
"version": "1.0.1", "version": "1.1.0",
"description": "Enable the use of instance constructors, reducing boilerplate.", "description": "Enable the use of instance constructors, reducing boilerplate.",
"main": "out/index.js", "main": "out/index.js",
"author": "evilbocchi", "author": "evilbocchi",
+26 -1
View File
@@ -21,6 +21,8 @@ export const CREATABLE_INSTANCES = [
"Animation", "Animation",
"AnimationConstraint", "AnimationConstraint",
"AnimationController", "AnimationController",
"AnimationGraphDefinition",
"AnimationNodeDefinition",
"AnimationRigData", "AnimationRigData",
"Animator", "Animator",
"Annotation", "Annotation",
@@ -42,14 +44,25 @@ export const CREATABLE_INSTANCES = [
"AudioFader", "AudioFader",
"AudioFilter", "AudioFilter",
"AudioFlanger", "AudioFlanger",
"AudioGate",
"AudioLimiter", "AudioLimiter",
"AudioListener", "AudioListener",
"AudioPitchShifter", "AudioPitchShifter",
"AudioPlayer", "AudioPlayer",
"AudioRecorder",
"AudioReverb", "AudioReverb",
"AudioSearchParams", "AudioSearchParams",
"AudioSpeechToText",
"AudioTextToSpeech", "AudioTextToSpeech",
"AudioTremolo",
"AuroraScript", "AuroraScript",
"AvatarAbilityRules",
"AvatarAccessoryRules",
"AvatarAnimationRules",
"AvatarBodyRules",
"AvatarClothingRules",
"AvatarCollisionRules",
"AvatarRules",
"Backpack", "Backpack",
"BallSocketConstraint", "BallSocketConstraint",
"Beam", "Beam",
@@ -85,6 +98,7 @@ export const CREATABLE_INSTANCES = [
"Color3Value", "Color3Value",
"ColorCorrectionEffect", "ColorCorrectionEffect",
"ColorGradingEffect", "ColorGradingEffect",
"CompositeValueCurve",
"CompressorSoundEffect", "CompressorSoundEffect",
"ConeHandleAdornment", "ConeHandleAdornment",
"Configuration", "Configuration",
@@ -104,6 +118,7 @@ export const CREATABLE_INSTANCES = [
"DepthOfFieldEffect", "DepthOfFieldEffect",
"Dialog", "Dialog",
"DialogChoice", "DialogChoice",
"DigitsRigDescription",
"DistortionSoundEffect", "DistortionSoundEffect",
"DoubleConstrainedValue", "DoubleConstrainedValue",
"DragDetector", "DragDetector",
@@ -124,6 +139,7 @@ export const CREATABLE_INSTANCES = [
"Folder", "Folder",
"ForceField", "ForceField",
"Frame", "Frame",
"GeneratedFolder",
"GetTextBoundsParams", "GetTextBoundsParams",
"Glue", "Glue",
"GroundController", "GroundController",
@@ -157,6 +173,7 @@ export const CREATABLE_INSTANCES = [
"LinearVelocity", "LinearVelocity",
"LocalScript", "LocalScript",
"LocalizationTable", "LocalizationTable",
"MakeupDescription",
"ManualGlue", "ManualGlue",
"ManualWeld", "ManualWeld",
"MarkerCurve", "MarkerCurve",
@@ -188,9 +205,12 @@ export const CREATABLE_INSTANCES = [
"PointLight", "PointLight",
"Pose", "Pose",
"PrismaticConstraint", "PrismaticConstraint",
"ProceduralModel",
"ProximityPrompt", "ProximityPrompt",
"PyramidHandleAdornment",
"RTAnimationTracker", "RTAnimationTracker",
"RayValue", "RayValue",
"RealtimeMedia",
"RelativeGui", "RelativeGui",
"RemoteEvent", "RemoteEvent",
"RemoteFunction", "RemoteFunction",
@@ -232,6 +252,7 @@ export const CREATABLE_INSTANCES = [
"StudioCallout", "StudioCallout",
"StyleDerive", "StyleDerive",
"StyleLink", "StyleLink",
"StyleQuery",
"StyleRule", "StyleRule",
"StyleSheet", "StyleSheet",
"SunRaysEffect", "SunRaysEffect",
@@ -249,6 +270,7 @@ export const CREATABLE_INSTANCES = [
"TextChannel", "TextChannel",
"TextChatCommand", "TextChatCommand",
"TextChatMessageProperties", "TextChatMessageProperties",
"TextGenerator",
"TextLabel", "TextLabel",
"Texture", "Texture",
"Tool", "Tool",
@@ -268,6 +290,7 @@ export const CREATABLE_INSTANCES = [
"UIPadding", "UIPadding",
"UIPageLayout", "UIPageLayout",
"UIScale", "UIScale",
"UIShadow",
"UISizeConstraint", "UISizeConstraint",
"UIStroke", "UIStroke",
"UITableLayout", "UITableLayout",
@@ -275,6 +298,7 @@ export const CREATABLE_INSTANCES = [
"UnionOperation", "UnionOperation",
"UniversalConstraint", "UniversalConstraint",
"UnreliableRemoteEvent", "UnreliableRemoteEvent",
"ValueCurve",
"Vector3Curve", "Vector3Curve",
"Vector3Value", "Vector3Value",
"VectorForce", "VectorForce",
@@ -297,5 +321,6 @@ export const CREATABLE_INSTANCES = [
"WorldModel", "WorldModel",
"WrapDeformer", "WrapDeformer",
"WrapLayer", "WrapLayer",
"WrapTarget" "WrapTarget",
"WrapTextureTransfer"
]; ];