@goodhood-web/nebenan-base 3.0.0-development.4 → 3.0.0-development.6

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,7 @@
1
+ type InfoModalProps = {
2
+ handleOpen: (open: boolean) => void;
3
+ id: number;
4
+ open: boolean;
5
+ };
6
+ export declare const InteractivePostInfo: ({ handleOpen, id, open }: InfoModalProps) => import("react/jsx-runtime").JSX.Element | undefined;
7
+ export {};
@@ -0,0 +1,11 @@
1
+ import { PostResponse } from '../../../../../../../api/src/lib/core';
2
+ export declare const getInfoData: (post: PostResponse) => {
3
+ author: {
4
+ name: string;
5
+ url: string;
6
+ };
7
+ createdAt: string;
8
+ hoodTitle: string;
9
+ status: string;
10
+ updatedAt: string;
11
+ };
@@ -0,0 +1,3 @@
1
+ import { PostInfoTypes } from './PostInfo.types';
2
+ declare const PostInfo: ({ handleOpen, isPublic, item, open }: PostInfoTypes) => import("react/jsx-runtime").JSX.Element;
3
+ export default PostInfo;
@@ -0,0 +1,17 @@
1
+ export interface AuthorInfoItemTypes {
2
+ name: string;
3
+ url: string;
4
+ }
5
+ export interface PostInfoItemTypes {
6
+ author: AuthorInfoItemTypes;
7
+ createdAt: string;
8
+ hoodTitle: string;
9
+ status: string;
10
+ updatedAt: string;
11
+ }
12
+ export interface PostInfoTypes {
13
+ handleOpen: (open: boolean) => void;
14
+ isPublic: boolean;
15
+ item: PostInfoItemTypes;
16
+ open: boolean;
17
+ }
@@ -0,0 +1,2 @@
1
+ import { InfoListTypes } from './InfoList.types';
2
+ export declare const InfoList: ({ post }: InfoListTypes) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { PostInfoItemTypes } from '../../PostInfo.types';
2
+ export interface InfoListTypes {
3
+ post: PostInfoItemTypes;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.0.0-development.4",
3
+ "version": "3.0.0-development.6",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",