Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ docs/
# Local-only Supabase config for the web sample
samples/passkey-web/src/wasmJsMain/resources/config.js

# Codegen credentials (kept local, never committed). The credentials are passed via
# SUPABASE_URL / SUPABASE_KEY env vars; this guards any stray files. The *generated*
# models contain no secrets (just table structure) and ARE committed — see
# samples/chat-compose/.../generated/SupabaseModels.kt.
codegen.local.properties

# Local-only JVM desktop demo app — kept on this machine, never pushed to GitHub
samples/desktop-demo/
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Generated from the Supabase schema. Do not edit by hand.
package io.github.androidpoet.supabase.sample.chat.generated

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlin.String

@Serializable
public data class E2eMessages(
public val id: String,
public val body: String,
@SerialName("created_at")
public val createdAt: String,
)

@Serializable
public data class ChatRooms(
public val id: String,
public val name: String,
@SerialName("created_at")
public val createdAt: String,
)

@Serializable
public data class ChatMessages(
public val id: String,
@SerialName("room_id")
public val roomId: String,
@SerialName("sender_id")
public val senderId: String? = null,
@SerialName("sender_name")
public val senderName: String,
public val body: String,
@SerialName("created_at")
public val createdAt: String,
)
Loading