Bump the Cloudron manifest to 0.1.11 and fix typecheck errors that blocked the production image build.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"title": "Community Rule",
|
"title": "Community Rule",
|
||||||
"author": "MEDLab",
|
"author": "MEDLab",
|
||||||
"description": "Community governance and rule-building app",
|
"description": "Community governance and rule-building app",
|
||||||
"version": "0.1.10",
|
"version": "0.1.11",
|
||||||
"httpPort": 3000,
|
"httpPort": 3000,
|
||||||
"healthCheckPath": "/api/health",
|
"healthCheckPath": "/api/health",
|
||||||
"memoryLimit": 805306368,
|
"memoryLimit": 805306368,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export default {
|
|||||||
|
|
||||||
## Animations & Transitions
|
## Animations & Transitions
|
||||||
|
|
||||||
- **Opacity**: Partner logos render at 60% opacity to match Figma `Section / Logo Wall`.
|
- **Opacity**: Partner logos render at 60% opacity to match Figma \`Section / Logo Wall\`.
|
||||||
|
|
||||||
## Props
|
## Props
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,12 @@ const transactionMock = vi.fn();
|
|||||||
const publishedRuleCreateMock = vi.fn();
|
const publishedRuleCreateMock = vi.fn();
|
||||||
const publishedRuleDeleteMock = vi.fn();
|
const publishedRuleDeleteMock = vi.fn();
|
||||||
const sendInviteMock = vi.fn();
|
const sendInviteMock = vi.fn();
|
||||||
const rateLimitKeyMock = vi.fn(() => ({ ok: true as const }));
|
const rateLimitKeyMock = vi.fn(
|
||||||
|
(
|
||||||
|
_key: string,
|
||||||
|
_minIntervalMs: number,
|
||||||
|
): { ok: true } | { ok: false; retryAfterMs: number } => ({ ok: true }),
|
||||||
|
);
|
||||||
const issueGuestRuleClaimCookieMock = vi.fn();
|
const issueGuestRuleClaimCookieMock = vi.fn();
|
||||||
|
|
||||||
vi.mock("../../lib/server/env", () => ({
|
vi.mock("../../lib/server/env", () => ({
|
||||||
@@ -19,7 +24,8 @@ vi.mock("../../lib/server/session", () => ({
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
vi.mock("../../lib/server/rateLimit", () => ({
|
vi.mock("../../lib/server/rateLimit", () => ({
|
||||||
rateLimitKey: (...args: unknown[]) => rateLimitKeyMock(...args),
|
rateLimitKey: (key: string, minIntervalMs: number) =>
|
||||||
|
rateLimitKeyMock(key, minIntervalMs),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
vi.mock("../../lib/server/mail", () => ({
|
vi.mock("../../lib/server/mail", () => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user