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