The Coline App SDK: apps, tools, file types and surfaces that run inside Coline workspaces, and public websites with Coline Sites. TypeScript, with an in-memory test workspace. MIT.
| 4 | export { webhooks } from "./webhooks"; |
| 5 | export { createAppPlatformClient } from "./app-platform-client"; |
| 6 | export { |
| 7 | colineHostedActionRequestSchema, |
| 8 | colineHostedActionResponseSchema, |
| 9 | colineHostedActorSchema, |
| 10 | colineHostedAppSchema, |
| 11 | colineHostedFileSchema, |
| 12 | colineHostedRenderFileRequestSchema, |
| 13 | colineHostedRenderHomeRequestSchema, |
| 14 | colineHostedWorkspaceSchema, |
| 15 | hostedActionResults, |
| 16 | parseSignedColineRequest, |
| 17 | } from "./hosted-runtime"; |
| 18 | export { actions, ui, colineUiActionSchema, colineUiNodeSchema } from "./ui"; |
| 19 | export type { |
| 20 | components as AppPlatformComponents, |
| 21 | operations as AppPlatformOperations, |
| 22 | paths as AppPlatformPaths, |
| 23 | } from "./generated/app-platform-v1"; |
| 24 | export type { AppPlatformClient } from "./app-platform-client"; |
| 25 | export type { |
| 26 | ColineHostedActionRequest, |
| 27 | ColineHostedActionResponse, |
| 28 | ColineHostedActor, |
| 29 | ColineHostedApp, |
| 30 | ColineHostedFile, |
| 31 | ColineHostedRenderFileRequest, |
| 32 | ColineHostedRenderHomeRequest, |
| 33 | ColineHostedWorkspace, |
| 34 | } from "./hosted-runtime"; |
| 35 | export type { |
| 36 | ColineActorIdentity, |
| 37 | ColineAppIdentity, |
| 38 | ColineBaseContext, |
| 39 | ColineFileReference, |
| 40 | ColineFileListItem, |
| 41 | ColineFilesApi, |
| 42 | FileRenderContext, |
| 43 | FileRenderResult, |
| 44 | HomeRenderContext, |
| 45 | HomeRenderResult, |
| 46 | ColineIndexApi, |
| 47 | IndexSyncContext, |
| 48 | ColineNotificationsApi, |
| 49 | ColineRoutesApi, |
| 50 | ColineWorkspaceIdentity, |
| 51 | } from "./contexts"; |
| 52 | export { |
| 53 | createOauthState, |
| 54 | createPkceCodeChallenge, |
| 55 | createPkcePair, |
| 56 | generatePkceCodeVerifier, |
| 57 | } from "./oauth"; |
| 58 | export { |
| 59 | buildSigningPayload, |
| 60 | COLINE_DELIVERY_HEADER, |
| 61 | COLINE_SIGNATURE_HEADER, |
| 62 | COLINE_TIMESTAMP_HEADER, |
| 63 | createSignedAppRequestHeaders, |
| 64 | signAppRequest, |
| 65 | verifyAppRequestSignature, |
| 66 | } from "./signing"; |
| 67 | export { ColineApiError, isColineApiError } from "./errors"; |
| 68 | export type { |
| 69 | AppFileDocumentResponse, |
| 70 | AppFilesListResponse, |
| 71 | ExecuteAppActionInput, |
| 72 | ExecuteAppActionResponse, |
| 73 | CreateAppFileInput, |
| 74 | CreateAppFileResponse, |
| 75 | CreateWorkspaceAppOauthConnectionInput, |
| 76 | CreateWorkspaceAppSecretInput, |
| 77 | CreateWorkspaceAppOauthConnectionResponse, |
| 78 | CreateWorkspaceAppSecretResponse, |
| 79 | ColineApiClientOptions, |
| 80 | ListAppFilesQuery, |
| 81 | Page, |
| 82 | InstallWorkspaceAppInput, |
| 83 | InstallWorkspaceAppResponse, |
| 84 | OAuthTokenResponse, |
| 85 | OAuthUserInfoResponse, |
| 86 | RegisteredAppDetail, |
| 87 | RegisteredAppRecord, |
| 88 | RegisteredAppVersionSummary, |
| 89 | SendWorkspaceAppTestDeliveryInput, |
| 90 | SubmitAppVersionForReviewInput, |
| 91 | SubmitAppVersionForReviewResponse, |
| 92 | TabModelRecord, |
| 93 | UpdateWorkspaceAppPermissionsInput, |
| 94 | SendWorkspaceAppTestDeliveryResponse, |
| 95 | WorkspaceAppCatalogItem, |
| 96 | WorkspaceAppDeliveriesResponse, |
| 97 | WorkspaceAppDeliverySummary, |
| 98 | WorkspaceAppOauthConnectionSummary, |
| 99 | WorkspaceAppOauthConnectionsResponse, |
| 100 | WorkspaceAppPermissionsResponse, |
| 101 | WorkspaceAppSecretSummary, |
| 102 | WorkspaceAppSecretsResponse, |
| 103 | WorkspaceInstalledAppResponse, |
| 104 | WorkspaceAppsResponse, |
| 105 | WorkspaceInstalledApp, |
| 106 | // Core Platform API types |
| 107 | CalendarEventDetailResponse, |
| 108 | CalendarEventLinkInput, |
| 109 | CalendarEventsListResponse, |
| 110 | CalendarRecurrenceRule, |
| 111 | ChannelListResponse, |
| 112 | ChannelSummary, |
| 113 | ContainerMessageSummary, |
| 114 | CreateCalendarEventInput, |
| 115 | CreateTaskInput, |
| 116 | CreateTaskResponse, |
| 117 | CreateWorkspaceDocInput, |
| 118 | CreateWorkspaceNoteInput, |
| 119 | DmListResponse, |
| 120 | DmMemberSummary, |
| 121 | DmSummary, |
| 122 | DocLayout, |
| 123 | DriveFileSummary, |
| 124 | DriveFilesListResponse, |
| 125 | DriveMountSummary, |
| 126 | EditMessageInput, |
| 127 | FileDetail, |
| 128 | FileDetailResponse, |
| 129 | ListDriveFilesQuery, |
| 130 | ListTaskboardTasksQuery, |
| 131 | ListWorkspaceDocsQuery, |
| 132 | ListWorkspaceNotesQuery, |
| 133 | MessageContentPart, |
| 134 | MessageDetailResponse, |
| 135 | MessageMentionPart, |
| 136 | MessageTextPart, |
| 137 | MessagesListResponse, |
| 138 | PinResponse, |
| 139 | ReactionResponse, |
| 140 | SendMessageInput, |
| 141 | SendMessageResponse, |
| 142 | ThreadReplyInput, |
| 143 | ThreadResponse, |
| 144 | TaskAssignee, |
| 145 | TaskboardStatusSummary, |
| 146 | TaskboardSummary, |
| 147 | TaskboardTasksResponse, |
| 148 | TaskSummary, |
| 149 | UpdateCalendarEventInput, |
| 150 | UpdateFileInput, |
| 151 | UpdateTaskInput, |
| 152 | UpdateWorkspaceDocInput, |
| 153 | UpdateWorkspaceNoteInput, |
| 154 | WorkspaceDocDetail, |
| 155 | WorkspaceDocDetailResponse, |
| 156 | WorkspaceDocResponse, |
| 157 | WorkspaceDocSummary, |
| 158 | WorkspaceDocsListResponse, |
| 159 | WorkspaceDriveSummary, |
| 160 | WorkspaceDrivesListResponse, |
| 161 | WorkspaceMember, |
| 162 | WorkspaceMembersResponse, |
| 163 | WorkspaceNoteDetail, |
| 164 | WorkspaceNoteDetailResponse, |
| 165 | WorkspaceNoteResponse, |
| 166 | WorkspaceNoteSummary, |
| 167 | WorkspaceNotesListResponse, |
| 168 | WorkspaceSearchInput, |
| 169 | WorkspaceSearchResponse, |
| 170 | WorkspaceSearchResult, |
| 171 | WorkspaceTaskboardsResponse, |
| 172 | NoteHandle, |
| 173 | DocHandle, |
| 174 | FileHandle, |
| 175 | MessageHandle, |
| 176 | ChannelHandle, |
| 177 | DmHandle, |
| 178 | CalendarEventHandle, |
| 179 | TaskboardHandle, |
| 180 | TaskHandle, |
| 181 | PublishedAppHandle, |
| 182 | WorkspaceAppHandle, |
| 183 | WorkspaceAppFileHandle, |
| 184 | } from "./client"; |
| 185 | export type { |
| 186 | WebhookEvent, |
| 187 | WebhookEventType, |
| 188 | MessageCreatedEvent, |
| 189 | MessageUpdatedEvent, |
| 190 | MessageDeletedEvent, |
| 191 | ReactionAddedEvent, |
| 192 | NoteCreatedEvent, |
| 193 | NoteUpdatedEvent, |
| 194 | NoteDeletedEvent, |
| 195 | TaskCreatedEvent, |
| 196 | TaskUpdatedEvent, |
| 197 | TaskDeletedEvent, |
| 198 | CalendarEventCreatedEvent, |
| 199 | MemberJoinedEvent, |
| 200 | MemberLeftEvent, |
| 201 | GenericWebhookEvent, |
| 202 | } from "./webhooks"; |
| 203 | export type { |
| 204 | ColineAppDefinition, |
| 205 | FileRenderHandler, |
| 206 | HomeRenderHandler, |
| 207 | IndexSyncHandler, |
| 208 | } from "./app"; |
| 209 | export type { ColineUiAction, ColineUiNode } from "./ui"; |
| 210 | export { |
| 211 | ambientContainerTypeSchema, |
| 212 | ambientContainerTypeValues, |
| 213 | ambientContentEventInputSchema, |
| 214 | ambientEntityTypeSchema, |
| 215 | ambientEntityTypeValues, |
| 216 | ambientEventActionSchema, |
| 217 | ambientEventActionValues, |
| 218 | ambientEventSourceKindSchema, |
| 219 | ambientEventSourceKindValues, |
| 220 | appHomeRenderModeSchema, |
| 221 | appIndexDocumentSchema, |
| 222 | appIndexSubjectTypeSchema, |
| 223 | appIndexSubjectTypeValues, |
| 224 | appUiModeSchema, |
| 225 | appUiModeValues, |
| 226 | appIndexVisibilityGrantSchema, |
| 227 | appIndexVisibilityModeSchema, |
| 228 | appIndexVisibilityModeValues, |
| 229 | appHomeRenderModeValues, |
| 230 | appHostingSchema, |
| 231 | colineKairoDocumentFieldSchema, |
| 232 | colineKairoDocumentTypeSchema, |
| 233 | colineKairoIntegrationSchema, |
| 234 | appPermissionSchema, |
| 235 | appPermissionValues, |
| 236 | batchDeleteAppIndexDocumentsSchema, |
| 237 | batchUpsertAppIndexDocumentsSchema, |
| 238 | colineAppManifestSchema, |
| 239 | colineAppUiSchema, |
| 240 | colineAppRegistrationPayloadSchema, |
| 241 | colineFileTypeSchema, |
| 242 | createNotificationInputSchema, |
| 243 | emitAmbientEventsInputSchema, |
| 244 | notificationChannelDefinitionSchema, |
| 245 | notificationDeliveryChannelSchema, |
| 246 | notificationDeliveryChannelValues, |
| 247 | notificationPrioritySchema, |
| 248 | notificationPriorityValues, |
| 249 | notificationRecipientInputSchema, |
| 250 | } from "./manifest"; |
| 251 | export type { |
| 252 | AmbientContainerType, |
| 253 | AmbientContentEventInput, |
| 254 | AmbientContentEventInputInput, |
| 255 | AmbientEntityType, |
| 256 | AmbientEventAction, |
| 257 | AmbientEventSourceKind, |
| 258 | AppHomeRenderMode, |
| 259 | AppUiMode, |
| 260 | AppIndexDocument, |
| 261 | AppIndexDocumentInput, |
| 262 | AppIndexSubjectType, |
| 263 | AppIndexVisibilityGrant, |
| 264 | AppIndexVisibilityGrantInput, |
| 265 | AppIndexVisibilityMode, |
| 266 | AppHostingConfig, |
| 267 | AppPermission, |
| 268 | BatchDeleteAppIndexDocuments, |
| 269 | BatchDeleteAppIndexDocumentsInput, |
| 270 | BatchUpsertAppIndexDocuments, |
| 271 | BatchUpsertAppIndexDocumentsInput, |
| 272 | ColineAppManifest, |
| 273 | ColineAppUiConfig, |
| 274 | ColineAppUiConfigInput, |
| 275 | ColineAppManifestInput, |
| 276 | ColineKairoDocumentField, |
| 277 | ColineKairoDocumentFieldInput, |
| 278 | ColineKairoDocumentType, |
| 279 | ColineKairoDocumentTypeInput, |
| 280 | ColineKairoIntegration, |
| 281 | ColineKairoIntegrationInput, |
| 282 | ColineAppRegistrationPayload, |
| 283 | ColineAppRegistrationPayloadInput, |
| 284 | ColineFileTypeDefinitionInput, |
| 285 | ColineFileTypeDefinition, |
| 286 | CreateNotificationInput, |
| 287 | CreateNotificationInputInput, |
| 288 | EmitAmbientEventsInput, |
| 289 | EmitAmbientEventsInputInput, |
| 290 | NotificationChannelDefinition, |
| 291 | NotificationChannelDefinitionInput, |
| 292 | NotificationDeliveryChannel, |
| 293 | NotificationPriority, |
| 294 | NotificationRecipientInput, |
| 295 | } from "./manifest"; |
| 296 |