@rbxts/types 1.0.665 → 1.0.666
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.
|
@@ -477,6 +477,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
477
477
|
MaterialGenerationSession: MaterialGenerationSession;
|
|
478
478
|
MemoryStoreQueue: MemoryStoreQueue;
|
|
479
479
|
MemoryStoreSortedMap: MemoryStoreSortedMap;
|
|
480
|
+
MeshDataExperimental: MeshDataExperimental;
|
|
480
481
|
MessageBusConnection: MessageBusConnection;
|
|
481
482
|
MetaBreakpoint: MetaBreakpoint;
|
|
482
483
|
MetaBreakpointContext: MetaBreakpointContext;
|
|
@@ -1239,7 +1240,6 @@ interface AdPortal extends Instance {
|
|
|
1239
1240
|
* Tags: ReadOnly, NotReplicated
|
|
1240
1241
|
*/
|
|
1241
1242
|
readonly PortalStatus: Enum.AdPortalStatus;
|
|
1242
|
-
PortalType: Enum.AdPortalType;
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
1245
1245
|
/** **Note**
|
|
@@ -2278,6 +2278,10 @@ interface AssetService extends Instance {
|
|
|
2278
2278
|
* Tags: Yields
|
|
2279
2279
|
*/
|
|
2280
2280
|
GetGamePlacesAsync(this: AssetService): StandardPages<{ Name: string; PlaceId: number }>;
|
|
2281
|
+
/**
|
|
2282
|
+
* Tags: Yields
|
|
2283
|
+
*/
|
|
2284
|
+
PromptPublishAssetAsync(this: AssetService, player: Player, instance: Instance, assetType: CastsToEnum<Enum.AssetType>): unknown;
|
|
2281
2285
|
/**
|
|
2282
2286
|
* Saves the state of the current place. This will only work for places that have been created with [AssetService:CreatePlaceAsync](https://developer.roblox.com/en-us/api-reference/function/AssetService/CreatePlaceAsync) or [AssetService:CreatePlaceInPlayerInventoryAsync](https://developer.roblox.com/en-us/api-reference/function/AssetService/CreatePlaceInPlayerInventoryAsync).
|
|
2283
2287
|
* Tags: Yields
|
|
@@ -16277,6 +16281,10 @@ interface ImageDataExperimental extends Instance {
|
|
|
16277
16281
|
* Tags: ReadOnly, NotReplicated
|
|
16278
16282
|
*/
|
|
16279
16283
|
readonly TemporaryId: string;
|
|
16284
|
+
Clear(this: ImageDataExperimental): void;
|
|
16285
|
+
DrawCircle(this: ImageDataExperimental, center: Vector2, radius: number, color: Color3, alpha: number): void;
|
|
16286
|
+
Resize(this: ImageDataExperimental, newSize: Vector2): void;
|
|
16287
|
+
Rotate(this: ImageDataExperimental, degrees: number, resizeCanvas?: boolean): void;
|
|
16280
16288
|
/**
|
|
16281
16289
|
* Tags: Yields
|
|
16282
16290
|
*/
|
|
@@ -16471,6 +16479,7 @@ interface IncrementalPatchBuilder extends Instance {
|
|
|
16471
16479
|
readonly _nominal_IncrementalPatchBuilder: unique symbol;
|
|
16472
16480
|
AddPathsToBundle: boolean;
|
|
16473
16481
|
HighCompression: boolean;
|
|
16482
|
+
SerializePatch: boolean;
|
|
16474
16483
|
ZstdCompression: boolean;
|
|
16475
16484
|
}
|
|
16476
16485
|
|
|
@@ -21639,6 +21648,25 @@ interface MemoryStoreSortedMap extends Instance {
|
|
|
21639
21648
|
): T;
|
|
21640
21649
|
}
|
|
21641
21650
|
|
|
21651
|
+
interface MeshDataExperimental extends Instance {
|
|
21652
|
+
/**
|
|
21653
|
+
* **DO NOT USE!**
|
|
21654
|
+
*
|
|
21655
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
21656
|
+
* @hidden
|
|
21657
|
+
* @deprecated
|
|
21658
|
+
*/
|
|
21659
|
+
readonly _nominal_MeshDataExperimental: unique symbol;
|
|
21660
|
+
/**
|
|
21661
|
+
* Tags: ReadOnly, NotReplicated
|
|
21662
|
+
*/
|
|
21663
|
+
readonly Size: Vector3;
|
|
21664
|
+
/**
|
|
21665
|
+
* Tags: Yields
|
|
21666
|
+
*/
|
|
21667
|
+
PopulateFromMeshAsync(this: MeshDataExperimental, meshId: string): void;
|
|
21668
|
+
}
|
|
21669
|
+
|
|
21642
21670
|
interface MessageBusConnection extends Instance {
|
|
21643
21671
|
/**
|
|
21644
21672
|
* **DO NOT USE!**
|
|
@@ -2718,9 +2718,11 @@ interface ScriptEditorService extends Instance {
|
|
|
2718
2718
|
*/
|
|
2719
2719
|
readonly _nominal_ScriptEditorService: unique symbol;
|
|
2720
2720
|
DeregisterAutocompleteCallback(this: ScriptEditorService, name: string): void;
|
|
2721
|
+
DeregisterScriptAnalysisCallback(this: ScriptEditorService, name: string): void;
|
|
2721
2722
|
FindScriptDocument(this: ScriptEditorService, script: LuaSourceContainer): ScriptDocument;
|
|
2722
2723
|
GetScriptDocuments(this: ScriptEditorService): Array<Instance>;
|
|
2723
2724
|
RegisterAutocompleteCallback(this: ScriptEditorService, name: string, priority: number, callbackFunction: Callback): void;
|
|
2725
|
+
RegisterScriptAnalysisCallback(this: ScriptEditorService, name: string, priority: number, callbackFunction: Callback): void;
|
|
2724
2726
|
/**
|
|
2725
2727
|
* Tags: Yields
|
|
2726
2728
|
*/
|
|
@@ -2753,10 +2755,6 @@ interface Selection extends Instance {
|
|
|
2753
2755
|
* @deprecated
|
|
2754
2756
|
*/
|
|
2755
2757
|
readonly _nominal_Selection: unique symbol;
|
|
2756
|
-
/**
|
|
2757
|
-
* Tags: Hidden, ReadOnly, NotReplicated
|
|
2758
|
-
*/
|
|
2759
|
-
readonly SelectionLineThickness: number;
|
|
2760
2758
|
/**
|
|
2761
2759
|
* Tags: ReadOnly, NotReplicated
|
|
2762
2760
|
*/
|
|
@@ -12460,6 +12460,51 @@ declare namespace Enum {
|
|
|
12460
12460
|
}
|
|
12461
12461
|
export type ProductPurchaseDecision = ProductPurchaseDecision.NotProcessedYet | ProductPurchaseDecision.PurchaseGranted;
|
|
12462
12462
|
|
|
12463
|
+
export namespace PromptPublishAssetResult {
|
|
12464
|
+
export interface Success extends globalThis.EnumItem {
|
|
12465
|
+
Name: "Success";
|
|
12466
|
+
Value: 1;
|
|
12467
|
+
EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
|
|
12468
|
+
}
|
|
12469
|
+
|
|
12470
|
+
export const Success: Success;
|
|
12471
|
+
|
|
12472
|
+
export interface PermissionDenied extends globalThis.EnumItem {
|
|
12473
|
+
Name: "PermissionDenied";
|
|
12474
|
+
Value: 2;
|
|
12475
|
+
EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
|
|
12476
|
+
}
|
|
12477
|
+
|
|
12478
|
+
export const PermissionDenied: PermissionDenied;
|
|
12479
|
+
|
|
12480
|
+
export interface Timeout extends globalThis.EnumItem {
|
|
12481
|
+
Name: "Timeout";
|
|
12482
|
+
Value: 3;
|
|
12483
|
+
EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
|
|
12484
|
+
}
|
|
12485
|
+
|
|
12486
|
+
export const Timeout: Timeout;
|
|
12487
|
+
|
|
12488
|
+
export interface UploadFailed extends globalThis.EnumItem {
|
|
12489
|
+
Name: "UploadFailed";
|
|
12490
|
+
Value: 4;
|
|
12491
|
+
EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
|
|
12492
|
+
}
|
|
12493
|
+
|
|
12494
|
+
export const UploadFailed: UploadFailed;
|
|
12495
|
+
|
|
12496
|
+
export interface NoUserInput extends globalThis.EnumItem {
|
|
12497
|
+
Name: "NoUserInput";
|
|
12498
|
+
Value: 5;
|
|
12499
|
+
EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
|
|
12500
|
+
}
|
|
12501
|
+
|
|
12502
|
+
export const NoUserInput: NoUserInput;
|
|
12503
|
+
|
|
12504
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PromptPublishAssetResult>;
|
|
12505
|
+
}
|
|
12506
|
+
export type PromptPublishAssetResult = PromptPublishAssetResult.Success | PromptPublishAssetResult.PermissionDenied | PromptPublishAssetResult.Timeout | PromptPublishAssetResult.UploadFailed | PromptPublishAssetResult.NoUserInput;
|
|
12507
|
+
|
|
12463
12508
|
export namespace PropertyStatus {
|
|
12464
12509
|
export interface Ok extends globalThis.EnumItem {
|
|
12465
12510
|
Name: "Ok";
|
|
@@ -14205,6 +14250,27 @@ declare namespace Enum {
|
|
|
14205
14250
|
}
|
|
14206
14251
|
export type ServiceVisibility = ServiceVisibility.Always | ServiceVisibility.Off | ServiceVisibility.WithChildren;
|
|
14207
14252
|
|
|
14253
|
+
export namespace Severity {
|
|
14254
|
+
export interface Error extends globalThis.EnumItem {
|
|
14255
|
+
Name: "Error";
|
|
14256
|
+
Value: 1;
|
|
14257
|
+
EnumType: typeof globalThis.Enum.Severity;
|
|
14258
|
+
}
|
|
14259
|
+
|
|
14260
|
+
export const Error: Error;
|
|
14261
|
+
|
|
14262
|
+
export interface Warning extends globalThis.EnumItem {
|
|
14263
|
+
Name: "Warning";
|
|
14264
|
+
Value: 2;
|
|
14265
|
+
EnumType: typeof globalThis.Enum.Severity;
|
|
14266
|
+
}
|
|
14267
|
+
|
|
14268
|
+
export const Warning: Warning;
|
|
14269
|
+
|
|
14270
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.Severity>;
|
|
14271
|
+
}
|
|
14272
|
+
export type Severity = Severity.Error | Severity.Warning;
|
|
14273
|
+
|
|
14208
14274
|
export namespace SignalBehavior {
|
|
14209
14275
|
export interface Default extends globalThis.EnumItem {
|
|
14210
14276
|
Name: "Default";
|