summaryrefslogtreecommitdiff
path: root/lib/DeWeave/BO/Tab.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DeWeave/BO/Tab.pm')
-rw-r--r--lib/DeWeave/BO/Tab.pm26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/DeWeave/BO/Tab.pm b/lib/DeWeave/BO/Tab.pm
new file mode 100644
index 0000000..94f46b0
--- /dev/null
+++ b/lib/DeWeave/BO/Tab.pm
@@ -0,0 +1,26 @@
+package DeWeave::BO::Tab;
+use Moose;
+use namespace::autoclean;
+use MooseX::Types::Moose qw(ArrayRef Str Int Undef);
+use MooseX::Types::Structured qw(Dict Optional);
+
+extends 'DeWeave::EDO';
+
+has clientName => (
+ isa => Str,
+ required => 1,
+ is => 'ro',
+);
+
+has tabs => (
+ isa => ArrayRef[Dict[
+ title => Undef|Str,
+ urlHistory => ArrayRef[Str],
+ icon => Undef|Str,
+ lastUsed => Int,
+ ]],
+ required => 1,
+ is => 'ro',
+);
+
+1;