Standards
This commit is contained in:
parent
990eea2c4e
commit
83e311decb
1 changed files with 12 additions and 12 deletions
|
@ -27,11 +27,11 @@ class Endpoint
|
||||||
{
|
{
|
||||||
// Mobilizon Endpoints
|
// Mobilizon Endpoints
|
||||||
const DISCUSSIONS = 10;
|
const DISCUSSIONS = 10;
|
||||||
const EVENTS = 11;
|
const EVENTS = 11;
|
||||||
const MEMBERS = 12;
|
const MEMBERS = 12;
|
||||||
const POSTS = 13;
|
const POSTS = 13;
|
||||||
const RESOURCES = 14;
|
const RESOURCES = 14;
|
||||||
const TODOS = 15;
|
const TODOS = 15;
|
||||||
|
|
||||||
// Peertube Endpoints
|
// Peertube Endpoints
|
||||||
const PLAYLISTS = 20;
|
const PLAYLISTS = 20;
|
||||||
|
@ -40,14 +40,14 @@ class Endpoint
|
||||||
const DEVICES = 30;
|
const DEVICES = 30;
|
||||||
|
|
||||||
const ENDPOINT_NAMES = [
|
const ENDPOINT_NAMES = [
|
||||||
self::PLAYLISTS => 'pt:playlists',
|
self::PLAYLISTS => 'pt:playlists',
|
||||||
self::DISCUSSIONS => 'mobilizon:discussions',
|
self::DISCUSSIONS => 'mobilizon:discussions',
|
||||||
self::EVENTS => 'mobilizon:events',
|
self::EVENTS => 'mobilizon:events',
|
||||||
self::MEMBERS => 'mobilizon:members',
|
self::MEMBERS => 'mobilizon:members',
|
||||||
self::POSTS => 'mobilizon:posts',
|
self::POSTS => 'mobilizon:posts',
|
||||||
self::RESOURCES => 'mobilizon:resources',
|
self::RESOURCES => 'mobilizon:resources',
|
||||||
self::TODOS => 'mobilizon:todos',
|
self::TODOS => 'mobilizon:todos',
|
||||||
self::DEVICES => 'toot:devices',
|
self::DEVICES => 'toot:devices',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue