@dwidge/json-forms-expo 0.0.2
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/LICENSE +23 -0
- package/README.md +30 -0
- package/dist/cjs/FileAttachment/AttachmentEdit.js +14 -0
- package/dist/cjs/FileAttachment/AttachmentEdit.js.map +1 -0
- package/dist/cjs/FileAttachment/AttachmentListEdit.js +21 -0
- package/dist/cjs/FileAttachment/AttachmentListEdit.js.map +1 -0
- package/dist/cjs/FileAttachment/AttachmentListView.js +13 -0
- package/dist/cjs/FileAttachment/AttachmentListView.js.map +1 -0
- package/dist/cjs/FileAttachment/AttachmentScreen.js +14 -0
- package/dist/cjs/FileAttachment/AttachmentScreen.js.map +1 -0
- package/dist/cjs/FileAttachment/AttachmentView.js +14 -0
- package/dist/cjs/FileAttachment/AttachmentView.js.map +1 -0
- package/dist/cjs/FileAttachment/index.js +24 -0
- package/dist/cjs/FileAttachment/index.js.map +1 -0
- package/dist/cjs/FileAttachment/useFileAttachmentUrl.js +12 -0
- package/dist/cjs/FileAttachment/useFileAttachmentUrl.js.map +1 -0
- package/dist/cjs/FileAttachment/useFileUrl.js +11 -0
- package/dist/cjs/FileAttachment/useFileUrl.js.map +1 -0
- package/dist/cjs/Form/EditFormAttachmentScreen.js +61 -0
- package/dist/cjs/Form/EditFormAttachmentScreen.js.map +1 -0
- package/dist/cjs/Form/FormEdit.js +12 -0
- package/dist/cjs/Form/FormEdit.js.map +1 -0
- package/dist/cjs/Form/FormEditScreen.js +29 -0
- package/dist/cjs/Form/FormEditScreen.js.map +1 -0
- package/dist/cjs/Form/FormListEdit.js +22 -0
- package/dist/cjs/Form/FormListEdit.js.map +1 -0
- package/dist/cjs/Form/FormListScreen.js +28 -0
- package/dist/cjs/Form/FormListScreen.js.map +1 -0
- package/dist/cjs/Form/FormListView.js +18 -0
- package/dist/cjs/Form/FormListView.js.map +1 -0
- package/dist/cjs/Form/FormSelectScreen.js +21 -0
- package/dist/cjs/Form/FormSelectScreen.js.map +1 -0
- package/dist/cjs/Form/FormSelectView.js +16 -0
- package/dist/cjs/Form/FormSelectView.js.map +1 -0
- package/dist/cjs/Form/FormView.js +12 -0
- package/dist/cjs/Form/FormView.js.map +1 -0
- package/dist/cjs/Form/index.js +26 -0
- package/dist/cjs/Form/index.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentEdit.js +30 -0
- package/dist/cjs/FormAttachment/FormAttachmentEdit.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentEditScreen.js +15 -0
- package/dist/cjs/FormAttachment/FormAttachmentEditScreen.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentListEdit.js +27 -0
- package/dist/cjs/FormAttachment/FormAttachmentListEdit.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentListScreen.js +31 -0
- package/dist/cjs/FormAttachment/FormAttachmentListScreen.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentListView.js +21 -0
- package/dist/cjs/FormAttachment/FormAttachmentListView.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentView.js +15 -0
- package/dist/cjs/FormAttachment/FormAttachmentView.js.map +1 -0
- package/dist/cjs/FormAttachment/index.js +23 -0
- package/dist/cjs/FormAttachment/index.js.map +1 -0
- package/dist/cjs/hooks/FileApi.js +15 -0
- package/dist/cjs/hooks/FileApi.js.map +1 -0
- package/dist/cjs/hooks/FileAttachmentApi.js +13 -0
- package/dist/cjs/hooks/FileAttachmentApi.js.map +1 -0
- package/dist/cjs/hooks/FormApi.js +13 -0
- package/dist/cjs/hooks/FormApi.js.map +1 -0
- package/dist/cjs/hooks/FormAttachmentApi.js +12 -0
- package/dist/cjs/hooks/FormAttachmentApi.js.map +1 -0
- package/dist/cjs/hooks/FormsContext.js +30 -0
- package/dist/cjs/hooks/FormsContext.js.map +1 -0
- package/dist/cjs/hooks/createApi.js +40 -0
- package/dist/cjs/hooks/createApi.js.map +1 -0
- package/dist/cjs/hooks/index.js +27 -0
- package/dist/cjs/hooks/index.js.map +1 -0
- package/dist/cjs/hooks/useCreateBlankAttachment.js +21 -0
- package/dist/cjs/hooks/useCreateBlankAttachment.js.map +1 -0
- package/dist/cjs/hooks/useCreateBlankForm.js +12 -0
- package/dist/cjs/hooks/useCreateBlankForm.js.map +1 -0
- package/dist/cjs/hooks/useCreateBlankFormAttachment.js +14 -0
- package/dist/cjs/hooks/useCreateBlankFormAttachment.js.map +1 -0
- package/dist/cjs/hooks/useParams.js +8 -0
- package/dist/cjs/hooks/useParams.js.map +1 -0
- package/dist/cjs/index.js +22 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/types/File2.js +3 -0
- package/dist/cjs/types/File2.js.map +1 -0
- package/dist/cjs/types/FileAttachment.js +3 -0
- package/dist/cjs/types/FileAttachment.js.map +1 -0
- package/dist/cjs/types/Form1.js +3 -0
- package/dist/cjs/types/Form1.js.map +1 -0
- package/dist/cjs/types/FormAttachment.js +3 -0
- package/dist/cjs/types/FormAttachment.js.map +1 -0
- package/dist/cjs/types/index.js +21 -0
- package/dist/cjs/types/index.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentEdit.js +10 -0
- package/dist/esm/FileAttachment/AttachmentEdit.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentListEdit.js +14 -0
- package/dist/esm/FileAttachment/AttachmentListEdit.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentListView.js +9 -0
- package/dist/esm/FileAttachment/AttachmentListView.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentScreen.js +10 -0
- package/dist/esm/FileAttachment/AttachmentScreen.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentView.js +10 -0
- package/dist/esm/FileAttachment/AttachmentView.js.map +1 -0
- package/dist/esm/FileAttachment/index.js +8 -0
- package/dist/esm/FileAttachment/index.js.map +1 -0
- package/dist/esm/FileAttachment/useFileAttachmentUrl.js +8 -0
- package/dist/esm/FileAttachment/useFileAttachmentUrl.js.map +1 -0
- package/dist/esm/FileAttachment/useFileUrl.js +7 -0
- package/dist/esm/FileAttachment/useFileUrl.js.map +1 -0
- package/dist/esm/Form/EditFormAttachmentScreen.js +57 -0
- package/dist/esm/Form/EditFormAttachmentScreen.js.map +1 -0
- package/dist/esm/Form/FormEdit.js +8 -0
- package/dist/esm/Form/FormEdit.js.map +1 -0
- package/dist/esm/Form/FormEditScreen.js +25 -0
- package/dist/esm/Form/FormEditScreen.js.map +1 -0
- package/dist/esm/Form/FormListEdit.js +15 -0
- package/dist/esm/Form/FormListEdit.js.map +1 -0
- package/dist/esm/Form/FormListScreen.js +24 -0
- package/dist/esm/Form/FormListScreen.js.map +1 -0
- package/dist/esm/Form/FormListView.js +11 -0
- package/dist/esm/Form/FormListView.js.map +1 -0
- package/dist/esm/Form/FormSelectScreen.js +17 -0
- package/dist/esm/Form/FormSelectScreen.js.map +1 -0
- package/dist/esm/Form/FormSelectView.js +12 -0
- package/dist/esm/Form/FormSelectView.js.map +1 -0
- package/dist/esm/Form/FormView.js +8 -0
- package/dist/esm/Form/FormView.js.map +1 -0
- package/dist/esm/Form/index.js +10 -0
- package/dist/esm/Form/index.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentEdit.js +26 -0
- package/dist/esm/FormAttachment/FormAttachmentEdit.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentEditScreen.js +11 -0
- package/dist/esm/FormAttachment/FormAttachmentEditScreen.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentListEdit.js +20 -0
- package/dist/esm/FormAttachment/FormAttachmentListEdit.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentListScreen.js +27 -0
- package/dist/esm/FormAttachment/FormAttachmentListScreen.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentListView.js +14 -0
- package/dist/esm/FormAttachment/FormAttachmentListView.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentView.js +11 -0
- package/dist/esm/FormAttachment/FormAttachmentView.js.map +1 -0
- package/dist/esm/FormAttachment/index.js +7 -0
- package/dist/esm/FormAttachment/index.js.map +1 -0
- package/dist/esm/hooks/FileApi.js +12 -0
- package/dist/esm/hooks/FileApi.js.map +1 -0
- package/dist/esm/hooks/FileAttachmentApi.js +10 -0
- package/dist/esm/hooks/FileAttachmentApi.js.map +1 -0
- package/dist/esm/hooks/FormApi.js +10 -0
- package/dist/esm/hooks/FormApi.js.map +1 -0
- package/dist/esm/hooks/FormAttachmentApi.js +9 -0
- package/dist/esm/hooks/FormAttachmentApi.js.map +1 -0
- package/dist/esm/hooks/FormsContext.js +26 -0
- package/dist/esm/hooks/FormsContext.js.map +1 -0
- package/dist/esm/hooks/createApi.js +36 -0
- package/dist/esm/hooks/createApi.js.map +1 -0
- package/dist/esm/hooks/index.js +11 -0
- package/dist/esm/hooks/index.js.map +1 -0
- package/dist/esm/hooks/useCreateBlankAttachment.js +14 -0
- package/dist/esm/hooks/useCreateBlankAttachment.js.map +1 -0
- package/dist/esm/hooks/useCreateBlankForm.js +8 -0
- package/dist/esm/hooks/useCreateBlankForm.js.map +1 -0
- package/dist/esm/hooks/useCreateBlankFormAttachment.js +10 -0
- package/dist/esm/hooks/useCreateBlankFormAttachment.js.map +1 -0
- package/dist/esm/hooks/useParams.js +4 -0
- package/dist/esm/hooks/useParams.js.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/types/File2.js +2 -0
- package/dist/esm/types/File2.js.map +1 -0
- package/dist/esm/types/FileAttachment.js +2 -0
- package/dist/esm/types/FileAttachment.js.map +1 -0
- package/dist/esm/types/Form1.js +2 -0
- package/dist/esm/types/Form1.js.map +1 -0
- package/dist/esm/types/FormAttachment.js +2 -0
- package/dist/esm/types/FormAttachment.js.map +1 -0
- package/dist/esm/types/index.js +5 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/tsconfig.cjs.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/FileAttachment/AttachmentEdit.d.ts +6 -0
- package/dist/types/FileAttachment/AttachmentEdit.d.ts.map +1 -0
- package/dist/types/FileAttachment/AttachmentListEdit.d.ts +9 -0
- package/dist/types/FileAttachment/AttachmentListEdit.d.ts.map +1 -0
- package/dist/types/FileAttachment/AttachmentListView.d.ts +9 -0
- package/dist/types/FileAttachment/AttachmentListView.d.ts.map +1 -0
- package/dist/types/FileAttachment/AttachmentScreen.d.ts +8 -0
- package/dist/types/FileAttachment/AttachmentScreen.d.ts.map +1 -0
- package/dist/types/FileAttachment/AttachmentView.d.ts +6 -0
- package/dist/types/FileAttachment/AttachmentView.d.ts.map +1 -0
- package/dist/types/FileAttachment/index.d.ts +8 -0
- package/dist/types/FileAttachment/index.d.ts.map +1 -0
- package/dist/types/FileAttachment/useFileAttachmentUrl.d.ts +2 -0
- package/dist/types/FileAttachment/useFileAttachmentUrl.d.ts.map +1 -0
- package/dist/types/FileAttachment/useFileUrl.d.ts +2 -0
- package/dist/types/FileAttachment/useFileUrl.d.ts.map +1 -0
- package/dist/types/Form/EditFormAttachmentScreen.d.ts +40 -0
- package/dist/types/Form/EditFormAttachmentScreen.d.ts.map +1 -0
- package/dist/types/Form/FormEdit.d.ts +4 -0
- package/dist/types/Form/FormEdit.d.ts.map +1 -0
- package/dist/types/Form/FormEditScreen.d.ts +4 -0
- package/dist/types/Form/FormEditScreen.d.ts.map +1 -0
- package/dist/types/Form/FormListEdit.d.ts +6 -0
- package/dist/types/Form/FormListEdit.d.ts.map +1 -0
- package/dist/types/Form/FormListScreen.d.ts +8 -0
- package/dist/types/Form/FormListScreen.d.ts.map +1 -0
- package/dist/types/Form/FormListView.d.ts +5 -0
- package/dist/types/Form/FormListView.d.ts.map +1 -0
- package/dist/types/Form/FormSelectScreen.d.ts +6 -0
- package/dist/types/Form/FormSelectScreen.d.ts.map +1 -0
- package/dist/types/Form/FormSelectView.d.ts +8 -0
- package/dist/types/Form/FormSelectView.d.ts.map +1 -0
- package/dist/types/Form/FormView.d.ts +5 -0
- package/dist/types/Form/FormView.d.ts.map +1 -0
- package/dist/types/Form/index.d.ts +10 -0
- package/dist/types/Form/index.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentEdit.d.ts +9 -0
- package/dist/types/FormAttachment/FormAttachmentEdit.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentEditScreen.d.ts +5 -0
- package/dist/types/FormAttachment/FormAttachmentEditScreen.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentListEdit.d.ts +11 -0
- package/dist/types/FormAttachment/FormAttachmentListEdit.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentListScreen.d.ts +7 -0
- package/dist/types/FormAttachment/FormAttachmentListScreen.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentListView.d.ts +5 -0
- package/dist/types/FormAttachment/FormAttachmentListView.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentView.d.ts +6 -0
- package/dist/types/FormAttachment/FormAttachmentView.d.ts.map +1 -0
- package/dist/types/FormAttachment/index.d.ts +7 -0
- package/dist/types/FormAttachment/index.d.ts.map +1 -0
- package/dist/types/hooks/FileApi.d.ts +35 -0
- package/dist/types/hooks/FileApi.d.ts.map +1 -0
- package/dist/types/hooks/FileAttachmentApi.d.ts +35 -0
- package/dist/types/hooks/FileAttachmentApi.d.ts.map +1 -0
- package/dist/types/hooks/FormApi.d.ts +35 -0
- package/dist/types/hooks/FormApi.d.ts.map +1 -0
- package/dist/types/hooks/FormAttachmentApi.d.ts +35 -0
- package/dist/types/hooks/FormAttachmentApi.d.ts.map +1 -0
- package/dist/types/hooks/FormsContext.d.ts +20 -0
- package/dist/types/hooks/FormsContext.d.ts.map +1 -0
- package/dist/types/hooks/createApi.d.ts +36 -0
- package/dist/types/hooks/createApi.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +11 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/useCreateBlankAttachment.d.ts +10 -0
- package/dist/types/hooks/useCreateBlankAttachment.d.ts.map +1 -0
- package/dist/types/hooks/useCreateBlankForm.d.ts +6 -0
- package/dist/types/hooks/useCreateBlankForm.d.ts.map +1 -0
- package/dist/types/hooks/useCreateBlankFormAttachment.d.ts +13 -0
- package/dist/types/hooks/useCreateBlankFormAttachment.d.ts.map +1 -0
- package/dist/types/hooks/useParams.d.ts +7 -0
- package/dist/types/hooks/useParams.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types/File2.d.ts +16 -0
- package/dist/types/types/File2.d.ts.map +1 -0
- package/dist/types/types/FileAttachment.d.ts +10 -0
- package/dist/types/types/FileAttachment.d.ts.map +1 -0
- package/dist/types/types/Form1.d.ts +14 -0
- package/dist/types/types/Form1.d.ts.map +1 -0
- package/dist/types/types/FormAttachment.d.ts +13 -0
- package/dist/types/types/FormAttachment.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/package.json +73 -0
- package/src/FileAttachment/AttachmentEdit.tsx +14 -0
- package/src/FileAttachment/AttachmentListEdit.tsx +45 -0
- package/src/FileAttachment/AttachmentListView.tsx +12 -0
- package/src/FileAttachment/AttachmentScreen.tsx +21 -0
- package/src/FileAttachment/AttachmentView.tsx +14 -0
- package/src/FileAttachment/index.ts +7 -0
- package/src/FileAttachment/useFileAttachmentUrl.ts +15 -0
- package/src/FileAttachment/useFileUrl.ts +12 -0
- package/src/Form/EditFormAttachmentScreen.tsx +101 -0
- package/src/Form/FormEdit.tsx +15 -0
- package/src/Form/FormEditScreen.tsx +54 -0
- package/src/Form/FormListEdit.tsx +32 -0
- package/src/Form/FormListScreen.tsx +54 -0
- package/src/Form/FormListView.tsx +23 -0
- package/src/Form/FormSelectScreen.tsx +49 -0
- package/src/Form/FormSelectView.tsx +31 -0
- package/src/Form/FormView.tsx +11 -0
- package/src/Form/index.ts +9 -0
- package/src/FormAttachment/FormAttachmentEdit.tsx +72 -0
- package/src/FormAttachment/FormAttachmentEditScreen.tsx +21 -0
- package/src/FormAttachment/FormAttachmentListEdit.tsx +40 -0
- package/src/FormAttachment/FormAttachmentListScreen.tsx +62 -0
- package/src/FormAttachment/FormAttachmentListView.tsx +30 -0
- package/src/FormAttachment/FormAttachmentView.tsx +25 -0
- package/src/FormAttachment/index.ts +6 -0
- package/src/hooks/FileApi.ts +13 -0
- package/src/hooks/FileAttachmentApi.ts +11 -0
- package/src/hooks/FormApi.ts +11 -0
- package/src/hooks/FormAttachmentApi.ts +10 -0
- package/src/hooks/FormsContext.ts +29 -0
- package/src/hooks/createApi.ts +65 -0
- package/src/hooks/index.ts +10 -0
- package/src/hooks/useCreateBlankAttachment.ts +24 -0
- package/src/hooks/useCreateBlankForm.ts +12 -0
- package/src/hooks/useCreateBlankFormAttachment.ts +20 -0
- package/src/hooks/useParams.ts +9 -0
- package/src/index.ts +5 -0
- package/src/types/File2.ts +19 -0
- package/src/types/FileAttachment.ts +9 -0
- package/src/types/Form1.ts +17 -0
- package/src/types/FormAttachment.ts +19 -0
- package/src/types/index.ts +4 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type Form1 = {
|
|
2
|
+
id: string;
|
|
3
|
+
created: boolean;
|
|
4
|
+
createdAt: number;
|
|
5
|
+
createdBy: number | null;
|
|
6
|
+
name: string | null;
|
|
7
|
+
type: string | null;
|
|
8
|
+
schema: string | null;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export type Form1Get = Partial<Form1>;
|
|
12
|
+
|
|
13
|
+
export type Form1Set = Omit<Form1Get, "createdAt" | "createdBy">;
|
|
14
|
+
|
|
15
|
+
export type Form1Key = Pick<Form1Get, "id">;
|
|
16
|
+
|
|
17
|
+
export type Form1Filter = Form1Get;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type FormAttachment1 = {
|
|
2
|
+
id: string;
|
|
3
|
+
created: boolean;
|
|
4
|
+
createdAt: number;
|
|
5
|
+
createdBy: number | null;
|
|
6
|
+
FormId: string | null;
|
|
7
|
+
data: string | null;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export type FormAttachment1Get = Partial<FormAttachment1>;
|
|
11
|
+
|
|
12
|
+
export type FormAttachment1Set = Omit<
|
|
13
|
+
FormAttachment1Get,
|
|
14
|
+
"createdAt" | "createdBy"
|
|
15
|
+
>;
|
|
16
|
+
|
|
17
|
+
export type FormAttachment1Key = Pick<FormAttachment1Get, "id">;
|
|
18
|
+
|
|
19
|
+
export type FormAttachment1Filter = FormAttachment1Get;
|