{"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":11,"created_at":"2016-05-04T16:00:31Z","updated_at":"2016-05-05T15:17:54Z","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/217183053","html_url":"https://github.com/volkanceylan/Serenity/issues/636#issuecomment-217183053","issue_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/636","id":217183053,"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},"created_at":"2016-05-05T15:17:54Z","updated_at":"2016-05-05T15:17:54Z","body":"Copy that...\r\nViceversa any idea on the editor? I don't understand why when I've switched the TicketDialog to TypeScript   the notes subtable has stopped working...\r\nThere isn'n any logic in there...it'the form that container the editor type configuraton and such Class (the form I mean) has not been modified...\r\n\r\nThanks"}}