Update SLua Definitions #122
update-definitions.yml
on: schedule
update-definitions
2m 2s
Annotations
5 errors and 1 warning
|
update-definitions
Process completed with exit code 1.
|
|
error: expect(received).toContain(expected):
tools/gen-types/src/__tests__/emitter.test.ts#L568
Expected to contain: "transaction_result: (requestId: UUID, success: boolean"
always 4 elements. */\ntype PhysicsMaterial = [gravityMultiplier: number, restitution: number, friction: number, density: number]\n\n/** Repeating [agent, landImpact] pairs from ll.GetParcelPrimOwners. */\ntype ParcelPrimOwners = [...ParcelPrimOwnerStride, ...ParcelPrimOwners] | []\ntype ParcelPrimOwnerStride = [agent: UUID, landImpact: number]\n\n/** Hit stride with no data flags. */\ntype CastRayHit = [uuid: UUID, pos: Vector]\n/** Hit stride with RC_GET_NORMAL. */\ntype CastRayHitNormal = [uuid: UUID, pos: Vector, normal: Vector]\n/** Hit stride with RC_GET_LINK_NUM. */\ntype CastRayHitLink = [uuid: UUID, pos: Vector, link: number]\n/** Hit stride with RC_GET_NORMAL | RC_GET_LINK_NUM. */\ntype CastRayHitBoth = [uuid: UUID, pos: Vector, normal: Vector, link: number]\n\n/** Repeating hit strides followed by a status code. */\ntype CastRayHits<Hit extends unknown[]> = [...Hit, ...CastRayHits<Hit>] | [status: number] | []\n\n/** Maps RC_DATA_FLAGS value to the corresponding result type. */\ntype CastRayResult<Opts extends CastRayParamOptions> =\n Opts extends { dataFlags: 5 | 7 } ? CastRayHits<CastRayHitBoth> :\n Opts extends { dataFlags: 4 | 6 } ? CastRayHits<CastRayHitLink> :\n Opts extends { dataFlags: 1 | 3 } ? CastRayHits<CastRayHitNormal> :\n CastRayHits<CastRayHit>"
at <anonymous> (/home/runner/work/slua/slua/tools/gen-types/src/__tests__/emitter.test.ts:568:20)
|
|
error: expect(received).toContain(expected):
tools/gen-types/src/__tests__/emitter.test.ts#L555
Expected to contain: "export function GetScriptState(scriptName: string): boolean"
always 4 elements. */\ntype PhysicsMaterial = [gravityMultiplier: number, restitution: number, friction: number, density: number]\n\n/** Repeating [agent, landImpact] pairs from ll.GetParcelPrimOwners. */\ntype ParcelPrimOwners = [...ParcelPrimOwnerStride, ...ParcelPrimOwners] | []\ntype ParcelPrimOwnerStride = [agent: UUID, landImpact: number]\n\n/** Hit stride with no data flags. */\ntype CastRayHit = [uuid: UUID, pos: Vector]\n/** Hit stride with RC_GET_NORMAL. */\ntype CastRayHitNormal = [uuid: UUID, pos: Vector, normal: Vector]\n/** Hit stride with RC_GET_LINK_NUM. */\ntype CastRayHitLink = [uuid: UUID, pos: Vector, link: number]\n/** Hit stride with RC_GET_NORMAL | RC_GET_LINK_NUM. */\ntype CastRayHitBoth = [uuid: UUID, pos: Vector, normal: Vector, link: number]\n\n/** Repeating hit strides followed by a status code. */\ntype CastRayHits<Hit extends unknown[]> = [...Hit, ...CastRayHits<Hit>] | [status: number] | []\n\n/** Maps RC_DATA_FLAGS value to the corresponding result type. */\ntype CastRayResult<Opts extends CastRayParamOptions> =\n Opts extends { dataFlags: 5 | 7 } ? CastRayHits<CastRayHitBoth> :\n Opts extends { dataFlags: 4 | 6 } ? CastRayHits<CastRayHitLink> :\n Opts extends { dataFlags: 1 | 3 } ? CastRayHits<CastRayHitNormal> :\n CastRayHits<CastRayHit>"
at <anonymous> (/home/runner/work/slua/slua/tools/gen-types/src/__tests__/emitter.test.ts:555:20)
|
|
error: expect(received).toContain(expected):
tools/gen-types/src/__tests__/emitter.test.ts#L547
Expected to contain: "export function AllowInventoryDrop(flag: boolean): void"
always 4 elements. */\ntype PhysicsMaterial = [gravityMultiplier: number, restitution: number, friction: number, density: number]\n\n/** Repeating [agent, landImpact] pairs from ll.GetParcelPrimOwners. */\ntype ParcelPrimOwners = [...ParcelPrimOwnerStride, ...ParcelPrimOwners] | []\ntype ParcelPrimOwnerStride = [agent: UUID, landImpact: number]\n\n/** Hit stride with no data flags. */\ntype CastRayHit = [uuid: UUID, pos: Vector]\n/** Hit stride with RC_GET_NORMAL. */\ntype CastRayHitNormal = [uuid: UUID, pos: Vector, normal: Vector]\n/** Hit stride with RC_GET_LINK_NUM. */\ntype CastRayHitLink = [uuid: UUID, pos: Vector, link: number]\n/** Hit stride with RC_GET_NORMAL | RC_GET_LINK_NUM. */\ntype CastRayHitBoth = [uuid: UUID, pos: Vector, normal: Vector, link: number]\n\n/** Repeating hit strides followed by a status code. */\ntype CastRayHits<Hit extends unknown[]> = [...Hit, ...CastRayHits<Hit>] | [status: number] | []\n\n/** Maps RC_DATA_FLAGS value to the corresponding result type. */\ntype CastRayResult<Opts extends CastRayParamOptions> =\n Opts extends { dataFlags: 5 | 7 } ? CastRayHits<CastRayHitBoth> :\n Opts extends { dataFlags: 4 | 6 } ? CastRayHits<CastRayHitLink> :\n Opts extends { dataFlags: 1 | 3 } ? CastRayHits<CastRayHitNormal> :\n CastRayHits<CastRayHit>"
at <anonymous> (/home/runner/work/slua/slua/tools/gen-types/src/__tests__/emitter.test.ts:547:20)
|
|
error: expect(received).toContain(expected):
tools/gen-types/src/__tests__/emitter.test.ts#L462
Expected to contain: "listen: (channel: number, name: string, id: UUID, text: string) => void"
always 4 elements. */\ntype PhysicsMaterial = [gravityMultiplier: number, restitution: number, friction: number, density: number]\n\n/** Repeating [agent, landImpact] pairs from ll.GetParcelPrimOwners. */\ntype ParcelPrimOwners = [...ParcelPrimOwnerStride, ...ParcelPrimOwners] | []\ntype ParcelPrimOwnerStride = [agent: UUID, landImpact: number]\n\n/** Hit stride with no data flags. */\ntype CastRayHit = [uuid: UUID, pos: Vector]\n/** Hit stride with RC_GET_NORMAL. */\ntype CastRayHitNormal = [uuid: UUID, pos: Vector, normal: Vector]\n/** Hit stride with RC_GET_LINK_NUM. */\ntype CastRayHitLink = [uuid: UUID, pos: Vector, link: number]\n/** Hit stride with RC_GET_NORMAL | RC_GET_LINK_NUM. */\ntype CastRayHitBoth = [uuid: UUID, pos: Vector, normal: Vector, link: number]\n\n/** Repeating hit strides followed by a status code. */\ntype CastRayHits<Hit extends unknown[]> = [...Hit, ...CastRayHits<Hit>] | [status: number] | []\n\n/** Maps RC_DATA_FLAGS value to the corresponding result type. */\ntype CastRayResult<Opts extends CastRayParamOptions> =\n Opts extends { dataFlags: 5 | 7 } ? CastRayHits<CastRayHitBoth> :\n Opts extends { dataFlags: 4 | 6 } ? CastRayHits<CastRayHitLink> :\n Opts extends { dataFlags: 1 | 3 } ? CastRayHits<CastRayHitNormal> :\n CastRayHits<CastRayHit>"
at <anonymous> (/home/runner/work/slua/slua/tools/gen-types/src/__tests__/emitter.test.ts:462:20)
|
|
update-definitions
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|