File: status.t

package info (click to toggle)
gcli 2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,476 kB
  • sloc: ansic: 25,411; sh: 580; makefile: 509; yacc: 261; lex: 59
file content (18 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include "gcli/gitlab/status.h";

parser gitlab_project is
object of struct gcli_notification with
	("path_with_namespace" => repository as string);

parser gitlab_todo is
object of struct gcli_notification with
	("updated_at"  => date as string,
	 "action_name" => reason as string,
	 "id"          => id as int_to_string,
	 "body"        => title as string,
	 "target_type" => type as gitlab_notification_target_type,
	 "project"     => use parse_gitlab_project,
	 "target"      => target as gitlab_notification_target);

parser gitlab_todos is
array of struct gcli_notification use parse_gitlab_todo;