{"id":22788966,"url":"https://github.com/ripeworks/antd-crud-resource","last_synced_at":"2025-10-20T04:58:58.317Z","repository":{"id":70208174,"uuid":"102110414","full_name":"ripeworks/antd-crud-resource","owner":"ripeworks","description":"CRUD data models using built-in components from antd ","archived":false,"fork":false,"pushed_at":"2018-07-12T11:25:47.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T06:58:44.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ripeworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-01T12:27:01.000Z","updated_at":"2020-03-01T13:38:36.000Z","dependencies_parsed_at":"2023-03-27T13:36:40.396Z","dependency_job_id":null,"html_url":"https://github.com/ripeworks/antd-crud-resource","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"cd893df4655ce9438cd68d93b794df2d863b37f5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Fantd-crud-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Fantd-crud-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Fantd-crud-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Fantd-crud-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripeworks","download_url":"https://codeload.github.com/ripeworks/antd-crud-resource/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246344278,"owners_count":20762175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T01:39:15.420Z","updated_at":"2025-10-20T04:58:53.282Z","avatar_url":"https://github.com/ripeworks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# antd-crud-resource\nCRUD data models using built-in components from antd \n\n## Example\n\n```js\nimport React from 'react'\nimport Resource from 'antd-crud-resource'\nimport UserForm from './UserForm' // This is an antd form\n\nexport default class UserResource extends React.Component {\n  onSave = (values, id) =\u003e {\n    // api.update(id, values)\n  }\n\n  onRemove = (user) =\u003e {\n    // api.delete(user.id)\n  }\n\n  render () {\n    const {data} = this.props\n\n    return \u003cResource\n      name='User'\n      data={data}\n      fields={[\n        {title: 'Email', dataIndex: 'email'},\n        {title: 'Name', dataIndex: 'name'},\n        {title: 'Active', dataIndex: 'active', render: v =\u003e v ? 'Yes' : 'No'}\n      ]}\n      form={UserForm}\n      onSave={this.onSave}\n      onRemove={this.onRemove}\n    /\u003e\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripeworks%2Fantd-crud-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripeworks%2Fantd-crud-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripeworks%2Fantd-crud-resource/lists"}