Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ› long url (#364)

authored by

Thibault Le Ouay and committed by
GitHub
619fc468 60debfb6

+48 -124
+45 -121
packages/db/drizzle/meta/0008_snapshot.json
··· 58 58 "name": "incident_workspace_id_workspace_id_fk", 59 59 "tableFrom": "incident", 60 60 "tableTo": "workspace", 61 - "columnsFrom": [ 62 - "workspace_id" 63 - ], 64 - "columnsTo": [ 65 - "id" 66 - ], 61 + "columnsFrom": ["workspace_id"], 62 + "columnsTo": ["id"], 67 63 "onDelete": "no action", 68 64 "onUpdate": "no action" 69 65 } ··· 132 128 "name": "incident_update_incident_id_incident_id_fk", 133 129 "tableFrom": "incident_update", 134 130 "tableTo": "incident", 135 - "columnsFrom": [ 136 - "incident_id" 137 - ], 138 - "columnsTo": [ 139 - "id" 140 - ], 131 + "columnsFrom": ["incident_id"], 132 + "columnsTo": ["id"], 141 133 "onDelete": "cascade", 142 134 "onUpdate": "no action" 143 135 } ··· 169 161 "name": "incidents_to_monitors_monitor_id_monitor_id_fk", 170 162 "tableFrom": "incidents_to_monitors", 171 163 "tableTo": "monitor", 172 - "columnsFrom": [ 173 - "monitor_id" 174 - ], 175 - "columnsTo": [ 176 - "id" 177 - ], 164 + "columnsFrom": ["monitor_id"], 165 + "columnsTo": ["id"], 178 166 "onDelete": "cascade", 179 167 "onUpdate": "no action" 180 168 }, ··· 182 170 "name": "incidents_to_monitors_incident_id_incident_id_fk", 183 171 "tableFrom": "incidents_to_monitors", 184 172 "tableTo": "incident", 185 - "columnsFrom": [ 186 - "incident_id" 187 - ], 188 - "columnsTo": [ 189 - "id" 190 - ], 173 + "columnsFrom": ["incident_id"], 174 + "columnsTo": ["id"], 191 175 "onDelete": "cascade", 192 176 "onUpdate": "no action" 193 177 } 194 178 }, 195 179 "compositePrimaryKeys": { 196 180 "incidents_to_monitors_monitor_id_incident_id_pk": { 197 - "columns": [ 198 - "incident_id", 199 - "monitor_id" 200 - ] 181 + "columns": ["incident_id", "monitor_id"] 201 182 } 202 183 }, 203 184 "uniqueConstraints": {} ··· 270 251 "name": "integration_workspace_id_workspace_id_fk", 271 252 "tableFrom": "integration", 272 253 "tableTo": "workspace", 273 - "columnsFrom": [ 274 - "workspace_id" 275 - ], 276 - "columnsTo": [ 277 - "id" 278 - ], 254 + "columnsFrom": ["workspace_id"], 255 + "columnsTo": ["id"], 279 256 "onDelete": "no action", 280 257 "onUpdate": "no action" 281 258 } ··· 364 341 "indexes": { 365 342 "page_slug_unique": { 366 343 "name": "page_slug_unique", 367 - "columns": [ 368 - "slug" 369 - ], 344 + "columns": ["slug"], 370 345 "isUnique": true 371 346 } 372 347 }, ··· 375 350 "name": "page_workspace_id_workspace_id_fk", 376 351 "tableFrom": "page", 377 352 "tableTo": "workspace", 378 - "columnsFrom": [ 379 - "workspace_id" 380 - ], 381 - "columnsTo": [ 382 - "id" 383 - ], 353 + "columnsFrom": ["workspace_id"], 354 + "columnsTo": ["id"], 384 355 "onDelete": "cascade", 385 356 "onUpdate": "no action" 386 357 } ··· 440 411 }, 441 412 "url": { 442 413 "name": "url", 443 - "type": "text(512)", 414 + "type": "text(2048)", 444 415 "primaryKey": false, 445 416 "notNull": true, 446 417 "autoincrement": false ··· 515 486 "name": "monitor_workspace_id_workspace_id_fk", 516 487 "tableFrom": "monitor", 517 488 "tableTo": "workspace", 518 - "columnsFrom": [ 519 - "workspace_id" 520 - ], 521 - "columnsTo": [ 522 - "id" 523 - ], 489 + "columnsFrom": ["workspace_id"], 490 + "columnsTo": ["id"], 524 491 "onDelete": "no action", 525 492 "onUpdate": "no action" 526 493 } ··· 552 519 "name": "monitors_to_pages_monitor_id_monitor_id_fk", 553 520 "tableFrom": "monitors_to_pages", 554 521 "tableTo": "monitor", 555 - "columnsFrom": [ 556 - "monitor_id" 557 - ], 558 - "columnsTo": [ 559 - "id" 560 - ], 522 + "columnsFrom": ["monitor_id"], 523 + "columnsTo": ["id"], 561 524 "onDelete": "cascade", 562 525 "onUpdate": "no action" 563 526 }, ··· 565 528 "name": "monitors_to_pages_page_id_page_id_fk", 566 529 "tableFrom": "monitors_to_pages", 567 530 "tableTo": "page", 568 - "columnsFrom": [ 569 - "page_id" 570 - ], 571 - "columnsTo": [ 572 - "id" 573 - ], 531 + "columnsFrom": ["page_id"], 532 + "columnsTo": ["id"], 574 533 "onDelete": "cascade", 575 534 "onUpdate": "no action" 576 535 } 577 536 }, 578 537 "compositePrimaryKeys": { 579 538 "monitors_to_pages_monitor_id_page_id_pk": { 580 - "columns": [ 581 - "monitor_id", 582 - "page_id" 583 - ] 539 + "columns": ["monitor_id", "page_id"] 584 540 } 585 541 }, 586 542 "uniqueConstraints": {} ··· 654 610 "indexes": { 655 611 "user_tenant_id_unique": { 656 612 "name": "user_tenant_id_unique", 657 - "columns": [ 658 - "tenant_id" 659 - ], 613 + "columns": ["tenant_id"], 660 614 "isUnique": true 661 615 } 662 616 }, ··· 688 642 "name": "users_to_workspaces_user_id_user_id_fk", 689 643 "tableFrom": "users_to_workspaces", 690 644 "tableTo": "user", 691 - "columnsFrom": [ 692 - "user_id" 693 - ], 694 - "columnsTo": [ 695 - "id" 696 - ], 645 + "columnsFrom": ["user_id"], 646 + "columnsTo": ["id"], 697 647 "onDelete": "no action", 698 648 "onUpdate": "no action" 699 649 }, ··· 701 651 "name": "users_to_workspaces_workspace_id_workspace_id_fk", 702 652 "tableFrom": "users_to_workspaces", 703 653 "tableTo": "workspace", 704 - "columnsFrom": [ 705 - "workspace_id" 706 - ], 707 - "columnsTo": [ 708 - "id" 709 - ], 654 + "columnsFrom": ["workspace_id"], 655 + "columnsTo": ["id"], 710 656 "onDelete": "no action", 711 657 "onUpdate": "no action" 712 658 } 713 659 }, 714 660 "compositePrimaryKeys": { 715 661 "users_to_workspaces_user_id_workspace_id_pk": { 716 - "columns": [ 717 - "user_id", 718 - "workspace_id" 719 - ] 662 + "columns": ["user_id", "workspace_id"] 720 663 } 721 664 }, 722 665 "uniqueConstraints": {} ··· 800 743 "indexes": { 801 744 "workspace_slug_unique": { 802 745 "name": "workspace_slug_unique", 803 - "columns": [ 804 - "slug" 805 - ], 746 + "columns": ["slug"], 806 747 "isUnique": true 807 748 }, 808 749 "workspace_stripe_id_unique": { 809 750 "name": "workspace_stripe_id_unique", 810 - "columns": [ 811 - "stripe_id" 812 - ], 751 + "columns": ["stripe_id"], 813 752 "isUnique": true 814 753 } 815 754 }, ··· 879 818 "name": "notification_workspace_id_workspace_id_fk", 880 819 "tableFrom": "notification", 881 820 "tableTo": "workspace", 882 - "columnsFrom": [ 883 - "workspace_id" 884 - ], 885 - "columnsTo": [ 886 - "id" 887 - ], 821 + "columnsFrom": ["workspace_id"], 822 + "columnsTo": ["id"], 888 823 "onDelete": "no action", 889 824 "onUpdate": "no action" 890 825 } ··· 902 837 "notNull": true, 903 838 "autoincrement": false 904 839 }, 905 - "notificationId": { 906 - "name": "notificationId", 840 + "notification_id": { 841 + "name": "notification_id", 907 842 "type": "integer", 908 843 "primaryKey": false, 909 844 "notNull": true, ··· 916 851 "name": "notifications_to_monitors_monitor_id_monitor_id_fk", 917 852 "tableFrom": "notifications_to_monitors", 918 853 "tableTo": "monitor", 919 - "columnsFrom": [ 920 - "monitor_id" 921 - ], 922 - "columnsTo": [ 923 - "id" 924 - ], 925 - "onDelete": "no action", 854 + "columnsFrom": ["monitor_id"], 855 + "columnsTo": ["id"], 856 + "onDelete": "cascade", 926 857 "onUpdate": "no action" 927 858 }, 928 - "notifications_to_monitors_notificationId_notification_id_fk": { 929 - "name": "notifications_to_monitors_notificationId_notification_id_fk", 859 + "notifications_to_monitors_notification_id_notification_id_fk": { 860 + "name": "notifications_to_monitors_notification_id_notification_id_fk", 930 861 "tableFrom": "notifications_to_monitors", 931 862 "tableTo": "notification", 932 - "columnsFrom": [ 933 - "notificationId" 934 - ], 935 - "columnsTo": [ 936 - "id" 937 - ], 938 - "onDelete": "no action", 863 + "columnsFrom": ["notification_id"], 864 + "columnsTo": ["id"], 865 + "onDelete": "cascade", 939 866 "onUpdate": "no action" 940 867 } 941 868 }, 942 869 "compositePrimaryKeys": { 943 - "notifications_to_monitors_monitor_id_notificationId_pk": { 944 - "columns": [ 945 - "monitor_id", 946 - "notificationId" 947 - ] 870 + "notifications_to_monitors_monitor_id_notification_id_pk": { 871 + "columns": ["monitor_id", "notification_id"] 948 872 } 949 873 }, 950 874 "uniqueConstraints": {} ··· 956 880 "tables": {}, 957 881 "columns": {} 958 882 } 959 - } 883 + }
+1 -1
packages/db/src/schema/monitor.ts
··· 54 54 55 55 regions: text("regions").default("").notNull(), 56 56 57 - url: text("url", { length: 512 }).notNull(), 57 + url: text("url", { length: 2048 }).notNull(), 58 58 59 59 name: text("name", { length: 256 }).default("").notNull(), 60 60 description: text("description").default("").notNull(),
+1 -1
packages/db/src/schema/page.ts
··· 3 3 import { createInsertSchema, createSelectSchema } from "drizzle-zod"; 4 4 import { z } from "zod"; 5 5 6 - import { monitor, monitorsToPages, selectMonitorSchema } from "./monitor"; 6 + import { monitorsToPages } from "./monitor"; 7 7 import { workspace } from "./workspace"; 8 8 9 9 export const page = sqliteTable("page", {
+1 -1
packages/emails/emails/welcome.tsx
··· 17 17 <br /> 18 18 What kind of apps are going to monitor? 19 19 <br /> 20 - Where do you host your apps? 20 + How do you handle your incidents? 21 21 <br /> 22 22 <br /> 23 23 Thank you,