From 678d638ded9b1f58ce2ac915c8e4c85383dffe86 Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Fri, 30 Dec 2022 22:44:32 -0500 Subject: [PATCH] Fixed sample schema --- .../assets/sample.json | 10 +- .../react-flighttracker/assets/sample.json | 4 +- .../assets/sample.json | 2 +- .../assets/sample.json | 132 +++++++++--------- 4 files changed, 77 insertions(+), 71 deletions(-) diff --git a/samples/react-associated-sites-links/assets/sample.json b/samples/react-associated-sites-links/assets/sample.json index 51be7a7bd..3946541d3 100644 --- a/samples/react-associated-sites-links/assets/sample.json +++ b/samples/react-associated-sites-links/assets/sample.json @@ -1,6 +1,6 @@ [ { - "name": "pnp-sp-dev-spfx-webparts-react-associated-sites-links", + "name": "pnp-sp-dev-spfx-web-parts-react-associated-sites-links", "source": "pnp", "title": "Associated Sites Links", "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-associated-sites-links", @@ -39,6 +39,12 @@ "name": "Ari Gunawan" } ], - "references": [] + "references": [ + { + "name": "Build your first SharePoint client-side web part", + "description": "Client-side web parts are client-side components that run in the context of a SharePoint page. Client-side web parts can be deployed to SharePoint environments that support the SharePoint Framework. You can also use modern JavaScript web frameworks, tools, and libraries to build them.", + "url": "https://learn.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part" + } + ] } ] diff --git a/samples/react-flighttracker/assets/sample.json b/samples/react-flighttracker/assets/sample.json index 944ce1ccd..0969a3d77 100644 --- a/samples/react-flighttracker/assets/sample.json +++ b/samples/react-flighttracker/assets/sample.json @@ -1,13 +1,13 @@ [ { - "name": "pnp-sp-dev-fx-webparts-react-flighttracker", + "name": "pnp-sp-dev-spfx-web-parts-react-flighttracker", "source": "pnp", "title": "Flight Tracker", "shortDescription": "Sample Web Part to track all flights from a selected airport, date and information type.", "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-flighttracker", "longDescription": [ "This Web Part allows to track all flights from a selected airport, date and information type.", - "The SPFx use external API (https://aerodatabox.p.rapidapi.com/flights/number/) to get data of flight, please see https://rapidapi.com/aedbx-aedbx/api/aerodatabox/ to get more information. There is some restritions on this API, the number of requests is limited (free version)" + "The SPFx use external API to get data of flight. There are some restritions on this API, the number of requests is limited (free version)" ], "creationDateTime": "2022-11-14", "updateDateTime": "2022-11-14", diff --git a/samples/react-kiota-custom-api-client/assets/sample.json b/samples/react-kiota-custom-api-client/assets/sample.json index 321a48d74..5e9b07804 100644 --- a/samples/react-kiota-custom-api-client/assets/sample.json +++ b/samples/react-kiota-custom-api-client/assets/sample.json @@ -1,6 +1,6 @@ [ { - "name": "pnp-sp-dev-fx-webparts-react-kiota-custom-api-client", + "name": "pnp-sp-dev-spfx-web-parts-react-kiota-custom-api-client", "source": "pnp", "title": "React Kiota Custom API Client", "shortDescription": "Using Kiota to generate a client to your AzureAd API and use it from a SPFx webpart.", diff --git a/samples/react-rhythm-of-business-calendar/assets/sample.json b/samples/react-rhythm-of-business-calendar/assets/sample.json index 682d787cf..c89f64d6d 100644 --- a/samples/react-rhythm-of-business-calendar/assets/sample.json +++ b/samples/react-rhythm-of-business-calendar/assets/sample.json @@ -1,69 +1,69 @@ [ { - "name": "pnp-sp-dev-fx-webparts-react-rhythm-of-business-calendar", - "source": "pnp", - "title": "Rhythm of Business Calendar", - "shortDescription": "This sample is the source code for the Rhythm of Business Calendar app and is intended to demonstrate patterns and practices for building enterprise apps on the SharePoint platform.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-rhythm-of-business-calendar", - "longDescription": [ - "This sample is the source code for the Rhythm of Business Calendar app and is intended to demonstrate patterns and practices for building enterprise apps on the SharePoint platform.", - "Rhythm of Business (RoB) Calendar keeps you on top of your business goals by managing all team and organizational events seamlessly. Simplify and expedite the coordination and planning process for your team and subgroups with the help of color-coded events, approval workflow, refiners and confidential events. Ideal for Chiefs of Staff, Executive Assistants, or anyone who manages a team calendar, you can empower your teams by enabling better insights on your business goals and team events." - ], - "creationDateTime": "2022-09-26", - "updateDateTime": "2022-11-12", - "products": [ - "SharePoint", - "Microsoft Teams" - ], - "metadata": [ - { - "key": "CLIENT-SIDE-DEV", - "value": "TypeScript" - }, - { - "key": "SPFX-VERSION", - "value": "1.15.2" - } - ], - "thumbnails": [ - { - "type": "image", - "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/main/samples/react-rhythm-of-business-calendar/assets/screenshot-edit-refiner.png", - "alt": "Edit refiners" - }, - { - "type": "image", - "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/main/samples/react-rhythm-of-business-calendar/assets/screenshot-month-view.png", - "alt": "Month view" - }, - { - "type": "image", - "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/main/samples/react-rhythm-of-business-calendar/assets/screenshot-view-event.png", - "alt": "View event" - } - ], - "authors": [ - { - "gitHubAccount": "d-turley", - "company": "Avanade", - "pictureUrl": "https://github.com/d-turley.png", - "name": "Dan Turley" - } - ], - "references": [ - { - "name": "Getting started with SharePoint Framework", - "description": "Introduction about how to develop Microsoft 365 extensions using SharePoint Framework.", - "url": "https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant" - }, - { - "name": "Build your first SharePoint client-side web part", - "description": "Learn how to develop your first Web Part using SharePoint Framework (SPFx).", - "url": "https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part" - } - ] + "name": "pnp-sp-dev-spfx-web-parts-react-rhythm-of-business-calendar", + "source": "pnp", + "title": "Rhythm of Business Calendar", + "shortDescription": "This sample is the source code for the Rhythm of Business Calendar app and is intended to demonstrate patterns and practices for building enterprise apps on the SharePoint platform.", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-rhythm-of-business-calendar", + "longDescription": [ + "This sample is the source code for the Rhythm of Business Calendar app and is intended to demonstrate patterns and practices for building enterprise apps on the SharePoint platform.", + "Rhythm of Business (RoB) Calendar keeps you on top of your business goals by managing all team and organizational events seamlessly. Simplify and expedite the coordination and planning process for your team and subgroups with the help of color-coded events, approval workflow, refiners and confidential events. Ideal for Chiefs of Staff, Executive Assistants, or anyone who manages a team calendar, you can empower your teams by enabling better insights on your business goals and team events." + ], + "creationDateTime": "2022-09-26", + "updateDateTime": "2022-11-12", + "products": [ + "SharePoint", + "Microsoft Teams" + ], + "metadata": [ + { + "key": "CLIENT-SIDE-DEV", + "value": "TypeScript" + }, + { + "key": "SPFX-VERSION", + "value": "1.15.2" + } + ], + "thumbnails": [ + { + "type": "image", + "order": 100, + "url": "https://github.com/pnp/sp-dev-fx-webparts/main/samples/react-rhythm-of-business-calendar/assets/screenshot-edit-refiner.png", + "alt": "Edit refiners" + }, + { + "type": "image", + "order": 101, + "url": "https://github.com/pnp/sp-dev-fx-webparts/main/samples/react-rhythm-of-business-calendar/assets/screenshot-month-view.png", + "alt": "Month view" + }, + { + "type": "image", + "order": 102, + "url": "https://github.com/pnp/sp-dev-fx-webparts/main/samples/react-rhythm-of-business-calendar/assets/screenshot-view-event.png", + "alt": "View event" + } + ], + "authors": [ + { + "gitHubAccount": "d-turley", + "company": "Avanade", + "pictureUrl": "https://github.com/d-turley.png", + "name": "Dan Turley" + } + ], + "references": [ + { + "name": "Getting started with SharePoint Framework", + "description": "Introduction about how to develop Microsoft 365 extensions using SharePoint Framework.", + "url": "https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant" + }, + { + "name": "Build your first SharePoint client-side web part", + "description": "Learn how to develop your first Web Part using SharePoint Framework (SPFx).", + "url": "https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part" + } + ] } - ] +]