Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7368b95

Browse files
authored
docs: fix formatting (#198)
1 parentb58b94c commit7368b95

File tree

3 files changed

+47
-47
lines changed

3 files changed

+47
-47
lines changed

‎docs/typescript.md‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ await sync.processWebhook(payload, signature)
3939

4040
##Configuration
4141

42-
| Option| Type| Description|
43-
| ------| ----| -----------|
44-
|`databaseUrl`| string|**Deprecated:** Use`poolConfig` with a connection string instead.|
45-
|`schema`| string| Database schema name (default:`stripe`)|
46-
|`stripeSecretKey`| string| Stripe secret key|
47-
|`stripeWebhookSecret`| string| Stripe webhook signing secret|
48-
|`stripeApiVersion`| string| Stripe API version (default:`2020-08-27`)|
49-
|`autoExpandLists`| boolean| Fetch all list items from Stripe (not just the default 10)|
50-
|`backfillRelatedEntities`| boolean| Ensure related entities are present for foreign key integrity|
51-
|`revalidateObjectsViaStripeApi`| Array| Always fetch latest entity from Stripe instead of trusting webhook payload, possible values: charge, credit_note, customer, dispute, invoice, payment_intent, payment_method, plan, price, product, refund, review, radar.early_fraud_warning, setup_intent, subscription, subscription_schedule, tax_id|
52-
|`poolConfig`| object| Configuration for the PostgreSQL connection pool. Supports options like`connectionString`,`max`, and`keepAlive`.|
53-
|`maxPostgresConnections`| number|**Deprecated:** Use`poolConfig.max` instead to configure the maximum number of PostgreSQL connections.|
54-
|`logger`| Logger| Logger instance (pino)|
42+
| Option| Type| Description|
43+
| -------------------------------| -------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
44+
|`databaseUrl`| string|**Deprecated:** Use`poolConfig` with a connection string instead.|
45+
|`schema`| string| Database schema name (default:`stripe`)|
46+
|`stripeSecretKey`| string| Stripe secret key|
47+
|`stripeWebhookSecret`| string| Stripe webhook signing secret|
48+
|`stripeApiVersion`| string| Stripe API version (default:`2020-08-27`)|
49+
|`autoExpandLists`| boolean| Fetch all list items from Stripe (not just the default 10)|
50+
|`backfillRelatedEntities`| boolean| Ensure related entities are present for foreign key integrity|
51+
|`revalidateObjectsViaStripeApi`| Array| Always fetch latest entity from Stripe instead of trusting webhook payload, possible values: charge, credit_note, customer, dispute, invoice, payment_intent, payment_method, plan, price, product, refund, review, radar.early_fraud_warning, setup_intent, subscription, subscription_schedule, tax_id|
52+
|`poolConfig`| object| Configuration for the PostgreSQL connection pool. Supports options like`connectionString`,`max`, and`keepAlive`.|
53+
|`maxPostgresConnections`| number|**Deprecated:** Use`poolConfig.max` instead to configure the maximum number of PostgreSQL connections.|
54+
|`logger`| Logger| Logger instance (pino)|
5555

5656
###Example`poolConfig`
5757

@@ -62,7 +62,7 @@ const config = {
6262
max:20,// Maximum number of connections
6363
keepAlive:true,// Keep connections alive
6464
},
65-
};
65+
}
6666
```
6767

6868
For more details, refer to the[Node-Postgres Pool API documentation](https://node-postgres.com/apis/pool).
@@ -77,7 +77,7 @@ const config = {
7777
ca:Buffer.from(process.env.SSL_CA_CERT).toString('utf-8'),
7878
},
7979
},
80-
};
80+
}
8181
```
8282

8383
>**Note:**

‎packages/fastify-app/README.md‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,25 @@ Set your webhook endpoint in the Stripe dashboard to point to your server’s `/
3838

3939
##Environment Variables
4040

41-
| Variable| Description| Required|
42-
| --------| -----------| --------|
43-
|`DATABASE_URL`| PostgreSQL connection string (with`search_path=stripe`)| Yes|
44-
|`STRIPE_WEBHOOK_SECRET`| Stripe webhook signing secret| Yes|
45-
|`API_KEY`| API key for admin endpoints (backfilling, etc.)| Yes|
46-
|`SCHEMA`| Database schema name (default:`stripe`)| No|
47-
|`STRIPE_SECRET_KEY`| Stripe secret key (needed for active sync/backfill)| No|
48-
|`PORT`| Port to run the server on (default: 8080)| No|
49-
|`STRIPE_API_VERSION`| Stripe API version (default:`2020-08-27`)| No|
50-
|`AUTO_EXPAND_LISTS`| Fetch all list items from Stripe (default: false)| No|
51-
|`BACKFILL_RELATED_ENTITIES`| Backfill related entities for foreign key integrity (default: true)| No|
52-
|`MAX_POSTGRES_CONNECTIONS`| Max PostgreSQL connection pool size (default: 10)| No|
53-
|`REVALIDATE_OBJECTS_VIA_STRIPE_API`| Always fetch latest entity from Stripe instead of trusting webhook payload, possible values: charge, credit_note, customer, dispute, invoice, payment_intent, payment_method, plan, price, product, refund, review, radar.early_fraud_warning, setup_intent, subscription, subscription_schedule, tax_id| No|
54-
|`DISABLE_MIGRATIONS`| Disable the automated database migrations on app startup (default: false)| No|
55-
|`PG_SSL_CONFIG_ENABLED`| Whether to explicitly use the SSL configuration (default: false)| No|
56-
|`PG_SSL_REJECT_UNAUTHORIZED`| If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true| No|
57-
|`PG_SSL_REQUEST_CERT`| If true the server will request a certificate from clients that connect and attempt to verify that certificate. Defaults to false| No|
58-
|`PG_SSL_CA`| Optionally override the trusted CA certificates| No|
59-
|`PG_SSL_CERT`| Certificate chain in PEM format| No|
41+
| Variable| Description| Required|
42+
| -----------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --------|
43+
|`DATABASE_URL`| PostgreSQL connection string (with`search_path=stripe`)| Yes|
44+
|`STRIPE_WEBHOOK_SECRET`| Stripe webhook signing secret| Yes|
45+
|`API_KEY`| API key for admin endpoints (backfilling, etc.)| Yes|
46+
|`SCHEMA`| Database schema name (default:`stripe`)| No|
47+
|`STRIPE_SECRET_KEY`| Stripe secret key (needed for active sync/backfill)| No|
48+
|`PORT`| Port to run the server on (default: 8080)| No|
49+
|`STRIPE_API_VERSION`| Stripe API version (default:`2020-08-27`)| No|
50+
|`AUTO_EXPAND_LISTS`| Fetch all list items from Stripe (default: false)| No|
51+
|`BACKFILL_RELATED_ENTITIES`| Backfill related entities for foreign key integrity (default: true)| No|
52+
|`MAX_POSTGRES_CONNECTIONS`| Max PostgreSQL connection pool size (default: 10)| No|
53+
|`REVALIDATE_OBJECTS_VIA_STRIPE_API`| Always fetch latest entity from Stripe instead of trusting webhook payload, possible values: charge, credit_note, customer, dispute, invoice, payment_intent, payment_method, plan, price, product, refund, review, radar.early_fraud_warning, setup_intent, subscription, subscription_schedule, tax_id| No|
54+
|`DISABLE_MIGRATIONS`| Disable the automated database migrations on app startup (default: false)| No|
55+
|`PG_SSL_CONFIG_ENABLED`| Whether to explicitly use the SSL configuration (default: false)| No|
56+
|`PG_SSL_REJECT_UNAUTHORIZED`| If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true| No|
57+
|`PG_SSL_REQUEST_CERT`| If true the server will request a certificate from clients that connect and attempt to verify that certificate. Defaults to false| No|
58+
|`PG_SSL_CA`| Optionally override the trusted CA certificates| No|
59+
|`PG_SSL_CERT`| Certificate chain in PEM format| No|
6060

6161
##Endpoints
6262

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp