fix calendar: table params for Lua functions + remove duplicate header
- CalendarPluginPage.svelte: removed <h2>pluginName — pageLabel</h2> (AppHeader already shows title) - main.lua: all API functions now accept a single table parameter: - get_events(params) — reads params.start_date or params.start - get_event(params) — reads params.id - update_event(params) — reads params.id + mutable fields - delete_event(params) — reads params.id - get_expanded_events(params), get_calendar_events(params) — same - get_events_day(params) — reads params.date - create_event(opts) — already worked, no change - Backward compatible: get_events accepts both start/start_date and end/end_date keys
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -19,8 +19,8 @@
|
||||
background: #13131f;
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="/assets/main-CMk8guXZ.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/main-BecQca8b.css">
|
||||
<script type="module" crossorigin src="/assets/main-Ch0NvF0Q.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/main-BdKe9T_7.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user