@rbxts/types 1.0.603 → 1.0.606

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.
@@ -24781,7 +24781,7 @@ interface DataStorePages extends Pages<{ key: string; value: unknown }> {
24781
24781
  *
24782
24782
  * * [Data Stores](https://developer.roblox.com/en-us/articles/data-store), an in-depth guide on data structure, management, error handling, etc.
24783
24783
  */
24784
- interface DataStoreVersionPages extends Pages {
24784
+ interface DataStoreVersionPages extends Pages<DataStoreObjectVersionInfo> {
24785
24785
  /**
24786
24786
  * **DO NOT USE!**
24787
24787
  *
@@ -24790,7 +24790,6 @@ interface DataStoreVersionPages extends Pages {
24790
24790
  * @deprecated
24791
24791
  */
24792
24792
  readonly _nominal_DataStoreVersionPages: unique symbol;
24793
- GetCurrentPage(this: Pages): Array<DataStoreObjectVersionInfo>;
24794
24793
  }
24795
24794
 
24796
24795
  /** FriendPages is a special version of the [Pages](https://developer.roblox.com/en-us/api-reference/class/Pages) returned by [Players:GetFriendsAsync](https://developer.roblox.com/en-us/api-reference/function/Players/GetFriendsAsync). The items contained within describe information about a player's friends, and have the following structure:
@@ -3575,7 +3575,11 @@ interface StudioService extends Instance {
3575
3575
  UseLocalSpace: boolean;
3576
3576
  AnimationIdSelected(this: StudioService, id: number): void;
3577
3577
  CopyToClipboard(this: StudioService, stringToCopy: string): void;
3578
- EmitPlacePublishedSignal(this: StudioService): void;
3578
+ DEPRECATED_EmitPlacePublishedSignal(this: StudioService): void;
3579
+ DEPRECATED_RefreshDocumentDisplayName(this: StudioService): void;
3580
+ DEPRECATED_SetUniverseDisplayName(this: StudioService, newName: string): void;
3581
+ DEPRECATED_ShowSaveOrPublishPlaceToRoblox(this: StudioService, showGameSelect: boolean, isPublish: boolean, closeMode: CastsToEnum<Enum.StudioCloseMode>): void;
3582
+ DEPRECATED_publishAs(this: StudioService, universeId: number, placeId: number, groupId: number): void;
3579
3583
  GetBadgeConfigureUrl(this: StudioService, badgeId: number): string;
3580
3584
  GetBadgeUploadUrl(this: StudioService): string;
3581
3585
  /**
@@ -3615,14 +3619,10 @@ interface StudioService extends Instance {
3615
3619
  IsPluginInstalled(this: StudioService, assetId: number): boolean;
3616
3620
  IsPluginUpToDate(this: StudioService, assetId: number, currentAssetVersion: number): boolean;
3617
3621
  OpenInBrowser_DONOTUSE(this: StudioService, url: string): void;
3618
- PublishAs(this: StudioService, universeId: number, placeId: number, groupId: number): void;
3619
- RefreshDocumentDisplayName(this: StudioService): void;
3620
3622
  RequestClose(this: StudioService, closeMode: CastsToEnum<Enum.StudioCloseMode>): void;
3621
3623
  SetPluginEnabled(this: StudioService, assetId: number, state: boolean): void;
3622
- SetUniverseDisplayName(this: StudioService, newName: string): void;
3623
3624
  ShowPlaceVersionHistoryDialog(this: StudioService, placeId: number): void;
3624
3625
  ShowPublishToRoblox(this: StudioService): void;
3625
- ShowSaveOrPublishPlaceToRoblox(this: StudioService, showGameSelect: boolean, isPublish: boolean, closeMode: CastsToEnum<Enum.StudioCloseMode>): void;
3626
3626
  UninstallPlugin(this: StudioService, assetId: number): void;
3627
3627
  UpdatePluginManagement(this: StudioService): void;
3628
3628
  /**
@@ -3651,16 +3651,16 @@ interface StudioService extends Instance {
3651
3651
  * Tags: Yields
3652
3652
  */
3653
3653
  TryInstallPlugin(this: StudioService, assetId: number, assetVersionId: number): void;
3654
- readonly GameNameUpdated: RBXScriptSignal<(name: string) => void>;
3655
- readonly GamePublishFinished: RBXScriptSignal<(success: boolean, gameId: number) => void>;
3654
+ readonly DEPRECATED_GameNameUpdated: RBXScriptSignal<(name: string) => void>;
3655
+ readonly DEPRECATED_GamePublishFinished: RBXScriptSignal<(success: boolean, gameId: number) => void>;
3656
+ readonly DEPRECATED_OnPublishPlaceToRoblox: RBXScriptSignal<(isOverwritePublish: boolean) => void>;
3657
+ readonly DEPRECATED_OnSaveOrPublishPlaceToRoblox: RBXScriptSignal<(showGameSelect: boolean, isPublish: boolean, closeMode: Enum.StudioCloseMode) => void>;
3656
3658
  readonly OnImportFromRoblox: RBXScriptSignal<() => void>;
3657
3659
  readonly OnOpenGameSettings: RBXScriptSignal<(pageIdentifier: string) => void>;
3658
3660
  readonly OnOpenManagePackagePlugin: RBXScriptSignal<(userId: number, assetId: number) => void>;
3659
3661
  readonly OnPluginInstalledFromToolbox: RBXScriptSignal<() => void>;
3660
3662
  readonly OnPluginInstalledFromWeb: RBXScriptSignal<(pluginId: string) => void>;
3661
3663
  readonly OnPublishAsPlugin: RBXScriptSignal<(instances: Array<Instance>) => void>;
3662
- readonly OnPublishPlaceToRoblox: RBXScriptSignal<(isOverwritePublish: boolean) => void>;
3663
- readonly OnSaveOrPublishPlaceToRoblox: RBXScriptSignal<(showGameSelect: boolean, isPublish: boolean, closeMode: Enum.StudioCloseMode) => void>;
3664
3664
  readonly OnSaveToRoblox: RBXScriptSignal<(instances: Array<Instance>) => void>;
3665
3665
  readonly PromptTransformPluginCheckEnable: RBXScriptSignal<() => void>;
3666
3666
  readonly SaveLocallyAsComplete: RBXScriptSignal<(success: boolean) => void>;
package/include/lua.d.ts CHANGED
@@ -52,18 +52,18 @@ declare function pcall<T extends Array<any>, U>(
52
52
  func: (...args: T) => U,
53
53
  ): LuaTuple<
54
54
  U extends [infer A]
55
- ? [true, A] | [false, string]
55
+ ? [true, A] | [false, unknown]
56
56
  : U extends [infer A, infer B]
57
- ? [true, A, B] | [false, string, undefined]
57
+ ? [true, A, B] | [false, unknown, undefined]
58
58
  : U extends [infer A, infer B, infer C]
59
- ? [true, A, B, C] | [false, string, undefined, undefined]
59
+ ? [true, A, B, C] | [false, unknown, undefined, undefined]
60
60
  : U extends [infer A, infer B, infer C, infer D]
61
- ? [true, A, B, C, D] | [false, string, undefined, undefined, undefined]
61
+ ? [true, A, B, C, D] | [false, unknown, undefined, undefined, undefined]
62
62
  : U extends [infer A, infer B, infer C, infer D, infer E]
63
- ? [true, A, B, C, D, E] | [false, string, undefined, undefined, undefined, undefined]
63
+ ? [true, A, B, C, D, E] | [false, unknown, undefined, undefined, undefined, undefined]
64
64
  : U extends [infer A, infer B, infer C, infer D, infer E, infer F]
65
- ? [true, A, B, C, D, E, F] | [false, string, undefined, undefined, undefined, undefined, undefined]
66
- : [true, U] | [false, string]
65
+ ? [true, A, B, C, D, E, F] | [false, unknown, undefined, undefined, undefined, undefined, undefined]
66
+ : [true, U] | [false, unknown]
67
67
  >;
68
68
 
69
69
  /** Calls the function func with the given arguments in protected mode. This means that any error inside func is not propagated; instead, pcall catches the error and returns a status code. Its first result is the status code (a boolean), which is true if the call succeeds without errors. In such case, pcall also returns all results from the call, after this first result. In case of any error, pcall returns false plus the error message. */
@@ -72,18 +72,18 @@ declare function pcall<T extends Array<any>, U>(
72
72
  ...args: T
73
73
  ): LuaTuple<
74
74
  U extends [infer A]
75
- ? [true, A] | [false, string]
75
+ ? [true, A] | [false, unknown]
76
76
  : U extends [infer A, infer B]
77
- ? [true, A, B] | [false, string, undefined]
77
+ ? [true, A, B] | [false, unknown, undefined]
78
78
  : U extends [infer A, infer B, infer C]
79
- ? [true, A, B, C] | [false, string, undefined, undefined]
79
+ ? [true, A, B, C] | [false, unknown, undefined, undefined]
80
80
  : U extends [infer A, infer B, infer C, infer D]
81
- ? [true, A, B, C, D] | [false, string, undefined, undefined, undefined]
81
+ ? [true, A, B, C, D] | [false, unknown, undefined, undefined, undefined]
82
82
  : U extends [infer A, infer B, infer C, infer D, infer E]
83
- ? [true, A, B, C, D, E] | [false, string, undefined, undefined, undefined, undefined]
83
+ ? [true, A, B, C, D, E] | [false, unknown, undefined, undefined, undefined, undefined]
84
84
  : U extends [infer A, infer B, infer C, infer D, infer E, infer F]
85
- ? [true, A, B, C, D, E, F] | [false, string, undefined, undefined, undefined, undefined, undefined]
86
- : [true, U] | [false, string]
85
+ ? [true, A, B, C, D, E, F] | [false, unknown, undefined, undefined, undefined, undefined, undefined]
86
+ : [true, U] | [false, unknown]
87
87
  >;
88
88
 
89
89
  /** Calls the function func with the given arguments in protected mode. This means that any error inside func is not propagated; instead, xpcall catches the error and returns a status code. Its first result is the status code (a boolean), which is true if the call succeeds without errors. In such case, xpcall also returns all results from the call, after this first result. In case of any error, pcall returns false plus the error message. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.603",
3
+ "version": "1.0.606",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },