Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
{{ message }}
team-mirai
/
marumie
Public
Notifications
You must be signed in to change notification settings
Fork
81
Star
698
Code
Issues
14
Pull requests
17
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Collapse file tree
Files
develop
Search this repository
(forward slash)
forward slash
/
.claude
.github
admin
data
docs
prisma
shared
accounting
models
political-organization.ts
transaction.ts
supabase
webapp
.coderabbit.yml
.dependency-cruiser.cjs
.env.example
.gitignore
.mcp.json
.wtp.yml
CLA.md
CLAUDE.md
CODEOWNERS
LICENSE
README.md
SECURITY.md
biome.json
knip.json
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
renovate.json
tsconfig.json
Breadcrumbs
marumie
/
shared
/
models
/
transaction.ts
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
jujunjun110
Update: non cash journal
Sep 28, 2025
2cecb4e
·
Sep 28, 2025
History
History
Open commit details
History
37 lines (35 loc) · 972 Bytes
·
Breadcrumbs
marumie
/
shared
/
models
/
transaction.ts
Copy path
Top
File metadata and controls
Code
Blame
37 lines (35 loc) · 972 Bytes
·
Raw
Copy raw file
Download raw file
You must be signed in to make or propose changes
More edit options
Open symbols panel
Edit and raw actions
// DB保存用のTransactionType (invalidは含まない) export type TransactionType = | "income" // 現金収入 | "expense" // 現金支出 | "non_cash_journal" // 非現金仕訳 | "offset_income" | "offset_expense"; export interface Transaction { id: string; political_organization_id: string; transaction_no: string; transaction_date: Date; financial_year: number; transaction_type: TransactionType; debit_account: string; debit_sub_account?: string; debit_department?: string; debit_partner?: string; debit_tax_category?: string; debit_amount: number; credit_account: string; credit_sub_account?: string; credit_department?: string; credit_partner?: string; credit_tax_category?: string; credit_amount: number; description?: string; friendly_category: string; memo?: string; category_key: string; label: string; hash: string; created_at: Date; updated_at: Date; }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// DB保存用のTransactionType (invalidは含まない)
export
type
TransactionType
=
|
"income"
// 現金収入
|
"expense"
// 現金支出
|
"non_cash_journal"
// 非現金仕訳
|
"offset_income"
|
"offset_expense"
;
export
interface
Transaction
{
id
:
string
;
political_organization_id
:
string
;
transaction_no
:
string
;
transaction_date
:
Date
;
financial_year
:
number
;
transaction_type
:
TransactionType
;
debit_account
:
string
;
debit_sub_account
?:
string
;
debit_department
?:
string
;
debit_partner
?:
string
;
debit_tax_category
?:
string
;
debit_amount
:
number
;
credit_account
:
string
;
credit_sub_account
?:
string
;
credit_department
?:
string
;
credit_partner
?:
string
;
credit_tax_category
?:
string
;
credit_amount
:
number
;
description
?:
string
;
friendly_category
:
string
;
memo
?:
string
;
category_key
:
string
;
label
:
string
;
hash
:
string
;
created_at
:
Date
;
updated_at
:
Date
;
}
While the code is focused, press Alt+F1 for a menu of operations.