193 Commits

Author SHA1 Message Date
Nawaz Dhandala
d0a8c049ba feat: add support for 'set' type in data source and resource generation, enhancing collection handling 2026-01-27 18:04:51 +00:00
Nawaz Dhandala
8e399accc1 feat: add enableMCP property and decorator to various models for enhanced MCP functionality 2025-12-18 11:49:01 +00:00
Nawaz Dhandala
e928328bbb Add example values to various database models for improved API documentation
- Updated MonitorStatus, OnCallDutyPolicy, Probe, Project, ScheduledMaintenance, ScheduledMaintenanceInternalNote, ServiceCatalog, StatusPage, StatusPageAnnouncement, StatusPageDomain, StatusPageGroup, StatusPageHeaderLink, StatusPageResource, StatusPageSubscriber, Team, TelemetryService, User, and Workflow models to include example values for better clarity in API documentation.
- Added example fields to TableColumnMetadata interface to support documentation generation.
2025-12-12 20:49:28 +00:00
Nawaz Dhandala
1094a07fc6 fix(DropdownUtil): ensure color variable is explicitly typed as Color | null
refactor(ColorField): add return type annotation for ColorField function
2025-11-11 14:30:33 +00:00
Nawaz Dhandala
5a41c66953 refactor(DatabaseBaseModel, ColorField): improve formatting and readability of type definitions and method implementations 2025-11-11 13:26:02 +00:00
Nawaz Dhandala
f8ef6c69fe feat(ColorField): add ColorField decorator and related utility functions for color field management in database models 2025-11-11 13:20:42 +00:00
Nawaz Dhandala
f617330484 refactor: remove labelsColumn and associated method, update ModelPage to use getAccessControlColumn 2025-11-10 15:53:44 +00:00
Simon Larsen
095ad5dbf4 feat: Add computed property support in TableColumnMetadata and update related permissions logic 2025-06-24 13:47:53 +01:00
Simon Larsen
064ff68147 refactor: Add JSONObject type to defaultValue in TableColumnMetadata interface 2025-06-23 16:31:19 +01:00
Simon Larsen
bfc958dffe fix: update TableColumn metadata to include hideColumnInDocumentation flag and enhance date schema handling in ModelSchema 2025-06-12 11:48:44 +01:00
Simon Larsen
eb3039f8d7 refactor: update Monitor column type to use MonitorSteps and integrate schema retrieval 2025-06-09 13:47:54 +01:00
Simon Larsen
f7464d6807 refactor: add IP and Port types to ColumnType and update related schemas in AnalyticsModelSchema and ModelSchema 2025-06-09 13:45:53 +01:00
Simon Larsen
1ccc3765e8 refactor: standardize import statements and format example objects in Monitor and Database classes 2025-06-02 17:49:31 +01:00
Simon Larsen
394f5255cf feat: implement Zod schema validation for Color and DatabaseProperty classes
fix: update ApiMonitor and WebsiteMonitor to correctly set isOnline status to false on timeout
2025-06-02 17:16:21 +01:00
Simon Larsen
52c35c1e4d feat: update userId handling in IncidentFeed and AlertFeed services; increase LIMIT_PER_PROJECT to 10000; refactor User class to UserUtil; add IncidentFeedElement component 2025-01-13 18:39:06 +00:00
Simon Larsen
27de0f0ddb feat: update displayColor column length to 10 for AlertFeed, IncidentFeed, and ScheduledMaintenanceFeed 2025-01-13 17:14:36 +00:00
Simon Larsen
003fdb4de4 Add Realtime event types and interfaces; refactor imports for consistency 2024-09-26 13:15:35 +01:00
Simon Larsen
2e5ec1df6f Refactor Realtime event handling and permissions management; introduce EnableRealtimeEventsOn interface 2024-09-26 11:59:11 +01:00
Simon Larsen
ca7745cfad Refactor refreshToggle type to string and update related components for consistency 2024-09-25 17:20:38 +01:00
Simon Larsen
91bec9d58f Add support for real-time event handling in Incident model and related components 2024-09-20 19:00:09 +01:00
Simon Larsen
51ff018a61 Refactor recurring notification handling in ScheduledMaintenance and ScheduledMaintenanceTemplate models 2024-09-11 09:58:45 -07:00
Simon Larsen
cc7696f481 refactor: Update telemetry exception view layout components 2024-08-26 08:58:45 +01:00
Simon Larsen
1a9668a877 refactor: Update telemetry exception view layout components 2024-08-26 07:10:03 +01:00
Simon Larsen
8145f07e51 refactor: Update projectId usage in multiple files to use non-null assertion operator 2024-08-19 14:10:03 +01:00
Simon Larsen
b3cf198649 refactor: Update QueryOperator class to extend SerializableObject 2024-08-19 13:15:17 +01:00
Simon Larsen
b29fb6e833 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 13:00:31 -06:00
Simon Larsen
2e2ade0b16 refactor: Update import statements for BaseModel in JSONFunctions and BaseModel in UserModel 2024-08-05 12:08:45 -06:00
Simon Larsen
c968156fa7 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 11:43:45 -06:00
Simon Larsen
36a0dad41c refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 11:35:45 -06:00
Simon Larsen
70a2a3993b refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00
Simon Larsen
8ce432256c refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files
This commit updates the symbol type from 'Symbol' to 'symbol' in the ColumnAccessControl files. The use of 'symbol' aligns with the TypeScript convention for symbol types. This change improves code consistency and readability.
2024-06-14 11:53:27 +01:00
Simon Larsen
e1054c2572 refactor: Improve flexibility and maintainability in LabelService.ts and TableColumn.ts
This code change adds flexibility and maintainability improvements to the LabelService.ts and TableColumn.ts files. In LabelService.ts, a constructor is added to the Service class, allowing for the injection of a PostgresDatabase instance. In TableColumn.ts, the propertyKey parameter in the getTableColumn function is changed from keyof T to string, providing more flexibility in handling property keys. These changes enhance the usability and maintainability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-02 09:32:06 +01:00
Simon Larsen
e3e684352f refactor: Override name property in Label class
This code change overrides the name property in the Label class to allow for more flexibility in handling scenarios where the name is not specified. By setting the name property to undefined, it improves the usability and maintainability of the code.

Note: This commit message follows the established convention of starting with a verb in the imperative form (e.g., "Update", "Add", "Fix") and providing a concise summary of the changes made.
2024-06-01 22:44:18 +01:00
Simon Larsen
faf0641503 refactor: Update package.json and Encryption.ts to use latest version of crypto-js 2024-05-29 15:25:09 +01:00
Simon Larsen
8513d969db Update limit to use LIMIT_INFINITY constant 2024-03-29 08:52:04 +00:00
Simon Larsen
04e049f028 Fix import paths and update function signatures 2024-02-27 17:53:39 +00:00
Simon Larsen
fa2282b48f Add type annotations to GenericObject and GenericFunction***
***Update GConstructor type in Mixins***
***Update ReflectionMetadataType in Reflection***
***Update connectToDatabase function in Redis***
***Update MockRouterForMethodFunction in Helpers***
***Update DefaultValidateFunction type in BasicForm***
***Update result type in BaseAPI.test***
***Update startUserNotificationRuleExecution function in OnCallDutyPolicyEscalationRuleService***
***Update getTableColumn and getTableColumns functions in TableColumn***
***Update getColumnBillingAccessControl and getColumnBillingAccessControlForAllColumns functions in ColumnBillingAccessControl
2024-02-27 17:40:15 +00:00
Simon Larsen
b87027b5c1 Refactor code and update type annotations 2024-02-27 17:34:33 +00:00
Simon Larsen
4262379a87 Fix import paths in GenericFunction.ts and related files 2024-02-27 17:23:25 +00:00
Simon Larsen
c3a95b0442 Update annotations to use GenericFunction 2024-02-27 17:13:16 +00:00
Simon Larsen
7db3e2f0ca Add PromiseVoidFunction import and type annotations 2024-02-27 17:10:59 +00:00
Simon Larsen
eaf93f43b0 Refactor code and fix formatting issues 2024-02-27 16:36:27 +00:00
Simon Larsen
abd3385bff Update function types and fix error handling in email component 2024-02-27 16:33:38 +00:00
Simon Larsen
a8b4a0a57a Update import statements in multiple files 2024-02-13 14:35:46 +00:00
Simon Larsen
0de12ec66e Update modelType references to use BaseModelType 2024-02-13 14:14:32 +00:00
Simon Larsen
095aa484c6 Update LIMIT_PER_PROJECT constant value 2024-01-05 01:18:40 +05:30
Simon Larsen
61ed698182 Add support for Date type in CommonModel and Statement 2023-12-26 19:16:34 +00:00
Simon Larsen
7493f40692 Update import paths for BaseDatabase 2023-12-26 12:47:51 +00:00
Simon Larsen
352c9ffb8e otel save 2023-10-18 13:59:19 +01:00
Simon Larsen
62db38520f add find by 2023-10-02 12:13:37 +01:00