redvault-ai/darm_test/public/js/datastar-1-0-0-beta-7.json

1 line
58 KiB
JSON
Raw Permalink Normal View History

2025-02-20 02:12:49 +01:00
{"hash":"aebc4a389b667764","sourceSize":40082,"sourceSizeGzipped":14925,"compileTime":"33.525268ms","name":"datastar-1-0-0-beta-7-aebc4a389b667764","downloadURL":"/bundler/download/datastar-1-0-0-beta-7-aebc4a389b667764.zip","manifest":{"version":"1.0.0-beta.7","plugins":[{"label":"DELETE","name":"DELETE","path":"../plugins/official/backend/actions/delete","type":"","author":"","slug":"Use a DELETE request to fetch data from a server using Server-Sent Events matching the Datastar SDK interface","description":"Remember, SSE is just a regular SSE request but with the ability to send 0-inf messages to the client.","icon":"material-symbols:delete-outline","key":"static_library_source_plugins_official_backend_actions_delete_ts","contents":"// Icon: material-symbols:delete-outline\n// Slug: Use a DELETE request to fetch data from a server using Server-Sent Events matching the Datastar SDK interface\n// Description: Remember, SSE is just a regular SSE request but with the ability to send 0-inf messages to the client.\n\nimport {\n type ActionPlugin,\n PluginType,\n type RuntimeContext,\n} from '../../../../engine/types'\nimport { type SSEArgs, sse } from './sse'\n\nexport const DELETE: ActionPlugin = {\n type: PluginType.Action,\n name: 'delete',\n fn: async (ctx: RuntimeContext, url: string, args: SSEArgs) =\u003e {\n return sse(ctx, 'DELETE', url, { ...args })\n },\n}\n"},{"label":"GET","name":"GET","path":"../plugins/official/backend/actions/get","type":"","author":"","slug":"Use a GET request to fetch data from a server using Server-Sent Events matching the Datastar SDK interface","description":"Remember, SSE is just a regular SSE request but with the ability to send 0-inf messages to the client.","icon":"ic:baseline-get-app","key":"static_library_source_plugins_official_backend_actions_get_ts","contents":"// Icon: ic:baseline-get-app\n// Slug: Use a GET request to fetch data from a server using Server-Sent Events matching the Datastar SDK interface\n// Description: Remember, SSE is just a regular SSE request but with the ability to send 0-inf messages to the client.\n\nimport {\n type ActionPlugin,\n PluginType,\n type RuntimeContext,\n} from '../../../../engine/types'\nimport { type SSEArgs, sse } from './sse'\n\nexport const GET: ActionPlugin = {\n type: PluginType.Action,\n name: 'get',\n fn: async (ctx: RuntimeContext, url: string, args: SSEArgs) =\u003e {\n return sse(ctx, 'GET', url, { ...args })\n },\n}\n"},{"label":"PATCH","name":"PATCH","path":"../plugins/official/backend/actions/patch","type":"","author":"","slug":"Use a PATCH request to fetch data from a server using Server-Sent Events matching the Datastar SDK interface","description":"Remember, SSE is just a regular SSE request but with the ability to send 0-inf messages to the client.","icon":"fluent:patch-24-filled","key":"static_library_source_plugins_official_backend_actions_patch_ts","contents":"// Icon: fluent:patch-24-filled\n// Slug: Use a PATCH request to fetch data from a server using Server-Sent Events matching the Datastar SDK interface\n// Description: Remember, SSE is just a regular SSE request but with the ability to send 0-inf messages to the client.\n\nimport {\n type ActionPlugin,\n PluginType,\n type RuntimeContext,\n} from '../../../../engine/types'\nimport { type SSEArgs, sse } from './sse'\n\nexport const PATCH: ActionPlugin = {\n type: PluginType.Action,\n name: 'patch',\n fn: async (ctx: RuntimeContext, url: string, args: SSEArgs) =\u003e {\n return sse(ctx, 'PATCH', url, { ...args })\n },\n}\n"},{"label":"POST","name":"POST","path":"../plugins/official/backend/actions/post","type":"","author":"","slug":"Use a POST request to fetch data from a server using Server-Sent Events matching the Datastar SDK interface","description":"Remember, SSE is just a regular SSE request but with the ability to send 0-inf messages to the client.","icon":"ri:signpost-fill","key":"static_library_source_plugins_official_backend_actions_post_ts","contents":"// Icon: ri:signpost-fill\n// Slug: Use a POST request to fetch data fro