{"action":"created","issue":{"url":"https://api.github.com/repos/volkanceylan/Serenity/issues/636","repository_url":"https://api.github.com/repos/volkanceylan/Serenity","labels_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/636/comments","events_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/636/events","html_url":"https://github.com/volkanceylan/Serenity/issues/636","id":153049918,"number":636,"title":"xyzEditor: Saltarelle to Typescript","user":{"login":"marcobisio","id":17425690,"avatar_url":"https://avatars.githubusercontent.com/u/17425690?v=3","gravatar_id":"","url":"https://api.github.com/users/marcobisio","html_url":"https://github.com/marcobisio","followers_url":"https://api.github.com/users/marcobisio/followers","following_url":"https://api.github.com/users/marcobisio/following{/other_user}","gists_url":"https://api.github.com/users/marcobisio/gists{/gist_id}","starred_url":"https://api.github.com/users/marcobisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcobisio/subscriptions","organizations_url":"https://api.github.com/users/marcobisio/orgs","repos_url":"https://api.github.com/users/marcobisio/repos","events_url":"https://api.github.com/users/marcobisio/events{/privacy}","received_events_url":"https://api.github.com/users/marcobisio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-05-04T16:00:31Z","updated_at":"2016-05-05T15:52:48Z","closed_at":null,"body":"Dear @volkanceylan,\r\nI'm trying to \"translate\" a custom editor from saltarelle to typescript, but I don't know which class to extend in typescript.\r\nHere we go:\r\n\r\n    namespace eService.CSH\r\n    {\r\n        using Common;\r\n        using Administration;\r\n        using jQueryApi;\r\n        using Serenity;\r\n    \r\n        [ColumnsKey(\"CSH.TicketNote\"), DialogType(typeof(TicketNoteDialog)), LocalTextPrefix(\"CSH.TicketNote\")]\r\n        public class TicketNotesEditor : GridEditorBase<TicketNoteRow>\r\n        {\r\n            public TicketNotesEditor(jQueryObject container)\r\n                : base(container)\r\n            {\r\n            }\r\n    \r\n            protected override bool ValidateEntity(TicketNoteRow row, int? id)\r\n            {\r\n                row.ActionDescription = NoteActionRow.Lookup.ItemById[row.ActionId].Description;\r\n                row.CreatorId = Authorization.UserDefinition.UserId;\r\n                row.CreatorDisplayName = UserRow.Lookup.ItemById[row.CreatorId].DisplayName;\r\n                return true;\r\n            }\r\n        }\r\n    }\r\n\r\nI'm using the PermissionCheckEditor to re-use the syntax, but obviously my editor needs to extend another class...\r\n\r\nThanks as usual for all your kind support"},"comment":{"url":"https://api.github.com/repos/volkanceylan/Serenity/issues/comments/217192589","html_url":"https://github.com/volkanceylan/Serenity/issues/636#issuecomment-217192589","issue_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/636","id":217192589,"user":{"login":"volkanceylan","id":752470,"avatar_url":"https://avatars.githubusercontent.com/u/752470?v=3","gravatar_id":"","url":"https://api.github.com/users/volkanceylan","html_url":"https://github.com/volkanceylan","followers_url":"https://api.github.com/users/volkanceylan/followers","following_url":"https://api.github.com/users/volkanceylan/following{/other_user}","gists_url":"https://api.github.com/users/volkanceylan/gists{/gist_id}","starred_url":"https://api.github.com/users/volkanceylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volkanceylan/subscriptions","organizations_url":"https://api.github.com/users/volkanceylan/orgs","repos_url":"https://api.github.com/users/volkanceylan/repos","events_url":"https://api.github.com/users/volkanceylan/events{/privacy}","received_events_url":"https://api.github.com/users/volkanceylan/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T15:52:48Z","updated_at":"2016-05-05T15:52:48Z","body":"Need to see both source code"}}