fimo 2.7.1 → 2.8.0-staging.10
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/README.md +3 -3
- package/assets/agent-templates/_default/GOAL.md +2 -2
- package/assets/agent-templates/_default/capabilities.yaml +1 -0
- package/assets/agent-templates/broken-link-sweeper/capabilities.yaml +0 -1
- package/assets/agent-templates/content-translator/GOAL.md +1 -2
- package/assets/agent-templates/content-translator/capabilities.yaml +1 -2
- package/assets/agent-templates/post-deploy-check/capabilities.yaml +0 -1
- package/assets/agent-templates/seo-audit/capabilities.yaml +0 -1
- package/assets/skills/fimo/SKILL.md +11 -4
- package/assets/skills/fimo-cli/SKILL.md +16 -10
- package/assets/skills/fimo-cli/references/agents.md +35 -38
- package/assets/skills/fimo-cli/references/analytics.md +9 -1
- package/assets/skills/fimo-cli/references/branches.md +1 -1
- package/assets/skills/fimo-cli/references/credits.md +2 -2
- package/assets/skills/fimo-cli/references/deploy.md +1 -1
- package/assets/skills/fimo-cli/references/describe.md +2 -2
- package/assets/skills/fimo-cli/references/init.md +7 -7
- package/assets/skills/fimo-cli/references/integrations.md +2 -2
- package/assets/skills/fimo-cli/references/invite.md +1 -1
- package/assets/skills/fimo-cli/references/knowledge.md +48 -0
- package/assets/skills/fimo-cli/references/locales.md +1 -1
- package/assets/skills/fimo-cli/references/mcp.md +1 -1
- package/assets/skills/fimo-cli/references/project-vars-and-secrets.md +1 -1
- package/assets/skills/fimo-cli/references/projects.md +3 -3
- package/assets/skills/fimo-cli/references/schedules.md +1 -1
- package/assets/skills/fimo-cli/references/support.md +1 -1
- package/assets/skills/fimo-cli/references/update.md +9 -0
- package/assets/skills/fimo-code/SKILL.md +11 -0
- package/assets/skills/fimo-code/references/analytics.md +70 -0
- package/assets/skills/fimo-code/references/design.md +6 -6
- package/assets/skills/fimo-code/references/frameworks/vite-react.md +1 -1
- package/assets/skills/fimo-migration/SKILL.md +7 -0
- package/assets/skills/fimo-studio/SKILL.md +55 -38
- package/assets/skills/fimo-studio/references/agents.md +4 -4
- package/assets/skills/fimo-studio/references/ai-chat.md +24 -4
- package/assets/skills/fimo-studio/references/analytics.md +28 -0
- package/assets/skills/fimo-studio/references/billing-and-credits.md +13 -3
- package/assets/skills/fimo-studio/references/cms.md +2 -2
- package/assets/skills/fimo-studio/references/command-palette.md +5 -6
- package/assets/skills/fimo-studio/references/connections.md +10 -11
- package/assets/skills/fimo-studio/references/custom-domains.md +3 -3
- package/assets/skills/fimo-studio/references/drawing-and-wireframing.md +2 -4
- package/assets/skills/fimo-studio/references/knowledge.md +9 -0
- package/assets/skills/fimo-studio/references/media-library.md +5 -2
- package/assets/skills/fimo-studio/references/preview-and-responsive.md +6 -12
- package/assets/skills/fimo-studio/references/project-creation.md +24 -8
- package/assets/skills/fimo-studio/references/publish-and-deploy.md +8 -8
- package/assets/skills/fimo-studio/references/schedules.md +6 -7
- package/assets/skills/fimo-studio/references/seo-settings.md +2 -2
- package/assets/skills/fimo-studio/references/sharing-and-collaboration.md +11 -13
- package/assets/skills/fimo-studio/references/version-history.md +4 -4
- package/assets/skills/fimo-studio/references/visual-editing.md +9 -7
- package/assets/skills/fimo-studio/references/webhooks.md +10 -11
- package/dist/cli/bundle.json +1 -1
- package/dist/cli/index.js +106 -121
- package/dist/runtime/templates.d.ts +1 -2
- package/dist/runtime/templates.js +1 -3
- package/package.json +13 -13
- package/release.json +2 -2
- package/templates/astro/.fimo/config.json +0 -14
- package/templates/astro/AGENTS.md +1 -1
- package/templates/astro/package.json +4 -2
- package/templates/astro/src/layouts/Base.astro +2 -48
- package/templates/nextjs/package.json +7 -5
- package/templates/nextjs/src/app/layout.tsx +2 -0
- package/templates/react-router/package.json +5 -4
- package/templates/react-router/src/root.tsx +2 -0
- package/templates/sveltekit/package.json +4 -2
- package/templates/sveltekit/src/routes/+layout.svelte +2 -0
- package/templates/vite/package.json +7 -5
- package/templates/vite/src/LocaleLayout.tsx +2 -0
- package/assets/skills/fimo-cli/references/inbox.md +0 -86
- package/assets/skills/fimo-studio/references/code-editor.md +0 -65
- package/templates/astro/src/components/ProjectOverview.astro +0 -45
- package/templates/astro/src/pages/[locale]/projects/[slug].astro +0 -38
- package/templates/astro/src/pages/[locale]/projects/index.astro +0 -19
- package/templates/astro/src/pages/projects/[slug].astro +0 -31
- package/templates/astro/src/pages/projects/index.astro +0 -13
- package/templates/astro/src/schemas/Project.json +0 -9
- package/templates/astro/src/schemas/Project.ts +0 -29
- package/templates/astro/src/schemas/Project.types.ts +0 -70
- package/templates/astro/src/schemas/SiteSettings.json +0 -10
- package/templates/astro/src/schemas/SiteSettings.ts +0 -31
- package/templates/astro/src/schemas/SiteSettings.types.ts +0 -69
- package/templates/react-router/src/pages/Privacy.tsx +0 -79
- package/templates/react-router/src/pages/Terms.tsx +0 -48
- package/templates/react-router/src/pages/legal/LegalPage.tsx +0 -42
- package/templates/welcome/manifest.json +0 -655
- package/templates/welcome/media/analytics-overview.avif +0 -0
- package/templates/welcome/media/autonomous-loop.avif +0 -0
- package/templates/welcome/media/editable-preview.avif +0 -0
- package/templates/welcome/media/media-library.avif +0 -0
- package/templates/welcome/media/slack-teams.avif +0 -0
- package/templates/welcome/template/.fimo/agents/welcome-guide/GOAL.md +0 -12
- package/templates/welcome/template/.fimo/agents/welcome-guide/capabilities.yaml +0 -3
- package/templates/welcome/template/.fimo/agents/welcome-guide/config.yaml +0 -8
- package/templates/welcome/template/.fimo/config.json +0 -52
- package/templates/welcome/template/src/font.css +0 -60
- package/templates/welcome/template/src/pages/ArticleDetail.tsx +0 -104
- package/templates/welcome/template/src/pages/Index.tsx +0 -36
- package/templates/welcome/template/src/pages/SiteContent.tsx +0 -674
- package/templates/welcome/template/src/pages/fallback-content.ts +0 -152
- package/templates/welcome/template/src/routes.ts +0 -9
- package/templates/welcome/template/src/schemas/Article.json +0 -34
- package/templates/welcome/template/src/schemas/Article.ts +0 -54
- package/templates/welcome/template/src/schemas/Article.types.ts +0 -93
- package/templates/welcome/template/src/schemas/Author.json +0 -17
- package/templates/welcome/template/src/schemas/Author.ts +0 -51
- package/templates/welcome/template/src/schemas/Author.types.ts +0 -54
- package/templates/welcome/template/src/schemas/Category.json +0 -17
- package/templates/welcome/template/src/schemas/Category.ts +0 -51
- package/templates/welcome/template/src/schemas/Category.types.ts +0 -54
- package/templates/welcome/template/src/schemas/HomePage.json +0 -110
- package/templates/welcome/template/src/schemas/HomePage.ts +0 -22
- package/templates/welcome/template/src/schemas/HomePage.types.ts +0 -116
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"uid": "HomePage",
|
|
3
|
-
"name": "Home page",
|
|
4
|
-
"isSingleton": true,
|
|
5
|
-
"i18n": {
|
|
6
|
-
"enabled": false
|
|
7
|
-
},
|
|
8
|
-
"fields": {
|
|
9
|
-
"title": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"required": true
|
|
12
|
-
},
|
|
13
|
-
"intro": {
|
|
14
|
-
"type": "richtext",
|
|
15
|
-
"required": true
|
|
16
|
-
},
|
|
17
|
-
"heroImage": {
|
|
18
|
-
"type": "media",
|
|
19
|
-
"required": true
|
|
20
|
-
},
|
|
21
|
-
"heroImageHint": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"required": true
|
|
24
|
-
},
|
|
25
|
-
"startLabel": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"required": true
|
|
28
|
-
},
|
|
29
|
-
"tourTitle": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"required": true
|
|
32
|
-
},
|
|
33
|
-
"tourIntro": {
|
|
34
|
-
"type": "text",
|
|
35
|
-
"required": true
|
|
36
|
-
},
|
|
37
|
-
"steps": {
|
|
38
|
-
"type": "blocks",
|
|
39
|
-
"min": 4,
|
|
40
|
-
"max": 4,
|
|
41
|
-
"schema": {
|
|
42
|
-
"fields": {
|
|
43
|
-
"number": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"required": true
|
|
46
|
-
},
|
|
47
|
-
"title": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"required": true
|
|
50
|
-
},
|
|
51
|
-
"body": {
|
|
52
|
-
"type": "text",
|
|
53
|
-
"required": true
|
|
54
|
-
},
|
|
55
|
-
"highlight": {
|
|
56
|
-
"type": "text"
|
|
57
|
-
},
|
|
58
|
-
"actionLabel": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"required": true
|
|
61
|
-
},
|
|
62
|
-
"action": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"required": true
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"articlesTitle": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"required": true
|
|
72
|
-
},
|
|
73
|
-
"articlesIntro": {
|
|
74
|
-
"type": "text",
|
|
75
|
-
"required": true
|
|
76
|
-
},
|
|
77
|
-
"migrationTitle": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"required": true
|
|
80
|
-
},
|
|
81
|
-
"migrationBody": {
|
|
82
|
-
"type": "richtext",
|
|
83
|
-
"required": true
|
|
84
|
-
},
|
|
85
|
-
"migrationPrompt": {
|
|
86
|
-
"type": "text",
|
|
87
|
-
"required": true
|
|
88
|
-
},
|
|
89
|
-
"buildTitle": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"required": true
|
|
92
|
-
},
|
|
93
|
-
"buildBody": {
|
|
94
|
-
"type": "richtext",
|
|
95
|
-
"required": true
|
|
96
|
-
},
|
|
97
|
-
"closingTitle": {
|
|
98
|
-
"type": "string",
|
|
99
|
-
"required": true
|
|
100
|
-
},
|
|
101
|
-
"closingBody": {
|
|
102
|
-
"type": "text",
|
|
103
|
-
"required": true
|
|
104
|
-
},
|
|
105
|
-
"footerNote": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"required": true
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by `fimo` from src/schemas/HomePage.json - DO NOT EDIT.
|
|
2
|
-
// Change content fields in the schema, then run `fimo validate`.
|
|
3
|
-
// Runtime implementation lives in the project-local fimo-react package export.
|
|
4
|
-
import { createSingletonClient } from "fimo-react";
|
|
5
|
-
import type { SingletonContentClient } from "fimo-react";
|
|
6
|
-
import type { ContentSchema } from "fimo-react";
|
|
7
|
-
|
|
8
|
-
import schema from "./HomePage.json";
|
|
9
|
-
import type { HomePage, HomePageInput } from "./HomePage.types";
|
|
10
|
-
|
|
11
|
-
export type { HomePage, HomePageFields, HomePageFimoMeta, HomePageInput, HomePagePopulate, HomePageQuery, HomePageReferences, HomePageResult, HomePageSort, HomePageWhere } from "./HomePage.types";
|
|
12
|
-
|
|
13
|
-
const client: SingletonContentClient<HomePage, HomePageInput> = createSingletonClient<
|
|
14
|
-
HomePage,
|
|
15
|
-
HomePageInput
|
|
16
|
-
>({
|
|
17
|
-
schema: schema as unknown as ContentSchema,
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
export const { get, update, useGet, useSuspenseGet, useUpdate, wrapWithSource, meta } = client;
|
|
21
|
-
|
|
22
|
-
export default client;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED ⚠️ – do not edit by hand
|
|
2
|
-
import {
|
|
3
|
-
type Fields,
|
|
4
|
-
type FimoBoolean,
|
|
5
|
-
type FimoMedia,
|
|
6
|
-
type FimoPolymorphicReference,
|
|
7
|
-
type FimoReference,
|
|
8
|
-
type FimoRichText,
|
|
9
|
-
type FimoRichTextContent,
|
|
10
|
-
type FimoString,
|
|
11
|
-
type Populate,
|
|
12
|
-
type PopulatedResult,
|
|
13
|
-
type ProjectedWithPopulate,
|
|
14
|
-
type Query,
|
|
15
|
-
type Sort,
|
|
16
|
-
type Where,
|
|
17
|
-
type WithReferences,
|
|
18
|
-
} from 'fimo-react';
|
|
19
|
-
|
|
20
|
-
/*───────────────────────────────────────────────────────────────*/
|
|
21
|
-
/* ──────────── 📄 Type definitions ──────────── */
|
|
22
|
-
/*───────────────────────────────────────────────────────────────*/
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* HomePage entity interface
|
|
26
|
-
*/
|
|
27
|
-
export interface HomePageFimoMeta {
|
|
28
|
-
contentType: 'HomePage';
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface HomePage extends WithReferences<HomePageReferences> {
|
|
32
|
-
id: string;
|
|
33
|
-
entryId: string;
|
|
34
|
-
documentId: string;
|
|
35
|
-
slug: FimoString;
|
|
36
|
-
locale?: string;
|
|
37
|
-
createdAt: string;
|
|
38
|
-
updatedAt: string;
|
|
39
|
-
__fimo: HomePageFimoMeta;
|
|
40
|
-
title: FimoString;
|
|
41
|
-
intro: FimoRichText;
|
|
42
|
-
heroImage: FimoMedia;
|
|
43
|
-
heroImageHint: FimoString;
|
|
44
|
-
startLabel: FimoString;
|
|
45
|
-
tourTitle: FimoString;
|
|
46
|
-
tourIntro: FimoString;
|
|
47
|
-
steps: {
|
|
48
|
-
_key: string;
|
|
49
|
-
number: FimoString;
|
|
50
|
-
title: FimoString;
|
|
51
|
-
body: FimoString;
|
|
52
|
-
highlight?: FimoString;
|
|
53
|
-
actionLabel: FimoString;
|
|
54
|
-
action: FimoString;
|
|
55
|
-
}[];
|
|
56
|
-
articlesTitle: FimoString;
|
|
57
|
-
articlesIntro: FimoString;
|
|
58
|
-
migrationTitle: FimoString;
|
|
59
|
-
migrationBody: FimoRichText;
|
|
60
|
-
migrationPrompt: FimoString;
|
|
61
|
-
buildTitle: FimoString;
|
|
62
|
-
buildBody: FimoRichText;
|
|
63
|
-
closingTitle: FimoString;
|
|
64
|
-
closingBody: FimoString;
|
|
65
|
-
footerNote: FimoString;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface HomePageInput {
|
|
69
|
-
slug?: string;
|
|
70
|
-
title: string;
|
|
71
|
-
intro: FimoRichTextContent;
|
|
72
|
-
heroImage: Pick<FimoMedia, 'url' | 'alt' | 'name' | 'mime' | 'width' | 'height'>;
|
|
73
|
-
heroImageHint: string;
|
|
74
|
-
startLabel: string;
|
|
75
|
-
tourTitle: string;
|
|
76
|
-
tourIntro: string;
|
|
77
|
-
steps: {
|
|
78
|
-
_key?: string;
|
|
79
|
-
number: string;
|
|
80
|
-
title: string;
|
|
81
|
-
body: string;
|
|
82
|
-
highlight?: string;
|
|
83
|
-
actionLabel: string;
|
|
84
|
-
action: string;
|
|
85
|
-
}[];
|
|
86
|
-
articlesTitle: string;
|
|
87
|
-
articlesIntro: string;
|
|
88
|
-
migrationTitle: string;
|
|
89
|
-
migrationBody: FimoRichTextContent;
|
|
90
|
-
migrationPrompt: string;
|
|
91
|
-
buildTitle: string;
|
|
92
|
-
buildBody: FimoRichTextContent;
|
|
93
|
-
closingTitle: string;
|
|
94
|
-
closingBody: string;
|
|
95
|
-
footerNote: string;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export type HomePageReferences = Record<never, never>;
|
|
99
|
-
|
|
100
|
-
export type HomePagePopulate = Populate<HomePage>;
|
|
101
|
-
|
|
102
|
-
/*───────────────────────────────────────────────────────────────*/
|
|
103
|
-
/* ──────────── 🔎 Query types ──────────── */
|
|
104
|
-
/*───────────────────────────────────────────────────────────────*/
|
|
105
|
-
|
|
106
|
-
export type HomePageWhere = Where<HomePage>;
|
|
107
|
-
export type HomePageSort = Sort<HomePage>;
|
|
108
|
-
export type HomePageFields = Fields<HomePage>;
|
|
109
|
-
export type HomePageQuery<
|
|
110
|
-
TFields extends HomePageFields | undefined = HomePageFields | undefined,
|
|
111
|
-
TPopulate extends HomePagePopulate | undefined = HomePagePopulate | undefined,
|
|
112
|
-
> = Query<HomePage, TFields, TPopulate>;
|
|
113
|
-
export type HomePageResult<
|
|
114
|
-
TFields extends HomePageFields | undefined = undefined,
|
|
115
|
-
TPopulate extends HomePagePopulate | undefined = undefined,
|
|
116
|
-
> = ProjectedWithPopulate<PopulatedResult<HomePage, TPopulate>, TFields, TPopulate>;
|