diff --git a/frontend/bindings/app/internal/services/authorservice.ts b/frontend/bindings/app/internal/services/authorservice.ts index 6ec3d81..b6380f1 100644 --- a/frontend/bindings/app/internal/services/authorservice.ts +++ b/frontend/bindings/app/internal/services/authorservice.ts @@ -20,7 +20,7 @@ export function Count(): Promise & { cancel(): void } { export function Create(item: $models.Author): Promise<$models.Author> & { cancel(): void } { let $resultPromise = $Call.ByID(3684602449, item) as any; - let $typingPromise = $resultPromise.then(($result) => { + let $typingPromise = $resultPromise.then(($result: any) => { return $$createType0($result); }) as any; $typingPromise.cancel = $resultPromise.cancel.bind($resultPromise); @@ -34,7 +34,7 @@ export function Delete(id: number): Promise & { cancel(): void } { export function GetAll(): Promise<($models.Author | null)[]> & { cancel(): void } { let $resultPromise = $Call.ByID(3248293926) as any; - let $typingPromise = $resultPromise.then(($result) => { + let $typingPromise = $resultPromise.then(($result: any) => { return $$createType2($result); }) as any; $typingPromise.cancel = $resultPromise.cancel.bind($resultPromise); @@ -43,7 +43,7 @@ export function GetAll(): Promise<($models.Author | null)[]> & { cancel(): void export function GetById(id: number): Promise<$models.Author | null> & { cancel(): void } { let $resultPromise = $Call.ByID(1703016211, id) as any; - let $typingPromise = $resultPromise.then(($result) => { + let $typingPromise = $resultPromise.then(($result: any) => { return $$createType1($result); }) as any; $typingPromise.cancel = $resultPromise.cancel.bind($resultPromise); @@ -52,7 +52,7 @@ export function GetById(id: number): Promise<$models.Author | null> & { cancel() export function Update(item: $models.Author): Promise<$models.Author> & { cancel(): void } { let $resultPromise = $Call.ByID(2240704960, item) as any; - let $typingPromise = $resultPromise.then(($result) => { + let $typingPromise = $resultPromise.then(($result: any) => { return $$createType0($result); }) as any; $typingPromise.cancel = $resultPromise.cancel.bind($resultPromise); diff --git a/frontend/bindings/app/internal/services/postservice.ts b/frontend/bindings/app/internal/services/postservice.ts index 04dec58..72d6196 100644 --- a/frontend/bindings/app/internal/services/postservice.ts +++ b/frontend/bindings/app/internal/services/postservice.ts @@ -20,7 +20,7 @@ export function Count(): Promise & { cancel(): void } { export function Create(item: $models.Post): Promise<$models.Post> & { cancel(): void } { let $resultPromise = $Call.ByID(1443399856, item) as any; - let $typingPromise = $resultPromise.then(($result) => { + let $typingPromise = $resultPromise.then(($result: any) => { return $$createType0($result); }) as any; $typingPromise.cancel = $resultPromise.cancel.bind($resultPromise); @@ -39,7 +39,7 @@ export function ExportToExcel(): Promise & { cancel(): void } { export function GetAll(): Promise<($models.Post | null)[]> & { cancel(): void } { let $resultPromise = $Call.ByID(65691059) as any; - let $typingPromise = $resultPromise.then(($result) => { + let $typingPromise = $resultPromise.then(($result: any) => { return $$createType2($result); }) as any; $typingPromise.cancel = $resultPromise.cancel.bind($resultPromise); @@ -48,7 +48,7 @@ export function GetAll(): Promise<($models.Post | null)[]> & { cancel(): void } export function GetById(id: number): Promise<$models.Post | null> & { cancel(): void } { let $resultPromise = $Call.ByID(4074736792, id) as any; - let $typingPromise = $resultPromise.then(($result) => { + let $typingPromise = $resultPromise.then(($result: any) => { return $$createType1($result); }) as any; $typingPromise.cancel = $resultPromise.cancel.bind($resultPromise); @@ -57,7 +57,7 @@ export function GetById(id: number): Promise<$models.Post | null> & { cancel(): export function Update(item: $models.Post): Promise<$models.Post> & { cancel(): void } { let $resultPromise = $Call.ByID(137798821, item) as any; - let $typingPromise = $resultPromise.then(($result) => { + let $typingPromise = $resultPromise.then(($result: any) => { return $$createType0($result); }) as any; $typingPromise.cancel = $resultPromise.cancel.bind($resultPromise); diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 6005d1f..471e437 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,12 +1,12 @@ diff --git a/frontend/src/author/AuthorScheme.vue b/frontend/src/author/AuthorScheme.vue index 7805e05..d02a00a 100644 --- a/frontend/src/author/AuthorScheme.vue +++ b/frontend/src/author/AuthorScheme.vue @@ -15,10 +15,10 @@ const service = new Service onMounted(async () => { (scheme as any).Posts.type!.nested!.values = await postService.readAll() - console.log(scheme) }) const scheme: Scheme = reactive({ + entityId: "AuthorId", Id: { hidden: true, type: { diff --git a/frontend/src/components/checkboxes/Checkbox.vue b/frontend/src/components/checkboxes/Checkbox.vue new file mode 100644 index 0000000..56c795c --- /dev/null +++ b/frontend/src/components/checkboxes/Checkbox.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/components/selects/MultiSelect.vue b/frontend/src/components/selects/MultiSelect.vue new file mode 100644 index 0000000..be9f24a --- /dev/null +++ b/frontend/src/components/selects/MultiSelect.vue @@ -0,0 +1,44 @@ + + + \ No newline at end of file diff --git a/frontend/src/post/PostScheme.vue b/frontend/src/post/PostScheme.vue index 8ea9933..eb234a0 100644 --- a/frontend/src/post/PostScheme.vue +++ b/frontend/src/post/PostScheme.vue @@ -19,7 +19,7 @@ onMounted(async () => { }) const scheme: Scheme = reactive({ - + entityId: 'PostId', Id: { hidden: true, type: { diff --git a/frontend/src/table/DialogWindow.vue b/frontend/src/table/DialogWindow.vue index c00d71b..0f1a8c5 100644 --- a/frontend/src/table/DialogWindow.vue +++ b/frontend/src/table/DialogWindow.vue @@ -1,11 +1,12 @@ @@ -47,14 +48,13 @@ const emits = defineEmits<{ v-else-if="props.scheme[key].type?.primitive === 'string'" />