Compare commits
10 Commits
master
...
feature/pr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4ea41a910 | ||
|
|
2cebfe90bd | ||
|
|
67da211238 | ||
|
|
09e9e178c5 | ||
|
|
250921344b | ||
|
|
eb5bf5eee6 | ||
|
|
7436ad181b | ||
|
|
0cb35adefa | ||
|
|
d64432db46 | ||
|
|
2f1fbb8824 |
@ -1,28 +0,0 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
ports:
|
||||
- '127.0.0.1:5432:5432'
|
||||
environment:
|
||||
POSTGRES_USER: ${DATABASE_USERNAME}
|
||||
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
|
||||
POSTGRES_DB: ${DATABASE_NAME}
|
||||
strapi:
|
||||
build: .
|
||||
ports:
|
||||
- '127.0.0.1:1337:1337'
|
||||
environment:
|
||||
APP_KEYS: ${APP_KEYS}
|
||||
API_TOKEN_SALT: ${API_TOKEN_SALT}
|
||||
ADMIN_JWT_SECRET: ${ADMIN_JWT_SECRET}
|
||||
TRANSFER_TOKEN_SALT: ${TRANSFER_TOKEN_SALT}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
DATABASE_HOST: ${DATABASE_HOST}
|
||||
DATABASE_PORT: ${DATABASE_PORT}
|
||||
DATABASE_NAME: ${DATABASE_NAME}
|
||||
DATABASE_USERNAME: ${DATABASE_USERNAME}
|
||||
DATABASE_PASSWORD: ${DATABASE_PASSWORD}
|
||||
DATABASE_SSL: 'false'
|
||||
BOT_TOKEN: ${BOT_TOKEN}
|
||||
|
||||
|
||||
@ -17,11 +17,6 @@
|
||||
"maxLength": 100,
|
||||
"required": true
|
||||
},
|
||||
"surname": {
|
||||
"type": "string",
|
||||
"maxLength": 100,
|
||||
"required": false
|
||||
},
|
||||
"telegramId": {
|
||||
"type": "biginteger",
|
||||
"unique": true
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
"required": true,
|
||||
"enum": [
|
||||
"trial",
|
||||
"day",
|
||||
"week",
|
||||
"month",
|
||||
"half_year",
|
||||
|
||||
6
types/generated/contentTypes.d.ts
vendored
6
types/generated/contentTypes.d.ts
vendored
@ -431,10 +431,6 @@ export interface ApiCustomerCustomer extends Struct.CollectionTypeSchema {
|
||||
'oneToMany',
|
||||
'api::subscription.subscription'
|
||||
>;
|
||||
surname: Schema.Attribute.String &
|
||||
Schema.Attribute.SetMinMaxLength<{
|
||||
maxLength: 100;
|
||||
}>;
|
||||
telegramId: Schema.Attribute.BigInteger & Schema.Attribute.Unique;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
@ -669,7 +665,7 @@ export interface ApiSubscriptionPriceSubscriptionPrice
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
period: Schema.Attribute.Enumeration<
|
||||
['trial', 'day', 'week', 'month', 'half_year', 'year']
|
||||
['trial', 'week', 'month', 'half_year', 'year']
|
||||
> &
|
||||
Schema.Attribute.Required;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user