Compare commits

..

No commits in common. "main" and "v0.6.1" have entirely different histories.
main ... v0.6.1

2 changed files with 4 additions and 7 deletions

View file

@ -2,7 +2,7 @@ name: release
on:
push:
tags: ["v*", "workflow_dispatch"]
tags: ["v*"]
jobs:
build:
@ -22,7 +22,7 @@ jobs:
run: rojo build --output build.rbxm default.project.json
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: build
path: build.rbxm
@ -38,7 +38,7 @@ jobs:
uses: actions/checkout@v4
- name: Download Jecs Build
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: build
path: build

5
jecs.d.ts vendored
View file

@ -165,7 +165,7 @@ export class World {
* @param component The component definition (could be a Pair or Entity).
* @param value The value to store with that component.
*/
set<E extends Id<unknown>>(entity: Entity, component: E, value: InferComponent<E>): void;
set<T>(entity: Entity, component: Id<T>, value: T): void;
/**
* Cleans up the world by removing empty archetypes and rebuilding the archetype collections.
@ -288,9 +288,6 @@ export function pair_first<P, O>(world: World, p: Pair<P, O>): Entity<P>;
*/
export function pair_second<P, O>(world: World, p: Pair<P, O>): Entity<O>;
export function ECS_PAIR_FIRST(pair: Pair): number;
export function ECS_PAIR_SECOND(pair: Pair): number;
type StatefulHook = Entity<<T>(e: Entity<T>, id: Id<T>, data: T) => void> & {
readonly __nominal_StatefulHook: unique symbol,
}