@interncom/diplomatic 0.0.51 → 0.0.53
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.
- package/dist/entityDB.d.ts +2 -2
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/entityDB.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DBSchema } from "idb";
|
|
2
|
-
import { Applier } from "./types";
|
|
3
|
-
import { GroupID } from "./shared/types";
|
|
2
|
+
import type { Applier } from "./types";
|
|
3
|
+
import { type GroupID } from "./shared/types";
|
|
4
4
|
import { StateManager } from "./state";
|
|
5
5
|
export declare const entityTableName = "entities";
|
|
6
6
|
export declare const typeIndexName = "entity_type_created_at";
|
package/dist/index.mjs
CHANGED
|
@@ -11775,6 +11775,7 @@ var applier = async (op) => {
|
|
|
11775
11775
|
if (new Date(op.ts) > (curr?.updatedAt ?? "")) {
|
|
11776
11776
|
await db2.put("entities", {
|
|
11777
11777
|
eid: op.eid,
|
|
11778
|
+
gid: op.gid,
|
|
11778
11779
|
type: op.type,
|
|
11779
11780
|
createdAt: curr?.createdAt ?? /* @__PURE__ */ new Date(),
|
|
11780
11781
|
updatedAt: new Date(op.ts),
|