From 8fa7a3c7093ce9c90bfdd1d4b95deb01520de496 Mon Sep 17 00:00:00 2001 From: Rahul Agarwal <111393043+rahulagarwal13@users.noreply.github.com> Date: Sun, 14 Apr 2024 18:40:43 -0700 Subject: [PATCH] reduce supergraph to one subgraph --- .../producthomepage.graphQL | 0 .../producthomepage_rest.js | 0 analytics/clickhouse/clickhouse-types.hml | 45 - analytics/clickhouse/clickhouse.hml | 276 -- .../clickhouse/connector/clickhouse.build.hml | 20 - .../clickhouse/connector/configuration.json | 57 - .../connector/configuration.schema.json | 208 -- .../queries/recentlyViewedProducts.sql | 7 - .../clickhouse/models/BrowsingHistory.hml | 102 - .../models/RecentlyViewedProducts.hml | 148 - .../clickhouse/models/SessionHistory.hml | 108 - experience/db1/connector/configuration.json | 1533 ---------- experience/db1/connector/db1.build.hml | 16 - experience/db1/connector/schema.json | 1293 -------- experience/db1/db1-types.hml | 126 - experience/db1/db1.hml | 850 ------ experience/db1/models/CartItems.hml | 176 -- experience/db1/models/Carts.hml | 175 -- experience/db1/models/Categories.hml | 102 - experience/db1/models/Manufacturers.hml | 102 - experience/db1/models/Products.hml | 395 --- .../db1/models/ProductsVectorDistance.hml | 97 - experience/mongo/connector/mongo.build.hml | 16 - .../connector/schema/product_details.json | 124 - experience/mongo/models/ProductDetails.hml | 234 -- experience/mongo/mongo-types.hml | 28 - experience/mongo/mongo.hml | 609 ---- hasura.yaml | 12 +- sales/db3/connector/configuration.json | 1422 --------- sales/db3/connector/db3.build.hml | 16 - sales/db3/connector/schema.json | 1293 -------- sales/db3/db3-types.hml | 90 - sales/db3/db3.hml | 753 ----- sales/db3/models/Coupons.hml | 200 -- sales/db3/models/Orders.hml | 254 -- sales/sales_functions/commands/Hello.hml | 26 - .../commands/ToCurrencyString.hml | 28 - .../sales_functions/commands/ToDateString.hml | 28 - sales/sales_functions/connector/functions.ts | 49 - .../connector/package-lock.json | 2667 ----------------- sales/sales_functions/connector/package.json | 13 - .../connector/sales_functions.build.hml | 14 - sales/sales_functions/connector/tsconfig.json | 3 - .../sales_functions/sales_functions-types.hml | 20 - sales/sales_functions/sales_functions.hml | 63 - users/db2/models/Reviews.hml | 35 +- users/db2/models/Users.hml | 180 +- 47 files changed, 110 insertions(+), 13903 deletions(-) rename Composability/{ => ProductHomePage}/producthomepage.graphQL (100%) rename Composability/{ => ProductHomePage}/producthomepage_rest.js (100%) delete mode 100644 analytics/clickhouse/clickhouse-types.hml delete mode 100644 analytics/clickhouse/clickhouse.hml delete mode 100644 analytics/clickhouse/connector/clickhouse.build.hml delete mode 100644 analytics/clickhouse/connector/configuration.json delete mode 100644 analytics/clickhouse/connector/configuration.schema.json delete mode 100644 analytics/clickhouse/connector/queries/recentlyViewedProducts.sql delete mode 100644 analytics/clickhouse/models/BrowsingHistory.hml delete mode 100644 analytics/clickhouse/models/RecentlyViewedProducts.hml delete mode 100644 analytics/clickhouse/models/SessionHistory.hml delete mode 100644 experience/db1/connector/configuration.json delete mode 100644 experience/db1/connector/db1.build.hml delete mode 100644 experience/db1/connector/schema.json delete mode 100644 experience/db1/db1-types.hml delete mode 100644 experience/db1/db1.hml delete mode 100644 experience/db1/models/CartItems.hml delete mode 100644 experience/db1/models/Carts.hml delete mode 100644 experience/db1/models/Categories.hml delete mode 100644 experience/db1/models/Manufacturers.hml delete mode 100644 experience/db1/models/Products.hml delete mode 100644 experience/db1/models/ProductsVectorDistance.hml delete mode 100644 experience/mongo/connector/mongo.build.hml delete mode 100644 experience/mongo/connector/schema/product_details.json delete mode 100644 experience/mongo/models/ProductDetails.hml delete mode 100644 experience/mongo/mongo-types.hml delete mode 100644 experience/mongo/mongo.hml delete mode 100644 sales/db3/connector/configuration.json delete mode 100644 sales/db3/connector/db3.build.hml delete mode 100644 sales/db3/connector/schema.json delete mode 100644 sales/db3/db3-types.hml delete mode 100644 sales/db3/db3.hml delete mode 100644 sales/db3/models/Coupons.hml delete mode 100644 sales/db3/models/Orders.hml delete mode 100644 sales/sales_functions/commands/Hello.hml delete mode 100644 sales/sales_functions/commands/ToCurrencyString.hml delete mode 100644 sales/sales_functions/commands/ToDateString.hml delete mode 100644 sales/sales_functions/connector/functions.ts delete mode 100644 sales/sales_functions/connector/package-lock.json delete mode 100644 sales/sales_functions/connector/package.json delete mode 100644 sales/sales_functions/connector/sales_functions.build.hml delete mode 100644 sales/sales_functions/connector/tsconfig.json delete mode 100644 sales/sales_functions/sales_functions-types.hml delete mode 100644 sales/sales_functions/sales_functions.hml diff --git a/Composability/producthomepage.graphQL b/Composability/ProductHomePage/producthomepage.graphQL similarity index 100% rename from Composability/producthomepage.graphQL rename to Composability/ProductHomePage/producthomepage.graphQL diff --git a/Composability/producthomepage_rest.js b/Composability/ProductHomePage/producthomepage_rest.js similarity index 100% rename from Composability/producthomepage_rest.js rename to Composability/ProductHomePage/producthomepage_rest.js diff --git a/analytics/clickhouse/clickhouse-types.hml b/analytics/clickhouse/clickhouse-types.hml deleted file mode 100644 index 16496c8..0000000 --- a/analytics/clickhouse/clickhouse-types.hml +++ /dev/null @@ -1,45 +0,0 @@ ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: clickhouse - dataConnectorScalarType: String - representation: String - graphql: - comparisonExpressionTypeName: Analytics_StringComparisonExp - ---- -kind: ScalarType -version: v1 -definition: - name: DateTime - graphql: - typeName: Analytics_DateTime - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: clickhouse - dataConnectorScalarType: DateTime - representation: DateTime - graphql: - comparisonExpressionTypeName: Analytics_DateTimeComparisonExp - ---- -kind: ScalarType -version: v1 -definition: - name: Int32 - graphql: - typeName: Analytics_Int32 - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: clickhouse - dataConnectorScalarType: Int32 - representation: Int32 - graphql: - comparisonExpressionTypeName: Analytics_Int32ComparisonExp diff --git a/analytics/clickhouse/clickhouse.hml b/analytics/clickhouse/clickhouse.hml deleted file mode 100644 index e714363..0000000 --- a/analytics/clickhouse/clickhouse.hml +++ /dev/null @@ -1,276 +0,0 @@ -kind: DataConnectorLink -version: v1 -definition: - name: clickhouse - url: - Fn::ManifestRef: clickhouse - schema: - version: v0.1 - schema: - scalar_types: - DateTime: - aggregate_functions: - max: - result_type: - type: named - name: DateTime - min: - result_type: - type: named - name: DateTime - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: DateTime - _gte: - type: custom - argument_type: - type: named - name: DateTime - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: DateTime - _lte: - type: custom - argument_type: - type: named - name: DateTime - _neq: - type: custom - argument_type: - type: named - name: DateTime - _nin: - type: custom - argument_type: - type: array - element_type: - type: named - name: DateTime - Int32: - aggregate_functions: - avg: - result_type: - type: named - name: Float64 - max: - result_type: - type: named - name: Int32 - min: - result_type: - type: named - name: Int32 - stddev_pop: - result_type: - type: named - name: Float64 - stddev_samp: - result_type: - type: named - name: Float64 - sum: - result_type: - type: named - name: Int64 - var_pop: - result_type: - type: named - name: Float64 - var_samp: - result_type: - type: named - name: Float64 - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: Int32 - _gte: - type: custom - argument_type: - type: named - name: Int32 - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: Int32 - _lte: - type: custom - argument_type: - type: named - name: Int32 - _neq: - type: custom - argument_type: - type: named - name: Int32 - _nin: - type: custom - argument_type: - type: array - element_type: - type: named - name: Int32 - String: - aggregate_functions: {} - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: String - _gte: - type: custom - argument_type: - type: named - name: String - _ilike: - type: custom - argument_type: - type: named - name: String - _in: - type: in - _like: - type: custom - argument_type: - type: named - name: String - _lt: - type: custom - argument_type: - type: named - name: String - _lte: - type: custom - argument_type: - type: named - name: String - _match: - type: custom - argument_type: - type: named - name: String - _neq: - type: custom - argument_type: - type: named - name: String - _nilike: - type: custom - argument_type: - type: named - name: String - _nin: - type: custom - argument_type: - type: array - element_type: - type: named - name: String - _nlike: - type: custom - argument_type: - type: named - name: String - object_types: - browsing_history: - description: "" - fields: - product_id: - type: - type: named - name: String - user_id: - type: - type: named - name: String - viewed_at: - type: - type: named - name: DateTime - recently_viewed_products: - fields: - product_id: - type: - type: named - name: String - user_id: - type: - type: named - name: String - viewed: - type: - type: named - name: Int32 - viewed_at: - type: - type: array - element_type: - type: named - name: String - session_history: - description: "" - fields: - logged_in_at: - type: - type: named - name: DateTime - user_id: - type: - type: named - name: String - collections: - - name: browsing_history - description: "" - arguments: {} - type: browsing_history - uniqueness_constraints: - user_id: - unique_columns: - - user_id - foreign_keys: {} - - name: session_history - description: "" - arguments: {} - type: session_history - uniqueness_constraints: - user_id: - unique_columns: - - user_id - foreign_keys: {} - - name: recently_viewed_products - arguments: {} - type: recently_viewed_products - uniqueness_constraints: {} - foreign_keys: {} - functions: [] - procedures: [] - capabilities: - version: ^0.1.1 - capabilities: - query: - aggregates: {} - variables: {} - explain: {} - mutation: {} - relationships: - relation_comparisons: {} - order_by_aggregate: {} diff --git a/analytics/clickhouse/connector/clickhouse.build.hml b/analytics/clickhouse/connector/clickhouse.build.hml deleted file mode 100644 index 5555bc5..0000000 --- a/analytics/clickhouse/connector/clickhouse.build.hml +++ /dev/null @@ -1,20 +0,0 @@ -kind: ConnectorManifest -version: v1 -spec: - supergraphManifests: - - base -definition: - name: clickhouse - type: cloud - connector: - type: hub - name: hasura/clickhouse:v0.2.3 - deployments: - - context: . - env: - CLICKHOUSE_PASSWORD: - value: "zU9N5~sZ01rzs" - CLICKHOUSE_URL: - value: "https://l1ne0vws7i.us-west-2.aws.clickhouse.cloud:8443" - CLICKHOUSE_USERNAME: - value: "default" diff --git a/analytics/clickhouse/connector/configuration.json b/analytics/clickhouse/connector/configuration.json deleted file mode 100644 index f39b217..0000000 --- a/analytics/clickhouse/connector/configuration.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "$schema": "configuration.schema.json", - "tables": { - "browsing_history": { - "name": "browsing_history", - "schema": "default", - "comment": "", - "primary_key": { - "name": "user_id", - "columns": [ - "user_id" - ] - }, - "return_type": { - "kind": "definition", - "columns": { - "product_id": "String", - "user_id": "String", - "viewed_at": "DateTime" - } - } - }, - "session_history": { - "name": "session_history", - "schema": "default", - "comment": "", - "primary_key": { - "name": "user_id", - "columns": [ - "user_id" - ] - }, - "return_type": { - "kind": "definition", - "columns": { - "logged_in_at": "DateTime", - "user_id": "String" - } - } - } - }, - "queries": { - "recently_viewed_products": { - "exposed_as": "collection", - "file": "queries/recentlyViewedProducts.sql", - "return_type": { - "kind": "definition", - "columns": { - "product_id": "String", - "user_id": "String", - "viewed": "Int32", - "viewed_at": "Array(String)" - } - } - } - } -} \ No newline at end of file diff --git a/analytics/clickhouse/connector/configuration.schema.json b/analytics/clickhouse/connector/configuration.schema.json deleted file mode 100644 index 0671487..0000000 --- a/analytics/clickhouse/connector/configuration.schema.json +++ /dev/null @@ -1,208 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "ServerConfigFile", - "description": "the main configuration file", - "type": "object", - "required": [ - "$schema" - ], - "properties": { - "$schema": { - "type": "string" - }, - "queries": { - "description": "Optionally define custom parameterized queries here Note the names must not match table names", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ParameterizedQueryConfigFile" - } - }, - "tables": { - "description": "A list of tables available in this database\n\nThe map key is a unique table alias that defaults to defaults to \"_\", except for tables in the \"default\" schema where the table name is used This is the name exposed to the engine, and may be configured by users. When the configuration is updated, the table is identified by name and schema, and changes to the alias are preserved.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/TableConfigFile" - } - } - }, - "definitions": { - "ParameterizedQueryConfigFile": { - "type": "object", - "required": [ - "exposed_as", - "file", - "return_type" - ], - "properties": { - "comment": { - "description": "A comment that will be exposed in the schema", - "type": [ - "string", - "null" - ] - }, - "exposed_as": { - "description": "Whether this query should be exposed as a procedure (mutating) or collection (non-mutating)", - "allOf": [ - { - "$ref": "#/definitions/ParameterizedQueryExposedAs" - } - ] - }, - "file": { - "description": "A relative path to a sql file", - "type": "string" - }, - "return_type": { - "description": "Either a type definition for the return type for this query, or a reference to another return type: either a table's alias, or another query's alias. If another query, that query must have a return type definition.", - "allOf": [ - { - "$ref": "#/definitions/ReturnType" - } - ] - } - } - }, - "ParameterizedQueryExposedAs": { - "type": "string", - "enum": [ - "collection", - "procedure" - ] - }, - "PrimaryKey": { - "type": "object", - "required": [ - "columns", - "name" - ], - "properties": { - "columns": { - "description": "The names of columns in this primary key", - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string" - } - } - }, - "ReturnType": { - "oneOf": [ - { - "description": "A custom return type definition The keys are column names, the values are parsable clichouse datatypes", - "type": "object", - "required": [ - "columns", - "kind" - ], - "properties": { - "columns": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "kind": { - "type": "string", - "enum": [ - "definition" - ] - } - } - }, - { - "description": "the same as the return type for another table", - "type": "object", - "required": [ - "kind", - "table_name" - ], - "properties": { - "kind": { - "type": "string", - "enum": [ - "table_reference" - ] - }, - "table_name": { - "description": "the table alias must match a key in `tables`, and the query must return the same type as that table alternatively, the alias may reference another parameterized query which has a return type definition,", - "type": "string" - } - } - }, - { - "description": "The same as the return type for another query", - "type": "object", - "required": [ - "kind", - "query_name" - ], - "properties": { - "kind": { - "type": "string", - "enum": [ - "query_reference" - ] - }, - "query_name": { - "description": "the table alias must match a key in `tables`, and the query must return the same type as that table alternatively, the alias may reference another parameterized query which has a return type definition,", - "type": "string" - } - } - } - ] - }, - "TableConfigFile": { - "type": "object", - "required": [ - "name", - "return_type", - "schema" - ], - "properties": { - "arguments": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "comment": { - "description": "Comments are sourced from the database table comment", - "type": [ - "string", - "null" - ] - }, - "name": { - "description": "The table name", - "type": "string" - }, - "primary_key": { - "anyOf": [ - { - "$ref": "#/definitions/PrimaryKey" - }, - { - "type": "null" - } - ] - }, - "return_type": { - "description": "The map key is a column alias identifying the table and may be customized. It defaults to the table name. When the configuration is updated, the column is identified by name, and changes to the alias are preserved.", - "allOf": [ - { - "$ref": "#/definitions/ReturnType" - } - ] - }, - "schema": { - "description": "The table schema", - "type": "string" - } - } - } - } -} \ No newline at end of file diff --git a/analytics/clickhouse/connector/queries/recentlyViewedProducts.sql b/analytics/clickhouse/connector/queries/recentlyViewedProducts.sql deleted file mode 100644 index 33f6d3c..0000000 --- a/analytics/clickhouse/connector/queries/recentlyViewedProducts.sql +++ /dev/null @@ -1,7 +0,0 @@ -SELECT - COUNT(*) as viewed, - product_id, - user_id, - groupArray(viewed_at) as viewed_at -FROM browsing_history -GROUP BY product_id, user_id; \ No newline at end of file diff --git a/analytics/clickhouse/models/BrowsingHistory.hml b/analytics/clickhouse/models/BrowsingHistory.hml deleted file mode 100644 index 1ff1573..0000000 --- a/analytics/clickhouse/models/BrowsingHistory.hml +++ /dev/null @@ -1,102 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: BrowsingHistory - fields: - - name: productId - type: String! - - name: userId - type: String! - - name: viewedAt - type: DateTime! - graphql: - typeName: Analytics_BrowsingHistory - inputTypeName: Analytics_BrowsingHistoryInput - dataConnectorTypeMapping: - - dataConnectorName: clickhouse - dataConnectorObjectType: browsing_history - fieldMapping: - productId: - column: - name: product_id - userId: - column: - name: user_id - viewedAt: - column: - name: viewed_at - ---- -kind: TypePermissions -version: v1 -definition: - typeName: BrowsingHistory - permissions: - - role: admin - output: - allowedFields: - - productId - - userId - - viewedAt - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: BrowsingHistoryBoolExp - objectType: BrowsingHistory - dataConnectorName: clickhouse - dataConnectorObjectType: browsing_history - comparableFields: - - fieldName: productId - operators: - enableAll: true - - fieldName: userId - operators: - enableAll: true - - fieldName: viewedAt - operators: - enableAll: true - graphql: - typeName: Analytics_BrowsingHistoryBoolExp - ---- -kind: Model -version: v1 -definition: - name: BrowsingHistory - objectType: BrowsingHistory - source: - dataConnectorName: clickhouse - collection: browsing_history - filterExpressionType: BrowsingHistoryBoolExp - orderableFields: - - fieldName: productId - orderByDirections: - enableAll: true - - fieldName: userId - orderByDirections: - enableAll: true - - fieldName: viewedAt - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: analytics_browsingHistory - selectUniques: - - queryRootField: analytics_browsingHistoryByUserId - uniqueIdentifier: - - userId - orderByExpressionType: Analytics_BrowsingHistoryOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: BrowsingHistory - permissions: - - role: admin - select: - filter: null - diff --git a/analytics/clickhouse/models/RecentlyViewedProducts.hml b/analytics/clickhouse/models/RecentlyViewedProducts.hml deleted file mode 100644 index 2a484bf..0000000 --- a/analytics/clickhouse/models/RecentlyViewedProducts.hml +++ /dev/null @@ -1,148 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: RecentlyViewedProducts - fields: - - name: productId - type: String! - - name: userId - type: String! - - name: viewed - type: Int32! - - name: viewedAt - type: "[String!]!" - graphql: - typeName: App_RecentlyViewedProducts - inputTypeName: App_RecentlyViewedProductsInput - dataConnectorTypeMapping: - - dataConnectorName: clickhouse - dataConnectorObjectType: recently_viewed_products - fieldMapping: - productId: - column: - name: product_id - userId: - column: - name: user_id - viewed: - column: - name: viewed - viewedAt: - column: - name: viewed_at - ---- -kind: TypePermissions -version: v1 -definition: - typeName: RecentlyViewedProducts - permissions: - - role: admin - output: - allowedFields: - - productId - - userId - - viewed - - viewedAt - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: RecentlyViewedProductsBoolExp - objectType: RecentlyViewedProducts - dataConnectorName: clickhouse - dataConnectorObjectType: recently_viewed_products - comparableFields: - - fieldName: productId - operators: - enableAll: true - - fieldName: userId - operators: - enableAll: true - - fieldName: viewed - operators: - enableAll: true - - fieldName: viewedAt - operators: - enableAll: true - graphql: - typeName: App_RecentlyViewedProductsBoolExp - ---- -kind: Model -version: v1 -definition: - name: RecentlyViewedProducts - objectType: RecentlyViewedProducts - source: - dataConnectorName: clickhouse - collection: recently_viewed_products - filterExpressionType: RecentlyViewedProductsBoolExp - orderableFields: - - fieldName: productId - orderByDirections: - enableAll: true - - fieldName: userId - orderByDirections: - enableAll: true - - fieldName: viewed - orderByDirections: - enableAll: true - - fieldName: viewedAt - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: app_recentlyViewedProducts - selectUniques: [] - orderByExpressionType: App_RecentlyViewedProductsOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: RecentlyViewedProducts - permissions: - - role: admin - select: - filter: null - ---- -kind: Relationship -version: v1 -definition: - name: product - source: RecentlyViewedProducts - target: - model: - name: Products - subgraph: experience - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: productId - target: - modelField: - - fieldName: id - ---- -kind: Relationship -version: v1 -definition: - name: user - source: RecentlyViewedProducts - target: - model: - name: Users - subgraph: users - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: userId - target: - modelField: - - fieldName: user_id diff --git a/analytics/clickhouse/models/SessionHistory.hml b/analytics/clickhouse/models/SessionHistory.hml deleted file mode 100644 index 3450e7a..0000000 --- a/analytics/clickhouse/models/SessionHistory.hml +++ /dev/null @@ -1,108 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: SessionHistory - fields: - - name: loggedInAt - type: DateTime! - - name: userId - type: String! - graphql: - typeName: Analytics_SessionHistory - inputTypeName: Analytics_SessionHistoryInput - dataConnectorTypeMapping: - - dataConnectorName: clickhouse - dataConnectorObjectType: session_history - fieldMapping: - loggedInAt: - column: - name: logged_in_at - userId: - column: - name: user_id - ---- -kind: TypePermissions -version: v1 -definition: - typeName: SessionHistory - permissions: - - role: admin - output: - allowedFields: - - loggedInAt - - userId - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: SessionHistoryBoolExp - objectType: SessionHistory - dataConnectorName: clickhouse - dataConnectorObjectType: session_history - comparableFields: - - fieldName: loggedInAt - operators: - enableAll: true - - fieldName: userId - operators: - enableAll: true - graphql: - typeName: Analytics_SessionHistoryBoolExp - ---- -kind: Model -version: v1 -definition: - name: SessionHistory - objectType: SessionHistory - source: - dataConnectorName: clickhouse - collection: session_history - filterExpressionType: SessionHistoryBoolExp - orderableFields: - - fieldName: loggedInAt - orderByDirections: - enableAll: true - - fieldName: userId - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: analytics_sessionHistory - selectUniques: - - queryRootField: analytics_sessionHistoryByUserId - uniqueIdentifier: - - userId - orderByExpressionType: Analytics_SessionHistoryOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: SessionHistory - permissions: - - role: admin - select: - filter: null - ---- -kind: Relationship -version: v1 -definition: - name: user - source: SessionHistory - target: - model: - name: Users - subgraph: users - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: userId - target: - modelField: - - fieldName: user_id \ No newline at end of file diff --git a/experience/db1/connector/configuration.json b/experience/db1/connector/configuration.json deleted file mode 100644 index 7110fc6..0000000 --- a/experience/db1/connector/configuration.json +++ /dev/null @@ -1,1533 +0,0 @@ -{ - "version": "3", - "$schema": "schema.json", - "connectionSettings": { - "connectionUri": { - "variable": "CONNECTION_URI" - }, - "poolSettings": { - "maxConnections": 50, - "poolTimeout": 30, - "idleTimeout": 180, - "connectionLifetime": 600 - }, - "isolationLevel": "ReadCommitted" - }, - "metadata": { - "tables": { - "cart_items": { - "schemaName": "public", - "tableName": "cart_items", - "columns": { - "cart_id": { - "name": "cart_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "product_id": { - "name": "product_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "quantity": { - "name": "quantity", - "type": { - "scalarType": "int4" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - } - }, - "uniquenessConstraints": { - "cart_items_pkey": [ - "id" - ] - }, - "foreignRelations": { - "cart_items_cart_id_foreign": { - "foreignSchema": "public", - "foreignTable": "carts", - "columnMapping": { - "cart_id": "id" - } - }, - "cart_items_product_id_foreign": { - "foreignSchema": "public", - "foreignTable": "products", - "columnMapping": { - "product_id": "id" - } - } - }, - "description": null - }, - "carts": { - "schemaName": "public", - "tableName": "carts", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_complete": { - "name": "is_complete", - "type": { - "scalarType": "bool" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_reminder_sent": { - "name": "is_reminder_sent", - "type": { - "scalarType": "bool" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "carts_pkey": [ - "id" - ] - }, - "foreignRelations": { - "carts_user_id_foreign": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - } - }, - "description": null - }, - "categories": { - "schemaName": "public", - "tableName": "categories", - "columns": { - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "name": { - "name": "name", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "categories_pkey": [ - "id" - ] - }, - "foreignRelations": {}, - "description": null - }, - "coupons": { - "schemaName": "public", - "tableName": "coupons", - "columns": { - "amount": { - "name": "amount", - "type": { - "scalarType": "int4" - }, - "nullable": "nullable", - "description": null - }, - "code": { - "name": "code", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "expiration_date": { - "name": "expiration_date", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "percent_or_value": { - "name": "percent_or_value", - "type": { - "scalarType": "text" - }, - "nullable": "nullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "coupons_pkey": [ - "id" - ] - }, - "foreignRelations": { - "coupons_user_id_fkey": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - } - }, - "description": null - }, - "manufacturers": { - "schemaName": "public", - "tableName": "manufacturers", - "columns": { - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "name": { - "name": "name", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "manufacturers_pkey": [ - "id" - ] - }, - "foreignRelations": {}, - "description": null - }, - "notifications": { - "schemaName": "public", - "tableName": "notifications", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "message": { - "name": "message", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "notifications_pkey": [ - "id" - ] - }, - "foreignRelations": { - "notifications_user_id_fkey": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - } - }, - "description": null - }, - "orders": { - "schemaName": "public", - "tableName": "orders", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "delivery_date": { - "name": "delivery_date", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_reviewed": { - "name": "is_reviewed", - "type": { - "scalarType": "bool" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "product_id": { - "name": "product_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "status": { - "name": "status", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "orders_pkey": [ - "id" - ] - }, - "foreignRelations": { - "orders_customer_id_fkey": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - }, - "orders_product_id_fkey": { - "foreignSchema": "public", - "foreignTable": "products", - "columnMapping": { - "product_id": "id" - } - } - }, - "description": null - }, - "products": { - "schemaName": "public", - "tableName": "products", - "columns": { - "category_id": { - "name": "category_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "country_of_origin": { - "name": "country_of_origin", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "description": { - "name": "description", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "image": { - "name": "image", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "manufacturer_id": { - "name": "manufacturer_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "name": { - "name": "name", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "price": { - "name": "price", - "type": { - "scalarType": "int4" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "vector": { - "name": "vector", - "type": { - "scalarType": "vector" - }, - "nullable": "nullable", - "description": null - } - }, - "uniquenessConstraints": { - "products_pkey": [ - "id" - ] - }, - "foreignRelations": { - "products_category_foreign": { - "foreignSchema": "public", - "foreignTable": "categories", - "columnMapping": { - "category_id": "id" - } - }, - "products_manufacturer_foreign": { - "foreignSchema": "public", - "foreignTable": "manufacturers", - "columnMapping": { - "manufacturer_id": "id" - } - } - }, - "description": null - }, - "reviews": { - "schemaName": "public", - "tableName": "reviews", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_visible": { - "name": "is_visible", - "type": { - "scalarType": "bool" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "product_id": { - "name": "product_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "rating": { - "name": "rating", - "type": { - "scalarType": "int4" - }, - "nullable": "nonNullable", - "description": null - }, - "text": { - "name": "text", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "reviews_pkey": [ - "id" - ] - }, - "foreignRelations": { - "reviews_product_id_foreign": { - "foreignSchema": "public", - "foreignTable": "products", - "columnMapping": { - "product_id": "id" - } - }, - "reviews_user_id_foreign": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - } - }, - "description": null - }, - "users": { - "schemaName": "public", - "tableName": "users", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "email": { - "name": "email", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "favorite_artist": { - "name": "favorite_artist", - "type": { - "scalarType": "int4" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_email_verified": { - "name": "is_email_verified", - "type": { - "scalarType": "bool" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "last_seen": { - "name": "last_seen", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "description": null - }, - "name": { - "name": "name", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "password": { - "name": "password", - "type": { - "scalarType": "text" - }, - "nullable": "nullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - } - }, - "uniquenessConstraints": { - "users_pkey": [ - "id" - ] - }, - "foreignRelations": {}, - "description": null - } - }, - "compositeTypes": {}, - "nativeQueries": { - "products_vector_distance": { - "sql": { - "inline": "SELECT id, vector <=> {{query_vector}} AS distance FROM products" - }, - "columns": { - "distance": { - "name": "distance", - "type": { - "scalarType": "float8" - }, - "nullable": "nullable", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nullable", - "description": null - } - }, - "arguments": { - "query_vector": { - "name": "query_vector", - "type": { - "scalarType": "vector" - }, - "nullable": "nullable", - "description": null - } - }, - "description": null - } - }, - "aggregateFunctions": { - "bool": { - "bool_and": { - "returnType": "bool" - }, - "bool_or": { - "returnType": "bool" - }, - "every": { - "returnType": "bool" - } - }, - "float8": { - "avg": { - "returnType": "float8" - }, - "max": { - "returnType": "float8" - }, - "min": { - "returnType": "float8" - }, - "stddev": { - "returnType": "float8" - }, - "stddev_pop": { - "returnType": "float8" - }, - "stddev_samp": { - "returnType": "float8" - }, - "sum": { - "returnType": "float8" - }, - "var_pop": { - "returnType": "float8" - }, - "var_samp": { - "returnType": "float8" - }, - "variance": { - "returnType": "float8" - } - }, - "int4": { - "bit_and": { - "returnType": "int4" - }, - "bit_or": { - "returnType": "int4" - }, - "bit_xor": { - "returnType": "int4" - }, - "max": { - "returnType": "int4" - }, - "min": { - "returnType": "int4" - } - }, - "text": { - "max": { - "returnType": "text" - }, - "min": { - "returnType": "text" - } - }, - "timestamptz": { - "max": { - "returnType": "timestamptz" - }, - "min": { - "returnType": "timestamptz" - } - }, - "vector": { - "avg": { - "returnType": "vector" - }, - "sum": { - "returnType": "vector" - } - } - }, - "comparisonOperators": { - "bool": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "bool", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "bool", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - } - }, - "float8": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "float8", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "float8", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "float8", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "float8", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "float8", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "float8", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "float8", - "isInfix": true - } - }, - "int4": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "int4", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "int4", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - } - }, - "text": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "text", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_ilike": { - "operatorName": "~~*", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "text", - "isInfix": true - }, - "_iregex": { - "operatorName": "~*", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_like": { - "operatorName": "~~", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_nilike": { - "operatorName": "!~~*", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_niregex": { - "operatorName": "!~*", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_nlike": { - "operatorName": "!~~", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_nregex": { - "operatorName": "!~", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_regex": { - "operatorName": "~", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "starts_with": { - "operatorName": "starts_with", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": false - }, - "ts_match_tt": { - "operatorName": "ts_match_tt", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": false - } - }, - "timestamptz": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "timestamptz", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "timestamptz", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - } - }, - "uuid": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "uuid", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "uuid", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - } - }, - "vector": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "vector", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "vector", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - } - } - } - }, - "introspectionOptions": { - "excludedSchemas": [ - "information_schema", - "pg_catalog", - "tiger", - "crdb_internal", - "columnar", - "columnar_internal" - ], - "unqualifiedSchemasForTables": [ - "public" - ], - "unqualifiedSchemasForTypesAndProcedures": [ - "public", - "pg_catalog", - "tiger" - ], - "comparisonOperatorMapping": [ - { - "operatorName": "=", - "exposedName": "_eq", - "operatorKind": "equal" - }, - { - "operatorName": "<=", - "exposedName": "_lte", - "operatorKind": "custom" - }, - { - "operatorName": ">", - "exposedName": "_gt", - "operatorKind": "custom" - }, - { - "operatorName": ">=", - "exposedName": "_gte", - "operatorKind": "custom" - }, - { - "operatorName": "<", - "exposedName": "_lt", - "operatorKind": "custom" - }, - { - "operatorName": "!=", - "exposedName": "_neq", - "operatorKind": "custom" - }, - { - "operatorName": "LIKE", - "exposedName": "_like", - "operatorKind": "custom" - }, - { - "operatorName": "NOT LIKE", - "exposedName": "_nlike", - "operatorKind": "custom" - }, - { - "operatorName": "ILIKE", - "exposedName": "_ilike", - "operatorKind": "custom" - }, - { - "operatorName": "NOT ILIKE", - "exposedName": "_nilike", - "operatorKind": "custom" - }, - { - "operatorName": "SIMILAR TO", - "exposedName": "_similar", - "operatorKind": "custom" - }, - { - "operatorName": "NOT SIMILAR TO", - "exposedName": "_nsimilar", - "operatorKind": "custom" - }, - { - "operatorName": "<>", - "exposedName": "_neq", - "operatorKind": "custom" - }, - { - "operatorName": "~~", - "exposedName": "_like", - "operatorKind": "custom" - }, - { - "operatorName": "!~~", - "exposedName": "_nlike", - "operatorKind": "custom" - }, - { - "operatorName": "~~*", - "exposedName": "_ilike", - "operatorKind": "custom" - }, - { - "operatorName": "!~~*", - "exposedName": "_nilike", - "operatorKind": "custom" - }, - { - "operatorName": "~", - "exposedName": "_regex", - "operatorKind": "custom" - }, - { - "operatorName": "!~", - "exposedName": "_nregex", - "operatorKind": "custom" - }, - { - "operatorName": "~*", - "exposedName": "_iregex", - "operatorKind": "custom" - }, - { - "operatorName": "!~*", - "exposedName": "_niregex", - "operatorKind": "custom" - } - ], - "introspectPrefixFunctionComparisonOperators": [ - "box_above", - "box_below", - "box_contain", - "box_contain_pt", - "box_contained", - "box_left", - "box_overabove", - "box_overbelow", - "box_overlap", - "box_overleft", - "box_overright", - "box_right", - "box_same", - "circle_above", - "circle_below", - "circle_contain", - "circle_contain_pt", - "circle_contained", - "circle_left", - "circle_overabove", - "circle_overbelow", - "circle_overlap", - "circle_overleft", - "circle_overright", - "circle_right", - "circle_same", - "contains_2d", - "equals", - "geography_overlaps", - "geometry_above", - "geometry_below", - "geometry_contained_3d", - "geometry_contains", - "geometry_contains_3d", - "geometry_contains_nd", - "geometry_left", - "geometry_overabove", - "geometry_overbelow", - "geometry_overlaps", - "geometry_overlaps_3d", - "geometry_overlaps_nd", - "geometry_overleft", - "geometry_overright", - "geometry_right", - "geometry_same", - "geometry_same_3d", - "geometry_same_nd", - "geometry_within", - "geometry_within_nd", - "inet_same_family", - "inter_lb", - "inter_sb", - "inter_sl", - "is_contained_2d", - "ishorizontal", - "isparallel", - "isperp", - "isvertical", - "jsonb_contained", - "jsonb_contains", - "jsonb_exists", - "jsonb_path_exists_opr", - "jsonb_path_match_opr", - "line_intersect", - "line_parallel", - "line_perp", - "lseg_intersect", - "lseg_parallel", - "lseg_perp", - "network_overlap", - "network_sub", - "network_sup", - "on_pb", - "on_pl", - "on_ppath", - "on_ps", - "on_sb", - "on_sl", - "overlaps_2d", - "path_contain_pt", - "path_inter", - "point_above", - "point_below", - "point_horiz", - "point_left", - "point_right", - "point_vert", - "poly_above", - "poly_below", - "poly_contain", - "poly_contain_pt", - "poly_contained", - "poly_left", - "poly_overabove", - "poly_overbelow", - "poly_overlap", - "poly_overleft", - "poly_overright", - "poly_right", - "poly_same", - "pt_contained_poly", - "st_3dintersects", - "st_contains", - "st_containsproperly", - "st_coveredby", - "st_covers", - "st_crosses", - "st_disjoint", - "st_equals", - "st_intersects", - "st_isvalid", - "st_orderingequals", - "st_overlaps", - "st_relatematch", - "st_touches", - "st_within", - "starts_with", - "ts_match_qv", - "ts_match_tq", - "ts_match_tt", - "ts_match_vq", - "tsq_mcontained", - "tsq_mcontains", - "xmlexists", - "xmlvalidate", - "xpath_exists" - ] - }, - "mutationsVersion": null -} diff --git a/experience/db1/connector/db1.build.hml b/experience/db1/connector/db1.build.hml deleted file mode 100644 index bd1dfff..0000000 --- a/experience/db1/connector/db1.build.hml +++ /dev/null @@ -1,16 +0,0 @@ -kind: ConnectorManifest -version: v1 -spec: - supergraphManifests: - - base -definition: - name: db1 - type: cloud - connector: - type: hub - name: hasura/postgres:v0.5.1 - deployments: - - context: . - env: - CONNECTION_URI: - value: "postgresql://read_only_user:readonlyuser@35.236.11.122:5432/v3-docs-sample-app" diff --git a/experience/db1/connector/schema.json b/experience/db1/connector/schema.json deleted file mode 100644 index b70aded..0000000 --- a/experience/db1/connector/schema.json +++ /dev/null @@ -1,1293 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "RawConfiguration", - "description": "The parsed connector configuration.", - "oneOf": [ - { - "description": "Initial configuration, just enough to connect to a database and elaborate a full 'Configuration'.", - "type": "object", - "required": [ - "connectionSettings", - "version" - ], - "properties": { - "version": { - "type": "string", - "enum": [ - "3" - ] - }, - "$schema": { - "description": "Jsonschema of the configuration format.", - "default": null, - "type": [ - "string", - "null" - ] - }, - "connectionSettings": { - "description": "Database connection settings.", - "allOf": [ - { - "$ref": "#/definitions/DatabaseConnectionSettings" - } - ] - }, - "metadata": { - "description": "Connector metadata.", - "default": { - "aggregateFunctions": {}, - "comparisonOperators": {}, - "compositeTypes": {}, - "nativeQueries": {}, - "tables": {} - }, - "allOf": [ - { - "$ref": "#/definitions/Metadata" - } - ] - }, - "introspectionOptions": { - "description": "Database introspection options.", - "default": { - "comparisonOperatorMapping": [ - { - "exposedName": "_eq", - "operatorKind": "equal", - "operatorName": "=" - }, - { - "exposedName": "_lte", - "operatorKind": "custom", - "operatorName": "<=" - }, - { - "exposedName": "_gt", - "operatorKind": "custom", - "operatorName": ">" - }, - { - "exposedName": "_gte", - "operatorKind": "custom", - "operatorName": ">=" - }, - { - "exposedName": "_lt", - "operatorKind": "custom", - "operatorName": "<" - }, - { - "exposedName": "_neq", - "operatorKind": "custom", - "operatorName": "!=" - }, - { - "exposedName": "_like", - "operatorKind": "custom", - "operatorName": "LIKE" - }, - { - "exposedName": "_nlike", - "operatorKind": "custom", - "operatorName": "NOT LIKE" - }, - { - "exposedName": "_ilike", - "operatorKind": "custom", - "operatorName": "ILIKE" - }, - { - "exposedName": "_nilike", - "operatorKind": "custom", - "operatorName": "NOT ILIKE" - }, - { - "exposedName": "_similar", - "operatorKind": "custom", - "operatorName": "SIMILAR TO" - }, - { - "exposedName": "_nsimilar", - "operatorKind": "custom", - "operatorName": "NOT SIMILAR TO" - }, - { - "exposedName": "_neq", - "operatorKind": "custom", - "operatorName": "<>" - }, - { - "exposedName": "_like", - "operatorKind": "custom", - "operatorName": "~~" - }, - { - "exposedName": "_nlike", - "operatorKind": "custom", - "operatorName": "!~~" - }, - { - "exposedName": "_ilike", - "operatorKind": "custom", - "operatorName": "~~*" - }, - { - "exposedName": "_nilike", - "operatorKind": "custom", - "operatorName": "!~~*" - }, - { - "exposedName": "_regex", - "operatorKind": "custom", - "operatorName": "~" - }, - { - "exposedName": "_nregex", - "operatorKind": "custom", - "operatorName": "!~" - }, - { - "exposedName": "_iregex", - "operatorKind": "custom", - "operatorName": "~*" - }, - { - "exposedName": "_niregex", - "operatorKind": "custom", - "operatorName": "!~*" - } - ], - "excludedSchemas": [ - "information_schema", - "pg_catalog", - "tiger", - "crdb_internal", - "columnar", - "columnar_internal" - ], - "introspectPrefixFunctionComparisonOperators": [ - "box_above", - "box_below", - "box_contain", - "box_contain_pt", - "box_contained", - "box_left", - "box_overabove", - "box_overbelow", - "box_overlap", - "box_overleft", - "box_overright", - "box_right", - "box_same", - "circle_above", - "circle_below", - "circle_contain", - "circle_contain_pt", - "circle_contained", - "circle_left", - "circle_overabove", - "circle_overbelow", - "circle_overlap", - "circle_overleft", - "circle_overright", - "circle_right", - "circle_same", - "contains_2d", - "equals", - "geography_overlaps", - "geometry_above", - "geometry_below", - "geometry_contained_3d", - "geometry_contains", - "geometry_contains_3d", - "geometry_contains_nd", - "geometry_left", - "geometry_overabove", - "geometry_overbelow", - "geometry_overlaps", - "geometry_overlaps_3d", - "geometry_overlaps_nd", - "geometry_overleft", - "geometry_overright", - "geometry_right", - "geometry_same", - "geometry_same_3d", - "geometry_same_nd", - "geometry_within", - "geometry_within_nd", - "inet_same_family", - "inter_lb", - "inter_sb", - "inter_sl", - "is_contained_2d", - "ishorizontal", - "isparallel", - "isperp", - "isvertical", - "jsonb_contained", - "jsonb_contains", - "jsonb_exists", - "jsonb_path_exists_opr", - "jsonb_path_match_opr", - "line_intersect", - "line_parallel", - "line_perp", - "lseg_intersect", - "lseg_parallel", - "lseg_perp", - "network_overlap", - "network_sub", - "network_sup", - "on_pb", - "on_pl", - "on_ppath", - "on_ps", - "on_sb", - "on_sl", - "overlaps_2d", - "path_contain_pt", - "path_inter", - "point_above", - "point_below", - "point_horiz", - "point_left", - "point_right", - "point_vert", - "poly_above", - "poly_below", - "poly_contain", - "poly_contain_pt", - "poly_contained", - "poly_left", - "poly_overabove", - "poly_overbelow", - "poly_overlap", - "poly_overleft", - "poly_overright", - "poly_right", - "poly_same", - "pt_contained_poly", - "st_3dintersects", - "st_contains", - "st_containsproperly", - "st_coveredby", - "st_covers", - "st_crosses", - "st_disjoint", - "st_equals", - "st_intersects", - "st_isvalid", - "st_orderingequals", - "st_overlaps", - "st_relatematch", - "st_touches", - "st_within", - "starts_with", - "ts_match_qv", - "ts_match_tq", - "ts_match_tt", - "ts_match_vq", - "tsq_mcontained", - "tsq_mcontains", - "xmlexists", - "xmlvalidate", - "xpath_exists" - ], - "unqualifiedSchemasForTables": [ - "public" - ], - "unqualifiedSchemasForTypesAndProcedures": [ - "public", - "pg_catalog", - "tiger" - ] - }, - "allOf": [ - { - "$ref": "#/definitions/IntrospectionOptions" - } - ] - }, - "mutationsVersion": { - "description": "Which version of the generated mutation procedures to include in the schema response", - "default": null, - "anyOf": [ - { - "$ref": "#/definitions/MutationsVersion" - }, - { - "type": "null" - } - ] - } - } - } - ], - "definitions": { - "DatabaseConnectionSettings": { - "description": "Database connection settings.", - "type": "object", - "required": [ - "connectionUri" - ], - "properties": { - "connectionUri": { - "description": "Connection string for a Postgres-compatible database.", - "allOf": [ - { - "$ref": "#/definitions/ConnectionUri" - } - ] - }, - "poolSettings": { - "description": "Connection pool settings.", - "default": { - "connectionLifetime": 600, - "idleTimeout": 180, - "maxConnections": 50, - "poolTimeout": 30 - }, - "allOf": [ - { - "$ref": "#/definitions/PoolSettings" - } - ] - }, - "isolationLevel": { - "description": "Query isolation level.", - "default": "ReadCommitted", - "allOf": [ - { - "$ref": "#/definitions/IsolationLevel" - } - ] - } - } - }, - "ConnectionUri": { - "$ref": "#/definitions/Secret" - }, - "Secret": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "required": [ - "variable" - ], - "properties": { - "variable": { - "$ref": "#/definitions/Variable" - } - } - } - ] - }, - "Variable": { - "description": "The name of an an environment variable.", - "type": "string" - }, - "PoolSettings": { - "description": "Settings for the PostgreSQL connection pool", - "type": "object", - "properties": { - "maxConnections": { - "description": "maximum number of pool connections", - "default": 50, - "type": "integer", - "format": "uint32", - "minimum": 0.0 - }, - "poolTimeout": { - "description": "timeout for acquiring a connection from the pool (seconds)", - "default": 30, - "type": "integer", - "format": "uint64", - "minimum": 0.0 - }, - "idleTimeout": { - "description": "idle timeout for releasing a connection from the pool (seconds)", - "default": 180, - "type": [ - "integer", - "null" - ], - "format": "uint64", - "minimum": 0.0 - }, - "connectionLifetime": { - "description": "maximum lifetime for an individual connection (seconds)", - "default": 600, - "type": [ - "integer", - "null" - ], - "format": "uint64", - "minimum": 0.0 - } - } - }, - "IsolationLevel": { - "description": "The isolation level of the transaction in which a query is executed.", - "oneOf": [ - { - "description": "Prevents reading data from another uncommitted transaction.", - "type": "string", - "enum": [ - "ReadCommitted" - ] - }, - { - "description": "Reading the same data twice is guaranteed to return the same result.", - "type": "string", - "enum": [ - "RepeatableRead" - ] - }, - { - "description": "Concurrent transactions behave identically to serializing them one at a time.", - "type": "string", - "enum": [ - "Serializable" - ] - } - ] - }, - "Metadata": { - "description": "Metadata information.", - "type": "object", - "properties": { - "tables": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/TablesInfo" - } - ] - }, - "compositeTypes": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/CompositeTypes" - } - ] - }, - "nativeQueries": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/NativeQueries" - } - ] - }, - "aggregateFunctions": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/AggregateFunctions" - } - ] - }, - "comparisonOperators": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/ComparisonOperators" - } - ] - } - } - }, - "TablesInfo": { - "description": "Mapping from a \"table\" name to its information.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/TableInfo" - } - }, - "TableInfo": { - "description": "Information about a database table (or any other kind of relation).", - "type": "object", - "required": [ - "columns", - "schemaName", - "tableName" - ], - "properties": { - "schemaName": { - "type": "string" - }, - "tableName": { - "type": "string" - }, - "columns": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ColumnInfo" - } - }, - "uniquenessConstraints": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/UniquenessConstraints" - } - ] - }, - "foreignRelations": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/ForeignRelations" - } - ] - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "ColumnInfo": { - "description": "Information about a database column.", - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/Type" - }, - "nullable": { - "default": "nullable", - "allOf": [ - { - "$ref": "#/definitions/Nullable" - } - ] - }, - "hasDefault": { - "$ref": "#/definitions/HasDefault" - }, - "isIdentity": { - "$ref": "#/definitions/IsIdentity" - }, - "isGenerated": { - "$ref": "#/definitions/IsGenerated" - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "Type": { - "description": "The type of values that a column, field, or argument may take.", - "oneOf": [ - { - "type": "object", - "required": [ - "scalarType" - ], - "properties": { - "scalarType": { - "$ref": "#/definitions/ScalarType" - } - }, - "additionalProperties": false - }, - { - "type": "object", - "required": [ - "compositeType" - ], - "properties": { - "compositeType": { - "type": "string" - } - }, - "additionalProperties": false - }, - { - "type": "object", - "required": [ - "arrayType" - ], - "properties": { - "arrayType": { - "$ref": "#/definitions/Type" - } - }, - "additionalProperties": false - } - ] - }, - "ScalarType": { - "description": "A Scalar Type.", - "type": "string" - }, - "Nullable": { - "description": "Can this column contain null values", - "type": "string", - "enum": [ - "nullable", - "nonNullable" - ] - }, - "HasDefault": { - "description": "Does this column have a default value.", - "type": "string", - "enum": [ - "noDefault", - "hasDefault" - ] - }, - "IsIdentity": { - "description": "Is this column an identity column.", - "type": "string", - "enum": [ - "notIdentity", - "identityByDefault", - "identityAlways" - ] - }, - "IsGenerated": { - "description": "Is this column a generated column.", - "type": "string", - "enum": [ - "notGenerated", - "stored" - ] - }, - "UniquenessConstraints": { - "description": "A mapping from the name of a unique constraint to its value.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UniquenessConstraint" - } - }, - "UniquenessConstraint": { - "description": "The set of columns that make up a uniqueness constraint.", - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - }, - "ForeignRelations": { - "description": "A mapping from the name of a foreign key constraint to its value.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ForeignRelation" - } - }, - "ForeignRelation": { - "description": "A foreign key constraint.", - "type": "object", - "required": [ - "columnMapping", - "foreignTable" - ], - "properties": { - "foreignSchema": { - "type": [ - "string", - "null" - ] - }, - "foreignTable": { - "type": "string" - }, - "columnMapping": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "CompositeTypes": { - "description": "Map of all known composite types.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/CompositeType" - } - }, - "CompositeType": { - "description": "Information about a composite type. These are very similar to tables, but with the crucial difference that composite types do not support constraints (such as NOT NULL).", - "type": "object", - "required": [ - "fields", - "name" - ], - "properties": { - "name": { - "type": "string" - }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/FieldInfo" - } - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "FieldInfo": { - "description": "Information about a composite type field.", - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/Type" - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "NativeQueries": { - "description": "Metadata information of native queries.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/NativeQueryInfo" - } - }, - "NativeQueryInfo": { - "description": "Information about a Native Query", - "type": "object", - "required": [ - "columns", - "sql" - ], - "properties": { - "sql": { - "description": "SQL expression to use for the Native Query. We can interpolate values using `{{variable_name}}` syntax, such as `SELECT * FROM authors WHERE name = {{author_name}}`", - "allOf": [ - { - "$ref": "#/definitions/NativeQuerySql" - } - ] - }, - "columns": { - "description": "Columns returned by the Native Query", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ReadOnlyColumnInfo" - } - }, - "arguments": { - "description": "Names and types of arguments that can be passed to this Native Query", - "default": {}, - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ReadOnlyColumnInfo" - } - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - }, - "isProcedure": { - "description": "True if this native query mutates the database", - "type": "boolean" - } - } - }, - "NativeQuerySql": { - "description": "Native Query SQL location.", - "anyOf": [ - { - "description": "Refer to an external Native Query SQL file.", - "type": "object", - "required": [ - "file" - ], - "properties": { - "file": { - "description": "Relative path to a sql file.", - "type": "string" - } - } - }, - { - "description": "Inline Native Query SQL string.", - "type": "object", - "required": [ - "inline" - ], - "properties": { - "inline": { - "description": "An inline Native Query SQL string.", - "allOf": [ - { - "$ref": "#/definitions/InlineNativeQuerySql" - } - ] - } - } - }, - { - "$ref": "#/definitions/InlineNativeQuerySql" - } - ] - }, - "InlineNativeQuerySql": { - "type": "string" - }, - "ReadOnlyColumnInfo": { - "description": "Information about a native query column.", - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/Type" - }, - "nullable": { - "default": "nullable", - "allOf": [ - { - "$ref": "#/definitions/Nullable" - } - ] - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "AggregateFunctions": { - "description": "All supported aggregate functions, grouped by type.", - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/AggregateFunction" - } - } - }, - "AggregateFunction": { - "type": "object", - "required": [ - "returnType" - ], - "properties": { - "returnType": { - "$ref": "#/definitions/ScalarType" - } - } - }, - "ComparisonOperators": { - "description": "The complete list of supported binary operators for scalar types. Not all of these are supported for every type.", - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ComparisonOperator" - } - } - }, - "ComparisonOperator": { - "description": "Represents a postgres binary comparison operator", - "type": "object", - "required": [ - "argumentType", - "operatorKind", - "operatorName" - ], - "properties": { - "operatorName": { - "type": "string" - }, - "operatorKind": { - "$ref": "#/definitions/OperatorKind" - }, - "argumentType": { - "$ref": "#/definitions/ScalarType" - }, - "isInfix": { - "default": true, - "type": "boolean" - } - } - }, - "OperatorKind": { - "description": "Is it a built-in operator, or a custom operator.", - "type": "string", - "enum": [ - "equal", - "in", - "custom" - ] - }, - "IntrospectionOptions": { - "description": "Options which only influence how the configuration is updated.", - "type": "object", - "properties": { - "excludedSchemas": { - "description": "Schemas which are excluded from introspection. The default setting will exclude the internal schemas of Postgres, Citus, Cockroach, and the PostGIS extension.", - "default": [ - "information_schema", - "pg_catalog", - "tiger", - "crdb_internal", - "columnar", - "columnar_internal" - ], - "type": "array", - "items": { - "type": "string" - } - }, - "unqualifiedSchemasForTables": { - "description": "The names of Tables and Views in these schemas will be returned unqualified. The default setting will set the `public` schema as unqualified.", - "default": [ - "public" - ], - "type": "array", - "items": { - "type": "string" - } - }, - "unqualifiedSchemasForTypesAndProcedures": { - "description": "The types and procedures in these schemas will be returned unqualified.", - "default": [ - "public", - "pg_catalog", - "tiger" - ], - "type": "array", - "items": { - "type": "string" - } - }, - "comparisonOperatorMapping": { - "description": "The mapping of comparison operator names to apply when updating the configuration", - "default": [ - { - "exposedName": "_eq", - "operatorKind": "equal", - "operatorName": "=" - }, - { - "exposedName": "_lte", - "operatorKind": "custom", - "operatorName": "<=" - }, - { - "exposedName": "_gt", - "operatorKind": "custom", - "operatorName": ">" - }, - { - "exposedName": "_gte", - "operatorKind": "custom", - "operatorName": ">=" - }, - { - "exposedName": "_lt", - "operatorKind": "custom", - "operatorName": "<" - }, - { - "exposedName": "_neq", - "operatorKind": "custom", - "operatorName": "!=" - }, - { - "exposedName": "_like", - "operatorKind": "custom", - "operatorName": "LIKE" - }, - { - "exposedName": "_nlike", - "operatorKind": "custom", - "operatorName": "NOT LIKE" - }, - { - "exposedName": "_ilike", - "operatorKind": "custom", - "operatorName": "ILIKE" - }, - { - "exposedName": "_nilike", - "operatorKind": "custom", - "operatorName": "NOT ILIKE" - }, - { - "exposedName": "_similar", - "operatorKind": "custom", - "operatorName": "SIMILAR TO" - }, - { - "exposedName": "_nsimilar", - "operatorKind": "custom", - "operatorName": "NOT SIMILAR TO" - }, - { - "exposedName": "_neq", - "operatorKind": "custom", - "operatorName": "<>" - }, - { - "exposedName": "_like", - "operatorKind": "custom", - "operatorName": "~~" - }, - { - "exposedName": "_nlike", - "operatorKind": "custom", - "operatorName": "!~~" - }, - { - "exposedName": "_ilike", - "operatorKind": "custom", - "operatorName": "~~*" - }, - { - "exposedName": "_nilike", - "operatorKind": "custom", - "operatorName": "!~~*" - }, - { - "exposedName": "_regex", - "operatorKind": "custom", - "operatorName": "~" - }, - { - "exposedName": "_nregex", - "operatorKind": "custom", - "operatorName": "!~" - }, - { - "exposedName": "_iregex", - "operatorKind": "custom", - "operatorName": "~*" - }, - { - "exposedName": "_niregex", - "operatorKind": "custom", - "operatorName": "!~*" - } - ], - "type": "array", - "items": { - "$ref": "#/definitions/ComparisonOperatorMapping" - } - }, - "introspectPrefixFunctionComparisonOperators": { - "description": "Which prefix functions (i.e., non-infix operators) to generate introspection metadata for.\n\nThis list will accept any boolean-returning function taking two concrete scalar types as arguments.\n\nThe default includes comparisons for various build-in types as well as those of PostGIS.", - "default": [ - "box_above", - "box_below", - "box_contain", - "box_contain_pt", - "box_contained", - "box_left", - "box_overabove", - "box_overbelow", - "box_overlap", - "box_overleft", - "box_overright", - "box_right", - "box_same", - "circle_above", - "circle_below", - "circle_contain", - "circle_contain_pt", - "circle_contained", - "circle_left", - "circle_overabove", - "circle_overbelow", - "circle_overlap", - "circle_overleft", - "circle_overright", - "circle_right", - "circle_same", - "contains_2d", - "equals", - "geography_overlaps", - "geometry_above", - "geometry_below", - "geometry_contained_3d", - "geometry_contains", - "geometry_contains_3d", - "geometry_contains_nd", - "geometry_left", - "geometry_overabove", - "geometry_overbelow", - "geometry_overlaps", - "geometry_overlaps_3d", - "geometry_overlaps_nd", - "geometry_overleft", - "geometry_overright", - "geometry_right", - "geometry_same", - "geometry_same_3d", - "geometry_same_nd", - "geometry_within", - "geometry_within_nd", - "inet_same_family", - "inter_lb", - "inter_sb", - "inter_sl", - "is_contained_2d", - "ishorizontal", - "isparallel", - "isperp", - "isvertical", - "jsonb_contained", - "jsonb_contains", - "jsonb_exists", - "jsonb_path_exists_opr", - "jsonb_path_match_opr", - "line_intersect", - "line_parallel", - "line_perp", - "lseg_intersect", - "lseg_parallel", - "lseg_perp", - "network_overlap", - "network_sub", - "network_sup", - "on_pb", - "on_pl", - "on_ppath", - "on_ps", - "on_sb", - "on_sl", - "overlaps_2d", - "path_contain_pt", - "path_inter", - "point_above", - "point_below", - "point_horiz", - "point_left", - "point_right", - "point_vert", - "poly_above", - "poly_below", - "poly_contain", - "poly_contain_pt", - "poly_contained", - "poly_left", - "poly_overabove", - "poly_overbelow", - "poly_overlap", - "poly_overleft", - "poly_overright", - "poly_right", - "poly_same", - "pt_contained_poly", - "st_3dintersects", - "st_contains", - "st_containsproperly", - "st_coveredby", - "st_covers", - "st_crosses", - "st_disjoint", - "st_equals", - "st_intersects", - "st_isvalid", - "st_orderingequals", - "st_overlaps", - "st_relatematch", - "st_touches", - "st_within", - "starts_with", - "ts_match_qv", - "ts_match_tq", - "ts_match_tt", - "ts_match_vq", - "tsq_mcontained", - "tsq_mcontains", - "xmlexists", - "xmlvalidate", - "xpath_exists" - ], - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ComparisonOperatorMapping": { - "description": "Define the names that comparison operators will be exposed as by the automatic introspection.", - "type": "object", - "required": [ - "exposedName", - "operatorKind", - "operatorName" - ], - "properties": { - "operatorName": { - "description": "The name of the operator as defined by the database", - "type": "string" - }, - "exposedName": { - "description": "The name the operator will appear under in the exposed API", - "type": "string" - }, - "operatorKind": { - "description": "Equal, In or Custom.", - "allOf": [ - { - "$ref": "#/definitions/OperatorKind" - } - ] - } - } - }, - "MutationsVersion": { - "description": "Which version of the generated mutations will be included in the schema", - "type": "string", - "enum": [ - "v1" - ] - } - } -} diff --git a/experience/db1/db1-types.hml b/experience/db1/db1-types.hml deleted file mode 100644 index 4c4f2ae..0000000 --- a/experience/db1/db1-types.hml +++ /dev/null @@ -1,126 +0,0 @@ ---- -kind: ScalarType -version: v1 -definition: - name: Timestamptz - graphql: - typeName: Experience_Timestamptz - ---- -kind: ScalarType -version: v1 -definition: - name: Uuid - graphql: - typeName: Experience_Uuid - ---- -kind: ScalarType -version: v1 -definition: - name: Bool - graphql: - typeName: Experience_Bool - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db1 - dataConnectorScalarType: timestamptz - representation: Timestamptz - graphql: - comparisonExpressionTypeName: Experience_TimestamptzComparisonExp - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db1 - dataConnectorScalarType: uuid - representation: Uuid - graphql: - comparisonExpressionTypeName: Experience_UuidComparisonExp - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db1 - dataConnectorScalarType: bool - representation: Bool - graphql: - comparisonExpressionTypeName: Experience_BoolComparisonExp - ---- -kind: ScalarType -version: v1 -definition: - name: Int4 - graphql: - typeName: Experience_Int4 - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db1 - dataConnectorScalarType: int4 - representation: Int4 - graphql: - comparisonExpressionTypeName: Experience_Int4ComparisonExp - ---- -kind: ScalarType -version: v1 -definition: - name: Text - graphql: - typeName: Experience_Text - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db1 - dataConnectorScalarType: text - representation: Text - graphql: - comparisonExpressionTypeName: Experience_TextComparisonExp - ---- -kind: ScalarType -version: v1 -definition: - name: Vector - graphql: - typeName: Experience_Vector - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db1 - dataConnectorScalarType: vector - representation: Vector - graphql: - comparisonExpressionTypeName: Experience_VectorComparisonExp - ---- -kind: ScalarType -version: v1 -definition: - name: Float8 - graphql: - typeName: Experience_Float8 - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db1 - dataConnectorScalarType: float8 - representation: Float8 - graphql: - comparisonExpressionTypeName: Experience_Float8ComparisonExp - diff --git a/experience/db1/db1.hml b/experience/db1/db1.hml deleted file mode 100644 index 29b1545..0000000 --- a/experience/db1/db1.hml +++ /dev/null @@ -1,850 +0,0 @@ -kind: DataConnectorLink -version: v1 -definition: - name: db1 - url: - Fn::ManifestRef: db1 - schema: - version: v0.1 - schema: - scalar_types: - bool: - aggregate_functions: - bool_and: - result_type: - type: named - name: bool - bool_or: - result_type: - type: named - name: bool - every: - result_type: - type: named - name: bool - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: bool - _gte: - type: custom - argument_type: - type: named - name: bool - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: bool - _lte: - type: custom - argument_type: - type: named - name: bool - _neq: - type: custom - argument_type: - type: named - name: bool - float8: - aggregate_functions: - avg: - result_type: - type: named - name: float8 - max: - result_type: - type: named - name: float8 - min: - result_type: - type: named - name: float8 - stddev: - result_type: - type: named - name: float8 - stddev_pop: - result_type: - type: named - name: float8 - stddev_samp: - result_type: - type: named - name: float8 - sum: - result_type: - type: named - name: float8 - var_pop: - result_type: - type: named - name: float8 - var_samp: - result_type: - type: named - name: float8 - variance: - result_type: - type: named - name: float8 - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: float8 - _gte: - type: custom - argument_type: - type: named - name: float8 - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: float8 - _lte: - type: custom - argument_type: - type: named - name: float8 - _neq: - type: custom - argument_type: - type: named - name: float8 - int4: - aggregate_functions: - bit_and: - result_type: - type: named - name: int4 - bit_or: - result_type: - type: named - name: int4 - bit_xor: - result_type: - type: named - name: int4 - max: - result_type: - type: named - name: int4 - min: - result_type: - type: named - name: int4 - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: int4 - _gte: - type: custom - argument_type: - type: named - name: int4 - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: int4 - _lte: - type: custom - argument_type: - type: named - name: int4 - _neq: - type: custom - argument_type: - type: named - name: int4 - text: - aggregate_functions: - max: - result_type: - type: named - name: text - min: - result_type: - type: named - name: text - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: text - _gte: - type: custom - argument_type: - type: named - name: text - _ilike: - type: custom - argument_type: - type: named - name: text - _in: - type: in - _iregex: - type: custom - argument_type: - type: named - name: text - _like: - type: custom - argument_type: - type: named - name: text - _lt: - type: custom - argument_type: - type: named - name: text - _lte: - type: custom - argument_type: - type: named - name: text - _neq: - type: custom - argument_type: - type: named - name: text - _nilike: - type: custom - argument_type: - type: named - name: text - _niregex: - type: custom - argument_type: - type: named - name: text - _nlike: - type: custom - argument_type: - type: named - name: text - _nregex: - type: custom - argument_type: - type: named - name: text - _regex: - type: custom - argument_type: - type: named - name: text - starts_with: - type: custom - argument_type: - type: named - name: text - ts_match_tt: - type: custom - argument_type: - type: named - name: text - timestamptz: - aggregate_functions: - max: - result_type: - type: named - name: timestamptz - min: - result_type: - type: named - name: timestamptz - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: timestamptz - _gte: - type: custom - argument_type: - type: named - name: timestamptz - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: timestamptz - _lte: - type: custom - argument_type: - type: named - name: timestamptz - _neq: - type: custom - argument_type: - type: named - name: timestamptz - uuid: - aggregate_functions: {} - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: uuid - _gte: - type: custom - argument_type: - type: named - name: uuid - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: uuid - _lte: - type: custom - argument_type: - type: named - name: uuid - _neq: - type: custom - argument_type: - type: named - name: uuid - vector: - aggregate_functions: - avg: - result_type: - type: named - name: vector - sum: - result_type: - type: named - name: vector - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: vector - _gte: - type: custom - argument_type: - type: named - name: vector - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: vector - _lte: - type: custom - argument_type: - type: named - name: vector - _neq: - type: custom - argument_type: - type: named - name: vector - object_types: - cart_items: - fields: - cart_id: - type: - type: named - name: uuid - created_at: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - product_id: - type: - type: named - name: uuid - quantity: - type: - type: named - name: int4 - updated_at: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - carts: - fields: - created_at: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - is_complete: - type: - type: named - name: bool - is_reminder_sent: - type: - type: named - name: bool - updated_at: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - categories: - fields: - id: - type: - type: named - name: uuid - name: - type: - type: named - name: text - coupons: - fields: - amount: - type: - type: nullable - underlying_type: - type: named - name: int4 - code: - type: - type: named - name: text - created_at: - type: - type: named - name: timestamptz - expiration_date: - type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - percent_or_value: - type: - type: nullable - underlying_type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - manufacturers: - fields: - id: - type: - type: named - name: uuid - name: - type: - type: named - name: text - notifications: - fields: - created_at: - type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - message: - type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - orders: - fields: - created_at: - type: - type: named - name: timestamptz - delivery_date: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - is_reviewed: - type: - type: named - name: bool - product_id: - type: - type: named - name: uuid - status: - type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - products: - fields: - category_id: - type: - type: named - name: uuid - country_of_origin: - type: - type: named - name: text - created_at: - type: - type: named - name: timestamptz - description: - type: - type: named - name: text - id: - type: - type: named - name: uuid - image: - type: - type: named - name: text - manufacturer_id: - type: - type: named - name: uuid - name: - type: - type: named - name: text - price: - type: - type: named - name: int4 - updated_at: - type: - type: named - name: timestamptz - vector: - type: - type: nullable - underlying_type: - type: named - name: vector - products_vector_distance: - fields: - distance: - type: - type: nullable - underlying_type: - type: named - name: float8 - id: - type: - type: nullable - underlying_type: - type: named - name: uuid - reviews: - fields: - created_at: - type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - is_visible: - type: - type: named - name: bool - product_id: - type: - type: named - name: uuid - rating: - type: - type: named - name: int4 - text: - type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - users: - fields: - created_at: - type: - type: named - name: timestamptz - email: - type: - type: named - name: text - favorite_artist: - type: - type: nullable - underlying_type: - type: named - name: int4 - id: - type: - type: named - name: uuid - is_email_verified: - type: - type: nullable - underlying_type: - type: named - name: bool - last_seen: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - name: - type: - type: named - name: text - password: - type: - type: nullable - underlying_type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - collections: - - name: cart_items - arguments: {} - type: cart_items - uniqueness_constraints: - cart_items_pkey: - unique_columns: - - id - foreign_keys: - cart_items_cart_id_foreign: - column_mapping: - cart_id: id - foreign_collection: carts - cart_items_product_id_foreign: - column_mapping: - product_id: id - foreign_collection: products - - name: carts - arguments: {} - type: carts - uniqueness_constraints: - carts_pkey: - unique_columns: - - id - foreign_keys: - carts_user_id_foreign: - column_mapping: - user_id: id - foreign_collection: users - - name: categories - arguments: {} - type: categories - uniqueness_constraints: - categories_pkey: - unique_columns: - - id - foreign_keys: {} - - name: coupons - arguments: {} - type: coupons - uniqueness_constraints: - coupons_pkey: - unique_columns: - - id - foreign_keys: - coupons_user_id_fkey: - column_mapping: - user_id: id - foreign_collection: users - - name: manufacturers - arguments: {} - type: manufacturers - uniqueness_constraints: - manufacturers_pkey: - unique_columns: - - id - foreign_keys: {} - - name: notifications - arguments: {} - type: notifications - uniqueness_constraints: - notifications_pkey: - unique_columns: - - id - foreign_keys: - notifications_user_id_fkey: - column_mapping: - user_id: id - foreign_collection: users - - name: orders - arguments: {} - type: orders - uniqueness_constraints: - orders_pkey: - unique_columns: - - id - foreign_keys: - orders_customer_id_fkey: - column_mapping: - user_id: id - foreign_collection: users - orders_product_id_fkey: - column_mapping: - product_id: id - foreign_collection: products - - name: products - arguments: {} - type: products - uniqueness_constraints: - products_pkey: - unique_columns: - - id - foreign_keys: - products_category_foreign: - column_mapping: - category_id: id - foreign_collection: categories - products_manufacturer_foreign: - column_mapping: - manufacturer_id: id - foreign_collection: manufacturers - - name: reviews - arguments: {} - type: reviews - uniqueness_constraints: - reviews_pkey: - unique_columns: - - id - foreign_keys: - reviews_product_id_foreign: - column_mapping: - product_id: id - foreign_collection: products - reviews_user_id_foreign: - column_mapping: - user_id: id - foreign_collection: users - - name: users - arguments: {} - type: users - uniqueness_constraints: - users_pkey: - unique_columns: - - id - foreign_keys: {} - - name: products_vector_distance - arguments: - query_vector: - type: - type: nullable - underlying_type: - type: named - name: vector - type: products_vector_distance - uniqueness_constraints: {} - foreign_keys: {} - functions: [] - procedures: [] - capabilities: - version: 0.1.1 - capabilities: - query: - aggregates: {} - variables: {} - explain: {} - mutation: - transactional: {} - explain: {} - relationships: - relation_comparisons: {} - order_by_aggregate: {} diff --git a/experience/db1/models/CartItems.hml b/experience/db1/models/CartItems.hml deleted file mode 100644 index bdba7cc..0000000 --- a/experience/db1/models/CartItems.hml +++ /dev/null @@ -1,176 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: CartItems - fields: - - name: cartId - type: Uuid! - - name: createdAt - type: Timestamptz - - name: id - type: Uuid! - - name: productId - type: Uuid! - - name: quantity - type: Int4! - - name: updatedAt - type: Timestamptz - graphql: - typeName: Experience_CartItems - inputTypeName: Experience_CartItemsInput - dataConnectorTypeMapping: - - dataConnectorName: db1 - dataConnectorObjectType: cart_items - fieldMapping: - cartId: - column: - name: cart_id - createdAt: - column: - name: created_at - id: - column: - name: id - productId: - column: - name: product_id - quantity: - column: - name: quantity - updatedAt: - column: - name: updated_at - ---- -kind: TypePermissions -version: v1 -definition: - typeName: CartItems - permissions: - - role: admin - output: - allowedFields: - - cartId - - createdAt - - id - - productId - - quantity - - updatedAt - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: CartItemsBoolExp - objectType: CartItems - dataConnectorName: db1 - dataConnectorObjectType: cart_items - comparableFields: - - fieldName: cartId - operators: - enableAll: true - - fieldName: createdAt - operators: - enableAll: true - - fieldName: id - operators: - enableAll: true - - fieldName: productId - operators: - enableAll: true - - fieldName: quantity - operators: - enableAll: true - - fieldName: updatedAt - operators: - enableAll: true - graphql: - typeName: Experience_CartItemsBoolExp - ---- -kind: Model -version: v1 -definition: - name: CartItems - objectType: CartItems - source: - dataConnectorName: db1 - collection: cart_items - filterExpressionType: CartItemsBoolExp - orderableFields: - - fieldName: cartId - orderByDirections: - enableAll: true - - fieldName: createdAt - orderByDirections: - enableAll: true - - fieldName: id - orderByDirections: - enableAll: true - - fieldName: productId - orderByDirections: - enableAll: true - - fieldName: quantity - orderByDirections: - enableAll: true - - fieldName: updatedAt - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: experience_cartItems - selectUniques: - - queryRootField: experience_cartItemsById - uniqueIdentifier: - - id - orderByExpressionType: Experience_CartItemsOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: CartItems - permissions: - - role: admin - select: - filter: null - ---- -kind: Relationship -version: v1 -definition: - name: carts - source: CartItems - target: - model: - name: Carts - subgraph: null - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: cartId - target: - modelField: - - fieldName: id - ---- -kind: Relationship -version: v1 -definition: - name: products - source: CartItems - target: - model: - name: Products - subgraph: experience - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: productId - target: - modelField: - - fieldName: id - diff --git a/experience/db1/models/Carts.hml b/experience/db1/models/Carts.hml deleted file mode 100644 index dae5e6e..0000000 --- a/experience/db1/models/Carts.hml +++ /dev/null @@ -1,175 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: Carts - fields: - - name: createdAt - type: Timestamptz - - name: id - type: Uuid! - - name: isComplete - type: Bool! - - name: isReminderSent - type: Bool! - - name: updatedAt - type: Timestamptz - - name: userId - type: Uuid! - graphql: - typeName: Experience_Carts - inputTypeName: Experience_CartsInput - dataConnectorTypeMapping: - - dataConnectorName: db1 - dataConnectorObjectType: carts - fieldMapping: - createdAt: - column: - name: created_at - id: - column: - name: id - isComplete: - column: - name: is_complete - isReminderSent: - column: - name: is_reminder_sent - updatedAt: - column: - name: updated_at - userId: - column: - name: user_id - ---- -kind: TypePermissions -version: v1 -definition: - typeName: Carts - permissions: - - role: admin - output: - allowedFields: - - createdAt - - id - - isComplete - - isReminderSent - - updatedAt - - userId - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: CartsBoolExp - objectType: Carts - dataConnectorName: db1 - dataConnectorObjectType: carts - comparableFields: - - fieldName: createdAt - operators: - enableAll: true - - fieldName: id - operators: - enableAll: true - - fieldName: isComplete - operators: - enableAll: true - - fieldName: isReminderSent - operators: - enableAll: true - - fieldName: updatedAt - operators: - enableAll: true - - fieldName: userId - operators: - enableAll: true - graphql: - typeName: Experience_CartsBoolExp - ---- -kind: Model -version: v1 -definition: - name: Carts - objectType: Carts - source: - dataConnectorName: db1 - collection: carts - filterExpressionType: CartsBoolExp - orderableFields: - - fieldName: createdAt - orderByDirections: - enableAll: true - - fieldName: id - orderByDirections: - enableAll: true - - fieldName: isComplete - orderByDirections: - enableAll: true - - fieldName: isReminderSent - orderByDirections: - enableAll: true - - fieldName: updatedAt - orderByDirections: - enableAll: true - - fieldName: userId - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: experience_carts - selectUniques: - - queryRootField: experience_cartsById - uniqueIdentifier: - - id - orderByExpressionType: Experience_CartsOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: Carts - permissions: - - role: admin - select: - filter: null - ---- -kind: Relationship -version: v1 -definition: - name: cartItems - source: Carts - target: - model: - name: CartItems - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: cartId - ---- -kind: Relationship -version: v1 -definition: - name: users - source: Carts - target: - model: - name: Users - subgraph: users - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: userId - target: - modelField: - - fieldName: user_id - diff --git a/experience/db1/models/Categories.hml b/experience/db1/models/Categories.hml deleted file mode 100644 index 43ca93f..0000000 --- a/experience/db1/models/Categories.hml +++ /dev/null @@ -1,102 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: Categories - fields: - - name: id - type: Uuid! - - name: name - type: Text! - graphql: - typeName: Experience_Categories - inputTypeName: Experience_CategoriesInput - dataConnectorTypeMapping: - - dataConnectorName: db1 - dataConnectorObjectType: categories - ---- -kind: TypePermissions -version: v1 -definition: - typeName: Categories - permissions: - - role: admin - output: - allowedFields: - - id - - name - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: CategoriesBoolExp - objectType: Categories - dataConnectorName: db1 - dataConnectorObjectType: categories - comparableFields: - - fieldName: id - operators: - enableAll: true - - fieldName: name - operators: - enableAll: true - graphql: - typeName: Experience_CategoriesBoolExp - ---- -kind: Model -version: v1 -definition: - name: Categories - objectType: Categories - source: - dataConnectorName: db1 - collection: categories - filterExpressionType: CategoriesBoolExp - orderableFields: - - fieldName: id - orderByDirections: - enableAll: true - - fieldName: name - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: experience_categories - selectUniques: - - queryRootField: experience_categoriesById - uniqueIdentifier: - - id - orderByExpressionType: Experience_CategoriesOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: Categories - permissions: - - role: admin - select: - filter: null - ---- -kind: Relationship -version: v1 -definition: - name: products - source: Categories - target: - model: - name: Products - subgraph: experience - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: categoryId - diff --git a/experience/db1/models/Manufacturers.hml b/experience/db1/models/Manufacturers.hml deleted file mode 100644 index 98fb665..0000000 --- a/experience/db1/models/Manufacturers.hml +++ /dev/null @@ -1,102 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: Manufacturers - fields: - - name: id - type: Uuid! - - name: name - type: Text! - graphql: - typeName: Experience_Manufacturers - inputTypeName: Experience_ManufacturersInput - dataConnectorTypeMapping: - - dataConnectorName: db1 - dataConnectorObjectType: manufacturers - ---- -kind: TypePermissions -version: v1 -definition: - typeName: Manufacturers - permissions: - - role: admin - output: - allowedFields: - - id - - name - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: ManufacturersBoolExp - objectType: Manufacturers - dataConnectorName: db1 - dataConnectorObjectType: manufacturers - comparableFields: - - fieldName: id - operators: - enableAll: true - - fieldName: name - operators: - enableAll: true - graphql: - typeName: Experience_ManufacturersBoolExp - ---- -kind: Model -version: v1 -definition: - name: Manufacturers - objectType: Manufacturers - source: - dataConnectorName: db1 - collection: manufacturers - filterExpressionType: ManufacturersBoolExp - orderableFields: - - fieldName: id - orderByDirections: - enableAll: true - - fieldName: name - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: experience_manufacturers - selectUniques: - - queryRootField: experience_manufacturersById - uniqueIdentifier: - - id - orderByExpressionType: Experience_ManufacturersOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: Manufacturers - permissions: - - role: admin - select: - filter: null - ---- -kind: Relationship -version: v1 -definition: - name: products - source: Manufacturers - target: - model: - name: Products - subgraph: experience - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: manufacturerId - diff --git a/experience/db1/models/Products.hml b/experience/db1/models/Products.hml deleted file mode 100644 index 80f32fe..0000000 --- a/experience/db1/models/Products.hml +++ /dev/null @@ -1,395 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: Products - fields: - - name: categoryId - type: Uuid! - - name: countryOfOrigin - type: Text! - - name: createdAt - type: Timestamptz! - - name: description - type: Text! - - name: id - type: Uuid! - - name: image - type: Text! - - name: manufacturerId - type: Uuid! - - name: name - type: Text! - - name: price - type: Int4! - - name: updatedAt - type: Timestamptz! - - name: vector - type: Vector - graphql: - typeName: Experience_Products - inputTypeName: Experience_ProductsInput - dataConnectorTypeMapping: - - dataConnectorName: db1 - dataConnectorObjectType: products - fieldMapping: - categoryId: - column: - name: category_id - countryOfOrigin: - column: - name: country_of_origin - createdAt: - column: - name: created_at - description: - column: - name: description - id: - column: - name: id - image: - column: - name: image - manufacturerId: - column: - name: manufacturer_id - name: - column: - name: name - price: - column: - name: price - updatedAt: - column: - name: updated_at - vector: - column: - name: vector - ---- -kind: TypePermissions -version: v1 -definition: - typeName: Products - permissions: - - role: admin - output: - allowedFields: - - categoryId - - countryOfOrigin - - createdAt - - description - - id - - image - - manufacturerId - - name - - price - - updatedAt - - vector - - role: customer - output: - allowedFields: - - categoryId - - countryOfOrigin - - createdAt - - description - - id - - image - - manufacturerId - - name - - price - - updatedAt - - role: guest - output: - allowedFields: - - categoryId - - countryOfOrigin - - description - - id - - image - - manufacturerId - - name - - price - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: ProductsBoolExp - objectType: Products - dataConnectorName: db1 - dataConnectorObjectType: products - comparableFields: - - fieldName: categoryId - operators: - enableAll: true - - fieldName: countryOfOrigin - operators: - enableAll: true - - fieldName: createdAt - operators: - enableAll: true - - fieldName: description - operators: - enableAll: true - - fieldName: id - operators: - enableAll: true - - fieldName: image - operators: - enableAll: true - - fieldName: manufacturerId - operators: - enableAll: true - - fieldName: name - operators: - enableAll: true - - fieldName: price - operators: - enableAll: true - - fieldName: updatedAt - operators: - enableAll: true - - fieldName: vector - operators: - enableAll: true - graphql: - typeName: Experience_ProductsBoolExp - ---- -kind: Model -version: v1 -definition: - name: Products - objectType: Products - source: - dataConnectorName: db1 - collection: products - filterExpressionType: ProductsBoolExp - orderableFields: - - fieldName: categoryId - orderByDirections: - enableAll: true - - fieldName: countryOfOrigin - orderByDirections: - enableAll: true - - fieldName: createdAt - orderByDirections: - enableAll: true - - fieldName: description - orderByDirections: - enableAll: true - - fieldName: id - orderByDirections: - enableAll: true - - fieldName: image - orderByDirections: - enableAll: true - - fieldName: manufacturerId - orderByDirections: - enableAll: true - - fieldName: name - orderByDirections: - enableAll: true - - fieldName: price - orderByDirections: - enableAll: true - - fieldName: updatedAt - orderByDirections: - enableAll: true - - fieldName: vector - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: experience_products - selectUniques: - - queryRootField: experience_productsById - uniqueIdentifier: - - id - orderByExpressionType: Experience_ProductsOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: Products - permissions: - - role: admin - select: - filter: null - - role: customer - select: - filter: null - - role: guest - select: - filter: null - ---- -kind: Relationship -version: v1 -definition: - name: cartItems - source: Products - target: - model: - name: CartItems - subgraph: experience - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: productId - ---- -kind: Relationship -version: v1 -definition: - name: orders - source: Products - target: - model: - name: Orders - subgraph: sales - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: productId - ---- -kind: Relationship -version: v1 -definition: - name: categories - source: Products - target: - model: - name: Categories - subgraph: experience - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: categoryId - target: - modelField: - - fieldName: id - ---- -kind: Relationship -version: v1 -definition: - name: manufacturers - source: Products - target: - model: - name: Manufacturers - subgraph: experience - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: manufacturerId - target: - modelField: - - fieldName: id - ---- -kind: Relationship -version: v1 -definition: - name: reviews - source: Products - target: - model: - name: Reviews - subgraph: users - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: productId - ---- -kind: Relationship -version: v1 -definition: - name: product - source: ProductsVectorDistance - target: - model: - name: Products - subgraph: null - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: id ---- -kind: Relationship -version: v1 -definition: - name: productDetails - source: Products - target: - model: - name: ProductDetails - subgraph: null - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: productId ---- -kind: Relationship -version: v1 -definition: - name: recentlyViewedProducts - source: Products - target: - model: - name: RecentlyViewedProducts - subgraph: analytics - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: id - target: - modelField: - - fieldName: productId - ---- -kind: Relationship -version: v1 -definition: - name: formatCurrency - source: Products - target: - command: - name: ToCurrencyString - subgraph: sales - mapping: - - source: - fieldPath: - - fieldName: price - target: - argument: - argumentName: amount \ No newline at end of file diff --git a/experience/db1/models/ProductsVectorDistance.hml b/experience/db1/models/ProductsVectorDistance.hml deleted file mode 100644 index 57046d9..0000000 --- a/experience/db1/models/ProductsVectorDistance.hml +++ /dev/null @@ -1,97 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: ProductsVectorDistance - fields: - - name: distance - type: Float8 - - name: id - type: Uuid - graphql: - typeName: Experience_ProductsVectorDistance - inputTypeName: Experience_ProductsVectorDistanceInput - dataConnectorTypeMapping: - - dataConnectorName: db1 - dataConnectorObjectType: products_vector_distance - ---- -kind: TypePermissions -version: v1 -definition: - typeName: ProductsVectorDistance - permissions: - - role: admin - output: - allowedFields: - - distance - - id - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: ProductsVectorDistanceBoolExp - objectType: ProductsVectorDistance - dataConnectorName: db1 - dataConnectorObjectType: products_vector_distance - comparableFields: - - fieldName: distance - operators: - enableAll: true - - fieldName: id - operators: - enableAll: true - graphql: - typeName: Experience_ProductsVectorDistanceBoolExp - ---- -kind: Model -version: v1 -definition: - name: ProductsVectorDistance - objectType: ProductsVectorDistance - arguments: - - name: queryVector - type: Vector - source: - dataConnectorName: db1 - collection: products_vector_distance - argumentMapping: - queryVector: query_vector - filterExpressionType: ProductsVectorDistanceBoolExp - orderableFields: - - fieldName: distance - orderByDirections: - enableAll: true - - fieldName: id - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: experience_productsVectorDistance - selectUniques: [] - argumentsInputType: Experience_ProductsVectorDistanceArguments - orderByExpressionType: Experience_ProductsVectorDistanceOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: ProductsVectorDistance - permissions: - - role: admin - select: - filter: null - - role: manufacturer - select: - filter: - relationship: - name: product - predicate: - fieldComparison: - field: manufacturerId - operator: _eq - value: - sessionVariable: x-hasura-manufacturer-id - diff --git a/experience/mongo/connector/mongo.build.hml b/experience/mongo/connector/mongo.build.hml deleted file mode 100644 index 21543cd..0000000 --- a/experience/mongo/connector/mongo.build.hml +++ /dev/null @@ -1,16 +0,0 @@ -kind: ConnectorManifest -version: v1 -spec: - supergraphManifests: - - base -definition: - name: mongo - type: cloud - connector: - type: hub - name: hasura/mongodb:v0.0.4 - deployments: - - context: . - env: - MONGODB_DATABASE_URI: - value: "mongodb+srv://default:w9PftgRSV0B40zuA@ecommerce.vdewtwa.mongodb.net/ecommerce?retryWrites=true&w=majority&appName=ecommerce" diff --git a/experience/mongo/connector/schema/product_details.json b/experience/mongo/connector/schema/product_details.json deleted file mode 100644 index 86fd0b1..0000000 --- a/experience/mongo/connector/schema/product_details.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "name": "product_details", - "collections": { - "product_details": { - "type": "product_details" - } - }, - "objectTypes": { - "product_details": { - "fields": { - "_id": { - "type": { - "scalar": "objectId" - } - }, - "features": { - "type": { - "arrayOf": { - "scalar": "string" - } - } - }, - "product_id": { - "type": { - "scalar": "string" - } - }, - "specifications": { - "type": { - "object": "product_details_specifications" - } - } - } - }, - "product_details_specifications": { - "fields": { - "additional_specs": { - "type": { - "object": "product_details_specifications_additional_specs" - } - }, - "color_options": { - "type": { - "arrayOf": { - "scalar": "string" - } - } - }, - "material": { - "type": { - "scalar": "string" - } - }, - "size_options": { - "type": { - "arrayOf": { - "scalar": "string" - } - } - } - } - }, - "product_details_specifications_additional_specs": { - "fields": { - "brim": { - "type": { - "nullable": { - "scalar": "string" - } - } - }, - "build": { - "type": { - "nullable": { - "scalar": "string" - } - } - }, - "care_instructions": { - "type": { - "nullable": { - "scalar": "string" - } - } - }, - "closure": { - "type": { - "nullable": { - "scalar": "string" - } - } - }, - "durability": { - "type": { - "nullable": { - "scalar": "string" - } - } - }, - "fabric_weight": { - "type": { - "nullable": { - "scalar": "string" - } - } - }, - "heat_resistance": { - "type": { - "nullable": { - "scalar": "string" - } - } - }, - "packaging": { - "type": { - "nullable": { - "scalar": "string" - } - } - } - } - } - } -} \ No newline at end of file diff --git a/experience/mongo/models/ProductDetails.hml b/experience/mongo/models/ProductDetails.hml deleted file mode 100644 index 2395153..0000000 --- a/experience/mongo/models/ProductDetails.hml +++ /dev/null @@ -1,234 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: ProductDetailsSpecificationsAdditionalSpecs - fields: - - name: brim - type: String - - name: build - type: String - - name: careInstructions - type: String - - name: closure - type: String - - name: durability - type: String - - name: fabricWeight - type: String - - name: heatResistance - type: String - - name: packaging - type: String - graphql: - typeName: App_ProductDetailsSpecificationsAdditionalSpecs - inputTypeName: App_ProductDetailsSpecificationsAdditionalSpecsInput - dataConnectorTypeMapping: - - dataConnectorName: mongo - dataConnectorObjectType: product_details_specifications_additional_specs - fieldMapping: - brim: - column: - name: brim - build: - column: - name: build - careInstructions: - column: - name: care_instructions - closure: - column: - name: closure - durability: - column: - name: durability - fabricWeight: - column: - name: fabric_weight - heatResistance: - column: - name: heat_resistance - packaging: - column: - name: packaging - ---- -kind: TypePermissions -version: v1 -definition: - typeName: ProductDetailsSpecificationsAdditionalSpecs - permissions: - - role: admin - output: - allowedFields: - - brim - - build - - careInstructions - - closure - - durability - - fabricWeight - - heatResistance - - packaging - ---- -kind: ObjectType -version: v1 -definition: - name: ProductDetailsSpecifications - fields: - - name: additionalSpecs - type: ProductDetailsSpecificationsAdditionalSpecs! - - name: colorOptions - type: "[String!]!" - - name: material - type: String! - - name: sizeOptions - type: "[String!]!" - graphql: - typeName: App_ProductDetailsSpecifications - inputTypeName: App_ProductDetailsSpecificationsInput - dataConnectorTypeMapping: - - dataConnectorName: mongo - dataConnectorObjectType: product_details_specifications - fieldMapping: - additionalSpecs: - column: - name: additional_specs - colorOptions: - column: - name: color_options - material: - column: - name: material - sizeOptions: - column: - name: size_options - ---- -kind: TypePermissions -version: v1 -definition: - typeName: ProductDetailsSpecifications - permissions: - - role: admin - output: - allowedFields: - - additionalSpecs - - colorOptions - - material - - sizeOptions - ---- -kind: ObjectType -version: v1 -definition: - name: ProductDetails - fields: - - name: id - type: ObjectId! - - name: features - type: "[String!]!" - - name: productId - type: String! - - name: specifications - type: ProductDetailsSpecifications! - graphql: - typeName: App_ProductDetails - inputTypeName: App_ProductDetailsInput - dataConnectorTypeMapping: - - dataConnectorName: mongo - dataConnectorObjectType: product_details - fieldMapping: - id: - column: - name: _id - features: - column: - name: features - productId: - column: - name: product_id - specifications: - column: - name: specifications - ---- -kind: TypePermissions -version: v1 -definition: - typeName: ProductDetails - permissions: - - role: admin - output: - allowedFields: - - id - - features - - productId - - specifications - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: ProductDetailsBoolExp - objectType: ProductDetails - dataConnectorName: mongo - dataConnectorObjectType: product_details - comparableFields: - - fieldName: id - operators: - enableAll: true - - fieldName: features - operators: - enableAll: true - - fieldName: productId - operators: - enableAll: true - - fieldName: specifications - operators: - enableAll: true - graphql: - typeName: App_ProductDetailsBoolExp - ---- -kind: Model -version: v1 -definition: - name: ProductDetails - objectType: ProductDetails - source: - dataConnectorName: mongo - collection: product_details - filterExpressionType: ProductDetailsBoolExp - orderableFields: - - fieldName: id - orderByDirections: - enableAll: true - - fieldName: features - orderByDirections: - enableAll: true - - fieldName: productId - orderByDirections: - enableAll: true - - fieldName: specifications - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: app_productDetails - selectUniques: - - queryRootField: app_productDetailsById - uniqueIdentifier: - - id - orderByExpressionType: App_ProductDetailsOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: ProductDetails - permissions: - - role: admin - select: - filter: null - diff --git a/experience/mongo/mongo-types.hml b/experience/mongo/mongo-types.hml deleted file mode 100644 index 810438f..0000000 --- a/experience/mongo/mongo-types.hml +++ /dev/null @@ -1,28 +0,0 @@ ---- -kind: ScalarType -version: v1 -definition: - name: ObjectId - graphql: - typeName: App_ObjectId - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: mongo - dataConnectorScalarType: ObjectId - representation: ObjectId - graphql: - comparisonExpressionTypeName: App_ObjectIdComparisonExp - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: mongo - dataConnectorScalarType: String - representation: String - graphql: - comparisonExpressionTypeName: App_StringComparisonExp_1 - diff --git a/experience/mongo/mongo.hml b/experience/mongo/mongo.hml deleted file mode 100644 index d14f6f7..0000000 --- a/experience/mongo/mongo.hml +++ /dev/null @@ -1,609 +0,0 @@ -kind: DataConnectorLink -version: v1 -definition: - name: mongo - url: - Fn::ManifestRef: mongo - schema: - version: v0.1 - schema: - scalar_types: - BinData: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: BinData - Boolean: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: Boolean - Date: - aggregate_functions: - count: - result_type: - type: named - name: Int - max: - result_type: - type: named - name: Date - min: - result_type: - type: named - name: Date - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: Date - _gte: - type: custom - argument_type: - type: named - name: Date - _lt: - type: custom - argument_type: - type: named - name: Date - _lte: - type: custom - argument_type: - type: named - name: Date - _neq: - type: custom - argument_type: - type: named - name: Date - DbPointer: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: DbPointer - Decimal: - aggregate_functions: - avg: - result_type: - type: named - name: Decimal - count: - result_type: - type: named - name: Int - max: - result_type: - type: named - name: Decimal - min: - result_type: - type: named - name: Decimal - sum: - result_type: - type: named - name: Decimal - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: Decimal - _gte: - type: custom - argument_type: - type: named - name: Decimal - _lt: - type: custom - argument_type: - type: named - name: Decimal - _lte: - type: custom - argument_type: - type: named - name: Decimal - _neq: - type: custom - argument_type: - type: named - name: Decimal - ExtendedJSON: - aggregate_functions: {} - comparison_operators: {} - Float: - aggregate_functions: - avg: - result_type: - type: named - name: Float - count: - result_type: - type: named - name: Int - max: - result_type: - type: named - name: Float - min: - result_type: - type: named - name: Float - sum: - result_type: - type: named - name: Float - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: Float - _gte: - type: custom - argument_type: - type: named - name: Float - _lt: - type: custom - argument_type: - type: named - name: Float - _lte: - type: custom - argument_type: - type: named - name: Float - _neq: - type: custom - argument_type: - type: named - name: Float - Int: - aggregate_functions: - avg: - result_type: - type: named - name: Int - count: - result_type: - type: named - name: Int - max: - result_type: - type: named - name: Int - min: - result_type: - type: named - name: Int - sum: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: Int - _gte: - type: custom - argument_type: - type: named - name: Int - _lt: - type: custom - argument_type: - type: named - name: Int - _lte: - type: custom - argument_type: - type: named - name: Int - _neq: - type: custom - argument_type: - type: named - name: Int - Javascript: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: {} - JavascriptWithScope: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: {} - Long: - aggregate_functions: - avg: - result_type: - type: named - name: Long - count: - result_type: - type: named - name: Int - max: - result_type: - type: named - name: Long - min: - result_type: - type: named - name: Long - sum: - result_type: - type: named - name: Long - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: Long - _gte: - type: custom - argument_type: - type: named - name: Long - _lt: - type: custom - argument_type: - type: named - name: Long - _lte: - type: custom - argument_type: - type: named - name: Long - _neq: - type: custom - argument_type: - type: named - name: Long - MaxKey: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: MaxKey - MinKey: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: MinKey - "Null": - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: "Null" - ObjectId: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: ObjectId - Regex: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: {} - String: - aggregate_functions: - count: - result_type: - type: named - name: Int - max: - result_type: - type: named - name: String - min: - result_type: - type: named - name: String - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: String - _gte: - type: custom - argument_type: - type: named - name: String - _iregex: - type: custom - argument_type: - type: named - name: String - _lt: - type: custom - argument_type: - type: named - name: String - _lte: - type: custom - argument_type: - type: named - name: String - _neq: - type: custom - argument_type: - type: named - name: String - _regex: - type: custom - argument_type: - type: named - name: String - Symbol: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: Symbol - Timestamp: - aggregate_functions: - count: - result_type: - type: named - name: Int - max: - result_type: - type: named - name: Timestamp - min: - result_type: - type: named - name: Timestamp - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: Timestamp - _gte: - type: custom - argument_type: - type: named - name: Timestamp - _lt: - type: custom - argument_type: - type: named - name: Timestamp - _lte: - type: custom - argument_type: - type: named - name: Timestamp - _neq: - type: custom - argument_type: - type: named - name: Timestamp - Undefined: - aggregate_functions: - count: - result_type: - type: named - name: Int - comparison_operators: - _eq: - type: equal - _neq: - type: custom - argument_type: - type: named - name: Undefined - object_types: - product_details: - fields: - _id: - type: - type: named - name: ObjectId - features: - type: - type: array - element_type: - type: named - name: String - product_id: - type: - type: named - name: String - specifications: - type: - type: named - name: product_details_specifications - product_details_specifications: - fields: - additional_specs: - type: - type: named - name: product_details_specifications_additional_specs - color_options: - type: - type: array - element_type: - type: named - name: String - material: - type: - type: named - name: String - size_options: - type: - type: array - element_type: - type: named - name: String - product_details_specifications_additional_specs: - fields: - brim: - type: - type: nullable - underlying_type: - type: named - name: String - build: - type: - type: nullable - underlying_type: - type: named - name: String - care_instructions: - type: - type: nullable - underlying_type: - type: named - name: String - closure: - type: - type: nullable - underlying_type: - type: named - name: String - durability: - type: - type: nullable - underlying_type: - type: named - name: String - fabric_weight: - type: - type: nullable - underlying_type: - type: named - name: String - heat_resistance: - type: - type: nullable - underlying_type: - type: named - name: String - packaging: - type: - type: nullable - underlying_type: - type: named - name: String - collections: - - name: product_details - arguments: {} - type: product_details - uniqueness_constraints: - product_details_id: - unique_columns: - - _id - foreign_keys: {} - functions: [] - procedures: [] - capabilities: - version: 0.1.1 - capabilities: - query: - aggregates: {} - variables: {} - explain: {} - mutation: {} - relationships: {} diff --git a/hasura.yaml b/hasura.yaml index f77311a..2e5c659 100644 --- a/hasura.yaml +++ b/hasura.yaml @@ -1,12 +1,6 @@ version: v1 -project: hardy-pheasant-6274 +project: first-pangolin-5436 subgraphs: - analytics: - path: ./analytics - experience: - path: ./experience - sales: - path: ./sales - users: - path: ./users + users: + path: ./users defaultSupergraphManifest: base diff --git a/sales/db3/connector/configuration.json b/sales/db3/connector/configuration.json deleted file mode 100644 index 7359277..0000000 --- a/sales/db3/connector/configuration.json +++ /dev/null @@ -1,1422 +0,0 @@ -{ - "version": "3", - "$schema": "schema.json", - "connectionSettings": { - "connectionUri": { - "variable": "CONNECTION_URI" - }, - "poolSettings": { - "maxConnections": 50, - "poolTimeout": 30, - "idleTimeout": 180, - "connectionLifetime": 600 - }, - "isolationLevel": "ReadCommitted" - }, - "metadata": { - "tables": { - "cart_items": { - "schemaName": "public", - "tableName": "cart_items", - "columns": { - "cart_id": { - "name": "cart_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "product_id": { - "name": "product_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "quantity": { - "name": "quantity", - "type": { - "scalarType": "int4" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - } - }, - "uniquenessConstraints": { - "cart_items_pkey": [ - "id" - ] - }, - "foreignRelations": { - "cart_items_cart_id_foreign": { - "foreignSchema": "public", - "foreignTable": "carts", - "columnMapping": { - "cart_id": "id" - } - }, - "cart_items_product_id_foreign": { - "foreignSchema": "public", - "foreignTable": "products", - "columnMapping": { - "product_id": "id" - } - } - }, - "description": null - }, - "carts": { - "schemaName": "public", - "tableName": "carts", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_complete": { - "name": "is_complete", - "type": { - "scalarType": "bool" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_reminder_sent": { - "name": "is_reminder_sent", - "type": { - "scalarType": "bool" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "carts_pkey": [ - "id" - ] - }, - "foreignRelations": { - "carts_user_id_foreign": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - } - }, - "description": null - }, - "categories": { - "schemaName": "public", - "tableName": "categories", - "columns": { - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "name": { - "name": "name", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "categories_pkey": [ - "id" - ] - }, - "foreignRelations": {}, - "description": null - }, - "coupons": { - "schemaName": "public", - "tableName": "coupons", - "columns": { - "amount": { - "name": "amount", - "type": { - "scalarType": "int4" - }, - "nullable": "nullable", - "description": null - }, - "code": { - "name": "code", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "expiration_date": { - "name": "expiration_date", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "percent_or_value": { - "name": "percent_or_value", - "type": { - "scalarType": "text" - }, - "nullable": "nullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "coupons_pkey": [ - "id" - ] - }, - "foreignRelations": { - "coupons_user_id_fkey": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - } - }, - "description": null - }, - "manufacturers": { - "schemaName": "public", - "tableName": "manufacturers", - "columns": { - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "name": { - "name": "name", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "manufacturers_pkey": [ - "id" - ] - }, - "foreignRelations": {}, - "description": null - }, - "notifications": { - "schemaName": "public", - "tableName": "notifications", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "message": { - "name": "message", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "notifications_pkey": [ - "id" - ] - }, - "foreignRelations": { - "notifications_user_id_fkey": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - } - }, - "description": null - }, - "orders": { - "schemaName": "public", - "tableName": "orders", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "delivery_date": { - "name": "delivery_date", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_reviewed": { - "name": "is_reviewed", - "type": { - "scalarType": "bool" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "product_id": { - "name": "product_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "status": { - "name": "status", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "orders_pkey": [ - "id" - ] - }, - "foreignRelations": { - "orders_customer_id_fkey": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - }, - "orders_product_id_fkey": { - "foreignSchema": "public", - "foreignTable": "products", - "columnMapping": { - "product_id": "id" - } - } - }, - "description": null - }, - "products": { - "schemaName": "public", - "tableName": "products", - "columns": { - "category_id": { - "name": "category_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "country_of_origin": { - "name": "country_of_origin", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "description": { - "name": "description", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "image": { - "name": "image", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "manufacturer_id": { - "name": "manufacturer_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "name": { - "name": "name", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "price": { - "name": "price", - "type": { - "scalarType": "int4" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "vector": { - "name": "vector", - "type": { - "scalarType": "vector" - }, - "nullable": "nullable", - "description": null - } - }, - "uniquenessConstraints": { - "products_pkey": [ - "id" - ] - }, - "foreignRelations": { - "products_category_foreign": { - "foreignSchema": "public", - "foreignTable": "categories", - "columnMapping": { - "category_id": "id" - } - }, - "products_manufacturer_foreign": { - "foreignSchema": "public", - "foreignTable": "manufacturers", - "columnMapping": { - "manufacturer_id": "id" - } - } - }, - "description": null - }, - "reviews": { - "schemaName": "public", - "tableName": "reviews", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_visible": { - "name": "is_visible", - "type": { - "scalarType": "bool" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "product_id": { - "name": "product_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - }, - "rating": { - "name": "rating", - "type": { - "scalarType": "int4" - }, - "nullable": "nonNullable", - "description": null - }, - "text": { - "name": "text", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "user_id": { - "name": "user_id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "description": null - } - }, - "uniquenessConstraints": { - "reviews_pkey": [ - "id" - ] - }, - "foreignRelations": { - "reviews_product_id_foreign": { - "foreignSchema": "public", - "foreignTable": "products", - "columnMapping": { - "product_id": "id" - } - }, - "reviews_user_id_foreign": { - "foreignSchema": "public", - "foreignTable": "users", - "columnMapping": { - "user_id": "id" - } - } - }, - "description": null - }, - "users": { - "schemaName": "public", - "tableName": "users", - "columns": { - "created_at": { - "name": "created_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "email": { - "name": "email", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "favorite_artist": { - "name": "favorite_artist", - "type": { - "scalarType": "int4" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "id": { - "name": "id", - "type": { - "scalarType": "uuid" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - }, - "is_email_verified": { - "name": "is_email_verified", - "type": { - "scalarType": "bool" - }, - "nullable": "nullable", - "hasDefault": "hasDefault", - "description": null - }, - "last_seen": { - "name": "last_seen", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nullable", - "description": null - }, - "name": { - "name": "name", - "type": { - "scalarType": "text" - }, - "nullable": "nonNullable", - "description": null - }, - "password": { - "name": "password", - "type": { - "scalarType": "text" - }, - "nullable": "nullable", - "description": null - }, - "updated_at": { - "name": "updated_at", - "type": { - "scalarType": "timestamptz" - }, - "nullable": "nonNullable", - "hasDefault": "hasDefault", - "description": null - } - }, - "uniquenessConstraints": { - "users_pkey": [ - "id" - ] - }, - "foreignRelations": {}, - "description": null - } - }, - "compositeTypes": {}, - "nativeQueries": {}, - "aggregateFunctions": { - "bool": { - "bool_and": { - "returnType": "bool" - }, - "bool_or": { - "returnType": "bool" - }, - "every": { - "returnType": "bool" - } - }, - "int4": { - "bit_and": { - "returnType": "int4" - }, - "bit_or": { - "returnType": "int4" - }, - "bit_xor": { - "returnType": "int4" - }, - "max": { - "returnType": "int4" - }, - "min": { - "returnType": "int4" - } - }, - "text": { - "max": { - "returnType": "text" - }, - "min": { - "returnType": "text" - } - }, - "timestamptz": { - "max": { - "returnType": "timestamptz" - }, - "min": { - "returnType": "timestamptz" - } - }, - "vector": { - "avg": { - "returnType": "vector" - }, - "sum": { - "returnType": "vector" - } - } - }, - "comparisonOperators": { - "bool": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "bool", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "bool", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "bool", - "isInfix": true - } - }, - "int4": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "int4", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "int4", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "int4", - "isInfix": true - } - }, - "text": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "text", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_ilike": { - "operatorName": "~~*", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "text", - "isInfix": true - }, - "_iregex": { - "operatorName": "~*", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_like": { - "operatorName": "~~", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_nilike": { - "operatorName": "!~~*", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_niregex": { - "operatorName": "!~*", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_nlike": { - "operatorName": "!~~", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_nregex": { - "operatorName": "!~", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "_regex": { - "operatorName": "~", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": true - }, - "starts_with": { - "operatorName": "starts_with", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": false - }, - "ts_match_tt": { - "operatorName": "ts_match_tt", - "operatorKind": "custom", - "argumentType": "text", - "isInfix": false - } - }, - "timestamptz": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "timestamptz", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "timestamptz", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "timestamptz", - "isInfix": true - } - }, - "uuid": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "uuid", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "uuid", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "uuid", - "isInfix": true - } - }, - "vector": { - "_eq": { - "operatorName": "=", - "operatorKind": "equal", - "argumentType": "vector", - "isInfix": true - }, - "_gt": { - "operatorName": ">", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - }, - "_gte": { - "operatorName": ">=", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - }, - "_in": { - "operatorName": "IN", - "operatorKind": "in", - "argumentType": "vector", - "isInfix": true - }, - "_lt": { - "operatorName": "<", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - }, - "_lte": { - "operatorName": "<=", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - }, - "_neq": { - "operatorName": "<>", - "operatorKind": "custom", - "argumentType": "vector", - "isInfix": true - } - } - } - }, - "introspectionOptions": { - "excludedSchemas": [ - "information_schema", - "pg_catalog", - "tiger", - "crdb_internal", - "columnar", - "columnar_internal" - ], - "unqualifiedSchemasForTables": [ - "public" - ], - "unqualifiedSchemasForTypesAndProcedures": [ - "public", - "pg_catalog", - "tiger" - ], - "comparisonOperatorMapping": [ - { - "operatorName": "=", - "exposedName": "_eq", - "operatorKind": "equal" - }, - { - "operatorName": "<=", - "exposedName": "_lte", - "operatorKind": "custom" - }, - { - "operatorName": ">", - "exposedName": "_gt", - "operatorKind": "custom" - }, - { - "operatorName": ">=", - "exposedName": "_gte", - "operatorKind": "custom" - }, - { - "operatorName": "<", - "exposedName": "_lt", - "operatorKind": "custom" - }, - { - "operatorName": "!=", - "exposedName": "_neq", - "operatorKind": "custom" - }, - { - "operatorName": "LIKE", - "exposedName": "_like", - "operatorKind": "custom" - }, - { - "operatorName": "NOT LIKE", - "exposedName": "_nlike", - "operatorKind": "custom" - }, - { - "operatorName": "ILIKE", - "exposedName": "_ilike", - "operatorKind": "custom" - }, - { - "operatorName": "NOT ILIKE", - "exposedName": "_nilike", - "operatorKind": "custom" - }, - { - "operatorName": "SIMILAR TO", - "exposedName": "_similar", - "operatorKind": "custom" - }, - { - "operatorName": "NOT SIMILAR TO", - "exposedName": "_nsimilar", - "operatorKind": "custom" - }, - { - "operatorName": "<>", - "exposedName": "_neq", - "operatorKind": "custom" - }, - { - "operatorName": "~~", - "exposedName": "_like", - "operatorKind": "custom" - }, - { - "operatorName": "!~~", - "exposedName": "_nlike", - "operatorKind": "custom" - }, - { - "operatorName": "~~*", - "exposedName": "_ilike", - "operatorKind": "custom" - }, - { - "operatorName": "!~~*", - "exposedName": "_nilike", - "operatorKind": "custom" - }, - { - "operatorName": "~", - "exposedName": "_regex", - "operatorKind": "custom" - }, - { - "operatorName": "!~", - "exposedName": "_nregex", - "operatorKind": "custom" - }, - { - "operatorName": "~*", - "exposedName": "_iregex", - "operatorKind": "custom" - }, - { - "operatorName": "!~*", - "exposedName": "_niregex", - "operatorKind": "custom" - } - ], - "introspectPrefixFunctionComparisonOperators": [ - "box_above", - "box_below", - "box_contain", - "box_contain_pt", - "box_contained", - "box_left", - "box_overabove", - "box_overbelow", - "box_overlap", - "box_overleft", - "box_overright", - "box_right", - "box_same", - "circle_above", - "circle_below", - "circle_contain", - "circle_contain_pt", - "circle_contained", - "circle_left", - "circle_overabove", - "circle_overbelow", - "circle_overlap", - "circle_overleft", - "circle_overright", - "circle_right", - "circle_same", - "contains_2d", - "equals", - "geography_overlaps", - "geometry_above", - "geometry_below", - "geometry_contained_3d", - "geometry_contains", - "geometry_contains_3d", - "geometry_contains_nd", - "geometry_left", - "geometry_overabove", - "geometry_overbelow", - "geometry_overlaps", - "geometry_overlaps_3d", - "geometry_overlaps_nd", - "geometry_overleft", - "geometry_overright", - "geometry_right", - "geometry_same", - "geometry_same_3d", - "geometry_same_nd", - "geometry_within", - "geometry_within_nd", - "inet_same_family", - "inter_lb", - "inter_sb", - "inter_sl", - "is_contained_2d", - "ishorizontal", - "isparallel", - "isperp", - "isvertical", - "jsonb_contained", - "jsonb_contains", - "jsonb_exists", - "jsonb_path_exists_opr", - "jsonb_path_match_opr", - "line_intersect", - "line_parallel", - "line_perp", - "lseg_intersect", - "lseg_parallel", - "lseg_perp", - "network_overlap", - "network_sub", - "network_sup", - "on_pb", - "on_pl", - "on_ppath", - "on_ps", - "on_sb", - "on_sl", - "overlaps_2d", - "path_contain_pt", - "path_inter", - "point_above", - "point_below", - "point_horiz", - "point_left", - "point_right", - "point_vert", - "poly_above", - "poly_below", - "poly_contain", - "poly_contain_pt", - "poly_contained", - "poly_left", - "poly_overabove", - "poly_overbelow", - "poly_overlap", - "poly_overleft", - "poly_overright", - "poly_right", - "poly_same", - "pt_contained_poly", - "st_3dintersects", - "st_contains", - "st_containsproperly", - "st_coveredby", - "st_covers", - "st_crosses", - "st_disjoint", - "st_equals", - "st_intersects", - "st_isvalid", - "st_orderingequals", - "st_overlaps", - "st_relatematch", - "st_touches", - "st_within", - "starts_with", - "ts_match_qv", - "ts_match_tq", - "ts_match_tt", - "ts_match_vq", - "tsq_mcontained", - "tsq_mcontains", - "xmlexists", - "xmlvalidate", - "xpath_exists" - ] - }, - "mutationsVersion": null -} diff --git a/sales/db3/connector/db3.build.hml b/sales/db3/connector/db3.build.hml deleted file mode 100644 index 7284372..0000000 --- a/sales/db3/connector/db3.build.hml +++ /dev/null @@ -1,16 +0,0 @@ -kind: ConnectorManifest -version: v1 -spec: - supergraphManifests: - - base -definition: - name: db3 - type: cloud - connector: - type: hub - name: hasura/postgres:v0.5.1 - deployments: - - context: . - env: - CONNECTION_URI: - value: "postgresql://read_only_user:readonlyuser@35.236.11.122:5432/v3-docs-sample-app" diff --git a/sales/db3/connector/schema.json b/sales/db3/connector/schema.json deleted file mode 100644 index b70aded..0000000 --- a/sales/db3/connector/schema.json +++ /dev/null @@ -1,1293 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "RawConfiguration", - "description": "The parsed connector configuration.", - "oneOf": [ - { - "description": "Initial configuration, just enough to connect to a database and elaborate a full 'Configuration'.", - "type": "object", - "required": [ - "connectionSettings", - "version" - ], - "properties": { - "version": { - "type": "string", - "enum": [ - "3" - ] - }, - "$schema": { - "description": "Jsonschema of the configuration format.", - "default": null, - "type": [ - "string", - "null" - ] - }, - "connectionSettings": { - "description": "Database connection settings.", - "allOf": [ - { - "$ref": "#/definitions/DatabaseConnectionSettings" - } - ] - }, - "metadata": { - "description": "Connector metadata.", - "default": { - "aggregateFunctions": {}, - "comparisonOperators": {}, - "compositeTypes": {}, - "nativeQueries": {}, - "tables": {} - }, - "allOf": [ - { - "$ref": "#/definitions/Metadata" - } - ] - }, - "introspectionOptions": { - "description": "Database introspection options.", - "default": { - "comparisonOperatorMapping": [ - { - "exposedName": "_eq", - "operatorKind": "equal", - "operatorName": "=" - }, - { - "exposedName": "_lte", - "operatorKind": "custom", - "operatorName": "<=" - }, - { - "exposedName": "_gt", - "operatorKind": "custom", - "operatorName": ">" - }, - { - "exposedName": "_gte", - "operatorKind": "custom", - "operatorName": ">=" - }, - { - "exposedName": "_lt", - "operatorKind": "custom", - "operatorName": "<" - }, - { - "exposedName": "_neq", - "operatorKind": "custom", - "operatorName": "!=" - }, - { - "exposedName": "_like", - "operatorKind": "custom", - "operatorName": "LIKE" - }, - { - "exposedName": "_nlike", - "operatorKind": "custom", - "operatorName": "NOT LIKE" - }, - { - "exposedName": "_ilike", - "operatorKind": "custom", - "operatorName": "ILIKE" - }, - { - "exposedName": "_nilike", - "operatorKind": "custom", - "operatorName": "NOT ILIKE" - }, - { - "exposedName": "_similar", - "operatorKind": "custom", - "operatorName": "SIMILAR TO" - }, - { - "exposedName": "_nsimilar", - "operatorKind": "custom", - "operatorName": "NOT SIMILAR TO" - }, - { - "exposedName": "_neq", - "operatorKind": "custom", - "operatorName": "<>" - }, - { - "exposedName": "_like", - "operatorKind": "custom", - "operatorName": "~~" - }, - { - "exposedName": "_nlike", - "operatorKind": "custom", - "operatorName": "!~~" - }, - { - "exposedName": "_ilike", - "operatorKind": "custom", - "operatorName": "~~*" - }, - { - "exposedName": "_nilike", - "operatorKind": "custom", - "operatorName": "!~~*" - }, - { - "exposedName": "_regex", - "operatorKind": "custom", - "operatorName": "~" - }, - { - "exposedName": "_nregex", - "operatorKind": "custom", - "operatorName": "!~" - }, - { - "exposedName": "_iregex", - "operatorKind": "custom", - "operatorName": "~*" - }, - { - "exposedName": "_niregex", - "operatorKind": "custom", - "operatorName": "!~*" - } - ], - "excludedSchemas": [ - "information_schema", - "pg_catalog", - "tiger", - "crdb_internal", - "columnar", - "columnar_internal" - ], - "introspectPrefixFunctionComparisonOperators": [ - "box_above", - "box_below", - "box_contain", - "box_contain_pt", - "box_contained", - "box_left", - "box_overabove", - "box_overbelow", - "box_overlap", - "box_overleft", - "box_overright", - "box_right", - "box_same", - "circle_above", - "circle_below", - "circle_contain", - "circle_contain_pt", - "circle_contained", - "circle_left", - "circle_overabove", - "circle_overbelow", - "circle_overlap", - "circle_overleft", - "circle_overright", - "circle_right", - "circle_same", - "contains_2d", - "equals", - "geography_overlaps", - "geometry_above", - "geometry_below", - "geometry_contained_3d", - "geometry_contains", - "geometry_contains_3d", - "geometry_contains_nd", - "geometry_left", - "geometry_overabove", - "geometry_overbelow", - "geometry_overlaps", - "geometry_overlaps_3d", - "geometry_overlaps_nd", - "geometry_overleft", - "geometry_overright", - "geometry_right", - "geometry_same", - "geometry_same_3d", - "geometry_same_nd", - "geometry_within", - "geometry_within_nd", - "inet_same_family", - "inter_lb", - "inter_sb", - "inter_sl", - "is_contained_2d", - "ishorizontal", - "isparallel", - "isperp", - "isvertical", - "jsonb_contained", - "jsonb_contains", - "jsonb_exists", - "jsonb_path_exists_opr", - "jsonb_path_match_opr", - "line_intersect", - "line_parallel", - "line_perp", - "lseg_intersect", - "lseg_parallel", - "lseg_perp", - "network_overlap", - "network_sub", - "network_sup", - "on_pb", - "on_pl", - "on_ppath", - "on_ps", - "on_sb", - "on_sl", - "overlaps_2d", - "path_contain_pt", - "path_inter", - "point_above", - "point_below", - "point_horiz", - "point_left", - "point_right", - "point_vert", - "poly_above", - "poly_below", - "poly_contain", - "poly_contain_pt", - "poly_contained", - "poly_left", - "poly_overabove", - "poly_overbelow", - "poly_overlap", - "poly_overleft", - "poly_overright", - "poly_right", - "poly_same", - "pt_contained_poly", - "st_3dintersects", - "st_contains", - "st_containsproperly", - "st_coveredby", - "st_covers", - "st_crosses", - "st_disjoint", - "st_equals", - "st_intersects", - "st_isvalid", - "st_orderingequals", - "st_overlaps", - "st_relatematch", - "st_touches", - "st_within", - "starts_with", - "ts_match_qv", - "ts_match_tq", - "ts_match_tt", - "ts_match_vq", - "tsq_mcontained", - "tsq_mcontains", - "xmlexists", - "xmlvalidate", - "xpath_exists" - ], - "unqualifiedSchemasForTables": [ - "public" - ], - "unqualifiedSchemasForTypesAndProcedures": [ - "public", - "pg_catalog", - "tiger" - ] - }, - "allOf": [ - { - "$ref": "#/definitions/IntrospectionOptions" - } - ] - }, - "mutationsVersion": { - "description": "Which version of the generated mutation procedures to include in the schema response", - "default": null, - "anyOf": [ - { - "$ref": "#/definitions/MutationsVersion" - }, - { - "type": "null" - } - ] - } - } - } - ], - "definitions": { - "DatabaseConnectionSettings": { - "description": "Database connection settings.", - "type": "object", - "required": [ - "connectionUri" - ], - "properties": { - "connectionUri": { - "description": "Connection string for a Postgres-compatible database.", - "allOf": [ - { - "$ref": "#/definitions/ConnectionUri" - } - ] - }, - "poolSettings": { - "description": "Connection pool settings.", - "default": { - "connectionLifetime": 600, - "idleTimeout": 180, - "maxConnections": 50, - "poolTimeout": 30 - }, - "allOf": [ - { - "$ref": "#/definitions/PoolSettings" - } - ] - }, - "isolationLevel": { - "description": "Query isolation level.", - "default": "ReadCommitted", - "allOf": [ - { - "$ref": "#/definitions/IsolationLevel" - } - ] - } - } - }, - "ConnectionUri": { - "$ref": "#/definitions/Secret" - }, - "Secret": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "required": [ - "variable" - ], - "properties": { - "variable": { - "$ref": "#/definitions/Variable" - } - } - } - ] - }, - "Variable": { - "description": "The name of an an environment variable.", - "type": "string" - }, - "PoolSettings": { - "description": "Settings for the PostgreSQL connection pool", - "type": "object", - "properties": { - "maxConnections": { - "description": "maximum number of pool connections", - "default": 50, - "type": "integer", - "format": "uint32", - "minimum": 0.0 - }, - "poolTimeout": { - "description": "timeout for acquiring a connection from the pool (seconds)", - "default": 30, - "type": "integer", - "format": "uint64", - "minimum": 0.0 - }, - "idleTimeout": { - "description": "idle timeout for releasing a connection from the pool (seconds)", - "default": 180, - "type": [ - "integer", - "null" - ], - "format": "uint64", - "minimum": 0.0 - }, - "connectionLifetime": { - "description": "maximum lifetime for an individual connection (seconds)", - "default": 600, - "type": [ - "integer", - "null" - ], - "format": "uint64", - "minimum": 0.0 - } - } - }, - "IsolationLevel": { - "description": "The isolation level of the transaction in which a query is executed.", - "oneOf": [ - { - "description": "Prevents reading data from another uncommitted transaction.", - "type": "string", - "enum": [ - "ReadCommitted" - ] - }, - { - "description": "Reading the same data twice is guaranteed to return the same result.", - "type": "string", - "enum": [ - "RepeatableRead" - ] - }, - { - "description": "Concurrent transactions behave identically to serializing them one at a time.", - "type": "string", - "enum": [ - "Serializable" - ] - } - ] - }, - "Metadata": { - "description": "Metadata information.", - "type": "object", - "properties": { - "tables": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/TablesInfo" - } - ] - }, - "compositeTypes": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/CompositeTypes" - } - ] - }, - "nativeQueries": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/NativeQueries" - } - ] - }, - "aggregateFunctions": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/AggregateFunctions" - } - ] - }, - "comparisonOperators": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/ComparisonOperators" - } - ] - } - } - }, - "TablesInfo": { - "description": "Mapping from a \"table\" name to its information.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/TableInfo" - } - }, - "TableInfo": { - "description": "Information about a database table (or any other kind of relation).", - "type": "object", - "required": [ - "columns", - "schemaName", - "tableName" - ], - "properties": { - "schemaName": { - "type": "string" - }, - "tableName": { - "type": "string" - }, - "columns": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ColumnInfo" - } - }, - "uniquenessConstraints": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/UniquenessConstraints" - } - ] - }, - "foreignRelations": { - "default": {}, - "allOf": [ - { - "$ref": "#/definitions/ForeignRelations" - } - ] - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "ColumnInfo": { - "description": "Information about a database column.", - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/Type" - }, - "nullable": { - "default": "nullable", - "allOf": [ - { - "$ref": "#/definitions/Nullable" - } - ] - }, - "hasDefault": { - "$ref": "#/definitions/HasDefault" - }, - "isIdentity": { - "$ref": "#/definitions/IsIdentity" - }, - "isGenerated": { - "$ref": "#/definitions/IsGenerated" - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "Type": { - "description": "The type of values that a column, field, or argument may take.", - "oneOf": [ - { - "type": "object", - "required": [ - "scalarType" - ], - "properties": { - "scalarType": { - "$ref": "#/definitions/ScalarType" - } - }, - "additionalProperties": false - }, - { - "type": "object", - "required": [ - "compositeType" - ], - "properties": { - "compositeType": { - "type": "string" - } - }, - "additionalProperties": false - }, - { - "type": "object", - "required": [ - "arrayType" - ], - "properties": { - "arrayType": { - "$ref": "#/definitions/Type" - } - }, - "additionalProperties": false - } - ] - }, - "ScalarType": { - "description": "A Scalar Type.", - "type": "string" - }, - "Nullable": { - "description": "Can this column contain null values", - "type": "string", - "enum": [ - "nullable", - "nonNullable" - ] - }, - "HasDefault": { - "description": "Does this column have a default value.", - "type": "string", - "enum": [ - "noDefault", - "hasDefault" - ] - }, - "IsIdentity": { - "description": "Is this column an identity column.", - "type": "string", - "enum": [ - "notIdentity", - "identityByDefault", - "identityAlways" - ] - }, - "IsGenerated": { - "description": "Is this column a generated column.", - "type": "string", - "enum": [ - "notGenerated", - "stored" - ] - }, - "UniquenessConstraints": { - "description": "A mapping from the name of a unique constraint to its value.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UniquenessConstraint" - } - }, - "UniquenessConstraint": { - "description": "The set of columns that make up a uniqueness constraint.", - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - }, - "ForeignRelations": { - "description": "A mapping from the name of a foreign key constraint to its value.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ForeignRelation" - } - }, - "ForeignRelation": { - "description": "A foreign key constraint.", - "type": "object", - "required": [ - "columnMapping", - "foreignTable" - ], - "properties": { - "foreignSchema": { - "type": [ - "string", - "null" - ] - }, - "foreignTable": { - "type": "string" - }, - "columnMapping": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "CompositeTypes": { - "description": "Map of all known composite types.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/CompositeType" - } - }, - "CompositeType": { - "description": "Information about a composite type. These are very similar to tables, but with the crucial difference that composite types do not support constraints (such as NOT NULL).", - "type": "object", - "required": [ - "fields", - "name" - ], - "properties": { - "name": { - "type": "string" - }, - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/FieldInfo" - } - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "FieldInfo": { - "description": "Information about a composite type field.", - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/Type" - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "NativeQueries": { - "description": "Metadata information of native queries.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/NativeQueryInfo" - } - }, - "NativeQueryInfo": { - "description": "Information about a Native Query", - "type": "object", - "required": [ - "columns", - "sql" - ], - "properties": { - "sql": { - "description": "SQL expression to use for the Native Query. We can interpolate values using `{{variable_name}}` syntax, such as `SELECT * FROM authors WHERE name = {{author_name}}`", - "allOf": [ - { - "$ref": "#/definitions/NativeQuerySql" - } - ] - }, - "columns": { - "description": "Columns returned by the Native Query", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ReadOnlyColumnInfo" - } - }, - "arguments": { - "description": "Names and types of arguments that can be passed to this Native Query", - "default": {}, - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ReadOnlyColumnInfo" - } - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - }, - "isProcedure": { - "description": "True if this native query mutates the database", - "type": "boolean" - } - } - }, - "NativeQuerySql": { - "description": "Native Query SQL location.", - "anyOf": [ - { - "description": "Refer to an external Native Query SQL file.", - "type": "object", - "required": [ - "file" - ], - "properties": { - "file": { - "description": "Relative path to a sql file.", - "type": "string" - } - } - }, - { - "description": "Inline Native Query SQL string.", - "type": "object", - "required": [ - "inline" - ], - "properties": { - "inline": { - "description": "An inline Native Query SQL string.", - "allOf": [ - { - "$ref": "#/definitions/InlineNativeQuerySql" - } - ] - } - } - }, - { - "$ref": "#/definitions/InlineNativeQuerySql" - } - ] - }, - "InlineNativeQuerySql": { - "type": "string" - }, - "ReadOnlyColumnInfo": { - "description": "Information about a native query column.", - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/Type" - }, - "nullable": { - "default": "nullable", - "allOf": [ - { - "$ref": "#/definitions/Nullable" - } - ] - }, - "description": { - "default": null, - "type": [ - "string", - "null" - ] - } - } - }, - "AggregateFunctions": { - "description": "All supported aggregate functions, grouped by type.", - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/AggregateFunction" - } - } - }, - "AggregateFunction": { - "type": "object", - "required": [ - "returnType" - ], - "properties": { - "returnType": { - "$ref": "#/definitions/ScalarType" - } - } - }, - "ComparisonOperators": { - "description": "The complete list of supported binary operators for scalar types. Not all of these are supported for every type.", - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ComparisonOperator" - } - } - }, - "ComparisonOperator": { - "description": "Represents a postgres binary comparison operator", - "type": "object", - "required": [ - "argumentType", - "operatorKind", - "operatorName" - ], - "properties": { - "operatorName": { - "type": "string" - }, - "operatorKind": { - "$ref": "#/definitions/OperatorKind" - }, - "argumentType": { - "$ref": "#/definitions/ScalarType" - }, - "isInfix": { - "default": true, - "type": "boolean" - } - } - }, - "OperatorKind": { - "description": "Is it a built-in operator, or a custom operator.", - "type": "string", - "enum": [ - "equal", - "in", - "custom" - ] - }, - "IntrospectionOptions": { - "description": "Options which only influence how the configuration is updated.", - "type": "object", - "properties": { - "excludedSchemas": { - "description": "Schemas which are excluded from introspection. The default setting will exclude the internal schemas of Postgres, Citus, Cockroach, and the PostGIS extension.", - "default": [ - "information_schema", - "pg_catalog", - "tiger", - "crdb_internal", - "columnar", - "columnar_internal" - ], - "type": "array", - "items": { - "type": "string" - } - }, - "unqualifiedSchemasForTables": { - "description": "The names of Tables and Views in these schemas will be returned unqualified. The default setting will set the `public` schema as unqualified.", - "default": [ - "public" - ], - "type": "array", - "items": { - "type": "string" - } - }, - "unqualifiedSchemasForTypesAndProcedures": { - "description": "The types and procedures in these schemas will be returned unqualified.", - "default": [ - "public", - "pg_catalog", - "tiger" - ], - "type": "array", - "items": { - "type": "string" - } - }, - "comparisonOperatorMapping": { - "description": "The mapping of comparison operator names to apply when updating the configuration", - "default": [ - { - "exposedName": "_eq", - "operatorKind": "equal", - "operatorName": "=" - }, - { - "exposedName": "_lte", - "operatorKind": "custom", - "operatorName": "<=" - }, - { - "exposedName": "_gt", - "operatorKind": "custom", - "operatorName": ">" - }, - { - "exposedName": "_gte", - "operatorKind": "custom", - "operatorName": ">=" - }, - { - "exposedName": "_lt", - "operatorKind": "custom", - "operatorName": "<" - }, - { - "exposedName": "_neq", - "operatorKind": "custom", - "operatorName": "!=" - }, - { - "exposedName": "_like", - "operatorKind": "custom", - "operatorName": "LIKE" - }, - { - "exposedName": "_nlike", - "operatorKind": "custom", - "operatorName": "NOT LIKE" - }, - { - "exposedName": "_ilike", - "operatorKind": "custom", - "operatorName": "ILIKE" - }, - { - "exposedName": "_nilike", - "operatorKind": "custom", - "operatorName": "NOT ILIKE" - }, - { - "exposedName": "_similar", - "operatorKind": "custom", - "operatorName": "SIMILAR TO" - }, - { - "exposedName": "_nsimilar", - "operatorKind": "custom", - "operatorName": "NOT SIMILAR TO" - }, - { - "exposedName": "_neq", - "operatorKind": "custom", - "operatorName": "<>" - }, - { - "exposedName": "_like", - "operatorKind": "custom", - "operatorName": "~~" - }, - { - "exposedName": "_nlike", - "operatorKind": "custom", - "operatorName": "!~~" - }, - { - "exposedName": "_ilike", - "operatorKind": "custom", - "operatorName": "~~*" - }, - { - "exposedName": "_nilike", - "operatorKind": "custom", - "operatorName": "!~~*" - }, - { - "exposedName": "_regex", - "operatorKind": "custom", - "operatorName": "~" - }, - { - "exposedName": "_nregex", - "operatorKind": "custom", - "operatorName": "!~" - }, - { - "exposedName": "_iregex", - "operatorKind": "custom", - "operatorName": "~*" - }, - { - "exposedName": "_niregex", - "operatorKind": "custom", - "operatorName": "!~*" - } - ], - "type": "array", - "items": { - "$ref": "#/definitions/ComparisonOperatorMapping" - } - }, - "introspectPrefixFunctionComparisonOperators": { - "description": "Which prefix functions (i.e., non-infix operators) to generate introspection metadata for.\n\nThis list will accept any boolean-returning function taking two concrete scalar types as arguments.\n\nThe default includes comparisons for various build-in types as well as those of PostGIS.", - "default": [ - "box_above", - "box_below", - "box_contain", - "box_contain_pt", - "box_contained", - "box_left", - "box_overabove", - "box_overbelow", - "box_overlap", - "box_overleft", - "box_overright", - "box_right", - "box_same", - "circle_above", - "circle_below", - "circle_contain", - "circle_contain_pt", - "circle_contained", - "circle_left", - "circle_overabove", - "circle_overbelow", - "circle_overlap", - "circle_overleft", - "circle_overright", - "circle_right", - "circle_same", - "contains_2d", - "equals", - "geography_overlaps", - "geometry_above", - "geometry_below", - "geometry_contained_3d", - "geometry_contains", - "geometry_contains_3d", - "geometry_contains_nd", - "geometry_left", - "geometry_overabove", - "geometry_overbelow", - "geometry_overlaps", - "geometry_overlaps_3d", - "geometry_overlaps_nd", - "geometry_overleft", - "geometry_overright", - "geometry_right", - "geometry_same", - "geometry_same_3d", - "geometry_same_nd", - "geometry_within", - "geometry_within_nd", - "inet_same_family", - "inter_lb", - "inter_sb", - "inter_sl", - "is_contained_2d", - "ishorizontal", - "isparallel", - "isperp", - "isvertical", - "jsonb_contained", - "jsonb_contains", - "jsonb_exists", - "jsonb_path_exists_opr", - "jsonb_path_match_opr", - "line_intersect", - "line_parallel", - "line_perp", - "lseg_intersect", - "lseg_parallel", - "lseg_perp", - "network_overlap", - "network_sub", - "network_sup", - "on_pb", - "on_pl", - "on_ppath", - "on_ps", - "on_sb", - "on_sl", - "overlaps_2d", - "path_contain_pt", - "path_inter", - "point_above", - "point_below", - "point_horiz", - "point_left", - "point_right", - "point_vert", - "poly_above", - "poly_below", - "poly_contain", - "poly_contain_pt", - "poly_contained", - "poly_left", - "poly_overabove", - "poly_overbelow", - "poly_overlap", - "poly_overleft", - "poly_overright", - "poly_right", - "poly_same", - "pt_contained_poly", - "st_3dintersects", - "st_contains", - "st_containsproperly", - "st_coveredby", - "st_covers", - "st_crosses", - "st_disjoint", - "st_equals", - "st_intersects", - "st_isvalid", - "st_orderingequals", - "st_overlaps", - "st_relatematch", - "st_touches", - "st_within", - "starts_with", - "ts_match_qv", - "ts_match_tq", - "ts_match_tt", - "ts_match_vq", - "tsq_mcontained", - "tsq_mcontains", - "xmlexists", - "xmlvalidate", - "xpath_exists" - ], - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ComparisonOperatorMapping": { - "description": "Define the names that comparison operators will be exposed as by the automatic introspection.", - "type": "object", - "required": [ - "exposedName", - "operatorKind", - "operatorName" - ], - "properties": { - "operatorName": { - "description": "The name of the operator as defined by the database", - "type": "string" - }, - "exposedName": { - "description": "The name the operator will appear under in the exposed API", - "type": "string" - }, - "operatorKind": { - "description": "Equal, In or Custom.", - "allOf": [ - { - "$ref": "#/definitions/OperatorKind" - } - ] - } - } - }, - "MutationsVersion": { - "description": "Which version of the generated mutations will be included in the schema", - "type": "string", - "enum": [ - "v1" - ] - } - } -} diff --git a/sales/db3/db3-types.hml b/sales/db3/db3-types.hml deleted file mode 100644 index 1483847..0000000 --- a/sales/db3/db3-types.hml +++ /dev/null @@ -1,90 +0,0 @@ ---- -kind: ScalarType -version: v1 -definition: - name: Int4 - graphql: - typeName: Sales_Int4 - ---- -kind: ScalarType -version: v1 -definition: - name: Text - graphql: - typeName: Sales_Text - ---- -kind: ScalarType -version: v1 -definition: - name: Timestamptz - graphql: - typeName: Sales_Timestamptz - ---- -kind: ScalarType -version: v1 -definition: - name: Uuid - graphql: - typeName: Sales_Uuid - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db3 - dataConnectorScalarType: int4 - representation: Int4 - graphql: - comparisonExpressionTypeName: Sales_Int4ComparisonExp - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db3 - dataConnectorScalarType: text - representation: Text - graphql: - comparisonExpressionTypeName: Sales_TextComparisonExp - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db3 - dataConnectorScalarType: timestamptz - representation: Timestamptz - graphql: - comparisonExpressionTypeName: Sales_TimestamptzComparisonExp - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db3 - dataConnectorScalarType: uuid - representation: Uuid - graphql: - comparisonExpressionTypeName: Sales_UuidComparisonExp - ---- -kind: ScalarType -version: v1 -definition: - name: Bool - graphql: - typeName: Sales_Bool - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: db3 - dataConnectorScalarType: bool - representation: Bool - graphql: - comparisonExpressionTypeName: Sales_BoolComparisonExp - diff --git a/sales/db3/db3.hml b/sales/db3/db3.hml deleted file mode 100644 index e5dd9c9..0000000 --- a/sales/db3/db3.hml +++ /dev/null @@ -1,753 +0,0 @@ -kind: DataConnectorLink -version: v1 -definition: - name: db3 - url: - Fn::ManifestRef: db3 - schema: - version: v0.1 - schema: - scalar_types: - bool: - aggregate_functions: - bool_and: - result_type: - type: named - name: bool - bool_or: - result_type: - type: named - name: bool - every: - result_type: - type: named - name: bool - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: bool - _gte: - type: custom - argument_type: - type: named - name: bool - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: bool - _lte: - type: custom - argument_type: - type: named - name: bool - _neq: - type: custom - argument_type: - type: named - name: bool - int4: - aggregate_functions: - bit_and: - result_type: - type: named - name: int4 - bit_or: - result_type: - type: named - name: int4 - bit_xor: - result_type: - type: named - name: int4 - max: - result_type: - type: named - name: int4 - min: - result_type: - type: named - name: int4 - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: int4 - _gte: - type: custom - argument_type: - type: named - name: int4 - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: int4 - _lte: - type: custom - argument_type: - type: named - name: int4 - _neq: - type: custom - argument_type: - type: named - name: int4 - text: - aggregate_functions: - max: - result_type: - type: named - name: text - min: - result_type: - type: named - name: text - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: text - _gte: - type: custom - argument_type: - type: named - name: text - _ilike: - type: custom - argument_type: - type: named - name: text - _in: - type: in - _iregex: - type: custom - argument_type: - type: named - name: text - _like: - type: custom - argument_type: - type: named - name: text - _lt: - type: custom - argument_type: - type: named - name: text - _lte: - type: custom - argument_type: - type: named - name: text - _neq: - type: custom - argument_type: - type: named - name: text - _nilike: - type: custom - argument_type: - type: named - name: text - _niregex: - type: custom - argument_type: - type: named - name: text - _nlike: - type: custom - argument_type: - type: named - name: text - _nregex: - type: custom - argument_type: - type: named - name: text - _regex: - type: custom - argument_type: - type: named - name: text - starts_with: - type: custom - argument_type: - type: named - name: text - ts_match_tt: - type: custom - argument_type: - type: named - name: text - timestamptz: - aggregate_functions: - max: - result_type: - type: named - name: timestamptz - min: - result_type: - type: named - name: timestamptz - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: timestamptz - _gte: - type: custom - argument_type: - type: named - name: timestamptz - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: timestamptz - _lte: - type: custom - argument_type: - type: named - name: timestamptz - _neq: - type: custom - argument_type: - type: named - name: timestamptz - uuid: - aggregate_functions: {} - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: uuid - _gte: - type: custom - argument_type: - type: named - name: uuid - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: uuid - _lte: - type: custom - argument_type: - type: named - name: uuid - _neq: - type: custom - argument_type: - type: named - name: uuid - vector: - aggregate_functions: - avg: - result_type: - type: named - name: vector - sum: - result_type: - type: named - name: vector - comparison_operators: - _eq: - type: equal - _gt: - type: custom - argument_type: - type: named - name: vector - _gte: - type: custom - argument_type: - type: named - name: vector - _in: - type: in - _lt: - type: custom - argument_type: - type: named - name: vector - _lte: - type: custom - argument_type: - type: named - name: vector - _neq: - type: custom - argument_type: - type: named - name: vector - object_types: - cart_items: - fields: - cart_id: - type: - type: named - name: uuid - created_at: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - product_id: - type: - type: named - name: uuid - quantity: - type: - type: named - name: int4 - updated_at: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - carts: - fields: - created_at: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - is_complete: - type: - type: named - name: bool - is_reminder_sent: - type: - type: named - name: bool - updated_at: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - categories: - fields: - id: - type: - type: named - name: uuid - name: - type: - type: named - name: text - coupons: - fields: - amount: - type: - type: nullable - underlying_type: - type: named - name: int4 - code: - type: - type: named - name: text - created_at: - type: - type: named - name: timestamptz - expiration_date: - type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - percent_or_value: - type: - type: nullable - underlying_type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - manufacturers: - fields: - id: - type: - type: named - name: uuid - name: - type: - type: named - name: text - notifications: - fields: - created_at: - type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - message: - type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - orders: - fields: - created_at: - type: - type: named - name: timestamptz - delivery_date: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - is_reviewed: - type: - type: named - name: bool - product_id: - type: - type: named - name: uuid - status: - type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - products: - fields: - category_id: - type: - type: named - name: uuid - country_of_origin: - type: - type: named - name: text - created_at: - type: - type: named - name: timestamptz - description: - type: - type: named - name: text - id: - type: - type: named - name: uuid - image: - type: - type: named - name: text - manufacturer_id: - type: - type: named - name: uuid - name: - type: - type: named - name: text - price: - type: - type: named - name: int4 - updated_at: - type: - type: named - name: timestamptz - vector: - type: - type: nullable - underlying_type: - type: named - name: vector - reviews: - fields: - created_at: - type: - type: named - name: timestamptz - id: - type: - type: named - name: uuid - is_visible: - type: - type: named - name: bool - product_id: - type: - type: named - name: uuid - rating: - type: - type: named - name: int4 - text: - type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - user_id: - type: - type: named - name: uuid - users: - fields: - created_at: - type: - type: named - name: timestamptz - email: - type: - type: named - name: text - favorite_artist: - type: - type: nullable - underlying_type: - type: named - name: int4 - id: - type: - type: named - name: uuid - is_email_verified: - type: - type: nullable - underlying_type: - type: named - name: bool - last_seen: - type: - type: nullable - underlying_type: - type: named - name: timestamptz - name: - type: - type: named - name: text - password: - type: - type: nullable - underlying_type: - type: named - name: text - updated_at: - type: - type: named - name: timestamptz - collections: - - name: cart_items - arguments: {} - type: cart_items - uniqueness_constraints: - cart_items_pkey: - unique_columns: - - id - foreign_keys: - cart_items_cart_id_foreign: - column_mapping: - cart_id: id - foreign_collection: carts - cart_items_product_id_foreign: - column_mapping: - product_id: id - foreign_collection: products - - name: carts - arguments: {} - type: carts - uniqueness_constraints: - carts_pkey: - unique_columns: - - id - foreign_keys: - carts_user_id_foreign: - column_mapping: - user_id: id - foreign_collection: users - - name: categories - arguments: {} - type: categories - uniqueness_constraints: - categories_pkey: - unique_columns: - - id - foreign_keys: {} - - name: coupons - arguments: {} - type: coupons - uniqueness_constraints: - coupons_pkey: - unique_columns: - - id - foreign_keys: - coupons_user_id_fkey: - column_mapping: - user_id: id - foreign_collection: users - - name: manufacturers - arguments: {} - type: manufacturers - uniqueness_constraints: - manufacturers_pkey: - unique_columns: - - id - foreign_keys: {} - - name: notifications - arguments: {} - type: notifications - uniqueness_constraints: - notifications_pkey: - unique_columns: - - id - foreign_keys: - notifications_user_id_fkey: - column_mapping: - user_id: id - foreign_collection: users - - name: orders - arguments: {} - type: orders - uniqueness_constraints: - orders_pkey: - unique_columns: - - id - foreign_keys: - orders_customer_id_fkey: - column_mapping: - user_id: id - foreign_collection: users - orders_product_id_fkey: - column_mapping: - product_id: id - foreign_collection: products - - name: products - arguments: {} - type: products - uniqueness_constraints: - products_pkey: - unique_columns: - - id - foreign_keys: - products_category_foreign: - column_mapping: - category_id: id - foreign_collection: categories - products_manufacturer_foreign: - column_mapping: - manufacturer_id: id - foreign_collection: manufacturers - - name: reviews - arguments: {} - type: reviews - uniqueness_constraints: - reviews_pkey: - unique_columns: - - id - foreign_keys: - reviews_product_id_foreign: - column_mapping: - product_id: id - foreign_collection: products - reviews_user_id_foreign: - column_mapping: - user_id: id - foreign_collection: users - - name: users - arguments: {} - type: users - uniqueness_constraints: - users_pkey: - unique_columns: - - id - foreign_keys: {} - functions: [] - procedures: [] - capabilities: - version: 0.1.1 - capabilities: - query: - aggregates: {} - variables: {} - explain: {} - mutation: - transactional: {} - explain: {} - relationships: - relation_comparisons: {} - order_by_aggregate: {} diff --git a/sales/db3/models/Coupons.hml b/sales/db3/models/Coupons.hml deleted file mode 100644 index 39a36a8..0000000 --- a/sales/db3/models/Coupons.hml +++ /dev/null @@ -1,200 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: Coupons - fields: - - name: amount - type: Int4 - - name: code - type: Text! - - name: createdAt - type: Timestamptz! - - name: expirationDate - type: Timestamptz! - - name: id - type: Uuid! - - name: percentOrValue - type: Text - deprecated: - reason: test1 - - name: updatedAt - type: Timestamptz! - - name: userId - type: Uuid! - graphql: - typeName: Sales_Coupons - inputTypeName: Sales_CouponsInput - dataConnectorTypeMapping: - - dataConnectorName: db3 - dataConnectorObjectType: coupons - fieldMapping: - amount: - column: - name: amount - code: - column: - name: code - createdAt: - column: - name: created_at - expirationDate: - column: - name: expiration_date - id: - column: - name: id - percentOrValue: - column: - name: percent_or_value - updatedAt: - column: - name: updated_at - userId: - column: - name: user_id - ---- -kind: TypePermissions -version: v1 -definition: - typeName: Coupons - permissions: - - role: admin - output: - allowedFields: - - amount - - code - - createdAt - - expirationDate - - id - - percentOrValue - - updatedAt - - userId - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: CouponsBoolExp - objectType: Coupons - dataConnectorName: db3 - dataConnectorObjectType: coupons - comparableFields: - - fieldName: amount - operators: - enableAll: true - - fieldName: code - operators: - enableAll: true - - fieldName: createdAt - operators: - enableAll: true - - fieldName: expirationDate - operators: - enableAll: true - - fieldName: id - operators: - enableAll: true - - fieldName: percentOrValue - operators: - enableAll: true - - fieldName: updatedAt - operators: - enableAll: true - - fieldName: userId - operators: - enableAll: true - graphql: - typeName: Sales_CouponsBoolExp - ---- -kind: Model -version: v1 -definition: - name: Coupons - objectType: Coupons - source: - dataConnectorName: db3 - collection: coupons - filterExpressionType: CouponsBoolExp - orderableFields: - - fieldName: amount - orderByDirections: - enableAll: true - - fieldName: code - orderByDirections: - enableAll: true - - fieldName: createdAt - orderByDirections: - enableAll: true - - fieldName: expirationDate - orderByDirections: - enableAll: true - - fieldName: id - orderByDirections: - enableAll: true - - fieldName: percentOrValue - orderByDirections: - enableAll: true - - fieldName: updatedAt - orderByDirections: - enableAll: true - - fieldName: userId - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: sales_coupons - selectUniques: - - queryRootField: sales_couponsById - uniqueIdentifier: - - id - orderByExpressionType: Sales_CouponsOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: Coupons - permissions: - - role: admin - select: - filter: null - ---- -kind: Relationship -version: v1 -definition: - name: users - source: Coupons - target: - model: - name: Users - subgraph: users - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: userId - target: - modelField: - - fieldName: user_id - ---- -kind: Relationship -version: v1 -definition: - name: formatCurrency - source: Coupons - target: - command: - name: ToCurrencyString - subgraph: null - mapping: - - source: - fieldPath: - - fieldName: amount - target: - argument: - argumentName: amount \ No newline at end of file diff --git a/sales/db3/models/Orders.hml b/sales/db3/models/Orders.hml deleted file mode 100644 index 90f2259..0000000 --- a/sales/db3/models/Orders.hml +++ /dev/null @@ -1,254 +0,0 @@ ---- -kind: ObjectType -version: v1 -definition: - name: Orders - globalIdFields: - - order_id - fields: - - name: createdAt - type: Timestamptz! - - name: deliveryDate - type: Timestamptz - - name: order_id - type: Uuid! - - name: isReviewed - type: Bool! - - name: productId - type: Uuid! - - name: status - type: Text! - - name: updatedAt - type: Timestamptz! - - name: userId - type: Uuid! - graphql: - typeName: Sales_Orders - inputTypeName: Sales_OrdersInput - dataConnectorTypeMapping: - - dataConnectorName: db3 - dataConnectorObjectType: orders - fieldMapping: - createdAt: - column: - name: created_at - deliveryDate: - column: - name: delivery_date - order_id: - column: - name: id - isReviewed: - column: - name: is_reviewed - productId: - column: - name: product_id - status: - column: - name: status - updatedAt: - column: - name: updated_at - userId: - column: - name: user_id - ---- -kind: TypePermissions -version: v1 -definition: - typeName: Orders - permissions: - - role: admin - output: - allowedFields: - - createdAt - - deliveryDate - - order_id - - isReviewed - - productId - - status - - updatedAt - - userId - - role: customer - output: - allowedFields: - - createdAt - - deliveryDate - - order_id - - isReviewed - - productId - - status - - userId - ---- -kind: ObjectBooleanExpressionType -version: v1 -definition: - name: OrdersBoolExp - objectType: Orders - dataConnectorName: db3 - dataConnectorObjectType: orders - comparableFields: - - fieldName: createdAt - operators: - enableAll: true - - fieldName: deliveryDate - operators: - enableAll: true - - fieldName: order_id - operators: - enableAll: true - - fieldName: isReviewed - operators: - enableAll: true - - fieldName: productId - operators: - enableAll: true - - fieldName: status - operators: - enableAll: true - - fieldName: updatedAt - operators: - enableAll: true - - fieldName: userId - operators: - enableAll: true - graphql: - typeName: Sales_OrdersBoolExp - ---- -kind: Model -version: v1 -definition: - name: Orders - objectType: Orders - globalIdSource: true - source: - dataConnectorName: db3 - collection: orders - filterExpressionType: OrdersBoolExp - orderableFields: - - fieldName: createdAt - orderByDirections: - enableAll: true - - fieldName: deliveryDate - orderByDirections: - enableAll: true - - fieldName: order_id - orderByDirections: - enableAll: true - - fieldName: isReviewed - orderByDirections: - enableAll: true - - fieldName: productId - orderByDirections: - enableAll: true - - fieldName: status - orderByDirections: - enableAll: true - - fieldName: updatedAt - orderByDirections: - enableAll: true - - fieldName: userId - orderByDirections: - enableAll: true - graphql: - selectMany: - queryRootField: sales_orders - selectUniques: - - queryRootField: sales_ordersById - uniqueIdentifier: - - order_id - orderByExpressionType: Sales_OrdersOrderBy - ---- -kind: ModelPermissions -version: v1 -definition: - modelName: Orders - permissions: - - role: admin - select: - filter: null - - role: customer - select: - filter: - and: - - fieldComparison: - field: userId - operator: _eq - value: - sessionVariable: x-hasura-user-id ---- -kind: Relationship -version: v1 -definition: - name: users - source: Orders - target: - model: - name: Users - subgraph: users - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: userId - target: - modelField: - - fieldName: user_id - ---- -kind: Relationship -version: v1 -definition: - name: products - source: Orders - target: - model: - name: Products - subgraph: experience - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: productId - target: - modelField: - - fieldName: id ---- -kind: Relationship -version: v1 -definition: - name: formattedCreatedAt - source: Orders - target: - command: - name: ToDateString - mapping: - - source: - fieldPath: - - fieldName: createdAt - target: - argument: - argumentName: date - ---- -kind: Relationship -version: v1 -definition: - name: formattedDeliveryDate - source: Orders - target: - command: - name: ToDateString - subgraph: null - mapping: - - source: - fieldPath: - - fieldName: deliveryDate - target: - argument: - argumentName: date \ No newline at end of file diff --git a/sales/sales_functions/commands/Hello.hml b/sales/sales_functions/commands/Hello.hml deleted file mode 100644 index 3351eda..0000000 --- a/sales/sales_functions/commands/Hello.hml +++ /dev/null @@ -1,26 +0,0 @@ ---- -kind: Command -version: v1 -definition: - name: Hello - outputType: String! - arguments: - - name: name - type: String - source: - dataConnectorName: sales_functions - dataConnectorCommand: - function: hello - graphql: - rootFieldName: sales_hello - rootFieldKind: Query - ---- -kind: CommandPermissions -version: v1 -definition: - commandName: Hello - permissions: - - role: admin - allowExecution: true - diff --git a/sales/sales_functions/commands/ToCurrencyString.hml b/sales/sales_functions/commands/ToCurrencyString.hml deleted file mode 100644 index f0942b6..0000000 --- a/sales/sales_functions/commands/ToCurrencyString.hml +++ /dev/null @@ -1,28 +0,0 @@ ---- -kind: Command -version: v1 -definition: - name: ToCurrencyString - outputType: String! - arguments: - - name: amount - type: Float - description: The number to format into currency. - source: - dataConnectorName: sales_functions - dataConnectorCommand: - function: toCurrencyString - graphql: - rootFieldName: sales_toCurrencyString - rootFieldKind: Query - description: Formats a number into a currency string. - ---- -kind: CommandPermissions -version: v1 -definition: - commandName: ToCurrencyString - permissions: - - role: admin - allowExecution: true - diff --git a/sales/sales_functions/commands/ToDateString.hml b/sales/sales_functions/commands/ToDateString.hml deleted file mode 100644 index fc83134..0000000 --- a/sales/sales_functions/commands/ToDateString.hml +++ /dev/null @@ -1,28 +0,0 @@ ---- -kind: Command -version: v1 -definition: - name: ToDateString - outputType: String! - arguments: - - name: date - type: String - description: The date string to format. - source: - dataConnectorName: sales_functions - dataConnectorCommand: - function: toDateString - graphql: - rootFieldName: sales_toDateString - rootFieldKind: Query - description: Formats a date string to a human-readable format. - ---- -kind: CommandPermissions -version: v1 -definition: - commandName: ToDateString - permissions: - - role: admin - allowExecution: true - diff --git a/sales/sales_functions/connector/functions.ts b/sales/sales_functions/connector/functions.ts deleted file mode 100644 index e436da9..0000000 --- a/sales/sales_functions/connector/functions.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @readonly Exposes the function as an NDC function (the function should only query data without making modifications) - */ -export function hello(name?: string) { - return `hello ${name ?? "world"}`; -} - -/** - * Formats a date string to a human-readable format. - * - * @param date The date string to format. - * @returns The formatted date string. - * @readonly This function should only query data without making modifications - */ -export function toDateString(date?: string): string { - console.log("date", date); - if (!date) { - return "Invalid date"; - } - try { - return new Date(date).toDateString(); - } catch (error) { - console.error("Error formatting date:", error); - return "Invalid date"; - } -} - -/** - * Formats a number into a currency string. - * - * @param amount The number to format into currency. - * @returns The formatted currency string. - * @readonly This function should only format data without making modifications to the input. - */ - export function toCurrencyString(amount?: number): string { - console.log("amount", amount); - if (amount === undefined || isNaN(amount)) { - return "Invalid amount"; - } - try { - return amount.toLocaleString('en-US', { - style: 'currency', - currency: 'USD' - }); - } catch (error) { - console.error("Error formatting currency:", error); - return "Invalid amount"; - } -} diff --git a/sales/sales_functions/connector/package-lock.json b/sales/sales_functions/connector/package-lock.json deleted file mode 100644 index 178b71f..0000000 --- a/sales/sales_functions/connector/package-lock.json +++ /dev/null @@ -1,2667 +0,0 @@ -{ - "name": "connector", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "dependencies": { - "@hasura/ndc-lambda-sdk": "1.2.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@fastify/ajv-compiler": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@fastify/ajv-compiler/-/ajv-compiler-3.5.0.tgz", - "integrity": "sha512-ebbEtlI7dxXF5ziNdr05mOY8NnDiPB1XvAlLHctRt/Rc+C3LCOVW5imUVX+mhvUhnNzmPBHewUkOFgGlCxgdAA==", - "dependencies": { - "ajv": "^8.11.0", - "ajv-formats": "^2.1.1", - "fast-uri": "^2.0.0" - } - }, - "node_modules/@fastify/error": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@fastify/error/-/error-3.4.1.tgz", - "integrity": "sha512-wWSvph+29GR783IhmvdwWnN4bUxTD01Vm5Xad4i7i1VuAOItLvbPAb69sb0IQ2N57yprvhNIwAP5B6xfKTmjmQ==" - }, - "node_modules/@fastify/fast-json-stringify-compiler": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@fastify/fast-json-stringify-compiler/-/fast-json-stringify-compiler-4.3.0.tgz", - "integrity": "sha512-aZAXGYo6m22Fk1zZzEUKBvut/CIIQe/BapEORnxiD5Qr0kPHqqI69NtEMCme74h+at72sPhbkb4ZrLd1W3KRLA==", - "dependencies": { - "fast-json-stringify": "^5.7.0" - } - }, - "node_modules/@fastify/merge-json-schemas": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@fastify/merge-json-schemas/-/merge-json-schemas-0.1.1.tgz", - "integrity": "sha512-fERDVz7topgNjtXsJTTW1JKLy0rhuLRcquYqNR9rF7OcVpCa2OVW49ZPDIhaRRCaUuvVxI+N416xUoF76HNSXA==", - "dependencies": { - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/@grpc/grpc-js": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.10.3.tgz", - "integrity": "sha512-qiO9MNgYnwbvZ8MK0YLWbnGrNX3zTcj6/Ef7UHu5ZofER3e2nF3Y35GaPo9qNJJ/UJQKa4KL+z/F4Q8Q+uCdUQ==", - "dependencies": { - "@grpc/proto-loader": "^0.7.10", - "@js-sdsl/ordered-map": "^4.4.2" - }, - "engines": { - "node": ">=12.10.0" - } - }, - "node_modules/@grpc/proto-loader": { - "version": "0.7.10", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.10.tgz", - "integrity": "sha512-CAqDfoaQ8ykFd9zqBDn4k6iWT9loLAlc2ETmDFS9JCD70gDcnA4L3AFEo2iV7KyAtAAHFW9ftq1Fz+Vsgq80RQ==", - "dependencies": { - "lodash.camelcase": "^4.3.0", - "long": "^5.0.0", - "protobufjs": "^7.2.4", - "yargs": "^17.7.2" - }, - "bin": { - "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@hasura/ndc-lambda-sdk": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@hasura/ndc-lambda-sdk/-/ndc-lambda-sdk-1.2.0.tgz", - "integrity": "sha512-vb95npS2jBxbLGDaRUzi03GooYSNRRFpNpTa95JoDOmt+N1fImfxjct1m8uhia+JgBrbztAQ3ciKPC7c2R3F2Q==", - "dependencies": { - "@hasura/ndc-sdk-typescript": "^4.2.1", - "@tsconfig/node20": "^20.1.2", - "commander": "^11.1.0", - "cross-spawn": "^7.0.3", - "p-limit": "^3.1.0", - "ts-api-utils": "^1.0.3", - "ts-node": "^10.9.2", - "ts-node-dev": "^2.0.0", - "typescript": "^5.4.2" - }, - "bin": { - "ndc-lambda-sdk": "bin/index.js" - } - }, - "node_modules/@hasura/ndc-sdk-typescript": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@hasura/ndc-sdk-typescript/-/ndc-sdk-typescript-4.2.1.tgz", - "integrity": "sha512-NbrbHTcCZsgG8EfVxfHsdwDCc6i+SJ40HqiOJau9p/RhDtif2HH7zoAa+9V2Bnyn2rPPYOFdZM46iHagOCei6Q==", - "dependencies": { - "@json-schema-tools/meta-schema": "^1.7.0", - "@opentelemetry/api": "^1.7.0", - "@opentelemetry/exporter-metrics-otlp-proto": "^0.48.0", - "@opentelemetry/instrumentation-fastify": "^0.33.0", - "@opentelemetry/instrumentation-fetch": "^0.48.0", - "@opentelemetry/instrumentation-http": "^0.48.0", - "@opentelemetry/instrumentation-pino": "^0.35.0", - "@opentelemetry/resources": "^1.21.0", - "@opentelemetry/sdk-metrics": "^1.21.0", - "@opentelemetry/sdk-node": "^0.48.0", - "@opentelemetry/semantic-conventions": "^1.21.0", - "commander": "^11.0.0", - "fastify": "^4.23.2", - "pino-pretty": "^10.2.3" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@js-sdsl/ordered-map": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz", - "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/js-sdsl" - } - }, - "node_modules/@json-schema-tools/meta-schema": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@json-schema-tools/meta-schema/-/meta-schema-1.7.0.tgz", - "integrity": "sha512-3pDzVUssW3hVnf8gvSu1sKaVIpLyvmpbxgGfkUoaBiErFKRS2CZOufHD0pUFoa5e6Cd5oa72s402nJbnDz76CA==" - }, - "node_modules/@opentelemetry/api": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.7.0.tgz", - "integrity": "sha512-AdY5wvN0P2vXBi3b29hxZgSFvdhdxPB9+f0B6s//P9Q8nibRWeA3cHm8UmLpio9ABigkVHJ5NMPk+Mz8VCCyrw==", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@opentelemetry/api-logs": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.48.0.tgz", - "integrity": "sha512-1/aMiU4Eqo3Zzpfwu51uXssp5pzvHFObk8S9pKAiXb1ne8pvg1qxBQitYL1XUiAMEXFzgjaidYG2V6624DRhhw==", - "dependencies": { - "@opentelemetry/api": "^1.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/context-async-hooks": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-1.21.0.tgz", - "integrity": "sha512-t0iulGPiMjG/NrSjinPQoIf8ST/o9V0dGOJthfrFporJlNdlKIQPfC7lkrV+5s2dyBThfmSbJlp/4hO1eOcDXA==", - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/core": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.21.0.tgz", - "integrity": "sha512-KP+OIweb3wYoP7qTYL/j5IpOlu52uxBv5M4+QhSmmUfLyTgu1OIS71msK3chFo1D6Y61BIH3wMiMYRCxJCQctA==", - "dependencies": { - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/core/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/exporter-metrics-otlp-http": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-metrics-otlp-http/-/exporter-metrics-otlp-http-0.48.0.tgz", - "integrity": "sha512-lZ0gah/WjPpUBVR2Qml8GHraLznsXEpmIS897vdL2IXCxJzGev7sCb9IwAiq89+MgHkuGUWhTWFB2frKrqX1sA==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/otlp-exporter-base": "0.48.0", - "@opentelemetry/otlp-transformer": "0.48.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/sdk-metrics": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/exporter-metrics-otlp-http/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/exporter-metrics-otlp-http/node_modules/@opentelemetry/sdk-metrics": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-1.21.0.tgz", - "integrity": "sha512-on1jTzIHc5DyWhRP+xpf+zrgrREXcHBH4EDAfaB5mIG7TWpKxNXooQ1JCylaPsswZUv4wGnVTinr4HrBdGARAQ==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/resources": "1.21.0", - "lodash.merge": "^4.6.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/exporter-metrics-otlp-http/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/exporter-metrics-otlp-proto": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-metrics-otlp-proto/-/exporter-metrics-otlp-proto-0.48.0.tgz", - "integrity": "sha512-lWvYUYcviDhKx6/vMnWJJ3PvkgZhm0hWmWwvNqS2KgSlcyDaNHs+6yZGFwnPYvGOL6keIAywfPRzzgVPUOOK2g==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.48.0", - "@opentelemetry/otlp-exporter-base": "0.48.0", - "@opentelemetry/otlp-proto-exporter-base": "0.48.0", - "@opentelemetry/otlp-transformer": "0.48.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/sdk-metrics": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/exporter-metrics-otlp-proto/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/exporter-metrics-otlp-proto/node_modules/@opentelemetry/sdk-metrics": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-1.21.0.tgz", - "integrity": "sha512-on1jTzIHc5DyWhRP+xpf+zrgrREXcHBH4EDAfaB5mIG7TWpKxNXooQ1JCylaPsswZUv4wGnVTinr4HrBdGARAQ==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/resources": "1.21.0", - "lodash.merge": "^4.6.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/exporter-metrics-otlp-proto/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-grpc": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-grpc/-/exporter-trace-otlp-grpc-0.48.0.tgz", - "integrity": "sha512-+qRQXUbdRW6aNRT5yWOG3G6My1VxxKeqgUyLkkdIjkT20lvymjiN2RpBfGMtAf/oqnuRknf9snFl9VSIO2gniw==", - "dependencies": { - "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.21.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.48.0", - "@opentelemetry/otlp-transformer": "0.48.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/sdk-trace-base": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-grpc/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-grpc/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-http": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-http/-/exporter-trace-otlp-http-0.48.0.tgz", - "integrity": "sha512-QEZKbfWqXrbKVpr2PHd4KyKI0XVOhUYC+p2RPV8s+2K5QzZBE3+F9WlxxrXDfkrvGmpQAZytBoHQQYA3AGOtpw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/otlp-exporter-base": "0.48.0", - "@opentelemetry/otlp-transformer": "0.48.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/sdk-trace-base": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-http/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-http/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-proto": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-proto/-/exporter-trace-otlp-proto-0.48.0.tgz", - "integrity": "sha512-hVXr/8DYlAKAzQYMsCf3ZsGweS6NTK3IHIEqmLokJZYcvJQBEEazeAdISfrL/utWnapg1Qnpw8u+W6SpxNzmTw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/otlp-exporter-base": "0.48.0", - "@opentelemetry/otlp-proto-exporter-base": "0.48.0", - "@opentelemetry/otlp-transformer": "0.48.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/sdk-trace-base": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-proto/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-proto/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/exporter-zipkin": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-zipkin/-/exporter-zipkin-1.21.0.tgz", - "integrity": "sha512-J0ejrOx52s1PqvjNalIHvY/4v9ZxR2r7XS7WZbwK3qpVYZlGVq5V1+iCNweqsKnb/miUt/4TFvJBc9f5Q/kGcA==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/sdk-trace-base": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/exporter-zipkin/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/exporter-zipkin/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/instrumentation": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.48.0.tgz", - "integrity": "sha512-sjtZQB5PStIdCw5ovVTDGwnmQC+GGYArJNgIcydrDSqUTdYBnMrN9P4pwQZgS3vTGIp+TU1L8vMXGe51NVmIKQ==", - "dependencies": { - "@types/shimmer": "^1.0.2", - "import-in-the-middle": "1.7.1", - "require-in-the-middle": "^7.1.1", - "semver": "^7.5.2", - "shimmer": "^1.2.1" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-fastify": { - "version": "0.33.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-fastify/-/instrumentation-fastify-0.33.0.tgz", - "integrity": "sha512-sl3q9Mt+yM6GlZJKhfLUIRrVEYqfmI0hqYLha5OFG5rLrgnZCCZVy8ra4+Pa40ecH1409cvwwBPf7k9AHEQBTw==", - "dependencies": { - "@opentelemetry/core": "^1.8.0", - "@opentelemetry/instrumentation": "^0.48.0", - "@opentelemetry/semantic-conventions": "^1.0.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-fetch": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-fetch/-/instrumentation-fetch-0.48.0.tgz", - "integrity": "sha512-y4Zw9VeUUMaowg3aXYZXcaUJQ7IKfpR6sjClrAQOJwWG8LYFpM6NIRSoAeJv/ShfxWWCPWC0P4zgXcKRqpURFQ==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/instrumentation": "0.48.0", - "@opentelemetry/sdk-trace-web": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/instrumentation-fetch/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/instrumentation-http": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-http/-/instrumentation-http-0.48.0.tgz", - "integrity": "sha512-uXqOsLhW9WC3ZlGm6+PSX0xjSDTCfy4CMjfYj6TPWusOO8dtdx040trOriF24y+sZmS3M+5UQc6/3/ZxBJh4Mw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/instrumentation": "0.48.0", - "@opentelemetry/semantic-conventions": "1.21.0", - "semver": "^7.5.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-http/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/instrumentation-pino": { - "version": "0.35.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-pino/-/instrumentation-pino-0.35.0.tgz", - "integrity": "sha512-gMfJ5Qy793mbaAGnQE3yp1Cb0y4np74rBPu20Oy/v8TTgPQOEV5PyNI0GNGggmZQIJSkdtYa8Ndb3huH3iZE5g==", - "dependencies": { - "@opentelemetry/instrumentation": "^0.48.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/otlp-exporter-base": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-exporter-base/-/otlp-exporter-base-0.48.0.tgz", - "integrity": "sha512-T4LJND+Ugl87GUONoyoQzuV9qCn4BFIPOnCH1biYqdGhc2JahjuLqVD9aefwLzGBW638iLAo88Lh68h2F1FLiA==", - "dependencies": { - "@opentelemetry/core": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/otlp-grpc-exporter-base": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-grpc-exporter-base/-/otlp-grpc-exporter-base-0.48.0.tgz", - "integrity": "sha512-Vdp56RK9OU+Oeoy3YQC/UMOWglKQ9qvgGr49FgF4r8vk5DlcTUgVS0m3KG8pykmRPA+5ZKaDuqwPw5aTvWmHFw==", - "dependencies": { - "@grpc/grpc-js": "^1.7.1", - "@opentelemetry/core": "1.21.0", - "@opentelemetry/otlp-exporter-base": "0.48.0", - "protobufjs": "^7.2.3" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/otlp-proto-exporter-base": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-proto-exporter-base/-/otlp-proto-exporter-base-0.48.0.tgz", - "integrity": "sha512-14GSTvPZPfrWsB54fYMGb8v+Uge5xGXyz0r2rf4SzcRnO2hXCPHEuL3yyL50emaKPAY+fj29Dm0bweawe8UA6A==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/otlp-exporter-base": "0.48.0", - "protobufjs": "^7.2.3" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/otlp-transformer": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-transformer/-/otlp-transformer-0.48.0.tgz", - "integrity": "sha512-yuoS4cUumaTK/hhxW3JUy3wl2U4keMo01cFDrUOmjloAdSSXvv1zyQ920IIH4lymp5Xd21Dj2/jq2LOro56TJg==", - "dependencies": { - "@opentelemetry/api-logs": "0.48.0", - "@opentelemetry/core": "1.21.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/sdk-logs": "0.48.0", - "@opentelemetry/sdk-metrics": "1.21.0", - "@opentelemetry/sdk-trace-base": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/sdk-metrics": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-1.21.0.tgz", - "integrity": "sha512-on1jTzIHc5DyWhRP+xpf+zrgrREXcHBH4EDAfaB5mIG7TWpKxNXooQ1JCylaPsswZUv4wGnVTinr4HrBdGARAQ==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/resources": "1.21.0", - "lodash.merge": "^4.6.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/propagator-b3": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-1.21.0.tgz", - "integrity": "sha512-3ZTobj2VDIOzLsIvvYCdpw6tunxUVElPxDvog9lS49YX4hohHeD84A8u9Ns/6UYUcaN5GSoEf891lzhcBFiOLA==", - "dependencies": { - "@opentelemetry/core": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/propagator-jaeger": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-jaeger/-/propagator-jaeger-1.21.0.tgz", - "integrity": "sha512-8TQSwXjBmaDx7JkxRD7hdmBmRK2RGRgzHX1ArJfJhIc5trzlVweyorzqQrXOvqVEdEg+zxUMHkL5qbGH/HDTPA==", - "dependencies": { - "@opentelemetry/core": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/resources": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.22.0.tgz", - "integrity": "sha512-+vNeIFPH2hfcNL0AJk/ykJXoUCtR1YaDUZM+p3wZNU4Hq98gzq+7b43xbkXjadD9VhWIUQqEwXyY64q6msPj6A==", - "dependencies": { - "@opentelemetry/core": "1.22.0", - "@opentelemetry/semantic-conventions": "1.22.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.9.0" - } - }, - "node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.22.0.tgz", - "integrity": "sha512-0VoAlT6x+Xzik1v9goJ3pZ2ppi6+xd3aUfg4brfrLkDBHRIVjMP0eBHrKrhB+NKcDyMAg8fAbGL3Npg/F6AwWA==", - "dependencies": { - "@opentelemetry/semantic-conventions": "1.22.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.9.0" - } - }, - "node_modules/@opentelemetry/sdk-logs": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-logs/-/sdk-logs-0.48.0.tgz", - "integrity": "sha512-lRcA5/qkSJuSh4ItWCddhdn/nNbVvnzM+cm9Fg1xpZUeTeozjJDBcHnmeKoOaWRnrGYBdz6UTY6bynZR9aBeAA==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/resources": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.4.0 <1.8.0", - "@opentelemetry/api-logs": ">=0.39.1" - } - }, - "node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/sdk-metrics": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-1.22.0.tgz", - "integrity": "sha512-k6iIx6H3TZ+BVMr2z8M16ri2OxWaljg5h8ihGJxi/KQWcjign6FEaEzuigXt5bK9wVEhqAcWLCfarSftaNWkkg==", - "dependencies": { - "@opentelemetry/core": "1.22.0", - "@opentelemetry/resources": "1.22.0", - "lodash.merge": "^4.6.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.9.0" - } - }, - "node_modules/@opentelemetry/sdk-metrics/node_modules/@opentelemetry/core": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.22.0.tgz", - "integrity": "sha512-0VoAlT6x+Xzik1v9goJ3pZ2ppi6+xd3aUfg4brfrLkDBHRIVjMP0eBHrKrhB+NKcDyMAg8fAbGL3Npg/F6AwWA==", - "dependencies": { - "@opentelemetry/semantic-conventions": "1.22.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.9.0" - } - }, - "node_modules/@opentelemetry/sdk-node": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-node/-/sdk-node-0.48.0.tgz", - "integrity": "sha512-3o3GS6t+VLGVFCV5bqfGOcWIgOdkR/UE6Qz7hHksP5PXrVBeYsPqts7cPma5YXweaI3r3h26mydg9PqQIcqksg==", - "dependencies": { - "@opentelemetry/api-logs": "0.48.0", - "@opentelemetry/core": "1.21.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.48.0", - "@opentelemetry/exporter-trace-otlp-http": "0.48.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.48.0", - "@opentelemetry/exporter-zipkin": "1.21.0", - "@opentelemetry/instrumentation": "0.48.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/sdk-logs": "0.48.0", - "@opentelemetry/sdk-metrics": "1.21.0", - "@opentelemetry/sdk-trace-base": "1.21.0", - "@opentelemetry/sdk-trace-node": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-node/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-node/node_modules/@opentelemetry/sdk-metrics": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-1.21.0.tgz", - "integrity": "sha512-on1jTzIHc5DyWhRP+xpf+zrgrREXcHBH4EDAfaB5mIG7TWpKxNXooQ1JCylaPsswZUv4wGnVTinr4HrBdGARAQ==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/resources": "1.21.0", - "lodash.merge": "^4.6.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-node/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/sdk-trace-base": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.21.0.tgz", - "integrity": "sha512-yrElGX5Fv0umzp8Nxpta/XqU71+jCAyaLk34GmBzNcrW43nqbrqvdPs4gj4MVy/HcTjr6hifCDCYA3rMkajxxA==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/resources": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-base/node_modules/@opentelemetry/resources": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.21.0.tgz", - "integrity": "sha512-1Z86FUxPKL6zWVy2LdhueEGl9AHDJcx+bvHStxomruz6Whd02mE3lNUMjVJ+FGRoktx/xYQcxccYb03DiUP6Yw==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-base/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/sdk-trace-node": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-node/-/sdk-trace-node-1.21.0.tgz", - "integrity": "sha512-1pdm8jnqs+LuJ0Bvx6sNL28EhC8Rv7NYV8rnoXq3GIQo7uOHBDAFSj7makAfbakrla7ecO1FRfI8emnR4WvhYA==", - "dependencies": { - "@opentelemetry/context-async-hooks": "1.21.0", - "@opentelemetry/core": "1.21.0", - "@opentelemetry/propagator-b3": "1.21.0", - "@opentelemetry/propagator-jaeger": "1.21.0", - "@opentelemetry/sdk-trace-base": "1.21.0", - "semver": "^7.5.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-web": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-web/-/sdk-trace-web-1.21.0.tgz", - "integrity": "sha512-MxkmY/UNXkDiZj7JUu5T7wWt8Ai4NJEwSjGoQQ9YLvgLUIivvaIo9Mne+Q+KLOUG2v/uhivz3qzxbCODVa0c1A==", - "dependencies": { - "@opentelemetry/core": "1.21.0", - "@opentelemetry/sdk-trace-base": "1.21.0", - "@opentelemetry/semantic-conventions": "1.21.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-web/node_modules/@opentelemetry/semantic-conventions": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.21.0.tgz", - "integrity": "sha512-lkC8kZYntxVKr7b8xmjCVUgE0a8xgDakPyDo9uSWavXPyYqLgYYGdEd2j8NxihRyb6UwpX3G/hFUF4/9q2V+/g==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/semantic-conventions": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.22.0.tgz", - "integrity": "sha512-CAOgFOKLybd02uj/GhCdEeeBjOS0yeoDeo/CA7ASBSmenpZHAKGB3iDm/rv3BQLcabb/OprDEsSQ1y0P8A7Siw==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==" - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==" - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==" - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", - "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==" - }, - "node_modules/@tsconfig/node20": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.2.tgz", - "integrity": "sha512-madaWq2k+LYMEhmcp0fs+OGaLFk0OenpHa4gmI4VEmCKX4PJntQ6fnnGADVFrVkBj0wIdAlQnK/MrlYTHsa1gQ==" - }, - "node_modules/@types/node": { - "version": "20.11.28", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.28.tgz", - "integrity": "sha512-M/GPWVS2wLkSkNHVeLkrF2fD5Lx5UC4PxA0uZcKc6QqbIQUJyW1jVjueJYi1z8n0I5PxYrtpnPnWglE+y9A0KA==", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@types/shimmer": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/shimmer/-/shimmer-1.0.5.tgz", - "integrity": "sha512-9Hp0ObzwwO57DpLFF0InUjUm/II8GmKAvzbefxQTihCb7KI6yc9yzf0nLc4mVdby5N4DRCgQM2wCup9KTieeww==" - }, - "node_modules/@types/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-xevGOReSYGM7g/kUBZzPqCrR/KYAo+F0yiPc85WFTJa0MSLtyFTVTU6cJu/aV4mid7IffDIWqo69THF2o4JiEQ==" - }, - "node_modules/@types/strip-json-comments": { - "version": "0.0.30", - "resolved": "https://registry.npmjs.org/@types/strip-json-comments/-/strip-json-comments-0.0.30.tgz", - "integrity": "sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ==" - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/abstract-logging": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/abstract-logging/-/abstract-logging-2.0.1.tgz", - "integrity": "sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==" - }, - "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-import-assertions": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", - "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", - "peerDependencies": { - "acorn": "^8" - } - }, - "node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/archy": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", - "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==" - }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" - }, - "node_modules/atomic-sleep": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/atomic-sleep/-/atomic-sleep-1.0.0.tgz", - "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/avvio": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/avvio/-/avvio-8.3.0.tgz", - "integrity": "sha512-VBVH0jubFr9LdFASy/vNtm5giTrnbVquWBhT0fyizuNK2rQ7e7ONU2plZQWUNqtE1EmxFEb+kbSkFRkstiaS9Q==", - "dependencies": { - "@fastify/error": "^3.3.0", - "archy": "^1.0.0", - "debug": "^4.0.0", - "fastq": "^1.17.1" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" - }, - "node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==" - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==" - }, - "node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", - "engines": { - "node": ">=16" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/dateformat": { - "version": "4.6.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.6.3.tgz", - "integrity": "sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==", - "engines": { - "node": "*" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/dynamic-dedupe": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/dynamic-dedupe/-/dynamic-dedupe-0.3.0.tgz", - "integrity": "sha512-ssuANeD+z97meYOqd50e04Ze5qp4bPqo8cCkI4TRjZkzAUgIDTrXV1R8QCdINpiI+hw14+rYazvTRdQrz0/rFQ==", - "dependencies": { - "xtend": "^4.0.0" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/fast-content-type-parse": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-1.1.0.tgz", - "integrity": "sha512-fBHHqSTFLVnR61C+gltJuE5GkVQMV0S2nqUO8TJ+5Z3qAKG8vAx4FKai1s5jq/inV1+sREynIWSuQ6HgoSXpDQ==" - }, - "node_modules/fast-copy": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/fast-copy/-/fast-copy-3.0.2.tgz", - "integrity": "sha512-dl0O9Vhju8IrcLndv2eU4ldt1ftXMqqfgN4H1cpmGV7P6jeB9FwpN9a2c8DPGE1Ys88rNUJVYDHq73CGAGOPfQ==" - }, - "node_modules/fast-decode-uri-component": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/fast-decode-uri-component/-/fast-decode-uri-component-1.0.1.tgz", - "integrity": "sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==" - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-json-stringify": { - "version": "5.13.0", - "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-5.13.0.tgz", - "integrity": "sha512-XjTDWKHP3GoMQUOfnjYUbqeHeEt+PvYgvBdG2fRSmYaORILbSr8xTJvZX+w1YSAP5pw2NwKrGRmQleYueZEoxw==", - "dependencies": { - "@fastify/merge-json-schemas": "^0.1.0", - "ajv": "^8.10.0", - "ajv-formats": "^2.1.1", - "fast-deep-equal": "^3.1.3", - "fast-uri": "^2.1.0", - "json-schema-ref-resolver": "^1.0.1", - "rfdc": "^1.2.0" - } - }, - "node_modules/fast-querystring": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/fast-querystring/-/fast-querystring-1.1.2.tgz", - "integrity": "sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==", - "dependencies": { - "fast-decode-uri-component": "^1.0.1" - } - }, - "node_modules/fast-redact": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.4.0.tgz", - "integrity": "sha512-2gwPvyna0zwBdxKnng1suu/dTL5s8XEy2ZqH8mwDUwJdDkV8w5kp+JV26mupdK68HmPMbm6yjW9m7/Ys/BHEHg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/fast-safe-stringify": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", - "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" - }, - "node_modules/fast-uri": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-2.3.0.tgz", - "integrity": "sha512-eel5UKGn369gGEWOqBShmFJWfq/xSJvsgDzgLYC845GneayWvXBf0lJCBn5qTABfewy1ZDPoaR5OZCP+kssfuw==" - }, - "node_modules/fastify": { - "version": "4.26.2", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-4.26.2.tgz", - "integrity": "sha512-90pjTuPGrfVKtdpLeLzND5nyC4woXZN5VadiNQCicj/iJU4viNHKhsAnb7jmv1vu2IzkLXyBiCzdWuzeXgQ5Ug==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "dependencies": { - "@fastify/ajv-compiler": "^3.5.0", - "@fastify/error": "^3.4.0", - "@fastify/fast-json-stringify-compiler": "^4.3.0", - "abstract-logging": "^2.0.1", - "avvio": "^8.3.0", - "fast-content-type-parse": "^1.1.0", - "fast-json-stringify": "^5.8.0", - "find-my-way": "^8.0.0", - "light-my-request": "^5.11.0", - "pino": "^8.17.0", - "process-warning": "^3.0.0", - "proxy-addr": "^2.0.7", - "rfdc": "^1.3.0", - "secure-json-parse": "^2.7.0", - "semver": "^7.5.4", - "toad-cache": "^3.3.0" - } - }, - "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-my-way": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-8.1.0.tgz", - "integrity": "sha512-41QwjCGcVTODUmLLqTMeoHeiozbMXYMAE1CKFiDyi9zVZ2Vjh0yz3MF0WQZoIb+cmzP/XlbFjlF2NtJmvZHznA==", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-querystring": "^1.0.0", - "safe-regex2": "^2.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/help-me": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/help-me/-/help-me-5.0.0.tgz", - "integrity": "sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==" - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/import-in-the-middle": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.7.1.tgz", - "integrity": "sha512-1LrZPDtW+atAxH42S6288qyDFNQ2YCty+2mxEPRtfazH6Z5QwkaBSTS2ods7hnVJioF6rkRfNoA6A/MstpFXLg==", - "dependencies": { - "acorn": "^8.8.2", - "acorn-import-assertions": "^1.9.0", - "cjs-module-lexer": "^1.2.2", - "module-details-from-path": "^1.0.3" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, - "node_modules/joycon": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz", - "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==", - "engines": { - "node": ">=10" - } - }, - "node_modules/json-schema-ref-resolver": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-schema-ref-resolver/-/json-schema-ref-resolver-1.0.1.tgz", - "integrity": "sha512-EJAj1pgHc1hxF6vo2Z3s69fMjO1INq6eGHXZ8Z6wCQeldCuwxGK9Sxf4/cScGn3FZubCVUehfWtcDM/PLteCQw==", - "dependencies": { - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, - "node_modules/light-my-request": { - "version": "5.12.0", - "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-5.12.0.tgz", - "integrity": "sha512-P526OX6E7aeCIfw/9UyJNsAISfcFETghysaWHQAlQYayynShT08MOj4c6fBCvTWBrHXSvqBAKDp3amUPSCQI4w==", - "dependencies": { - "cookie": "^0.6.0", - "process-warning": "^3.0.0", - "set-cookie-parser": "^2.4.1" - } - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" - }, - "node_modules/long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/module-details-from-path": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.3.tgz", - "integrity": "sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A==" - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/on-exit-leak-free": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/on-exit-leak-free/-/on-exit-leak-free-2.1.2.tgz", - "integrity": "sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pino": { - "version": "8.19.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-8.19.0.tgz", - "integrity": "sha512-oswmokxkav9bADfJ2ifrvfHUwad6MLp73Uat0IkQWY3iAw5xTRoznXbXksZs8oaOUMpmhVWD+PZogNzllWpJaA==", - "dependencies": { - "atomic-sleep": "^1.0.0", - "fast-redact": "^3.1.1", - "on-exit-leak-free": "^2.1.0", - "pino-abstract-transport": "v1.1.0", - "pino-std-serializers": "^6.0.0", - "process-warning": "^3.0.0", - "quick-format-unescaped": "^4.0.3", - "real-require": "^0.2.0", - "safe-stable-stringify": "^2.3.1", - "sonic-boom": "^3.7.0", - "thread-stream": "^2.0.0" - }, - "bin": { - "pino": "bin.js" - } - }, - "node_modules/pino-abstract-transport": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-1.1.0.tgz", - "integrity": "sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==", - "dependencies": { - "readable-stream": "^4.0.0", - "split2": "^4.0.0" - } - }, - "node_modules/pino-pretty": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-10.3.1.tgz", - "integrity": "sha512-az8JbIYeN/1iLj2t0jR9DV48/LQ3RC6hZPpapKPkb84Q+yTidMCpgWxIT3N0flnBDilyBQ1luWNpOeJptjdp/g==", - "dependencies": { - "colorette": "^2.0.7", - "dateformat": "^4.6.3", - "fast-copy": "^3.0.0", - "fast-safe-stringify": "^2.1.1", - "help-me": "^5.0.0", - "joycon": "^3.1.1", - "minimist": "^1.2.6", - "on-exit-leak-free": "^2.1.0", - "pino-abstract-transport": "^1.0.0", - "pump": "^3.0.0", - "readable-stream": "^4.0.0", - "secure-json-parse": "^2.4.0", - "sonic-boom": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "bin": { - "pino-pretty": "bin.js" - } - }, - "node_modules/pino-std-serializers": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-6.2.2.tgz", - "integrity": "sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==" - }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/process-warning": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-3.0.0.tgz", - "integrity": "sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==" - }, - "node_modules/protobufjs": { - "version": "7.2.6", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.6.tgz", - "integrity": "sha512-dgJaEDDL6x8ASUZ1YqWciTRrdOuYNzoOf27oHNfdyvKqHr5i0FV7FSLU+aIeFjyFgVxrpTOtQUi0BLLBymZaBw==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/quick-format-unescaped": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz", - "integrity": "sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==" - }, - "node_modules/readable-stream": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", - "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/real-require": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/real-require/-/real-require-0.2.0.tgz", - "integrity": "sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==", - "engines": { - "node": ">= 12.13.0" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-in-the-middle": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-7.2.1.tgz", - "integrity": "sha512-u5XngygsJ+XV2dBV/Pl4SrcNpUXQfmYmXtuFeHDXfzk4i4NnGnret6xKWkkJHjMHS/16yMV9pEAlAunqmjllkA==", - "dependencies": { - "debug": "^4.1.1", - "module-details-from-path": "^1.0.3", - "resolve": "^1.22.1" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/ret": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.2.2.tgz", - "integrity": "sha512-M0b3YWQs7R3Z917WRQy1HHA7Ba7D8hvZg6UE5mLykJxQVE2ju0IXbGlaHPPlkY+WN7wFP+wUMXmBFA0aV6vYGQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rfdc": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.1.tgz", - "integrity": "sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg==" - }, - "node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safe-regex2": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/safe-regex2/-/safe-regex2-2.0.0.tgz", - "integrity": "sha512-PaUSFsUaNNuKwkBijoAPHAK6/eM6VirvyPWlZ7BAQy4D+hCvh4B6lIG+nPdhbFfIbP+gTGBcrdsOaUs0F+ZBOQ==", - "dependencies": { - "ret": "~0.2.0" - } - }, - "node_modules/safe-stable-stringify": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", - "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", - "engines": { - "node": ">=10" - } - }, - "node_modules/secure-json-parse": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.7.0.tgz", - "integrity": "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==" - }, - "node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/set-cookie-parser": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz", - "integrity": "sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==" - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "engines": { - "node": ">=8" - } - }, - "node_modules/shimmer": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/shimmer/-/shimmer-1.2.1.tgz", - "integrity": "sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==" - }, - "node_modules/sonic-boom": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-3.8.0.tgz", - "integrity": "sha512-ybz6OYOUjoQQCQ/i4LU8kaToD8ACtYP+Cj5qd2AO36bwbdewxWJ3ArmJ2cr6AvxlL2o0PqnCcPGUgkILbfkaCA==", - "dependencies": { - "atomic-sleep": "^1.0.0" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/split2": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", - "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", - "engines": { - "node": ">= 10.x" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/thread-stream": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-2.4.1.tgz", - "integrity": "sha512-d/Ex2iWd1whipbT681JmTINKw0ZwOUBZm7+Gjs64DHuX34mmw8vJL2bFAaNacaW72zYiTJxSHi5abUuOi5nsfg==", - "dependencies": { - "real-require": "^0.2.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toad-cache": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/toad-cache/-/toad-cache-3.7.0.tgz", - "integrity": "sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==", - "engines": { - "node": ">=12" - } - }, - "node_modules/tree-kill": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", - "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", - "bin": { - "tree-kill": "cli.js" - } - }, - "node_modules/ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "typescript": ">=4.2.0" - } - }, - "node_modules/ts-node": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", - "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/ts-node-dev": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ts-node-dev/-/ts-node-dev-2.0.0.tgz", - "integrity": "sha512-ywMrhCfH6M75yftYvrvNarLEY+SUXtUvU8/0Z6llrHQVBx12GiFk5sStF8UdfE/yfzk9IAq7O5EEbTQsxlBI8w==", - "dependencies": { - "chokidar": "^3.5.1", - "dynamic-dedupe": "^0.3.0", - "minimist": "^1.2.6", - "mkdirp": "^1.0.4", - "resolve": "^1.0.0", - "rimraf": "^2.6.1", - "source-map-support": "^0.5.12", - "tree-kill": "^1.2.2", - "ts-node": "^10.4.0", - "tsconfig": "^7.0.0" - }, - "bin": { - "ts-node-dev": "lib/bin.js", - "tsnd": "lib/bin.js" - }, - "engines": { - "node": ">=0.8.0" - }, - "peerDependencies": { - "node-notifier": "*", - "typescript": "*" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/tsconfig": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/tsconfig/-/tsconfig-7.0.0.tgz", - "integrity": "sha512-vZXmzPrL+EmC4T/4rVlT2jNVMWCi/O4DIiSj3UHg1OE5kCKbk4mfrXc6dZksLgRM/TZlKnousKH9bbTazUWRRw==", - "dependencies": { - "@types/strip-bom": "^3.0.0", - "@types/strip-json-comments": "0.0.30", - "strip-bom": "^3.0.0", - "strip-json-comments": "^2.0.0" - } - }, - "node_modules/tsconfig/node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/typescript": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz", - "integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==" - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "engines": { - "node": ">=12" - } - }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - } -} diff --git a/sales/sales_functions/connector/package.json b/sales/sales_functions/connector/package.json deleted file mode 100644 index 9869c0a..0000000 --- a/sales/sales_functions/connector/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "private": true, - "engines": { - "node": ">=18" - }, - "scripts": { - "start": "ndc-lambda-sdk host -f functions.ts serve --configuration ./", - "watch": "ndc-lambda-sdk host -f functions.ts --watch serve --configuration ./ --pretty-print-logs" - }, - "dependencies": { - "@hasura/ndc-lambda-sdk": "1.2.0" - } -} diff --git a/sales/sales_functions/connector/sales_functions.build.hml b/sales/sales_functions/connector/sales_functions.build.hml deleted file mode 100644 index 703210e..0000000 --- a/sales/sales_functions/connector/sales_functions.build.hml +++ /dev/null @@ -1,14 +0,0 @@ -kind: ConnectorManifest -version: v1 -spec: - supergraphManifests: - - base -definition: - name: sales_functions - type: cloud - connector: - type: hub - name: hasura/nodejs:v1.2.0 - deployments: - - context: . - env: {} diff --git a/sales/sales_functions/connector/tsconfig.json b/sales/sales_functions/connector/tsconfig.json deleted file mode 100644 index 73f9d00..0000000 --- a/sales/sales_functions/connector/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "./node_modules/@tsconfig/node20/tsconfig.json" -} diff --git a/sales/sales_functions/sales_functions-types.hml b/sales/sales_functions/sales_functions-types.hml deleted file mode 100644 index acfec01..0000000 --- a/sales/sales_functions/sales_functions-types.hml +++ /dev/null @@ -1,20 +0,0 @@ ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: sales_functions - dataConnectorScalarType: String - representation: String - graphql: - comparisonExpressionTypeName: Sales_StringComparisonExp - ---- -kind: DataConnectorScalarRepresentation -version: v1 -definition: - dataConnectorName: sales_functions - dataConnectorScalarType: Float - representation: Float - graphql: - comparisonExpressionTypeName: Sales_FloatComparisonExp - diff --git a/sales/sales_functions/sales_functions.hml b/sales/sales_functions/sales_functions.hml deleted file mode 100644 index d6a52dd..0000000 --- a/sales/sales_functions/sales_functions.hml +++ /dev/null @@ -1,63 +0,0 @@ -kind: DataConnectorLink -version: v1 -definition: - name: sales_functions - url: - Fn::ManifestRef: sales_functions - schema: - version: v0.1 - schema: - scalar_types: - Float: - aggregate_functions: {} - comparison_operators: {} - String: - aggregate_functions: {} - comparison_operators: {} - object_types: {} - collections: [] - functions: - - name: hello - arguments: - name: - type: - type: nullable - underlying_type: - type: named - name: String - result_type: - type: named - name: String - - name: toDateString - description: Formats a date string to a human-readable format. - arguments: - date: - description: The date string to format. - type: - type: nullable - underlying_type: - type: named - name: String - result_type: - type: named - name: String - - name: toCurrencyString - description: Formats a number into a currency string. - arguments: - amount: - description: The number to format into currency. - type: - type: nullable - underlying_type: - type: named - name: Float - result_type: - type: named - name: String - procedures: [] - capabilities: - version: 0.1.0 - capabilities: - query: - variables: {} - mutation: {} diff --git a/users/db2/models/Reviews.hml b/users/db2/models/Reviews.hml index 6d4247d..98c1328 100644 --- a/users/db2/models/Reviews.hml +++ b/users/db2/models/Reviews.hml @@ -160,24 +160,23 @@ definition: select: filter: null ---- -kind: Relationship -version: v1 -definition: - name: products - source: Reviews - target: - model: - name: Products - subgraph: experience - relationshipType: Object - mapping: - - source: - fieldPath: - - fieldName: productId - target: - modelField: - - fieldName: id +# kind: Relationship +# version: v1 +# definition: +# name: products +# source: Reviews +# target: +# model: +# name: Products +# subgraph: experience +# relationshipType: Object +# mapping: +# - source: +# fieldPath: +# - fieldName: productId +# target: +# modelField: +# - fieldName: id --- kind: Relationship diff --git a/users/db2/models/Users.hml b/users/db2/models/Users.hml index f4d2614..9e5e28b 100644 --- a/users/db2/models/Users.hml +++ b/users/db2/models/Users.hml @@ -191,43 +191,43 @@ definition: select: filter: null ---- -kind: Relationship -version: v1 -definition: - name: carts - source: Users - target: - model: - name: Carts - subgraph: experience - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: user_id - target: - modelField: - - fieldName: userId ---- -kind: Relationship -version: v1 -definition: - name: coupons - source: Users - target: - model: - name: Coupons - subgraph: sales - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: user_id - target: - modelField: - - fieldName: userId +# kind: Relationship +# version: v1 +# definition: +# name: carts +# source: Users +# target: +# model: +# name: Carts +# subgraph: experience +# relationshipType: Array +# mapping: +# - source: +# fieldPath: +# - fieldName: user_id +# target: +# modelField: +# - fieldName: userId + + +# kind: Relationship +# version: v1 +# definition: +# name: coupons +# source: Users +# target: +# model: +# name: Coupons +# subgraph: sales +# relationshipType: Array +# mapping: +# - source: +# fieldPath: +# - fieldName: user_id +# target: +# modelField: +# - fieldName: userId --- kind: Relationship @@ -248,24 +248,24 @@ definition: modelField: - fieldName: userId ---- -kind: Relationship -version: v1 -definition: - name: orders - source: Users - target: - model: - name: Orders - subgraph: sales - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: user_id - target: - modelField: - - fieldName: userId + +# kind: Relationship +# version: v1 +# definition: +# name: orders +# source: Users +# target: +# model: +# name: Orders +# subgraph: sales +# relationshipType: Array +# mapping: +# - source: +# fieldPath: +# - fieldName: user_id +# target: +# modelField: +# - fieldName: userId --- kind: Relationship @@ -286,39 +286,39 @@ definition: modelField: - fieldName: userId ---- -kind: Relationship -version: v1 -definition: - name: recentlyViewedProducts - source: Users - target: - model: - name: RecentlyViewedProducts - subgraph: analytics - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: user_id - target: - modelField: - - fieldName: userId ---- -kind: Relationship -version: v1 -definition: - name: SessionHistory - source: Users - target: - model: - name: SessionHistory - subgraph: analytics - relationshipType: Array - mapping: - - source: - fieldPath: - - fieldName: user_id - target: - modelField: - - fieldName: userId + +# kind: Relationship +# version: v1 +# definition: +# name: recentlyViewedProducts +# source: Users +# target: +# model: +# name: RecentlyViewedProducts +# subgraph: analytics +# relationshipType: Array +# mapping: +# - source: +# fieldPath: +# - fieldName: user_id +# target: +# modelField: +# - fieldName: userId + +# kind: Relationship +# version: v1 +# definition: +# name: SessionHistory +# source: Users +# target: +# model: +# name: SessionHistory +# subgraph: analytics +# relationshipType: Array +# mapping: +# - source: +# fieldPath: +# - fieldName: user_id +# target: +# modelField: +# - fieldName: userId