nit schedule_ prefix

This commit is contained in:
Diego Imbert
2026-05-11 12:28:30 +02:00
parent a98a339ee6
commit 6e29fdd5db
2 changed files with 20 additions and 20 deletions
+18 -18
View File
@@ -10,24 +10,24 @@ export type UserDraftItemKind =
| 'raw_app'
| 'resource'
| 'variable'
| 'schedule'
| 'webhook'
| 'default_email'
| 'email'
| 'http'
| 'websocket'
| 'postgres'
| 'kafka'
| 'nats'
| 'mqtt'
| 'sqs'
| 'gcp'
| 'azure'
| 'poll'
| 'cli'
| 'nextcloud'
| 'google'
| 'github'
| 'schedule_schedule'
| 'schedule_webhook'
| 'schedule_default_email'
| 'schedule_email'
| 'schedule_http'
| 'schedule_websocket'
| 'schedule_postgres'
| 'schedule_kafka'
| 'schedule_nats'
| 'schedule_mqtt'
| 'schedule_sqs'
| 'schedule_gcp'
| 'schedule_azure'
| 'schedule_poll'
| 'schedule_cli'
| 'schedule_nextcloud'
| 'schedule_google'
| 'schedule_github'
export type UserDraftOptions = {
workspace?: string
+2 -2
View File
@@ -75,9 +75,9 @@ describe('UserDraft.save / get / remove (no observers)', () => {
})
it('supports trigger kinds as item kinds', () => {
UserDraft.save('kafka', 'u/me/topic1', { value: { brokers: ['localhost:9092'] } })
UserDraft.save('schedule_kafka', 'u/me/topic1', { value: { brokers: ['localhost:9092'] } })
const raw = localStorage.getItem('userdraft/w/test_ws/kafka/u/me/topic1')
const raw = localStorage.getItem('userdraft/w/test_ws/schedule_kafka/u/me/topic1')
expect(raw).toBe(JSON.stringify({ value: { brokers: ['localhost:9092'] } }))
})