@@ -12,8 +12,8 @@ description: Connector protocol schemas
1212## TypeScript Usage
1313
1414``` typescript
15- import { AuthenticationSchema , ConflictResolutionSchema , ConnectorSchema , ConnectorStatusSchema , ConnectorTypeSchema , DataSyncConfigSchema , FieldMappingSchema , FieldTransformSchema , RateLimitConfigSchema , RateLimitStrategySchema , RetryConfigSchema , RetryStrategySchema , SyncStrategySchema , WebhookConfigSchema , WebhookEventSchema , WebhookSignatureAlgorithmSchema } from ' @objectstack/spec/integration' ;
16- import type { Authentication , ConflictResolution , Connector , ConnectorStatus , ConnectorType , DataSyncConfig , FieldMapping , FieldTransform , RateLimitConfig , RateLimitStrategy , RetryConfig , RetryStrategy , SyncStrategy , WebhookConfig , WebhookEvent , WebhookSignatureAlgorithm } from ' @objectstack/spec/integration' ;
15+ import { AuthenticationSchema , ConflictResolutionSchema , ConnectorSchema , ConnectorStatusSchema , ConnectorTypeSchema , DataSyncConfigSchema , FieldTransformSchema , RateLimitConfigSchema , RateLimitStrategySchema , RetryConfigSchema , RetryStrategySchema , SyncStrategySchema , WebhookConfigSchema , WebhookEventSchema , WebhookSignatureAlgorithmSchema } from ' @objectstack/spec/integration' ;
16+ import type { Authentication , ConflictResolution , Connector , ConnectorStatus , ConnectorType , DataSyncConfig , FieldTransform , RateLimitConfig , RateLimitStrategy , RetryConfig , RetryStrategy , SyncStrategy , WebhookConfig , WebhookEvent , WebhookSignatureAlgorithm } from ' @objectstack/spec/integration' ;
1717
1818// Validate data
1919const result = AuthenticationSchema .parse (data );
@@ -109,22 +109,6 @@ Connector type
109109
110110---
111111
112- ## FieldMapping
113-
114- ### Properties
115-
116- | Property | Type | Required | Description |
117- | :--- | :--- | :--- | :--- |
118- | ** sourceField** | ` string ` | ✅ | Field name in external system |
119- | ** targetField** | ` string ` | ✅ | Field name in ObjectStack (snake_case) |
120- | ** dataType** | ` Enum<'string' \| 'number' \| 'boolean' \| 'date' \| 'datetime' \| 'json' \| 'array'> ` | optional | Target data type |
121- | ** required** | ` boolean ` | optional | Field is required |
122- | ** defaultValue** | ` any ` | optional | Default value |
123- | ** transform** | ` object ` | optional | Field transformation |
124- | ** syncMode** | ` Enum<'read_only' \| 'write_only' \| 'bidirectional'> ` | optional | Sync mode |
125-
126- ---
127-
128112## FieldTransform
129113
130114### Properties
0 commit comments