@rbxts/types 1.0.820 → 1.0.822

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.
@@ -141,7 +141,6 @@ interface Services {
141
141
  ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
142
142
  ScriptCommitService: ScriptCommitService;
143
143
  ScriptContext: ScriptContext;
144
- ScriptEditorService: ScriptEditorService;
145
144
  ScriptProfilerService: ScriptProfilerService;
146
145
  ScriptRegistrationService: ScriptRegistrationService;
147
146
  SelectionHighlightManager: SelectionHighlightManager;
@@ -605,7 +604,6 @@ interface Instances extends Services, CreatableInstances {
605
604
  RootImportData: RootImportData;
606
605
  ScreenshotHud: ScreenshotHud;
607
606
  ScriptBuilder: ScriptBuilder;
608
- ScriptDocument: ScriptDocument;
609
607
  ScriptRuntime: ScriptRuntime;
610
608
  SelectionLasso: SelectionLasso;
611
609
  SensorBase: SensorBase;
@@ -31520,38 +31518,6 @@ interface ScriptContext extends Instance {
31520
31518
  */
31521
31519
  readonly Error: RBXScriptSignal<(message: string, stackTrace: string, script?: LuaSourceContainer) => void>;
31522
31520
  }
31523
- /**
31524
- * - **Tags**: NotCreatable, NotReplicated
31525
- *
31526
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDocument)
31527
- */
31528
- interface ScriptDocument extends Instance {
31529
- /**
31530
- * **DO NOT USE!**
31531
- *
31532
- * This field exists to force TypeScript to recognize this as a nominal type
31533
- * @hidden
31534
- * @deprecated
31535
- */
31536
- readonly _nominal_ScriptDocument: unique symbol;
31537
- }
31538
- /**
31539
- * This service is used for interacting with `ScriptDocument` instances.
31540
- *
31541
- * - **Tags**: NotCreatable, Service, NotReplicated
31542
- *
31543
- * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptEditorService)
31544
- */
31545
- interface ScriptEditorService extends Instance {
31546
- /**
31547
- * **DO NOT USE!**
31548
- *
31549
- * This field exists to force TypeScript to recognize this as a nominal type
31550
- * @hidden
31551
- * @deprecated
31552
- */
31553
- readonly _nominal_ScriptEditorService: unique symbol;
31554
- }
31555
31521
  /**
31556
31522
  * - **Tags**: NotCreatable, Service
31557
31523
  *
@@ -270,17 +270,29 @@ interface BundleInfo {
270
270
 
271
271
  type TeleportData = string | number | boolean | Array<unknown> | Map<unknown, unknown>;
272
272
 
273
+ interface GameJoinContext {
274
+ JoinSource: Enum.JoinSource;
275
+ ItemType?: Enum.AvatarItemType;
276
+ AssetId?: string;
277
+ OutfitId?: string;
278
+ AssetType?: Enum.AssetType;
279
+ }
280
+
273
281
  interface PlayerJoinInfo {
274
282
  /** The `DataModel.GameId` of the experience the `Player` teleported from. Only present if the player teleports to the current experience and if a server calls the teleport function. */
275
283
  SourceGameId?: number;
276
284
  /** The `DataModel.PlaceId` of the place the `Player` teleported from. Only present if the player teleports to the current place and a server calls the teleport function. */
277
285
  SourcePlaceId?: number;
286
+ /** The `Player.UserId` of the player who invited the current player to the experience. Use this data to identify the referrer and trigger reward logic. */
287
+ ReferredByPlayerId?: number;
278
288
  /** An array containing the `UserId` numbers of the users teleported alongside the `Player`. Only present if the player teleported as part of a group. */
279
289
  Members?: Array<number>;
280
290
  /** Reflects the `teleportData` specified in the original teleport. Useful for sharing information between servers the player teleports to. Only present if `teleportData` was specified and a server calls the teleport function. */
281
291
  TeleportData?: TeleportData;
282
292
  /** A string containing launch data specified in the URL the player clicks to join the experience. Only present if the URL contains launch data. */
283
293
  LaunchData?: string;
294
+ /** A dictionary that includes relevant information based on the context of the game join. */
295
+ GameJoinContext?: GameJoinContext;
284
296
  }
285
297
 
286
298
  interface BoundActionInfo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.820",
3
+ "version": "1.0.822",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },