Initial vibecoded proof of concept
This commit is contained in:
parent
74812459af
commit
461318a656
61 changed files with 13306 additions and 0 deletions
12
lua/notex/schema.lua
Normal file
12
lua/notex/schema.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
-- lua/notex/schema.lua
|
||||
local M = {}
|
||||
|
||||
function M.infer(doc)
|
||||
local inferred_schema = {}
|
||||
for key, value in pairs(doc.properties) do
|
||||
inferred_schema[key] = type(value)
|
||||
end
|
||||
return inferred_schema
|
||||
end
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue