feat: add graphify plugin and documentation
Build and Push Docker Image / build (push) Failing after 1m35s
Build and Push Docker Image / build (push) Failing after 1m35s
- Introduced a new graphify OpenCode plugin to remind users about the knowledge graph before executing bash commands. - Added AGENTS.md for agent guidance, including development commands, environment setup, Docker deployment, code structure, conventions, and testing instructions. - Created opencode.json to configure the graphify plugin and superpowers. - Updated tests to improve type safety and added missing imports in test files. - Added .graphify_uncached.txt to track relevant files for graphify.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { describe, it, expect } from "vitest";
|
||||
import { Decimal } from "@prisma/client";
|
||||
|
||||
describe("Buchungen - Double-Entry Bookkeeping Logic", () => {
|
||||
describe("TransactionAccount Enum", () => {
|
||||
@@ -32,7 +31,7 @@ describe("Buchungen - Double-Entry Bookkeeping Logic", () => {
|
||||
it("should calculate correct sign for EINLAGE (positive)", () => {
|
||||
// EINLAGE increases the company's assets
|
||||
const amount = 1000;
|
||||
const type = "EINLAGE";
|
||||
const type: "EINLAGE" | "ENTNAHME" = "EINLAGE";
|
||||
|
||||
// In German bookkeeping: EINLAGE is recorded as positive (credit to equity)
|
||||
const signedAmount = type === "EINLAGE" ? amount : -amount;
|
||||
@@ -42,7 +41,7 @@ describe("Buchungen - Double-Entry Bookkeeping Logic", () => {
|
||||
it("should calculate correct sign for ENTNAHME (negative)", () => {
|
||||
// ENTNAHME decreases the company's assets
|
||||
const amount = 500;
|
||||
const type = "ENTNAHME";
|
||||
const type: "EINLAGE" | "ENTNAHME" = "ENTNAHME";
|
||||
|
||||
// In German bookkeeping: ENTNAHME is recorded as negative (debit to equity)
|
||||
const signedAmount = type === "EINLAGE" ? amount : -amount;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { describe, it, expect } from "vitest";
|
||||
|
||||
import {
|
||||
currencySchema,
|
||||
taxRateSchema,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { describe, it, expect } from "vitest";
|
||||
|
||||
import {
|
||||
TAX_RATES,
|
||||
calcItemAmounts,
|
||||
|
||||
Reference in New Issue
Block a user