spine-framework 0.3.129 → 0.3.131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,6 +58,8 @@ CREATE TABLE IF NOT EXISTS public.roles (
58
58
  app_id uuid, account_id uuid,
59
59
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
60
60
  UNIQUE(slug)
61
+ type_id uuid,
62
+ created_by uuid,
61
63
  );
62
64
  CREATE TABLE IF NOT EXISTS public.items (
63
65
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
@@ -138,6 +140,8 @@ CREATE TABLE IF NOT EXISTS public.pipelines (
138
140
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
139
141
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
140
142
  UNIQUE(app_id, slug)
143
+ type_id uuid,
144
+ created_by uuid,
141
145
  );
142
146
  CREATE TABLE IF NOT EXISTS public.pipeline_executions (
143
147
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
@@ -158,6 +162,7 @@ CREATE TABLE IF NOT EXISTS public.triggers (
158
162
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
159
163
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
160
164
  UNIQUE(app_id, slug)
165
+ created_by uuid,
161
166
  );
162
167
  CREATE TABLE IF NOT EXISTS public.trigger_executions (
163
168
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
@@ -178,6 +183,7 @@ CREATE TABLE IF NOT EXISTS public.timers (
178
183
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
179
184
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
180
185
  UNIQUE(app_id, slug)
186
+ created_by uuid,
181
187
  );
182
188
  CREATE TABLE IF NOT EXISTS public.prompt_configs (
183
189
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
@@ -197,6 +203,7 @@ CREATE TABLE IF NOT EXISTS public.integrations (
197
203
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
198
204
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
199
205
  UNIQUE(app_id, slug)
206
+ created_by uuid,
200
207
  );
201
208
  CREATE TABLE IF NOT EXISTS public.integration_routes (
202
209
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
@@ -219,16 +226,18 @@ CREATE TABLE IF NOT EXISTS public.observability (
219
226
  app_id uuid, account_id uuid, type_id uuid,
220
227
  metric_name text, metric_value numeric, metric_unit text,
221
228
  context jsonb DEFAULT '{}', metadata jsonb DEFAULT '{}',
229
+ created_by uuid,
222
230
  created_at timestamptz DEFAULT now()
223
231
  );
224
232
  CREATE TABLE IF NOT EXISTS public.test_runs (
225
233
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
226
- app_id uuid, account_id uuid, type_id uuid,
234
+ app_id uuid, account_id uuid, type_id uuid, pipeline_execution_id uuid,
227
235
  slug text NOT NULL, name text NOT NULL, description text,
228
236
  config jsonb DEFAULT '{}', metadata jsonb DEFAULT '{}',
229
237
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
230
238
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
231
239
  UNIQUE(app_id, slug)
240
+ created_by uuid,
232
241
  );
233
242
  CREATE TABLE IF NOT EXISTS public.test_cases (
234
243
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
@@ -263,6 +272,7 @@ CREATE TABLE IF NOT EXISTS public.ai_agents (
263
272
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
264
273
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
265
274
  UNIQUE(app_id, slug)
275
+ created_by uuid,
266
276
  );
267
277
  CREATE TABLE IF NOT EXISTS public.invites (
268
278
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
@@ -270,6 +280,7 @@ CREATE TABLE IF NOT EXISTS public.invites (
270
280
  slug text NOT NULL, name text NOT NULL, description text,
271
281
  config jsonb DEFAULT '{}', metadata jsonb DEFAULT '{}',
272
282
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
283
+ created_by uuid,
273
284
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
274
285
  UNIQUE(app_id, slug)
275
286
  );
@@ -281,6 +292,7 @@ CREATE TABLE IF NOT EXISTS public.api_keys (
281
292
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
282
293
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
283
294
  UNIQUE(app_id, slug)
295
+ created_by uuid,
284
296
  );
285
297
  CREATE TABLE IF NOT EXISTS public.alerts (
286
298
  id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
@@ -299,6 +311,8 @@ CREATE TABLE IF NOT EXISTS public.item_progress (
299
311
  is_active boolean DEFAULT true, is_system boolean DEFAULT false,
300
312
  created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
301
313
  UNIQUE(app_id, slug)
314
+ item_id uuid NOT NULL,
315
+ created_by uuid,
302
316
  );
303
317
 
304
318
  CREATE TABLE IF NOT EXISTS public.account_paths (
@@ -367,7 +367,7 @@ VALUES (
367
367
  'Raw or normalized inbound webhook payload captured by the generic adapter for debugging.',
368
368
  'radio-receiver',
369
369
  '#6366F1',
370
- '{"scope":"account","fields":{"provider":{"data_type":"text","label":"Provider","required":false,"system":false},"event":{"data_type":"text","label":"Event","required":false,"system":false},"payload":{"data_type":"json","label":"Payload","required":true,"system":false},"headers":{"data_type":"json","label":"Headers","required":false,"system":false}},"views":{"default_list":{"type":"list","display":"table","label":"Webhook Events","fields":{"provider":{"display_type":"text"},"event":{"display_type":"text"},"created_at":{"display_type":"timestamp"}},"default_sort":{"field":"created_at","direction":"desc"}},"default_detail":{"type":"detail","label":"Webhook Event","sections":[{"title":"Payload","fields":{"provider":{"display_type":"input"},"event":{"display_type":"input"},"payload":{"display_type":"textarea"},"headers":{"display_type":"textarea"}}}]},"record_permissions":{"system-admin":["create","read","update","delete"]},"functionality":null}',
370
+ '{"scope":"account","fields":{"provider":{"data_type":"text","label":"Provider","required":false,"system":false},"event":{"data_type":"text","label":"Event","required":false,"system":false},"payload":{"data_type":"json","label":"Payload","required":true,"system":false},"headers":{"data_type":"json","label":"Headers","required":false,"system":false}},"views":{"default_list":{"type":"list","display":"table","label":"Webhook Events","fields":{"provider":{"sortable":true,"display_type":"text"},"event":{"sortable":true,"display_type":"text"},"created_at":{"sortable":true,"display_type":"timestamp"}},"default_sort":{"field":"created_at","direction":"desc"}},"default_detail":{"type":"detail","label":"Webhook Event","sections":[{"title":"Payload","fields":{"provider":{"display_type":"input"},"event":{"display_type":"input"},"payload":{"display_type":"textarea"},"headers":{"display_type":"textarea"}}}]}},"record_permissions":{"system_admin":["create","read","update","delete"],"member":["read"]},"functionality":null}',
371
371
  '{}',
372
372
  'system',
373
373
  true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spine-framework",
3
- "version": "0.3.129",
3
+ "version": "0.3.131",
4
4
  "description": "Multi-tenant, modular application platform for modern SaaS systems",
5
5
  "type": "module",
6
6
  "bin": {