This commit is contained in:
ingego 2024-10-29 19:33:20 +06:00
commit 017119f98e
54 changed files with 35729 additions and 0 deletions

View File

@ -0,0 +1 @@
./node_modules

View File

@ -0,0 +1,7 @@
HOST=0.0.0.0
PORT=1337
APP_KEYS="toBeModified1,toBeModified2"
API_TOKEN_SALT=tobemodified
ADMIN_JWT_SECRET=tobemodified
TRANSFER_TOKEN_SALT=tobemodified
JWT_SECRET=tobemodified

131
cms.omoservice/.gitignore vendored Normal file
View File

@ -0,0 +1,131 @@
############################
# OS X
############################
.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*
############################
# Linux
############################
*~
############################
# Windows
############################
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
############################
# Packages
############################
*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid
############################
# Logs and databases
############################
.tmp
*.log
*.sql
*.sqlite
*.sqlite3
############################
# Misc.
############################
*#
ssl
.idea
nbproject
public/uploads/*
!public/uploads/.gitkeep
.tsbuildinfo
.eslintcache
############################
# Node.js
############################
lib-cov
lcov.info
pids
logs
results
node_modules
.node_history
############################
# Package managers
############################
.yarn/*
!.yarn/cache
!.yarn/unplugged
!.yarn/patches
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.pnp.*
yarn-error.log
############################
# Tests
############################
coverage
############################
# Strapi
############################
.env
license.txt
exports
.strapi
dist
build
.strapi-updater.json
.strapi-cloud.json

10
cms.omoservice/Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM node:20.9
WORKDIR /app
COPY . .
RUN npm install
EXPOSE 1337
CMD [ "npm", "run", "develop"]

61
cms.omoservice/README.md Normal file
View File

@ -0,0 +1,61 @@
# 🚀 Getting started with Strapi
Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you scaffold and manage your project in seconds.
### `develop`
Start your Strapi application with autoReload enabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-develop)
```
npm run develop
# or
yarn develop
```
### `start`
Start your Strapi application with autoReload disabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-start)
```
npm run start
# or
yarn start
```
### `build`
Build your admin panel. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-build)
```
npm run build
# or
yarn build
```
## ⚙️ Deployment
Strapi gives you many possible deployment options for your project including [Strapi Cloud](https://cloud.strapi.io). Browse the [deployment section of the documentation](https://docs.strapi.io/dev-docs/deployment) to find the best solution for your use case.
```
yarn strapi deploy
```
## 📚 Learn more
- [Resource center](https://strapi.io/resource-center) - Strapi resource center.
- [Strapi documentation](https://docs.strapi.io) - Official Strapi documentation.
- [Strapi tutorials](https://strapi.io/tutorials) - List of tutorials made by the core team and the community.
- [Strapi blog](https://strapi.io/blog) - Official Strapi blog containing articles made by the Strapi team and the community.
- [Changelog](https://strapi.io/changelog) - Find out about the Strapi product updates, new features and general improvements.
Feel free to check out the [Strapi GitHub repository](https://github.com/strapi/strapi). Your feedback and contributions are welcome!
## ✨ Community
- [Discord](https://discord.strapi.io) - Come chat with the Strapi community including the core team.
- [Forum](https://forum.strapi.io/) - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
- [Awesome Strapi](https://github.com/strapi/awesome-strapi) - A curated list of awesome things related to Strapi.
---
<sub>🤫 Psst! [Strapi is hiring](https://strapi.io/careers).</sub>

View File

@ -0,0 +1,17 @@
export default ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET'),
},
apiToken: {
salt: env('API_TOKEN_SALT'),
},
transfer: {
token: {
salt: env('TRANSFER_TOKEN_SALT'),
},
},
flags: {
nps: env.bool('FLAG_NPS', true),
promoteEE: env.bool('FLAG_PROMOTE_EE', true),
},
});

View File

@ -0,0 +1,7 @@
export default {
rest: {
defaultLimit: 25,
maxLimit: 100,
withCount: true,
},
};

View File

@ -0,0 +1,59 @@
import path from 'path';
export default ({ env }) => {
const client = env('DATABASE_CLIENT', 'sqlite');
const connections = {
mysql: {
connection: {
host: env('DATABASE_HOST', 'localhost'),
port: env.int('DATABASE_PORT', 3306),
database: env('DATABASE_NAME', 'strapi'),
user: env('DATABASE_USERNAME', 'strapi'),
password: env('DATABASE_PASSWORD', 'strapi'),
ssl: env.bool('DATABASE_SSL', false) && {
key: env('DATABASE_SSL_KEY', undefined),
cert: env('DATABASE_SSL_CERT', undefined),
ca: env('DATABASE_SSL_CA', undefined),
capath: env('DATABASE_SSL_CAPATH', undefined),
cipher: env('DATABASE_SSL_CIPHER', undefined),
rejectUnauthorized: env.bool('DATABASE_SSL_REJECT_UNAUTHORIZED', true),
},
},
pool: { min: env.int('DATABASE_POOL_MIN', 2), max: env.int('DATABASE_POOL_MAX', 10) },
},
postgres: {
connection: {
host: env('DATABASE_HOST', 'localhost'),
port: env.int('DATABASE_PORT', 5432),
database: env('DATABASE_NAME', 'strapi'),
user: env('DATABASE_USERNAME', 'strapi'),
password: env('DATABASE_PASSWORD', 'strapi'),
ssl: env.bool('DATABASE_SSL', false) && {
key: env('DATABASE_SSL_KEY', undefined),
cert: env('DATABASE_SSL_CERT', undefined),
ca: env('DATABASE_SSL_CA', undefined),
capath: env('DATABASE_SSL_CAPATH', undefined),
cipher: env('DATABASE_SSL_CIPHER', undefined),
rejectUnauthorized: env.bool('DATABASE_SSL_REJECT_UNAUTHORIZED', true),
},
schema: env('DATABASE_SCHEMA', 'public'),
},
pool: { min: env.int('DATABASE_POOL_MIN', 2), max: env.int('DATABASE_POOL_MAX', 10) },
},
sqlite: {
connection: {
filename: path.join(__dirname, '..', '..', env('DATABASE_FILENAME', '.tmp/data.db')),
},
useNullAsDefault: true,
},
};
return {
connection: {
client,
...connections[client],
acquireConnectionTimeout: env.int('DATABASE_CONNECTION_TIMEOUT', 60000),
},
};
};

View File

@ -0,0 +1,12 @@
export default [
'strapi::logger',
'strapi::errors',
'strapi::security',
'strapi::cors',
'strapi::poweredBy',
'strapi::query',
'strapi::body',
'strapi::session',
'strapi::favicon',
'strapi::public',
];

View File

@ -0,0 +1,10 @@
export default () => ({
"users-permissions": {
"config": {
"register": {
"allowedFields": ["images"],
}
}
}
});

View File

@ -0,0 +1,7 @@
export default ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
app: {
keys: env.array('APP_KEYS'),
},
});

BIN
cms.omoservice/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

24418
cms.omoservice/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,43 @@
{
"name": "cms-omoservice",
"version": "0.1.0",
"private": true,
"description": "A Strapi application",
"scripts": {
"build": "strapi build",
"deploy": "strapi deploy",
"develop": "strapi develop",
"start": "strapi start",
"strapi": "strapi"
},
"dependencies": {
"@strapi/plugin-cloud": "5.1.0",
"@strapi/plugin-documentation": "^5.1.0",
"@strapi/plugin-graphql": "^5.1.0",
"@strapi/plugin-seo": "^2.0.1-rc.1",
"@strapi/plugin-users-permissions": "5.1.0",
"@strapi/strapi": "5.1.0",
"@types/uuid": "^10.0.0",
"axios": "^1.7.7",
"pg": "8.8.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.0.0",
"strapi-plugin-wysiwyg-react-md-editor": "^5.0.2",
"styled-components": "^6.0.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5"
},
"engines": {
"node": ">=18.0.0 <=22.x.x",
"npm": ">=6.0.0"
},
"strapi": {
"uuid": "8c93e238-8f67-4242-9515-2bfc72f55471"
}
}

View File

@ -0,0 +1,3 @@
# To prevent search engines from seeing the site altogether, uncomment the next two lines:
# User-Agent: *
# Disallow: /

View File

View File

@ -0,0 +1,37 @@
import type { StrapiApp } from '@strapi/strapi/admin';
export default {
config: {
locales: [
// 'ar',
// 'fr',
// 'cs',
// 'de',
// 'dk',
// 'es',
// 'he',
// 'id',
// 'it',
// 'ja',
// 'ko',
// 'ms',
// 'nl',
// 'no',
// 'pl',
// 'pt-BR',
// 'pt',
// 'ru',
// 'sk',
// 'sv',
// 'th',
// 'tr',
// 'uk',
// 'vi',
// 'zh-Hans',
// 'zh',
],
},
bootstrap(app: StrapiApp) {
console.log(app);
},
};

View File

@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": ["../plugins/**/admin/src/**/*", "./"],
"exclude": ["node_modules/", "build/", "dist/", "**/*.test.ts"]
}

View File

@ -0,0 +1,12 @@
import { mergeConfig, type UserConfig } from 'vite';
export default (config: UserConfig) => {
// Important: always return the modified config
return mergeConfig(config, {
resolve: {
alias: {
'@': '/src',
},
},
});
};

View File

View File

@ -0,0 +1,157 @@
{
"kind": "collectionType",
"collectionName": "order",
"info": {
"singularName": "orders",
"pluralName": "order",
"displayName": "Orders",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"Title": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"description": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"price": {
"type": "integer",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"dayes": {
"type": "integer",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"expire_date": {
"type": "date",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"stuff": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"to": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"from": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"contacts": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"delivery_user": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"isPrivate": {
"type": "boolean",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"user_delivers": {
"type": "relation",
"relation": "manyToMany",
"target": "api::user-delivers.user-delivers",
"mappedBy": "orders"
},
"Tags": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"coords": {
"displayName": "coords",
"type": "component",
"repeatable": false,
"component": "coords.coords",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"uuid": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "uid",
"targetField": "Title"
},
"preview": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false,
"pluginOptions": {
"i18n": {
"localized": true
}
}
}
}
}

View File

@ -0,0 +1,7 @@
/**
* orders controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::orders.orders');

View File

@ -0,0 +1,7 @@
/**
* orders router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::orders.orders');

View File

@ -0,0 +1,7 @@
/**
* orders service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::orders.orders');

View File

@ -0,0 +1,24 @@
{
"kind": "collectionType",
"collectionName": "support_requests",
"info": {
"singularName": "support-request",
"pluralName": "support-requests",
"displayName": "SupportRequest"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"body": {
"type": "string"
},
"contact": {
"type": "string"
},
"other": {
"type": "string"
}
}
}

View File

@ -0,0 +1,7 @@
/**
* support-request controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::support-request.support-request');

View File

@ -0,0 +1,7 @@
/**
* support-request router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::support-request.support-request');

View File

@ -0,0 +1,7 @@
/**
* support-request service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::support-request.support-request');

View File

@ -0,0 +1,25 @@
{
"kind": "collectionType",
"collectionName": "user_deliver",
"info": {
"singularName": "user-delivers",
"pluralName": "user-deliver",
"displayName": "UserDelivers",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"SupabaseUuid": {
"type": "string"
},
"orders": {
"type": "relation",
"relation": "manyToMany",
"target": "api::orders.orders",
"inversedBy": "user_delivers"
}
}
}

View File

@ -0,0 +1,7 @@
/**
* user-delivers controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::user-delivers.user-delivers');

View File

@ -0,0 +1,7 @@
/**
* user-delivers router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::user-delivers.user-delivers');

View File

@ -0,0 +1,7 @@
/**
* user-delivers service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::user-delivers.user-delivers');

View File

@ -0,0 +1,30 @@
{
"kind": "collectionType",
"collectionName": "user_images",
"info": {
"singularName": "user-image",
"pluralName": "user-images",
"displayName": "UserImage",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"images": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
},
"user_id": {
"type": "string"
}
}
}

View File

@ -0,0 +1,7 @@
/**
* user-image controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::user-image.user-image');

View File

@ -0,0 +1,7 @@
/**
* user-image router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::user-image.user-image');

View File

@ -0,0 +1,7 @@
/**
* user-image service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::user-image.user-image');

View File

@ -0,0 +1,36 @@
{
"kind": "collectionType",
"collectionName": "user_infos",
"info": {
"singularName": "user-info",
"pluralName": "user-infos",
"displayName": "UserInfo",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"users_permissions_user": {
"type": "relation",
"relation": "oneToOne",
"target": "plugin::users-permissions.user"
},
"CarNumber": {
"type": "string"
},
"Passport": {
"type": "string"
},
"DriverNumber": {
"type": "string"
},
"DriverCode": {
"type": "string"
},
"location": {
"type": "string"
}
}
}

View File

@ -0,0 +1,7 @@
/**
* user-info controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::user-info.user-info');

View File

@ -0,0 +1,7 @@
/**
* user-info router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::user-info.user-info');

View File

@ -0,0 +1,7 @@
/**
* user-info service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::user-info.user-info');

View File

@ -0,0 +1,22 @@
{
"collectionName": "components_coords_coords",
"info": {
"displayName": "coords",
"description": ""
},
"options": {},
"attributes": {
"from_lat": {
"type": "string"
},
"from_long": {
"type": "string"
},
"to_lat": {
"type": "string"
},
"to_long": {
"type": "string"
}
}
}

View File

@ -0,0 +1,37 @@
{
"collectionName": "components_shared_meta_socials",
"info": {
"displayName": "metaSocial",
"icon": "project-diagram"
},
"options": {},
"attributes": {
"socialNetwork": {
"type": "enumeration",
"enum": [
"Facebook",
"Twitter"
],
"required": true
},
"title": {
"type": "string",
"required": true,
"maxLength": 60
},
"description": {
"type": "string",
"maxLength": 65,
"required": true
},
"image": {
"allowedTypes": [
"images",
"files",
"videos"
],
"type": "media",
"multiple": false
}
}
}

View File

@ -0,0 +1,53 @@
{
"collectionName": "components_shared_seos",
"info": {
"displayName": "seo",
"icon": "search"
},
"options": {},
"attributes": {
"metaTitle": {
"required": true,
"type": "string",
"maxLength": 60
},
"metaDescription": {
"type": "string",
"required": true,
"maxLength": 160,
"minLength": 50
},
"metaImage": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos"
]
},
"metaSocial": {
"type": "component",
"repeatable": true,
"component": "shared.meta-social"
},
"keywords": {
"type": "text",
"regex": "[^,]+"
},
"metaRobots": {
"type": "string",
"regex": "[^,]+"
},
"structuredData": {
"type": "json"
},
"metaViewport": {
"type": "string"
},
"canonicalURL": {
"type": "string"
}
}
}

View File

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,87 @@
{
"kind": "collectionType",
"collectionName": "up_users",
"info": {
"name": "user",
"description": "",
"singularName": "user",
"pluralName": "users",
"displayName": "User"
},
"options": {
"draftAndPublish": false
},
"attributes": {
"username": {
"type": "string",
"minLength": 3,
"unique": true,
"configurable": false,
"required": true
},
"email": {
"type": "email",
"minLength": 6,
"configurable": false,
"required": true
},
"provider": {
"type": "string",
"configurable": false
},
"password": {
"type": "password",
"minLength": 6,
"configurable": false,
"private": true,
"searchable": false
},
"resetPasswordToken": {
"type": "string",
"configurable": false,
"private": true,
"searchable": false
},
"confirmationToken": {
"type": "string",
"configurable": false,
"private": true,
"searchable": false
},
"confirmed": {
"type": "boolean",
"default": false,
"configurable": false
},
"blocked": {
"type": "boolean",
"default": false,
"configurable": false
},
"unkblocked": {
"type": "boolean",
"default": false,
"configurable": false
},
"role": {
"type": "relation",
"relation": "manyToOne",
"target": "plugin::users-permissions.role",
"inversedBy": "users",
"configurable": false
},
"img_url": {
"type": "string"
},
"images": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": true
}
}
}

View File

@ -0,0 +1,20 @@
// import type { Core } from '@strapi/strapi';
export default {
/**
* An asynchronous register function that runs before
* your application is initialized.
*
* This gives you an opportunity to extend code.
*/
register(/* { strapi }: { strapi: Core.Strapi } */) {},
/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*/
bootstrap(/* { strapi }: { strapi: Core.Strapi } */) {},
};

View File

@ -0,0 +1,43 @@
{
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "Node",
"lib": ["ES2020"],
"target": "ES2019",
"strict": false,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"noEmitOnError": true,
"noImplicitThis": true,
"outDir": "dist",
"rootDir": "."
},
"include": [
// Include root files
"./",
// Include all ts files
"./**/*.ts",
// Include all js files
"./**/*.js",
// Force the JSON files in the src folder to be included
"src/**/*.json"
],
"exclude": [
"node_modules/",
"build/",
"dist/",
".cache/",
".tmp/",
// Do not include admin files in the server compilation
"src/admin/",
// Do not include test files
"**/*.test.*",
// Do not include plugins in the server compilation
"src/plugins/**"
]
}

View File

@ -0,0 +1,76 @@
import type { Struct, Schema } from '@strapi/strapi';
export interface SharedSeo extends Struct.ComponentSchema {
collectionName: 'components_shared_seos';
info: {
displayName: 'seo';
icon: 'search';
};
attributes: {
metaTitle: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetMinMaxLength<{
maxLength: 60;
}>;
metaDescription: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetMinMaxLength<{
minLength: 50;
maxLength: 160;
}>;
metaImage: Schema.Attribute.Media<'images' | 'files' | 'videos'>;
metaSocial: Schema.Attribute.Component<'shared.meta-social', true>;
keywords: Schema.Attribute.Text;
metaRobots: Schema.Attribute.String;
structuredData: Schema.Attribute.JSON;
metaViewport: Schema.Attribute.String;
canonicalURL: Schema.Attribute.String;
};
}
export interface SharedMetaSocial extends Struct.ComponentSchema {
collectionName: 'components_shared_meta_socials';
info: {
displayName: 'metaSocial';
icon: 'project-diagram';
};
attributes: {
socialNetwork: Schema.Attribute.Enumeration<['Facebook', 'Twitter']> &
Schema.Attribute.Required;
title: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetMinMaxLength<{
maxLength: 60;
}>;
description: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetMinMaxLength<{
maxLength: 65;
}>;
image: Schema.Attribute.Media<'images' | 'files' | 'videos'>;
};
}
export interface CoordsCoords extends Struct.ComponentSchema {
collectionName: 'components_coords_coords';
info: {
displayName: 'coords';
description: '';
};
attributes: {
from_lat: Schema.Attribute.String;
from_long: Schema.Attribute.String;
to_lat: Schema.Attribute.String;
to_long: Schema.Attribute.String;
};
}
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
'shared.seo': SharedSeo;
'shared.meta-social': SharedMetaSocial;
'coords.coords': CoordsCoords;
}
}
}

File diff suppressed because it is too large Load Diff

30
docker-compose.yaml Normal file
View File

@ -0,0 +1,30 @@
version: '3.8'
services:
app:
container_name: omoservice
build: ./www.omoservice/
ports:
- 8080:4173
depends_on:
- cms
networks:
- omo
restart: always
cms:
container_name: cms-omoservice
build: ./cms.omoservice/
ports:
- 8070:1337
networks:
- omo
net:
image: rtsp/net-tools
networks:
- omo
networks:
omo:
driver: bridge

1
www.omoservice Submodule

@ -0,0 +1 @@
Subproject commit 7aede47153da07320b07a12d61d3ece9263ee1df