@arcote.tech/arc-react 0.0.15 → 0.0.16

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.
@@ -0,0 +1,3 @@
1
+ export * from "./form.ts";
2
+ export * from "./idb.ts";
3
+ export * from "./reactModel.tsx";
package/dist/index.js CHANGED
@@ -207,4 +207,4 @@ export {
207
207
  formResolver
208
208
  };
209
209
 
210
- //# debugId=7BFBB6B196E11E8364756E2164756E21
210
+ //# debugId=98FDF01FC816B22E64756E2164756E21
@@ -0,0 +1,4 @@
1
+ import { type ArcContextWithCommandsAny, type ArcModelDependencies, type GetAnyCollectionQueryResult, type QueryFactoryFunction } from "@arcote.tech/arc";
2
+ export declare const reactModel: <C extends ArcContextWithCommandsAny>(context: C, dependecies: ArcModelDependencies<C>) => readonly [(props: {
3
+ children: React.ReactNode;
4
+ }) => "Ekran ładowania" | import("react/jsx-dev-runtime").JSX.Element, <QueryBuilderFn extends QueryFactoryFunction<C>>(queryBuilder: QueryBuilderFn, dependencies?: any[]) => [GetAnyCollectionQueryResult<QueryBuilderFn>, false] | [null, true], () => import("@arcote.tech/arc/dist/context/commands").CommandsClient<C["commands"]>, <QueryBuilderFn extends QueryFactoryFunction<C>>(queryBuilder: QueryBuilderFn) => Promise<GetAnyCollectionQueryResult<QueryBuilderFn> | null>];
package/package.json CHANGED
@@ -4,12 +4,12 @@
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
7
- "version": "0.0.15",
7
+ "version": "0.0.16",
8
8
  "private": false,
9
9
  "author": "Przemysław Krasiński [arcote.tech]",
10
10
  "description": "React client for the Arc framework, providing utilities for querying data and executing commands, enhancing the development of reactive and efficient user interfaces.",
11
11
  "scripts": {
12
- "build": "bun run ./build.ts && bun run build:declaration",
12
+ "build": "rm -R dist && bun run ./build.ts && bun run build:declaration",
13
13
  "build:declaration": "tsc --emitDeclarationOnly --project tsconfig.types.json",
14
14
  "postbuild": "rimraf tsconfig.types.tsbuildinfo",
15
15
  "type-check": "tsc",
package/dist/build.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};