Skip to content

Commit

Permalink
💚 Fix build lint
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Apr 21, 2024
1 parent bca3f64 commit b5756c6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
24 changes: 9 additions & 15 deletions packages/api/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,10 @@ model webhooks_reponses {

/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
model connection_strategies {
id_connection_strategy String @id(map: "pk_connection_strategies") @db.Uuid
id_connection_strategy String @id(map: "pk_connection_strategies") @db.Uuid
status Boolean
type String
id_project String? @db.Uuid
cs_entities cs_entities[]
id_project String? @db.Uuid
}

model tcg_collections {
Expand Down Expand Up @@ -171,9 +170,9 @@ model connections {
expiration_timestamp DateTime? @db.Timestamp(6)
created_at DateTime @db.Timestamp(6)
connection_token String?
vertical String
id_project String @db.Uuid
id_linked_user String @db.Uuid
vertical String?
linked_users linked_users @relation(fields: [id_linked_user], references: [id_linked_user], onDelete: NoAction, onUpdate: NoAction, map: "fk_11")
projects projects @relation(fields: [id_project], references: [id_project], onDelete: NoAction, onUpdate: NoAction, map: "fk_9")
Expand Down Expand Up @@ -414,26 +413,21 @@ model crm_users {
}

model cs_attributes {
id_cs_attribute String @id(map: "pk_ct_attributes") @db.Uuid
id_cs_attribute String @id(map: "pk_ct_attributes") @db.Uuid
attribute_slug String
data_type String
id_cs_entity String @db.Uuid
cs_entities cs_entities @relation(fields: [id_cs_entity], references: [id_cs_entity], onDelete: NoAction, onUpdate: NoAction, map: "fk_cs_entity")
cs_values cs_values[]
id_cs_entity String @db.Uuid
}

model cs_entities {
id_cs_entity String @id(map: "pk_ct_entities") @db.Uuid
id_connection_strategy String @db.Uuid
cs_attributes cs_attributes[]
connection_strategies connection_strategies @relation(fields: [id_connection_strategy], references: [id_connection_strategy], onDelete: NoAction, onUpdate: NoAction, map: "fk_cs_id")
id_cs_entity String @id(map: "pk_ct_entities") @db.Uuid
id_connection_strategy String @db.Uuid
}

model cs_values {
id_cs_value String @id(map: "pk_ct_values") @db.Uuid
id_cs_value String @id(map: "pk_ct_values") @db.Uuid
value String
id_cs_attribute String @db.Uuid
cs_attributes cs_attributes @relation(fields: [id_cs_attribute], references: [id_cs_attribute], onDelete: NoAction, onUpdate: NoAction, map: "fk_cs_attribute")
id_cs_attribute String @db.Uuid
}

/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const providersConfig: ProvidersConfig = {
authStrategy: AuthStrategy.oauth2
},
'attio': {
//scopes: 'record_permission:read',
// scopes: 'record_permission:read',
urls: {
docsUrl: 'https://developers.attio.com/reference',
authBaseUrl: 'https://app.attio.com/authorize',
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"quotemark": [true, "single"],
"member-access": [false],
"ordered-imports": [false],
"max-line-length": [true, 500],
"max-line-length": [false],
"member-ordering": [false],
"interface-name": [false],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
Expand Down

0 comments on commit b5756c6

Please sign in to comment.