From 0b0a8991c3faebe753668f16fe4732ca527fb638 Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Thu, 17 Mar 2022 05:09:36 +0100 Subject: [PATCH] Adding the generated html. (Some of it is still a stub.) --- doc/lib/Peace.pm.html | 37 +++++++++ doc/lib/Peace/Controller/User.pm.html | 19 +++++ doc/lib/Peace/DAO/Application.pm.html | 19 +++++ doc/lib/Peace/DAO/Customer.pm.html | 19 +++++ doc/lib/Peace/DAO/Developer.pm.html | 19 +++++ doc/lib/Peace/DB.pm.html | 70 ++++++++++++++++ doc/lib/Peace/Model/Application.pm.html | 19 +++++ doc/lib/Peace/Model/Customer.pm.html | 106 ++++++++++++++++++++++++ doc/lib/Peace/Model/Developer.pm.html | 19 +++++ 9 files changed, 327 insertions(+) create mode 100644 doc/lib/Peace.pm.html create mode 100644 doc/lib/Peace/Controller/User.pm.html create mode 100644 doc/lib/Peace/DAO/Application.pm.html create mode 100644 doc/lib/Peace/DAO/Customer.pm.html create mode 100644 doc/lib/Peace/DAO/Developer.pm.html create mode 100644 doc/lib/Peace/DB.pm.html create mode 100644 doc/lib/Peace/Model/Application.pm.html create mode 100644 doc/lib/Peace/Model/Customer.pm.html create mode 100644 doc/lib/Peace/Model/Developer.pm.html diff --git a/doc/lib/Peace.pm.html b/doc/lib/Peace.pm.html new file mode 100644 index 0000000..e6805e3 --- /dev/null +++ b/doc/lib/Peace.pm.html @@ -0,0 +1,37 @@ + + + + +Peace - Onlie GNU/Linux flatpak apps store. + + + + + + + + + + +

NAME

+ +

Peace - Onlie GNU/Linux flatpak apps store.

+ +

SYNOPSIS

+ +
./peace
+ +

DESCRIPTION

+ +

Peace is the server backend for flatstore a shop to be able to sell or buy flatpak applications.

+ + + + + + + diff --git a/doc/lib/Peace/Controller/User.pm.html b/doc/lib/Peace/Controller/User.pm.html new file mode 100644 index 0000000..21f9514 --- /dev/null +++ b/doc/lib/Peace/Controller/User.pm.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/lib/Peace/DAO/Application.pm.html b/doc/lib/Peace/DAO/Application.pm.html new file mode 100644 index 0000000..21f9514 --- /dev/null +++ b/doc/lib/Peace/DAO/Application.pm.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/lib/Peace/DAO/Customer.pm.html b/doc/lib/Peace/DAO/Customer.pm.html new file mode 100644 index 0000000..21f9514 --- /dev/null +++ b/doc/lib/Peace/DAO/Customer.pm.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/lib/Peace/DAO/Developer.pm.html b/doc/lib/Peace/DAO/Developer.pm.html new file mode 100644 index 0000000..21f9514 --- /dev/null +++ b/doc/lib/Peace/DAO/Developer.pm.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/lib/Peace/DB.pm.html b/doc/lib/Peace/DB.pm.html new file mode 100644 index 0000000..53d590d --- /dev/null +++ b/doc/lib/Peace/DB.pm.html @@ -0,0 +1,70 @@ + + + + +Peace::DB - Database handler generator for the Peace shop. + + + + + + + + + + +

NAME

+ +

Peace::DB - Database handler generator for the Peace shop.

+ +

SYNOPSIS

+ +
my $config =
+  $self->plugin(
+    JSONConfig => {
+      file => "$home/.config/peace/peace.conf"
+    }
+  );
+my $dbh = Peace::DB->dbh( config => $config );
+ +

DESCRIPTION

+ +

This module helps to recover a database handle and runs the migrations automatically when doing so.

+ +

FUNCTIONS

+ +

Peace::DB implements the following functions:

+ +

dbh

+ +

Recovers a database handle, requires the config of the app as its parameter.

+ +
my $dbh = Peace::DB->dbh( config => $config );
+ +

run_migrations

+ +

Runs the migrations manually.

+ +
Peace::DB->run_migrations($dbh);
+ +

SEE ALSO

+ +

DBI, DBD::Pg

+ + + + + + + diff --git a/doc/lib/Peace/Model/Application.pm.html b/doc/lib/Peace/Model/Application.pm.html new file mode 100644 index 0000000..21f9514 --- /dev/null +++ b/doc/lib/Peace/Model/Application.pm.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/lib/Peace/Model/Customer.pm.html b/doc/lib/Peace/Model/Customer.pm.html new file mode 100644 index 0000000..69ea727 --- /dev/null +++ b/doc/lib/Peace/Model/Customer.pm.html @@ -0,0 +1,106 @@ + + + + +Peace::Model::Customer - The customer object representation + + + + + + + + + + +

NAME

+ +

Peace::Model::Customer - The customer object representation

+ +

SYNOPSIS

+ +
my $customer = Peace::Model::Customer->new(
+ secret_bcrypt => $secret_bcrypt
+);
+ +

DESCRIPTION

+ +

Describes a customer of Peace capable of buy applications.

+ +

INSTANCE METHODS

+ +

Peace::Model::Customer implements the following instance methods:

+ +

new

+ +
my $customer = Peace::Model::Customer->new(
+  uuid          => $uuid,          # optional
+  date_creation => $date_creation, # optional
+  secret_bcrypt => $secret_bcrypt,
+  stripe_id     => $stripe_id,     # optional
+);
+ +

Instances a new Peace::Model::Customer.

+ +

METHODS

+ +

Peace::Model::Customer implements the following methods:

+ +

uuid

+ +
my $uuid = $customer->uuid;
+
+$customer->uuid($uuid);
+ +

Allows to retrive and set the customer uuid.

+ +

date_creation

+ +
my $date_creation = $customer->date_creation;
+
+$customer->date_creation($date_creation);
+ +

Allows to retrive and set the customer date_creation.

+ +

secret_bcrypt

+ +
my $secret_bcrypt = $customer->secret_bcrypt;
+
+$customer->secret_bcrypt($secret_bcrypt);
+ +

Allows to retrive and set the customer secret_bcrypt.

+ +

stripe_id

+ +
my $stripe_id = $customer->stripe_id;
+
+$customer->stripe_id($stripe_id);
+ +

SEE ALSO

+ +

Peace::DAO::Customer

+ + + + + + + diff --git a/doc/lib/Peace/Model/Developer.pm.html b/doc/lib/Peace/Model/Developer.pm.html new file mode 100644 index 0000000..21f9514 --- /dev/null +++ b/doc/lib/Peace/Model/Developer.pm.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + +