-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-front: rewrite as native connector
The `source-front` connector was not working correctly as an import. Instead of troubleshooting the low-code import, I chose to rewrite it as a native connector. Backwards compatibility with the sole existing (non-working) capture was not a goal. I focused on just parent streams that seemed most important for the user's use case, and we can add more later as needed.
- Loading branch information
Showing
26 changed files
with
1,375 additions
and
5,730 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
$defs: | ||
Meta: | ||
properties: | ||
op: | ||
default: u | ||
description: "Operation type (c: Create, u: Update, d: Delete)" | ||
enum: | ||
- c | ||
- u | ||
- d | ||
title: Op | ||
type: string | ||
row_id: | ||
default: -1 | ||
description: "Row ID of the Document, counting up from zero, or -1 if not known" | ||
title: Row Id | ||
type: integer | ||
title: Meta | ||
type: object | ||
additionalProperties: true | ||
properties: | ||
_meta: | ||
$ref: "#/$defs/Meta" | ||
default: | ||
op: u | ||
row_id: -1 | ||
description: Document metadata | ||
title: FrontResource | ||
type: object | ||
x-infer-schema: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
$defs: | ||
Meta: | ||
properties: | ||
op: | ||
default: u | ||
description: "Operation type (c: Create, u: Update, d: Delete)" | ||
enum: | ||
- c | ||
- u | ||
- d | ||
title: Op | ||
type: string | ||
row_id: | ||
default: -1 | ||
description: "Row ID of the Document, counting up from zero, or -1 if not known" | ||
title: Row Id | ||
type: integer | ||
title: Meta | ||
type: object | ||
additionalProperties: true | ||
properties: | ||
_meta: | ||
$ref: "#/$defs/Meta" | ||
default: | ||
op: u | ||
row_id: -1 | ||
description: Document metadata | ||
id: | ||
title: Id | ||
type: string | ||
updated_at: | ||
title: Updated At | ||
type: number | ||
required: | ||
- id | ||
- updated_at | ||
title: Contact | ||
type: object | ||
x-infer-schema: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
$defs: | ||
Meta: | ||
properties: | ||
op: | ||
default: u | ||
description: "Operation type (c: Create, u: Update, d: Delete)" | ||
enum: | ||
- c | ||
- u | ||
- d | ||
title: Op | ||
type: string | ||
row_id: | ||
default: -1 | ||
description: "Row ID of the Document, counting up from zero, or -1 if not known" | ||
title: Row Id | ||
type: integer | ||
title: Meta | ||
type: object | ||
additionalProperties: true | ||
properties: | ||
_meta: | ||
$ref: "#/$defs/Meta" | ||
default: | ||
op: u | ||
row_id: -1 | ||
description: Document metadata | ||
id: | ||
title: Id | ||
type: string | ||
required: | ||
- id | ||
title: Conversation | ||
type: object | ||
x-infer-schema: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
$defs: | ||
Meta: | ||
properties: | ||
op: | ||
default: u | ||
description: "Operation type (c: Create, u: Update, d: Delete)" | ||
enum: | ||
- c | ||
- u | ||
- d | ||
title: Op | ||
type: string | ||
row_id: | ||
default: -1 | ||
description: "Row ID of the Document, counting up from zero, or -1 if not known" | ||
title: Row Id | ||
type: integer | ||
title: Meta | ||
type: object | ||
additionalProperties: true | ||
properties: | ||
_meta: | ||
$ref: "#/$defs/Meta" | ||
default: | ||
op: u | ||
row_id: -1 | ||
description: Document metadata | ||
id: | ||
title: Id | ||
type: string | ||
emitted_at: | ||
title: Emitted At | ||
type: number | ||
required: | ||
- id | ||
- emitted_at | ||
title: Event | ||
type: object | ||
x-infer-schema: true |
Oops, something went wrong.