Skip to content

Instantly share code, notes, and snippets.

View rikukissa's full-sized avatar
🍔

Riku Rouvila rikukissa

🍔
View GitHub Profile
@rikukissa
rikukissa / location-versioning-2.1.md
Last active July 9, 2026 11:18
Versioned admin structure v1

Location & Administrative-Area Versioning — First Version (2.1)

Status: Draft for review Storage decision: Versions are stored as an append-only JSONB array on the existing identity row — not in separate version tables. See §4. Relationship to the full epic: This is the minimal, shippable slice of the "versioning of the administrative structure and locations" epic. It lands the full effective-dated data model and as-at resolution, but defers all lineage (split, merge, delegation, predecessor/successor), makes no automatic reassignment of users, and never migrates records — a record keeps its original location references for life.

alert("works")
openapi: 3.0.0
info:
title: User API
version: 1.0.0
description: A simple user API
servers:
- url: https://api.example.com
paths:
/events:
get:
export function useEventAction<P extends DecorateMutationProcedure<any>>(
trpcProcedure: P
) {
const eventConfigurations = useEventConfigurations()
const allOptions = {
...trpcProcedure.mutationOptions(),
...queryClient.getMutationDefaults(trpcProcedure.mutationKey())
}
@rikukissa
rikukissa / diff-copy-files.ipynb
Created November 22, 2024 12:42
Get the list of changed copy items
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[core]
quotepath = false
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[color]
ui = true
[color "branch"]
current = yellow black
local = yellow
@rikukissa
rikukissa / repos.md
Last active September 10, 2023 14:12
Should I have my UI and my API in separate repositories?

Should I have my UI and my API in separate repositories?


Keep the number of repositories as small as possible.
You can easily start with just one repository and move some code to another when needed. This is to make your life within the project as easy as possible. As most increments require changes both in the API and the UI, it makes sense to treat them as one


@rikukissa
rikukissa / POST.md
Last active July 21, 2019 20:03
No Code UI
title Rakenna oma mobiilisovellus. Ilman koodia!
slug no-code-ui
createdAt 2019-07-18T20:04:29Z
language fi
preview Nettisivun tai mobiilisovelluksen toteuttamiseen ei aina tarvita koodaria.
comments false

Rakenna oma mobiilisovellus. Ilman koodia!