renamed from arming_bot and fixes
This commit is contained in:
parent
e89353e726
commit
3b32fc10b5
42
README.md
42
README.md
|
@ -5,7 +5,43 @@ Basis for developing chat-robots with "Web App" technology for Telegram
|
|||
|
||||
### AnangoDB
|
||||
|
||||
1. Create a Graph with the specified values
|
||||
1. Configure unix-socket
|
||||
Edit the file `/etc/arangodb3/arangod.conf`<br>
|
||||
`endpoint = tcp://127.0.0.1:8529` -> `endpoint = unix:///var/run/arangodb3/arango.sock` (this will disable the web panel)<br>
|
||||
To make the web panel work, you can add this to the NGINX server settings:
|
||||
```lua
|
||||
server {
|
||||
...
|
||||
|
||||
server_name arangodb.domain.zone;
|
||||
|
||||
...
|
||||
|
||||
allow 45.159.249.167;
|
||||
allow 192.168.1.1/24;
|
||||
allow 127.0.0.1;
|
||||
deny all;
|
||||
|
||||
# ArangoDB
|
||||
location / {
|
||||
proxy_pass http://arangodb;
|
||||
}
|
||||
}
|
||||
|
||||
upstream arangodb {
|
||||
server unix:/var/run/arangodb3/arango.sock;
|
||||
}
|
||||
```
|
||||
<br>
|
||||
[here is my solution for "permission denied" problem on Ubuntu (accepted by ArangoDB maintainer)](https://github.com/arangodb/arangodb/issues/17302)<br>
|
||||
<br>
|
||||
OR JUST<br>
|
||||
Edit the file `/etc/arangodb3/arangod.conf`<br>
|
||||
`endpoint = tcp://127.0.0.1:8529` -> `endpoint = tcp://0.0.0.0:8529`<br>
|
||||
Edit the file `mirzaev/huesos/system/settings/arangodb.php`
|
||||
`unix:///var/run/arangodb3/arango.sock` -> `tcp://YOUR_IP_ADDRESS:8529` (it is slow and not secure)<br>
|
||||
|
||||
2. Create a Graph with the specified values
|
||||
**Name:** catalog<br>
|
||||
<br>
|
||||
* Relatin 1
|
||||
|
@ -18,7 +54,7 @@ Basis for developing chat-robots with "Web App" technology for Telegram
|
|||
**fromCollections:** product<br>
|
||||
**toCollections:** cart
|
||||
|
||||
2. Create a Graph with the specified values
|
||||
3. Create a Graph with the specified values
|
||||
**Name:** users<br>
|
||||
<br>
|
||||
* Relation 1
|
||||
|
@ -28,7 +64,7 @@ Basis for developing chat-robots with "Web App" technology for Telegram
|
|||
|
||||
**Orphan Collections:** product
|
||||
|
||||
3. Create indexes for the "product" collection
|
||||
4. Create indexes for the "product" collection
|
||||
**Type:** "Inverted Index"<br>
|
||||
**Fields:** name.ru<br>
|
||||
**Analyzer:** "text_ru"<br>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "mirzaev/arming_bot",
|
||||
"name": "mirzaev/huesos",
|
||||
"description": "Chat-robot for tuning weapons",
|
||||
"homepage": "https://t.me/arming_bot",
|
||||
"homepage": "https://t.me/huesos",
|
||||
"type": "chat-robot",
|
||||
"keywords": [
|
||||
"telegram",
|
||||
|
@ -21,8 +21,8 @@
|
|||
"php": "^8.4",
|
||||
"ext-gd": "^8.4",
|
||||
"triagens/arangodb": "^3.8",
|
||||
"mirzaev/minimal": "^2.2",
|
||||
"mirzaev/arangodb": "^1.3",
|
||||
"mirzaev/minimal": "^3.4.0",
|
||||
"mirzaev/arangodb": "^2.0.2",
|
||||
"badfarm/zanzara": "^0.9.1",
|
||||
"nyholm/psr7": "^1.8",
|
||||
"react/filesystem": "^0.1.2",
|
||||
|
@ -36,7 +36,7 @@
|
|||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"mirzaev\\arming_bot\\": "mirzaev/arming_bot/system/"
|
||||
"mirzaev\\huesos\\": "mirzaev/huesos/system/"
|
||||
}
|
||||
},
|
||||
"minimum-stability": "stable",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'account' => '',
|
||||
'secret' => ''
|
||||
];
|
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'account' => '',
|
||||
'secret' => ''
|
||||
];
|
|
@ -1,2 +0,0 @@
|
|||
!.gitignore
|
||||
*
|
|
@ -1,2 +0,0 @@
|
|||
!.gitignore
|
||||
*
|
|
@ -1,2 +0,0 @@
|
|||
!.gitignore
|
||||
*
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\controllers;
|
||||
namespace mirzaev\huesos\controllers;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core;
|
||||
use mirzaev\huesos\controllers\core;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\status;
|
||||
|
@ -13,7 +13,7 @@ use mirzaev\minimal\http\enumerations\status;
|
|||
/**
|
||||
* Controller of account
|
||||
*
|
||||
* @package mirzaev\arming_bot\controllers
|
||||
* @package mirzaev\huesos\controllers
|
||||
*
|
||||
* @param array $errors Registry of errors
|
||||
*
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\controllers;
|
||||
namespace mirzaev\huesos\controllers;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core,
|
||||
mirzaev\arming_bot\models\cart as model,
|
||||
mirzaev\arming_bot\models\product,
|
||||
mirzaev\arming_bot\models\menu,
|
||||
mirzaev\arming_bot\models\enumerations\language;
|
||||
use mirzaev\huesos\controllers\core,
|
||||
mirzaev\huesos\models\cart as model,
|
||||
mirzaev\huesos\models\product,
|
||||
mirzaev\huesos\models\menu,
|
||||
mirzaev\huesos\models\enumerations\language;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\content,
|
||||
|
@ -18,7 +18,7 @@ use mirzaev\minimal\http\enumerations\content,
|
|||
/**
|
||||
* Controller of cart
|
||||
*
|
||||
* @package mirzaev\arming_bot\controllers
|
||||
* @package mirzaev\huesos\controllers
|
||||
*
|
||||
* @param model|null $cart Instance of the cart
|
||||
* @param array $errors Registry of errors
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\controllers;
|
||||
namespace mirzaev\huesos\controllers;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\entry,
|
||||
mirzaev\arming_bot\models\category,
|
||||
mirzaev\arming_bot\models\product,
|
||||
mirzaev\arming_bot\models\cart,
|
||||
mirzaev\arming_bot\models\menu;
|
||||
use mirzaev\huesos\controllers\core,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\entry,
|
||||
mirzaev\huesos\models\category,
|
||||
mirzaev\huesos\models\product,
|
||||
mirzaev\huesos\models\cart,
|
||||
mirzaev\huesos\models\menu;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\content,
|
||||
|
@ -24,7 +24,7 @@ use ArangoDBClient\Document as _document;
|
|||
/**
|
||||
* Controller of catalog
|
||||
*
|
||||
* @package mirzaev\arming_bot\controllers
|
||||
* @package mirzaev\huesos\controllers
|
||||
*
|
||||
* @param cart|null $cart Instance of the cart
|
||||
* @param array $errors Registry of errors
|
|
@ -2,18 +2,18 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\controllers;
|
||||
namespace mirzaev\huesos\controllers;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\views\templater,
|
||||
mirzaev\arming_bot\models\core as models,
|
||||
mirzaev\arming_bot\models\account,
|
||||
mirzaev\arming_bot\models\session,
|
||||
mirzaev\arming_bot\models\settings,
|
||||
mirzaev\arming_bot\models\cart,
|
||||
mirzaev\arming_bot\models\suspension,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\views\templater,
|
||||
mirzaev\huesos\models\core as models,
|
||||
mirzaev\huesos\models\account,
|
||||
mirzaev\huesos\models\session,
|
||||
mirzaev\huesos\models\settings,
|
||||
mirzaev\huesos\models\cart,
|
||||
mirzaev\huesos\models\suspension,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\core as minimal,
|
||||
|
@ -24,7 +24,7 @@ use mirzaev\minimal\core as minimal,
|
|||
/**
|
||||
* Core of controllers
|
||||
*
|
||||
* @package mirzaev\arming_bot\controllers
|
||||
* @package mirzaev\huesos\controllers
|
||||
*
|
||||
* @param settings $settings Instance of the settings
|
||||
* @param session $session Instance of the session
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\controllers;
|
||||
namespace mirzaev\huesos\controllers;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core,
|
||||
mirzaev\arming_bot\models\cart,
|
||||
mirzaev\arming_bot\models\deliveries\cdek,
|
||||
mirzaev\arming_bot\models\enumerations\delivery as company;
|
||||
use mirzaev\huesos\controllers\core,
|
||||
mirzaev\huesos\models\cart,
|
||||
mirzaev\huesos\models\deliveries\cdek,
|
||||
mirzaev\huesos\models\enumerations\delivery as company;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\content,
|
||||
|
@ -21,7 +21,7 @@ use DateTime as datetime;
|
|||
/**
|
||||
* Controller of delivery
|
||||
*
|
||||
* @package mirzaev\arming_bot\controllers
|
||||
* @package mirzaev\huesos\controllers
|
||||
*
|
||||
* @param model|null $cart Instance of the cart
|
||||
* @param array $errors Registry of errors
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\controllers;
|
||||
namespace mirzaev\huesos\controllers;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core,
|
||||
mirzaev\arming_bot\models\menu;
|
||||
use mirzaev\huesos\controllers\core,
|
||||
mirzaev\huesos\models\menu;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\content;
|
||||
|
@ -14,7 +14,7 @@ use mirzaev\minimal\http\enumerations\content;
|
|||
/**
|
||||
* Controller of pages
|
||||
*
|
||||
* @package mirzaev\arming_bot\controllers
|
||||
* @package mirzaev\huesos\controllers
|
||||
* @param array $errors Registry of errors
|
||||
*
|
||||
* @method null offer() Public offer
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\controllers;
|
||||
namespace mirzaev\huesos\controllers;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core,
|
||||
mirzaev\arming_bot\models\cart as model,
|
||||
mirzaev\arming_bot\models\product,
|
||||
mirzaev\arming_bot\models\menu,
|
||||
mirzaev\arming_bot\models\enumerations\language;
|
||||
use mirzaev\huesos\controllers\core,
|
||||
mirzaev\huesos\models\cart as model,
|
||||
mirzaev\huesos\models\product,
|
||||
mirzaev\huesos\models\menu,
|
||||
mirzaev\huesos\models\enumerations\language;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\content,
|
||||
|
@ -18,7 +18,7 @@ use mirzaev\minimal\http\enumerations\content,
|
|||
/**
|
||||
* Controller of cart
|
||||
*
|
||||
* @package mirzaev\arming_bot\controllers
|
||||
* @package mirzaev\huesos\controllers
|
||||
*
|
||||
* @param model|null $cart Instance of the cart
|
||||
* @param array $errors Registry of errors
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\controllers;
|
||||
namespace mirzaev\huesos\controllers;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core,
|
||||
mirzaev\arming_bot\models\account;
|
||||
use mirzaev\huesos\controllers\core,
|
||||
mirzaev\huesos\models\account;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\content,
|
||||
|
@ -18,7 +18,7 @@ use mirzaev\arangodb\document;
|
|||
/**
|
||||
* Controller of session
|
||||
*
|
||||
* @package mirzaev\arming_bot\controllers
|
||||
* @package mirzaev\huesos\controllers
|
||||
*
|
||||
* @param array $errors Registry of errors
|
||||
*
|
|
@ -2,18 +2,18 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\status,
|
||||
mirzaev\arming_bot\models\traits\buffer,
|
||||
mirzaev\arming_bot\models\traits\cart,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\status,
|
||||
mirzaev\huesos\models\traits\buffer,
|
||||
mirzaev\huesos\models\traits\cart,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\collection,
|
||||
|
@ -31,7 +31,7 @@ use exception;
|
|||
/**
|
||||
* Model of account
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||
|
@ -145,8 +145,9 @@ final class account extends core implements document_interface, collection_inter
|
|||
return static::initialize($identifier, errors: $errors);
|
||||
} else throw new exception('Failed to register account');
|
||||
} else throw new exception('Failed to find account');
|
||||
} else throw new exception('Failed to initialize ' . static::TYPE . ' collection: ' . static::COLLECTION);
|
||||
} else throw new exception('Failed to initialize ' . static::TYPE->name . ' collection: ' . static::COLLECTION);
|
||||
} catch (exception $e) {
|
||||
var_dump($errors);
|
||||
// Writing to the registry of errors
|
||||
$errors[] = [
|
||||
'text' => $e->getMessage(),
|
|
@ -2,17 +2,17 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\reservation,
|
||||
mirzaev\arming_bot\models\traits\buffer,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\reservation,
|
||||
mirzaev\huesos\models\traits\buffer,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\collection,
|
||||
|
@ -28,7 +28,7 @@ use exception;
|
|||
* Model of cart
|
||||
*
|
||||
* @uses reservation
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,17 +2,17 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\product,
|
||||
mirzaev\arming_bot\models\category,
|
||||
mirzaev\arming_bot\models\entry,
|
||||
mirzaev\arming_bot\models\traits\files,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency,
|
||||
mirzaev\arming_bot\models\traits\yandex\disk as yandex;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\product,
|
||||
mirzaev\huesos\models\category,
|
||||
mirzaev\huesos\models\entry,
|
||||
mirzaev\huesos\models\traits\files,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency,
|
||||
mirzaev\huesos\models\traits\yandex\disk as yandex;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\content;
|
||||
|
@ -33,7 +33,7 @@ use GdImage as image;
|
|||
/**
|
||||
* Model of the catalog
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\collection,
|
||||
|
@ -21,7 +21,7 @@ use exception;
|
|||
/**
|
||||
* Model of category
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\enumerations\collection\type;
|
||||
|
@ -16,7 +16,7 @@ use mirzaev\arangodb\enumerations\collection\type;
|
|||
/**
|
||||
* Model of connect
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\model;
|
||||
|
@ -20,7 +20,7 @@ use exception;
|
|||
/**
|
||||
* Core of models
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\deliveries;
|
||||
namespace mirzaev\huesos\models\deliveries;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface;
|
||||
|
||||
// The HTTP PSR-18 adapter for Guzzle HTTP client
|
||||
use Http\Adapter\Guzzle7\Client as guzzle;
|
||||
|
@ -30,7 +30,7 @@ use exception,
|
|||
/**
|
||||
* Model of CDEK
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\deliveries
|
||||
* @package mirzaev\huesos\models\deliveries
|
||||
*
|
||||
* @method cities|null location(string $name, array &$errors) Search for CDEK location by name
|
||||
*
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\enumerations\delivery as company;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\enumerations\delivery as company;
|
||||
|
||||
// Built-in libraries
|
||||
use exception;
|
||||
|
@ -14,7 +14,7 @@ use exception;
|
|||
/**
|
||||
* Model of settings
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface;
|
||||
|
||||
// Library for ArangoDB
|
||||
use ArangoDBClient\Document as _document;
|
||||
|
@ -24,7 +24,7 @@ use exception;
|
|||
/**
|
||||
* Model of entry
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\enumerations;
|
||||
namespace mirzaev\huesos\models\enumerations;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\enumerations\language;
|
||||
use mirzaev\huesos\models\enumerations\language;
|
||||
|
||||
/**
|
||||
* Types of currencies by ISO 4217 standart
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\enumerations
|
||||
* @package mirzaev\huesos\models\enumerations
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\enumerations;
|
||||
namespace mirzaev\huesos\models\enumerations;
|
||||
|
||||
/**
|
||||
* Types of deliveries
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\enumerations
|
||||
* @package mirzaev\huesos\models\enumerations
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\enumerations;
|
||||
namespace mirzaev\huesos\models\enumerations;
|
||||
|
||||
/**
|
||||
* Types of languages by ISO 639-1 standart
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\enumerations
|
||||
* @package mirzaev\huesos\models\enumerations
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\enumerations;
|
||||
namespace mirzaev\huesos\models\enumerations;
|
||||
|
||||
/**
|
||||
* Types of session verification
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\enumerations
|
||||
* @package mirzaev\huesos\models\enumerations
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\interfaces;
|
||||
namespace mirzaev\huesos\models\interfaces;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\enumerations\collection\type;
|
||||
|
@ -10,7 +10,7 @@ use mirzaev\arangodb\enumerations\collection\type;
|
|||
/**
|
||||
* Interface for implementing a collection from ArangoDB
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\traits
|
||||
* @package mirzaev\huesos\models\traits
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\interfaces;
|
||||
namespace mirzaev\huesos\models\interfaces;
|
||||
|
||||
// Library для ArangoDB
|
||||
use ArangoDBClient\Document as _document;
|
||||
|
@ -12,7 +12,7 @@ use ArangoDBClient\Document as _document;
|
|||
*
|
||||
* @param _document $document An instance of the ArangoDB document from ArangoDB (protected readonly)
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\traits
|
||||
* @package mirzaev\huesos\models\traits
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,18 +2,18 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface;
|
||||
|
||||
/**
|
||||
* Model of menu
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\reservation,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\reservation,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\collection,
|
||||
|
@ -27,7 +27,7 @@ use exception;
|
|||
* Model of order
|
||||
*
|
||||
* @uses !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\collection,
|
||||
|
@ -25,7 +25,7 @@ use exception;
|
|||
/**
|
||||
* Model of a product
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\cart,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\cart,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\enumerations\collection\type;
|
||||
|
@ -18,7 +18,7 @@ use mirzaev\arangodb\enumerations\collection\type;
|
|||
* Model of reservtion
|
||||
*
|
||||
* @used-by cart
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,20 +2,20 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\account,
|
||||
mirzaev\arming_bot\models\connect,
|
||||
mirzaev\arming_bot\models\enumerations\session as verification,
|
||||
mirzaev\arming_bot\models\traits\status,
|
||||
mirzaev\arming_bot\models\traits\buffer,
|
||||
mirzaev\arming_bot\models\traits\cart,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\models\account,
|
||||
mirzaev\huesos\models\connect,
|
||||
mirzaev\huesos\models\enumerations\session as verification,
|
||||
mirzaev\huesos\models\traits\status,
|
||||
mirzaev\huesos\models\traits\buffer,
|
||||
mirzaev\huesos\models\traits\cart,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\collection,
|
||||
|
@ -30,7 +30,7 @@ use exception;
|
|||
/**
|
||||
* Model of a session
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\collection,
|
||||
|
@ -25,7 +25,7 @@ use exception;
|
|||
/**
|
||||
* Model of settings
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\enumerations\language;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\enumerations\language;
|
||||
|
||||
// Framework for ArangoDB
|
||||
use mirzaev\arangodb\collection,
|
||||
|
@ -25,7 +25,7 @@ use exception,
|
|||
/**
|
||||
* Model of a suspension
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models;
|
||||
namespace mirzaev\huesos\models;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\core,
|
||||
mirzaev\arming_bot\controllers\core as controller,
|
||||
mirzaev\arming_bot\models\catalog,
|
||||
mirzaev\arming_bot\models\suspension,
|
||||
mirzaev\arming_bot\models\account,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\models\core,
|
||||
mirzaev\huesos\controllers\core as controller,
|
||||
mirzaev\huesos\models\catalog,
|
||||
mirzaev\huesos\models\suspension,
|
||||
mirzaev\huesos\models\account,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Framework for Telegram
|
||||
use Zanzara\Zanzara,
|
||||
|
@ -27,7 +27,7 @@ use mirzaev\arangodb\document;
|
|||
/**
|
||||
* Model of chat (telegram)
|
||||
*
|
||||
* @package mirzaev\arming_bot\models
|
||||
* @package mirzaev\huesos\models
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||
|
@ -112,7 +112,7 @@ final class telegram extends core
|
|||
$keyboard[] = [
|
||||
[
|
||||
'text' => '🛒 Каталог',
|
||||
'web_app' => ['url' => 'https://arming.dev.mirzaev.sexy']
|
||||
'web_app' => ['url' => 'https://telegram.arming.ru/']
|
||||
]
|
||||
];
|
||||
/* } */
|
||||
|
@ -238,7 +238,7 @@ final class telegram extends core
|
|||
'reply_markup' => [
|
||||
'inline_keyboard' => [
|
||||
[
|
||||
['text' => '📄 Публичная оферта', 'web_app' => ['url' => 'https://arming.dev.mirzaev.sexy/offer']],
|
||||
['text' => '📄 Публичная оферта', 'web_app' => ['url' => 'https://telegram.arming.ru/offer']],
|
||||
]
|
||||
]
|
||||
],
|
||||
|
@ -886,7 +886,7 @@ final class telegram extends core
|
|||
'reply_markup' => [
|
||||
'inline_keyboard' => [
|
||||
[
|
||||
/* ['text' => '🧾 Оплатить', 'web_app' => ['url' => 'https://arming.dev.mirzaev.sexy']] */
|
||||
/* ['text' => '🧾 Оплатить', 'web_app' => ['url' => 'https://telegram.arming.ru/']] */
|
||||
/* ['text' => '📦 Оформить заказ', 'url' => 'https://auth.robokassa.ru/Merchant/Index.aspx?MerchantLogin=demo&OutSum=11&Description=Покупка в демо магазине&SignatureValue=2c113e992e2c985e43e348ff3c12f32b'], */
|
||||
['text' => '📦 Оформить заказ', 'callback_data' => 'order'],
|
||||
]
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\traits;
|
||||
namespace mirzaev\huesos\models\traits;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\enumerations\language,
|
||||
mirzaev\arming_bot\models\enumerations\currency;
|
||||
use mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\enumerations\language,
|
||||
mirzaev\huesos\models\enumerations\currency;
|
||||
|
||||
// Library for ArangoDB
|
||||
use ArangoDBClient\Document as _document;
|
||||
|
@ -28,7 +28,7 @@ use exception;
|
|||
* @param static TYPE Type of the collection in ArangoDB
|
||||
*
|
||||
* @uses collection_interface
|
||||
* @package mirzaev\arming_bot\models\traits
|
||||
* @package mirzaev\huesos\models\traits
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\traits;
|
||||
namespace mirzaev\huesos\models\traits;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\traits\document as document_trait,
|
||||
mirzaev\arming_bot\models\connect,
|
||||
mirzaev\arming_bot\models\cart as model;
|
||||
use mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\traits\document as document_trait,
|
||||
mirzaev\huesos\models\connect,
|
||||
mirzaev\huesos\models\cart as model;
|
||||
|
||||
// Library для ArangoDB
|
||||
use ArangoDBClient\Document as _document;
|
||||
|
@ -28,7 +28,7 @@ use exception;
|
|||
*
|
||||
* @uses collection_interface
|
||||
* @uses document_interface
|
||||
* @package mirzaev\arming_bot\models\traits
|
||||
* @package mirzaev\huesos\models\traits
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\traits;
|
||||
namespace mirzaev\huesos\models\traits;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\models\interfaces\document as document_interface,
|
||||
mirzaev\arming_bot\models\interfaces\collection as collection_interface,
|
||||
mirzaev\arming_bot\models\connect;
|
||||
use mirzaev\huesos\models\interfaces\document as document_interface,
|
||||
mirzaev\huesos\models\interfaces\collection as collection_interface,
|
||||
mirzaev\huesos\models\connect;
|
||||
|
||||
// Library для ArangoDB
|
||||
use ArangoDBClient\Document as _document;
|
||||
|
@ -26,7 +26,7 @@ use exception;
|
|||
* @var protected readonly _document|null $document An instance of the ArangoDB document
|
||||
*
|
||||
* @uses document_interface
|
||||
* @package mirzaev\arming_bot\models\traits
|
||||
* @package mirzaev\huesos\models\traits
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\traits;
|
||||
namespace mirzaev\huesos\models\traits;
|
||||
|
||||
// Built-in libraries
|
||||
use exception;
|
||||
|
@ -10,7 +10,7 @@ use exception;
|
|||
/**
|
||||
* Trait for initialization of files handlers
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\traits
|
||||
* @package mirzaev\huesos\models\traits
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\traits;
|
||||
namespace mirzaev\huesos\models\traits;
|
||||
|
||||
// Built-in libraries
|
||||
use exception;
|
||||
|
@ -10,7 +10,7 @@ use exception;
|
|||
/**
|
||||
* Trait for initialization of a status
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\traits
|
||||
* @package mirzaev\huesos\models\traits
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot\models\traits\yandex;
|
||||
namespace mirzaev\huesos\models\traits\yandex;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\http\enumerations\content;
|
||||
|
@ -13,7 +13,7 @@ use exception;
|
|||
/**
|
||||
* Trait for "Yandex Disk"
|
||||
*
|
||||
* @package mirzaev\arming_bot\models\traits\yandex
|
||||
* @package mirzaev\huesos\models\traits\yandex
|
||||
*
|
||||
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot;
|
||||
namespace mirzaev\huesos;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\core,
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot;
|
||||
namespace mirzaev\huesos;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core as controller,
|
||||
mirzaev\arming_bot\models\core as model,
|
||||
mirzaev\arming_bot\models\cart,
|
||||
mirzaev\arming_bot\models\telegram;
|
||||
use mirzaev\huesos\controllers\core as controller,
|
||||
mirzaev\huesos\models\core as model,
|
||||
mirzaev\huesos\models\cart,
|
||||
mirzaev\huesos\models\telegram;
|
||||
|
||||
// Framework for Telegram
|
||||
use Zanzara\Zanzara,
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\arming_bot;
|
||||
namespace mirzaev\huesos;
|
||||
|
||||
// Files of the project
|
||||
use mirzaev\arming_bot\controllers\core as controller,
|
||||
mirzaev\arming_bot\models\core as model,
|
||||
mirzaev\arming_bot\models\socket;
|
||||
use mirzaev\huesos\controllers\core as controller,
|
||||
mirzaev\huesos\models\core as model,
|
||||
mirzaev\huesos\models\socket;
|
||||
|
||||
// Framework for PHP
|
||||
use mirzaev\minimal\core;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue