@akanjs/cli 0.9.60-canary.6 → 0.9.60-canary.8
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.
|
@@ -33,7 +33,7 @@ import { Link } from "@akanjs/ui";
|
|
|
33
33
|
export const Card = ({ ${dict.model}, href }: ModelProps<"${dict.model}", cnst.Light${dict.Model}>) => {
|
|
34
34
|
const { l } = usePage();
|
|
35
35
|
return (
|
|
36
|
-
<Link href={href} className="
|
|
36
|
+
<Link href={href} className="w-full">
|
|
37
37
|
<div>{l("${dict.model}.id")}:{${dict.model}.id}</div>
|
|
38
38
|
</Link>
|
|
39
39
|
);
|
|
@@ -24,7 +24,6 @@ __export(model_constant_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(model_constant_exports);
|
|
25
25
|
function getContent(scanInfo, dict) {
|
|
26
26
|
return `
|
|
27
|
-
import { Int } from "@akanjs/base";
|
|
28
27
|
import { via } from "@akanjs/constant";
|
|
29
28
|
|
|
30
29
|
export class ${dict.Model}Input extends via((field) => ({
|
|
@@ -10,7 +10,7 @@ import { Link } from "@akanjs/ui";
|
|
|
10
10
|
export const Card = ({ ${dict.model}, href }: ModelProps<"${dict.model}", cnst.Light${dict.Model}>) => {
|
|
11
11
|
const { l } = usePage();
|
|
12
12
|
return (
|
|
13
|
-
<Link href={href} className="
|
|
13
|
+
<Link href={href} className="w-full">
|
|
14
14
|
<div>{l("${dict.model}.id")}:{${dict.model}.id}</div>
|
|
15
15
|
</Link>
|
|
16
16
|
);
|