minor
This commit is contained in:
		@@ -22,7 +22,7 @@
 | 
				
			|||||||
		me?: { id: string; do: any; data: any };
 | 
							me?: { id: string; do: any; data: any };
 | 
				
			||||||
		slot?: string;
 | 
							slot?: string;
 | 
				
			||||||
		component?: string;
 | 
							component?: string;
 | 
				
			||||||
		store?: Record<string, any>;
 | 
							data?: Record<string, any>;
 | 
				
			||||||
		children?: IComposer[];
 | 
							children?: IComposer[];
 | 
				
			||||||
		machine?: any;
 | 
							machine?: any;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,18 +3,23 @@ import { writable } from 'svelte/store';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
export const queryTodos = writable([
 | 
					export const queryTodos = writable([
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        id: "id1",
 | 
					        id: "1",
 | 
				
			||||||
        text: "todo 1",
 | 
					        text: "todo 1",
 | 
				
			||||||
        type: "x"
 | 
					        type: "x"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        id: "id2",
 | 
					        id: "2",
 | 
				
			||||||
        text: "todo 2",
 | 
					        text: "todo 2",
 | 
				
			||||||
        type: "x"
 | 
					        type: "x"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        id: "id3",
 | 
					        id: "3",
 | 
				
			||||||
        text: "todo 3",
 | 
					        text: "todo 3",
 | 
				
			||||||
        type: "z"
 | 
					        type: "z"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        id: "4",
 | 
				
			||||||
 | 
					        text: "todo 4",
 | 
				
			||||||
 | 
					        type: "z"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
]);
 | 
					]);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,15 +5,13 @@
 | 
				
			|||||||
		id: 'messages',
 | 
							id: 'messages',
 | 
				
			||||||
		layout: {
 | 
							layout: {
 | 
				
			||||||
			areas: `
 | 
								areas: `
 | 
				
			||||||
				"top top"
 | 
					 | 
				
			||||||
				"main main"
 | 
									"main main"
 | 
				
			||||||
				"footer footer";
 | 
									"footer footer";
 | 
				
			||||||
			`,
 | 
								`,
 | 
				
			||||||
			columns: '1fr 300px',
 | 
								columns: '1fr 300px',
 | 
				
			||||||
			rows: 'auto 1fr auto'
 | 
								rows: ' 1fr auto'
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		children: [
 | 
							children: [
 | 
				
			||||||
			{ id: 'appbar', component: 'AppBar', slot: 'top' },
 | 
					 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				id: 'me',
 | 
									id: 'me',
 | 
				
			||||||
				component: 'Messages',
 | 
									component: 'Messages',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,16 +15,11 @@
 | 
				
			|||||||
			rows: '1fr'
 | 
								rows: '1fr'
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		children: [
 | 
							children: [
 | 
				
			||||||
			{
 | 
					 | 
				
			||||||
				id: 'recipietest',
 | 
					 | 
				
			||||||
				component: 'Recipies',
 | 
					 | 
				
			||||||
				slot: 'top'
 | 
					 | 
				
			||||||
			},
 | 
					 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				id: 'bottommessage',
 | 
									id: 'bottommessage',
 | 
				
			||||||
				component: 'Messages',
 | 
									component: 'Messages',
 | 
				
			||||||
				slot: 'bottom',
 | 
									slot: 'bottom'
 | 
				
			||||||
				map: { messages: '@data:queryMessages' }
 | 
									// map: { messages: '@data:queryMessages' }
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		]
 | 
							]
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user