@rbxts/types 1.0.692 → 1.0.694

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.
@@ -4286,13 +4286,13 @@ interface BaseWrap extends Instance {
4286
4286
  *
4287
4287
  * Asset ID for cage mesh.
4288
4288
  */
4289
- readonly CageMeshId: string;
4289
+ CageMeshId: string;
4290
4290
  /**
4291
4291
  * This property is set up automatically by the Avatar Importer plugin.
4292
4292
  *
4293
4293
  * Cage mesh offset relative to parent [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart).
4294
4294
  */
4295
- readonly CageOrigin: CFrame;
4295
+ CageOrigin: CFrame;
4296
4296
  /**
4297
4297
  * Cage mesh offset in world space.
4298
4298
  *
@@ -4336,7 +4336,7 @@ interface BaseWrap extends Instance {
4336
4336
  * end
4337
4337
  * end
4338
4338
  */
4339
- readonly ImportOrigin: CFrame;
4339
+ ImportOrigin: CFrame;
4340
4340
  /**
4341
4341
  * Describes where the origin (in world space) was while authoring the cage mesh in an asset creation tool such as Blender or Maya.
4342
4342
  *
@@ -4364,7 +4364,7 @@ interface WrapLayer extends BaseWrap {
4364
4364
  *
4365
4365
  * [CFrame](https://developer.roblox.com/en-us/api-reference/datatype/CFrame) to adjust a binding point for a clothing item mesh. Allows for fine-tuning of clothing items (slight adjustment of position/rotation to get a unique look) in contexts such as community-made avatar editors.
4366
4366
  */
4367
- readonly BindOffset: CFrame;
4367
+ BindOffset: CFrame;
4368
4368
  /**
4369
4369
  * Allows for disabling of the [WrapLayer](https://developer.roblox.com/en-us/api-reference/class/WrapLayer) object as if it does not exist.
4370
4370
  */
@@ -4386,13 +4386,13 @@ interface WrapLayer extends BaseWrap {
4386
4386
  *
4387
4387
  * Note: this property is set up automatically by the FBX importer
4388
4388
  */
4389
- readonly ReferenceMeshId: string;
4389
+ ReferenceMeshId: string;
4390
4390
  /**
4391
4391
  * Reference mesh offset relative to parent MeshPart (in the parent MeshPart space)
4392
4392
  *
4393
4393
  * Note: this property is set up automatically by the FBX importer
4394
4394
  */
4395
- readonly ReferenceOrigin: CFrame;
4395
+ ReferenceOrigin: CFrame;
4396
4396
  /**
4397
4397
  * Reference mesh offset relative to parent MeshPart (in the world space)
4398
4398
  *
@@ -4408,7 +4408,7 @@ interface WrapLayer extends BaseWrap {
4408
4408
  *
4409
4409
  * Valid range is -1 to 1. A value of -1 will maximally expand while a value of 1 will maximally shrink. A value of 0 (default) has no effect.
4410
4410
  */
4411
- readonly ShrinkFactor: number;
4411
+ ShrinkFactor: number;
4412
4412
  }
4413
4413
 
4414
4414
  /** The WrapTarget object defines a target. A target is the 3D body with only an outer surface, or an Outer Cage.
@@ -4429,7 +4429,7 @@ interface WrapTarget extends BaseWrap {
4429
4429
  *
4430
4430
  * Valid range is 0 to 1. A value of 0 will compress the body mesh as much as necessary to ensure that the intersections are eliminated (visible body parts might look a little bit deformed). A value of 1 will prevent the body mesh from being compressed (may lead to visible intersections or Z-fighting). A value of 0.9 (default) is a reasonable default that solves most of the intersections without introducing any significant body deformation.
4431
4431
  */
4432
- readonly Stiffness: number;
4432
+ Stiffness: number;
4433
4433
  }
4434
4434
 
4435
4435
  /** A Beam object connects two [Attachment](https://developer.roblox.com/en-us/api-reference/class/Attachment)s by drawing a texture between them.
@@ -10854,11 +10854,9 @@ interface DataStore extends GlobalDataStore {
10854
10854
  key: string,
10855
10855
  transformFunction: (
10856
10856
  oldValue: O | undefined,
10857
- keyInfo: DataStoreKeyInfo,
10858
- ) => LuaTuple<[newValue: R, userIds?: Array<number>, metadata?: object]>,
10859
- ): R extends undefined
10860
- ? LuaTuple<[newValue: O | undefined, keyInfo: DataStoreKeyInfo]>
10861
- : LuaTuple<[newValue: R, keyInfo: DataStoreKeyInfo]>;
10857
+ keyInfo: DataStoreKeyInfo | undefined,
10858
+ ) => LuaTuple<[newValue: R | undefined, userIds?: Array<number>, metadata?: object]>,
10859
+ ): LuaTuple<[newValue: R | undefined, keyInfo: DataStoreKeyInfo]>;
10862
10860
  RemoveAsync<T>(this: DataStore, key: string): LuaTuple<[T | undefined, DataStoreKeyInfo | undefined]>;
10863
10861
  /**
10864
10862
  * This function retrieves the specified key version as well as a [DataStoreKeyInfo](https://developer.roblox.com/en-us/api-reference/class/DataStoreKeyInfo) instance. A version identifier can be found through [DataStore:ListVersionsAsync](https://developer.roblox.com/en-us/api-reference/function/DataStore/ListVersionsAsync) or alternatively be the identifier returned by [GlobalDataStore:SetAsync](https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/SetAsync).
@@ -10931,11 +10929,11 @@ interface OrderedDataStore extends GlobalDataStore {
10931
10929
  IncrementAsync(this: OrderedDataStore, key: string, delta?: number): number;
10932
10930
  RemoveAsync(this: OrderedDataStore, key: string): number | undefined;
10933
10931
  SetAsync(this: OrderedDataStore, key: string, value?: unknown): void;
10934
- UpdateAsync<O, R>(
10932
+ UpdateAsync(
10935
10933
  this: OrderedDataStore,
10936
10934
  key: string,
10937
- transformFunction: (oldValue: O | undefined) => R,
10938
- ): R extends undefined ? O | undefined : R;
10935
+ transformFunction: (oldValue: number | undefined) => number | undefined,
10936
+ ): number | undefined;
10939
10937
  /**
10940
10938
  * Returns a [DataStorePages](https://developer.roblox.com/en-us/api-reference/class/DataStorePages) object. The sort order is determined by **ascending**, the length of each page by **pageSize**, and **minValue** /**maxValue** are optional parameters which filter the results.
10941
10939
  *
@@ -15046,7 +15044,7 @@ interface Humanoid extends Instance {
15046
15044
  * Fixed size collision boxes, similar to the classic avatar collision
15047
15045
  * @deprecated
15048
15046
  */
15049
- readonly CollisionType: Enum.HumanoidCollisionType;
15047
+ CollisionType: Enum.HumanoidCollisionType;
15050
15048
  /**
15051
15049
  * The DisplayDistanceType property controls how the humanoid display's visibility behaves, based on the distance between the [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) and the player's view.
15052
15050
  *
@@ -21321,7 +21319,7 @@ interface BaseScript extends LuaSourceContainer {
21321
21319
  * For the LinkedSource property for [ModuleScript](https://developer.roblox.com/en-us/api-reference/class/ModuleScript)s, please see [ModuleScript.LinkedSource](https://developer.roblox.com/en-us/api-reference/property/ModuleScript/LinkedSource).
21322
21320
  */
21323
21321
  LinkedSource: string;
21324
- readonly RunContext: Enum.RunContext;
21322
+ RunContext: Enum.RunContext;
21325
21323
  }
21326
21324
 
21327
21325
  /** A Script is a type of Lua code container that will run its contents on the server. By default, Scripts have `print("Hello, world")` as their contents. The instant that the following conditions are met, a Script's Lua code is run in a new thread:
@@ -24360,7 +24358,7 @@ interface TriangleMeshPart extends BasePart {
24360
24358
  *
24361
24359
  * Tags: NotReplicated
24362
24360
  */
24363
- readonly CollisionFidelity: Enum.CollisionFidelity;
24361
+ CollisionFidelity: Enum.CollisionFidelity;
24364
24362
  /**
24365
24363
  * Tags: NotReplicated
24366
24364
  */
@@ -24409,7 +24407,7 @@ interface MeshPart extends TriangleMeshPart {
24409
24407
  * _With MeshPart.DoubleSided enabled, both faces of the leaves are rendered._
24410
24408
  * ![DoubleSided property enabled](https://developer.roblox.com/assets/blte8ab39d69cf97247/DoubleSidedOn.png)
24411
24409
  */
24412
- readonly DoubleSided: boolean;
24410
+ DoubleSided: boolean;
24413
24411
  /**
24414
24412
  * Tags: Hidden
24415
24413
  */
@@ -24456,7 +24454,7 @@ interface MeshPart extends TriangleMeshPart {
24456
24454
  *
24457
24455
  * Tags: NotReplicated
24458
24456
  */
24459
- readonly RenderFidelity: Enum.RenderFidelity;
24457
+ RenderFidelity: Enum.RenderFidelity;
24460
24458
  /**
24461
24459
  * The texture applied to the [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart). When this property is set to an empty string, no texture will be applied to the mesh.
24462
24460
  *
@@ -24490,7 +24488,7 @@ interface PartOperation extends TriangleMeshPart {
24490
24488
  * @deprecated
24491
24489
  */
24492
24490
  readonly _nominal_PartOperation: unique symbol;
24493
- readonly RenderFidelity: Enum.RenderFidelity;
24491
+ RenderFidelity: Enum.RenderFidelity;
24494
24492
  /**
24495
24493
  * This property represents an angle in degrees for a threshold value between face normals on a [solid modeled](https://developer.roblox.com/en-us/articles/3d-modeling-with-parts) part. If the normal difference is less than the value, normals will be adjusted to smooth the difference. Usually a value between 30 and 70 degrees will produce a good result. 0 degrees leads to sharp edges. Values between 90 and 180 degrees are allowed but not encouraged, as it may cause a “shadowing” effect on unions with sharp edges.
24496
24494
  *
@@ -24504,7 +24502,7 @@ interface PartOperation extends TriangleMeshPart {
24504
24502
  *
24505
24503
  * SmoothingAngle = 50
24506
24504
  */
24507
- readonly SmoothingAngle: number;
24505
+ SmoothingAngle: number;
24508
24506
  /**
24509
24507
  * The number of polygons in this solid model. This value will always be <= 5000.
24510
24508
  *
@@ -25583,13 +25581,13 @@ interface Workspace extends WorldRoot {
25583
25581
  * * Developers should also use the [Debris](https://developer.roblox.com/en-us/api-reference/class/Debris) service to clean up parts that are no longer needed, but have not fallen off the map
25584
25582
  * * This property is clamped between -50,000 and 50,000. This is because [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart)s do not simulate or render properly at a great distance from the origin due to floating point inaccuracies
25585
25583
  */
25586
- readonly FallenPartsDestroyHeight: number;
25584
+ FallenPartsDestroyHeight: number;
25587
25585
  GlobalWind: Vector3;
25588
25586
  /**
25589
25587
  * Determines the acceleration due to gravity applied to falling [BaseParts](https://developer.roblox.com/en-us/api-reference/class/BasePart). This value is measured in studs per second squared and by default is set to 196.2 studs/second2. By changing this value, developers can simulate the effects of lower or higher gravity in game.
25590
25588
  */
25591
25589
  Gravity: number;
25592
- readonly InterpolationThrottling: Enum.InterpolationThrottlingMode;
25590
+ InterpolationThrottling: Enum.InterpolationThrottlingMode;
25593
25591
  Retargeting: Enum.AnimatorRetargetingMode;
25594
25592
  /**
25595
25593
  * The **StreamingEnabled** property determines whether game content streaming is enabled for the place. This property is not scriptable and therefore must be set on the **Workspace** object in Studio.
@@ -25603,7 +25601,7 @@ interface Workspace extends WorldRoot {
25603
25601
  * * [Workspace.StreamingTargetRadius](https://developer.roblox.com/en-us/api-reference/property/Workspace/StreamingTargetRadius)
25604
25602
  * * [Workspace.StreamingPauseMode](https://developer.roblox.com/en-us/api-reference/property/Workspace/StreamingPauseMode)
25605
25603
  */
25606
- readonly StreamingEnabled: boolean;
25604
+ StreamingEnabled: boolean;
25607
25605
  /**
25608
25606
  * This property is a reference to the [Terrain](https://developer.roblox.com/en-us/api-reference/class/Terrain) object parented to the [Workspace](https://developer.roblox.com/en-us/api-reference/class/Workspace).
25609
25607
  *
@@ -33343,8 +33341,8 @@ interface TextChatService extends Instance {
33343
33341
  */
33344
33342
  readonly _nominal_TextChatService: unique symbol;
33345
33343
  readonly ChatVersion: Enum.ChatVersion;
33346
- readonly CreateDefaultCommands: boolean;
33347
- readonly CreateDefaultTextChannels: boolean;
33344
+ CreateDefaultCommands: boolean;
33345
+ CreateDefaultTextChannels: boolean;
33348
33346
  DisplayBubble(this: TextChatService, partOrCharacter: BasePart | Model, message: string): void;
33349
33347
  /**
33350
33348
  * Tags: Yields
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.692",
3
+ "version": "1.0.694",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },